MHB Define $f: \mathbb{Z} \to \mathbb{Z}: f^{-1}(\left\{0,1,2\right\})$

Click For Summary
The function f is defined as f(n) = n^2 for all n in the integers. The inverse image f^{-1}({0,1,2}) consists of integers whose squares are in the set {0,1,2}. Since no integer can square to 2, the only integers that satisfy this condition are 0, -1, and 1. Therefore, f^{-1}({0,1,2}) equals {0, -1, 1}. This clarification emphasizes the distinction between the squares of integers and the integers themselves.
Guest2
Messages
192
Reaction score
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$.
 
Mathematics news on Phys.org
Guest said:
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$.

Hi Guest,

Indeed, no integer squares to $2$, which is why there is no inverse of $2$.
It's not the set of integers whose squares is the set $ \left\{0,1,2\right\}$, but the set of integers that have squares in the set $ \left\{0,1,2\right\}$.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
7
Views
1K