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

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) To check if $f$ is one-one:
$A$ function $f$ is one-one if $f(x_1) = f(x_2) \implies x_1 = x_2$.
Here,$f(1) = 1$ and $f(2) = 1$.
Since $f(1) = f(2)$ but $1 \neq 2$,the function $f$ is not one-one.
To check if $f$ is onto:
$A$ function $f: N \rightarrow N$ is onto if for every $y \in N$,there exists an $x \in N$ such that $f(x) = y$.
Case $1$: If $y = 1$,we have $f(1) = 1$. Thus,$1$ has a pre-image.
Case $2$: If $y > 1$,then $y+1 > 2$. We can choose $x = y+1$. Then $f(x) = f(y+1) = (y+1) - 1 = y$.
Since every $y \in N$ has a pre-image in $N$,the function $f$ is onto.

Explore More

Similar Questions

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:

Find the number of all onto functions from the set $\{1, 2, 3, \ldots, n\}$ to itself.

If $f:[0, \infty) \to [0, \infty)$ and $f(x) = \frac{x}{1+x}$,then $f$ is

If $f(x) = [8x] - 3$,where $[x]$ is the greatest integer function of $x$,then $f(\pi) = $

$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:

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