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

Let $x$ denote the total number of one-one functions from a set $A$ with $3$ elements to a set $B$ with $5$ elements,and $y$ denote the total number of one-one functions from the set $A$ to the set $A \times B$. Then ...... .

The function $f: R \to R$ defined by $f(x) = x^2$ for all $x \in R$ is

The function $f: R \rightarrow R$ defined by $f(x)=\frac{x}{\sqrt{1+x^2}}$ is

In each of the following cases,state whether the function is one-one,onto or bijective. Justify your answer. $f : R \rightarrow R$ defined by $f(x) = 1 + x^2$.

If a function $f: Z \rightarrow Z$ is defined by $f(x) = x - (-1)^x$,then $f(x)$ 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