Match List-I with List-II.
| List-I | List-II |
| (A) \(f(x)=\displaystyle\frac{1}{x}, f:\mathrm{R}-\{0\}\to\mathrm{R}-\{0\}\) | (I) neither injective nor surjective |
| (B) \(f(x)=x^2, f:\mathrm{N}\to\mathrm{N}\) | (II) surjective but not injective |
| (C) \(f(x)=x^2, f:\mathrm{R}\to\mathrm{R}\) | (III) injective but not surjective |
| (D) \(f:\{1, 2, 3\}\to\{1, 2\}\) defined as \(f:\{(1, 1), (2, 2), (3, 1)\}\) | (IV) injective and surjective |
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → (A)-(IV), (B)-(III), (C)-(I), (D)-(II)
A function is injective (one-one) if different inputs give different outputs, and surjective (onto) if every element of the codomain is an output.
(A) \(f(x)=\frac{1}{x}, f:\mathrm{R}-\{0\}\to\mathrm{R}-\{0\}\)
This matches (IV) injective and surjective.
\( \displaystyle \frac{1}{x_1}=\frac{1}{x_2}\;\Rightarrow\; x_1=x_2 \)
and every \(y\ne 0\) is the image of \(x=\frac{1}{y}\ne 0\).
(B) \(f(x)=x^2, f:\mathrm{N}\to\mathrm{N}\)
This matches (III) injective but not surjective. For natural numbers, \(x_1^2=x_2^2\) gives \(x_1=x_2\); but 2 is not the square of any natural number.
(C) \(f(x)=x^2, f:\mathrm{R}\to\mathrm{R}\)
This matches (I) neither injective nor surjective. \(f(-1)=f(1)=1\), and a negative number such as −1 is not the square of any real number.
(D) \(f:\{1, 2, 3\}\to\{1, 2\}\), \(f=\{(1, 1), (2, 2), (3, 1)\}\)
This matches (II) surjective but not injective. \(f(1)=f(3)=1\), and both 1 and 2 are outputs.