NDA · Question 38
Consider the following statements: 1. A function f: ℤ → ℤ, defined by f(x) = x + 1, is one-one as well as onto. 2. A function f: ℕ → ℕ, defined by f(x) = x + 1, is one-one but not onto. Which of the above statement(s) is/are correct?
Show answer & explanationShow explanation
Answer: (C) Both 1 and 2
Statement 1: For f: ℤ → ℤ, f(x₁) = f(x₂) ⇒ x₁ + 1 = x₂ + 1 ⇒ x₁ = x₂ (one-one). For every y ∈ ℤ, x = y - 1 ∈ ℤ satisfies f(x) = y (onto). So Statement 1 is correct. Statement 2: For f: ℕ → ℕ, f is still one-one, but 1 ∈ ℕ has no pre-image in ℕ since x + 1 = 1 ⇒ x = 0 ∉ ℕ. Thus f is not onto. So Statement 2 is also correct. Hence, the correct option is (c).