- #1
Guest2
- 193
- 0
Define $f: \mathbb{Z} \to \mathbb{Z}$ via $f(n) = n^2$ for all $n \in \mathbb{Z}$. Why does $f^{-1}(\left\{0,1,2\right\}) = \left\{0,-1,1\right\}$? The definition I'm using is $f^{-1}{(T)} = \left\{a \in A: f(a) \in T \right\}$ so we have $f^{-1}({ \left\{0,1,2\right\} }) = \left\{n \in \mathbb{Z}: n^2 \in \left\{0,1,2\right\} \right\}$. So I could think about this as all the integers whose squares is the set $ \left\{0,1,2\right\}$ but nothing I square would give me $2$.