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

If $f: Z \rightarrow Z$,$f(x) = \begin{cases} \frac{x}{2}, & \text{if } x \text{ is even} \\ 0, & \text{if } x \text{ is odd} \end{cases}$,then $f$ is

Define $f: R \rightarrow R$ by $f(x) = \max \{x+1, 1-x, 2\}$. Then,$f$ is

If a real-valued function $f$ is defined by $f(x) = \frac{ax + \sqrt{a^2 - x^2}}{bx}$,then $f$ is

Let $f : R \to R$ be defined as $f(x) = e^{x^2} + \cos x$. Then $f$ is:

$A$ function $f$ from the set of natural numbers $\mathbb{N}$ to the set of integers $\mathbb{Z}$ is defined by $f(n) = \begin{cases} \frac{n-1}{2}, & \text{if } n \text{ is odd} \\ -\frac{n}{2}, & \text{if } n \text{ is even} \end{cases}$. The function $f$ 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