Let $A$ be the set of all $50$ students of Class $X$ in a school. Let $f: A \rightarrow N$ be a function defined by $f(x) = \text{roll number of the student } x$. Show that $f$ is one-one but not onto.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) $1$. To check for one-one: Let $x_1$ and $x_2$ be two different students in set $A$. Since no two different students can have the same roll number,$f(x_1) \neq f(x_2)$. Thus,$f$ is one-one.
$2$. To check for onto: The codomain of $f$ is the set of natural numbers $N = \{1, 2, 3, ...\}$. The range of $f$ is the set of roll numbers assigned to the $50$ students,which is $\{1, 2, 3, ..., 50\}$.
$3$. Since the range $\{1, 2, 3, ..., 50\}$ is a proper subset of the codomain $N$ (e.g.,$51 \in N$ but $51$ is not in the range),there exists at least one element in $N$ that has no pre-image in $A$.
$4$. Therefore,$f$ is not onto.

Explore More

Similar Questions

Let $f: R \rightarrow R$ be defined by $f(x)=5x^4+2$. Then

The function $f:[0, \infty) \rightarrow [0, \infty)$ defined by $f(x) = \frac{x}{1+x}$ is

The function $f:R \to R$ defined by $f(x) = e^x$ is

Let $f: R \rightarrow R$ be a function defined by $f(x) = \begin{cases} x^2 - 4x + 3, & \text{if } x < 2 \\ x - 3, & \text{if } x \geq 2 \end{cases}$. Then the number of real numbers $x$ for which $f(x) = 8$ is:

Which of the following function$(s)$ is/are transcendental?

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo