Exercise · ZW-INJECTIVE-FUNCTION-007 · ★★☆ Intermediate
Let \(f\colon\mathbb{Z}\to\mathbb{Z}\), \(f(n)=2n\). Is \(f\) injective?
Choose one option.
Show answer
- B. Yes; \(2a=2b\) implies \(a=b\)
Exercise · ZW-INJECTIVE-FUNCTION-007 · ★★☆ Intermediate
Choose one option.
If \(2a=2b\), dividing by \(2\) gives \(a=b\). The other options are false: \(f(0)=0\) and \(f(1)=2\) are distinct, and so are \(f(1)=2\) and \(f(-1)=-2\). Odd numbers missing from the image concerns surjectivity, not injectivity.
Function \(f\colon A\to B\) in which distinct elements of \(A\) have distinct images in \(B\).