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(x) = (\frac{3}{5})^x + (\frac{4}{5})^x - 1$,$x \in R$,then the equation $f(x) = 0$ has

Let $f: R \rightarrow R$ be a function defined by
$f(x) = \begin{cases} x^2 \sin \left(\frac{\pi}{x^2}\right) & \text{if } x \neq 0 \\ 0 & \text{if } x = 0 \end{cases}$
Then which of the following statements is $TRUE$?

If $f(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$ and $g(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$,then the function $(f - g)$ is:

If $f: R \rightarrow R$ is defined by $f(x) = x^2 + 3x + 4$,then the function $f$ is . . . . . . .

The function $f: R-\{1\} \rightarrow R-\{4\}$ defined by $f(x) = \frac{4x-3}{x-1}$ for $x \in R-\{1\}$ 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