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

If $n(A) = 5$ and $n(B) = 8$,how many possible functions can be defined from $A$ to $B$?

Show that the function $f: N \rightarrow N$ given by $f(x) = 2x$ is one-one but not onto.

$f : R \to R$ is defined as $f(x) = \begin{cases} x^2 + 2mx - 1, & x \leq 0 \\ mx - 1, & x > 0 \end{cases}$. If $f(x)$ is one-one,then the set of values of $m$ is:

If $f: Z \rightarrow N$ is defined by $f(n) = \begin{cases} 2n, & \text{if } n > 0 \\ 1, & \text{if } n = 0 \\ -2n-1, & \text{if } n < 0 \end{cases}$,then the function $f$ is:

Let $A$ and $B$ be non-empty sets in $\mathbb{R}$ and $f : A \to B$ be a bijective function.
Statement $1$ : $f$ is an onto function.
Statement $2$ : There exists a function $g : B \to A$ such that $f \circ g = I_B$.

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