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

The function $f:R \to R$ defined by $f(x) = (x - 1)(x - 2)(x - 3)$ is

$f: N \rightarrow N$,is defined by $f(x)=x^6$ then, . . . . . . .

If $f: \{1, 2, 3, 4\} \to \{1, 2, 3, 4\}$ is a function such that $|f(\alpha) - \alpha| \leqslant 1$ for all $\alpha \in \{1, 2, 3, 4\}$,then the total number of such functions is:

Set $A$ has $3$ elements and set $B$ has $4$ elements. The number of injections that can be defined from $A$ to $B$ is

Let $f: R \rightarrow R$ be defined by $f(x) = \begin{cases} x + 2, & x \leq -1 \\ x^2, & -1 < x < 1 \\ 2 - x, & x \geq 1 \end{cases}$. Then the value of $f(-1.75) + f(0.5) + f(1.5)$ 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