Let $A$ be the set of all $50$ students of Class $X$ in a school. Let $f: A \rightarrow N$ be function defined by $f(x)=$ 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

No two different students of the class can have same roll number. Therefore, $f$ must be one-one. We can assume without any loss of generality that roll numbers of students are from $1$ to $50 .$ This implies that $51$ in $N$ is not roll number of any student of the class, so that $51$ can not be image of any element of $X$ under $f$. Hence, $f$ is not onto.

Similar Questions

Range of the function

$f(x) = \sqrt {\left| {{{\sin }^{ - 1}}\left| {\sin x} \right|} \right| - {{\cos }^{ - 1}}\left| {\cos x} \right|} $ is

Let $[x]$ denote the greatest integer $\leq x$, where $x \in R$. If the domain of the real valued function $\mathrm{f}(\mathrm{x})=\sqrt{\frac{[\mathrm{x}] \mid-2}{\sqrt{[\mathrm{x}] \mid-3}}}$ is $(-\infty, \mathrm{a}) \cup[\mathrm{b}, \mathrm{c}) \cup[4, \infty), \mathrm{a}\,<\,\mathrm{b}\,<\,\mathrm{c}$, then the value of $\mathrm{a}+\mathrm{b}+\mathrm{c}$ is:

  • [JEE MAIN 2021]

Range of $f(x) = sin^{-1} (\sqrt {x^2 + x +1})$ is -

Let $\sum\limits_{k = 1}^{10} {f\,(a\, + \,k)} \, = \,16\,({2^{10}}\, - \,1),$ where the function $f$ satisfies $f(x + y) = f(x) f(y)$ for all natural numbers $x, y$ and $f(1) = 2.$ Then the natural number $‘ a '$ is

  • [JEE MAIN 2019]

Let $f$ be a function defined on the set of all positive integers such that $f(x y)=f(x)+f(y)$ for all positive integers $x, y$. If $f(12)=24$ and $f(8)=15$. The value of $f(48)$ is

  • [KVPY 2016]