In other words, the image of an element \(a\in A\) is nothing more than \(f(a)\); i.e. the output of \(f\) associated with \(a\).
You can think of the image of a set \(S\) to be the range of \(f\) if \(f\) were defined on \(S\) instead of \(A\).
Let \(f:A\rightarrow B\) be defined by the potato diagram below, where \(A\) and \(B\) are the set of elements in the left and right potatoes, respectively.
In other words, the preimage of an element \(b\) is the set of all elements of \(A\) that have \(b\) as an output. Note that for preimages we use square brackets “[,]” around the argument \(b\) as opposed to round braces. This is to unambiguously distinguish preimages from function inverses. Note that some authors and books may use “(,)” braces instead.
In other words, the preimage of a set \(S\) is the union of all the preimages of the individual elements of \(S\).
Let \(g:A\rightarrow B\) be defined via the potato diagram below, where \(A\) and \(B\) are the set of elements in the left and right potatoes, respectively.
Image of \(5\): \(f(5)=-1\)
Image of \(S\): \(f(S)=\{3,4\}\)
The image of a specific element in the domain set is nothing more than the output that \(f\) produces from it.
The image of a set is the set of all images/outputs from each of the individual elements of the set. Since \(1\mapsto 3\) and \(2\mapsto 4\), the image of the set \(\{1,2\}\) is therefore \(\{3,4\}\).
\(x\) | \(f(x)\) |
2.152 | 73 |
0 | -1 |
52 | 0 |
6.8 | 100 |
1 | -13 |
2.125 | 0 |
Image of \(2.152\): \(f(2.152)=73\)
Image of \(K=\{52, 0,1,6.8\}\): \(f(K)=\{0,-1,-13,100\}\).
The image of a specific element in the domain set is nothing more than the output that \(f\) produces from it.
The image of a set is the set of all images/outputs from each of the individual elements of the set. Since \(52\mapsto 0\), \(0\mapsto -1\), \(1\mapsto -13\), and \(6.8\mapsto 100\) the image of the set \(\{52, 0,1,6.8\}\) is therefore \(\{0,-1,-13,100\}\).
Preimage of \(2\in B\): \(f^{-1}[2]=\{7\}\)
Preimage of \(M=\{1,2,5\}\): \(f^{-1}[M]=\{4, 7, 1,3\}\)
The preimage of an element \(b\in B\) is the set of all elements in \(A\) that map to \(b\). In our case, the only element that maps to \(2\in B\) is \(7\).
The preimage of a subset of the codomain is the union of the preimages of all the elements in the given set. Put another way, the preimage of a set \(S\) is the set of all elements that map to each of the elements in \(S\). In our case, we have that \(4\mapsto 1\), \(7\mapsto 2\) and \(1,3 \mapsto 5 \), so the preimage of the set \(\{1,2,5\}\) is the set of all elements that map to \(1\), \(2\), and \(5\); i.e. the set \(\{4, 7, 1,3\}\).
Preimage of \(2\): \(\emptyset\)
Preimage of \(T=\{0,1\}\): \(\{1,4,8,3,5\}\)
For the preimage of \(2\), there is no element that maps to a \(2\), so the preimage is empty.
For the preimage of \(T=\{0,1\}\), notice that every element in the domain maps to either \(0\) or \(1\) (i.e. all \(x\)-values in the list of ordered pairs has a \(y\)-value either \(0\) or \(1\)) hence the preimage of \(\{0,1\}\) (i.e. the whole codomain) is precisely the whole domain!