The image of a subset \(S\) of the domain is simply the subset of the codomain we obtain by mapping the elements of \(S\text{.}\) It is important to emphasize that the function \(f\) maps elements of \(X\) to elements of \(Y\text{,}\) but we can apply \(f\) to a subset of \(X\) to yield a subset of \(Y\text{.}\) That is, if \(S\subseteq X\text{,}\) then \(f(S)\subseteq Y\text{.}\) Note that the image of the domain is the same as the range of the function. That is, \(f(X)=\range(f)\text{.}\)
When it comes to preimages, there is a real opportunity for confusion. In SectionΒ 8.3, we introduced the inverse relation \(f^{-1}\) of a function \(f\) (see DefinitionΒ 8.70) and proved that this relation is a function exactly when \(f\) is a bijection (see TheoremΒ 8.74). If \(f^{-1}:Y\to X\) is a function, then it is sensible to write \(f^{-1}(y)\) for \(y\in Y\text{.}\) Notice that we defined the preimage of a subset of the codomain regardless of whether \(f^{-1}\) is a function or not. In particular, for \(T\subseteq Y\text{,}\)\(f^{-1}(T)\) is the set of elements in the domain that map to elements in \(T\text{.}\) As a special case, \(f^{-1}(\{y\})\) is the set of elements in the domain that map to \(y\in Y\text{.}\) If \(y\notin \range(f)\text{,}\) then \(f^{-1}(\{y\})=\emptyset\text{.}\) Notice that if \(y\in Y\text{,}\)\(f^{-1}(\{y\})\) is always a sensible thing to write while \(f^{-1}(y)\) only makes sense if \(f^{-1}\) is a function. Also, note that the preimage of the codomain is the domain. That is, \(f^{-1}(Y)=X\text{.}\)
Suppose \(f:X\to Y\) is an injection and \(A\) and \(B\) are disjoint subsets of \(X\text{.}\) Are \(f(A)\) and \(f(B)\) necessarily disjoint subsets of \(Y\text{?}\) If so, prove it. Otherwise, provide a counterexample.
Let \(f:X\to Y\) be a function and suppose \(A, B\subseteq X\) and \(C, D\subseteq Y\text{.}\) Determine whether each of the following statements is true or false. If a statement is true, prove it. Otherwise, provide a counterexample.
If \(A\subseteq B\text{,}\) then \(f(A)\subseteq f(B)\text{.}\)
For each of the statements in the previous problem that were false, determine conditions, if any, on the corresponding sets that would make the statement true.
Certainly every function given by \(f(x)=mx\) for \(m\in\mathbb{R}\) satisfies the initial hypothesis. Can you provide an example of a function that satisfies \(f(x+y)=f(x)+f(y)\) that is not of the form \(f(x)=mx\text{?}\)