Show that the modulus function $f : R \rightarrow R$ given by $f(x) = |x|$ is neither one-one nor onto,where $|x| = x$ if $x \ge 0$ and $|x| = -x$ if $x < 0$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) The function $f: R \rightarrow R$ is defined as $f(x) = |x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}$.
To check if $f$ is one-one:
Consider $f(-1) = |-1| = 1$ and $f(1) = |1| = 1$.
Since $f(-1) = f(1)$ but $-1 \neq 1$,the function $f$ is not one-one.
To check if $f$ is onto:
Consider the codomain $R$. For any negative value,such as $-1 \in R$,there exists no $x \in R$ such that $f(x) = |x| = -1$,because the absolute value of any real number is always non-negative $(|x| \ge 0)$.
Therefore,$f$ is not onto.
Hence,the modulus function is neither one-one nor onto.

Explore More

Similar Questions

Check the injectivity and surjectivity of the function $f: R \rightarrow R$ defined by $f(x) = x^2$.

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

If $f: R \rightarrow R$ is defined by $f(x)=x-[x]-\frac{1}{2}$ for $x \in R$,where $[x]$ is the greatest integer not exceeding $x$,then $\{x \in R: f(x)=\frac{1}{2}\}$ is equal to :

If $R$ denotes the set of all real numbers,then the function $f: R \to R$ defined by $f(x) = [x]$ is:

If $f : R \rightarrow R$ such that $f(x) = 5x - 3\cos x - 4\sin x$,then the function $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