The notation f(S) is overloading f, as S is not actually in the domain X of f.
Wikipedia: Image
Image
Restricted relation