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

Let $A = \{x \in R \mid x \text{ is not a positive integer}\}$. Let a function $f$ be defined as $f: A \rightarrow R$ such that $f(x) = \frac{2x}{x-1}$. Then $f$ is:

Let $f : R \to R$ be defined by $f(x) = \frac{|x| - 1}{|x| + 1}$. Then $f$ is

The function $f : N \to N$ defined by $f(x) = x - 5[\frac{x}{5}]$,where $N$ is the set of natural numbers and $[x]$ denotes the greatest integer less than or equal to $x$,is

$f(x) = x + \sqrt{x^2}$ is a function from $R \to R$,then $f(x)$ is

Let $f: R \rightarrow R$ and $g: R \rightarrow R$ be the functions defined by $f(x) = \frac{x}{1+x^2}$ and $g(x) = \frac{x^2}{1+x^2}$. Then,the correct statement$(s)$ among the following is/are:

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