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

Which of the following is an even function?

Show that the function $f: R \rightarrow R$ defined as $f(x) = x^{2}$ is neither one-one nor onto.

If $f: R \rightarrow R$ is defined by $f(x) = \begin{cases} 2x & : x > 3 \\ x^2 & : 1 < x \leq 3 \\ 3x & : x \leq 1 \end{cases}$,then the value of $f(-1) + f(2) + f(4)$ is:

If $f : R \rightarrow R$ such that $f(x) = 5x - 3\cos x - 4\sin x$,then the function $f(x)$ is

Let $g: N \rightarrow N$ be defined as
$g(3n+1)=3n+2$
$g(3n+2)=3n+3$
$g(3n+3)=3n+1, \text{ for all } n \geq 0$
Then which of the following statements is true?

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