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 $f: S \rightarrow R$ where $S$ is the set of all non-singular matrices of order $2$ over $R$ and $f\left(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\right) = ad - bc$, then:

Let $A = \{x_1, x_2, x_3, \dots, x_7\}$ and $B = \{y_1, y_2, y_3\}$ be two sets containing seven and three distinct elements respectively. Then the total number of functions $f: A \to B$ which are onto,if there exist exactly three elements $x$ in $A$ such that $f(x) = y_2$,is equal to

On the set of integers $Z$,define $f: Z \rightarrow Z$ as $f(n) = \begin{cases} \frac{n}{2}, & n \text{ is even} \\ 0, & n \text{ is odd} \end{cases}$. Then $f$ is:

The number of functions $f: \{1, 2, 3, 4\} \to \{a, b, c\}$, which are not onto, is:

Are $f$ and $g$ both necessarily onto,if $g \circ f$ is onto?

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