Let f:X→Y be a function.
- The image (or range) of f is
f(X):={f(x):x∈X}⊆Y.
- More generally, for a subset A⊆X, the image of A under f is
f(A):={f(a):a∈A}⊆Y.
The image captures the “actual outputs” of f and is the natural codomain for which f becomes surjective (if one replaces Y by f(X)).
Examples:
- If f:R→R, f(x)=x2, then f(R)=[0,∞).
- If f(x)=x2 and A=[−1,2], then f(A)=[0,4].
- If f:R→R, f(x)=ex, then f(R)=(0,∞).