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

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) $1$. To check if the function is one-one: Let $x_{1}, x_{2} \in N$ such that $f(x_{1}) = f(x_{2})$.
Then,$2x_{1} = 2x_{2}$,which implies $x_{1} = x_{2}$.
Since $f(x_{1}) = f(x_{2})$ leads to $x_{1} = x_{2}$,the function $f$ is one-one.
$2$. To check if the function is onto: $A$ function is onto if for every $y \in N$ (codomain),there exists an $x \in N$ (domain) such that $f(x) = y$.
Here,$f(x) = 2x$. If we take $y = 1 \in N$,then $2x = 1$,which gives $x = 1/2$.
Since $1/2 \notin N$,there is no $x \in N$ such that $f(x) = 1$.
Therefore,the function $f$ is not onto.

Explore More

Similar Questions

Consider the identity function $I_{N}: N \rightarrow N$ defined as $I_{N}(x) = x$ for all $x \in N$. Show that although $I_{N}$ is onto,the function $I_{N} + I_{N}: N \rightarrow N$ defined as $(I_{N} + I_{N})(x) = I_{N}(x) + I_{N}(x) = x + x = 2x$ is not onto.

Let $A$ be a set containing $10$ distinct elements. Then the total number of distinct functions from $A$ to $A$ is:

Let $f:[0,1] \rightarrow [-1,1]$ and $g:[-1,1] \rightarrow [0,2]$ be two functions such that $g$ is injective and $g \circ f: [0,1] \rightarrow [0,2]$ is surjective. Then,

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

Show that the function $f: R_* \rightarrow R_*$ defined by $f(x) = \frac{1}{x}$ is one-one and onto,where $R_*$ is the set of all non-zero real numbers. Is the result true if the domain $R_*$ is replaced by $N$ with the co-domain remaining the same as $R_*$?

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