Exercise · ZW-BIJECTIVE-FUNCTION-007 · ★★☆ Intermediate
Which of these functions from \(\mathbb{Z}\) to \(\mathbb{Z}\) is bijective?
Choose one option.
Show answer
- D. \(f(n)=n+1\)
Exercise · ZW-BIJECTIVE-FUNCTION-007 · ★★☆ Intermediate
Choose one option.
The map \(n\mapsto n+1\) has inverse \(m\mapsto m-1\), so it is bijective. The other three fail: \(2n\) never hits odd integers, while \(n^2\) and \(|n|\) send \(n\) and \(-n\) to the same value.
Function \(f\colon A\to B\) that is both injective and surjective, so each element of \(B\) corresponds to exactly one element of \(A\).