91. Inverse images
91.1 Definition: Inverse image
Let $F\colon A \to B$ be a function. For any subset $C \subseteq B$, the set
$$\{a \in A \mid F(a) \in C\}$$
is called the inverse image of $C$ under $F$, also written $F^{-1}(C)$.
91.1.1 Example Let $F\colon \{1,2,3\} \to \{2,4,5,6\}$ be defined (as in Example 89.1.5) by $F(1) = 4$ and $F(2) = F(3) = 5$. Then $F^{-1}(\{4,6\}) = \{1\}$, $F^{-1}(\{5\}) = \{2,3\}$, and $F^{-1}(\{2,6\}) = \emptyset$.
91.1.2 Example For the function $F\colon \mathrm{R} \to \mathrm{R}$ defined by $F(x) = x^{2}+1$,
$$F^{-1}([2..3]) = [1..\sqrt{2}] \cup [-\sqrt{2}..-1]$$
and
$$F^{-1}([0..1]) = \{0\}$$
91.1.3 Inverse image as function Like the image function, this inverse image function can also be defined as a function $F^{-1}\colon \mathcal{P}B \to \mathcal{P}A$ (note the reversal), where
$$F^{-1}(D) = \{x \in A \mid F(x) \in D\}$$
for any $D \subseteq B$. $F^{-1}$ is sometimes denoted $F^{*}$.
91.1.4 Usage It is quite common to write $F^{-1}(x)$ instead of $F^{-1}(\{x\})$.
91.1.5 Example For the function of Example 91.1.2, $F^{-1}(3) = \{-\sqrt{2}, \sqrt{2}\}$.
91.1.6 Exercise Let $F\colon \mathrm{R} \to \mathrm{R}$ be defined by $F(x) = x^{2}+1$. What is $F^{-1}(\{1,2\})$? What is $F^{-1}((1..2))$?
91.1.7 Exercise For any function $F\colon A \to B$, what is $F^{-1}(\emptyset)$? What is $F^{-1}(B)$?
Pages 132–133 of the book (PDF).