Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
If $f(x)=|x-1|+|x-2|+|x-3|, 2 < x < 3$, then $f$ is
MathematicsFunctionsAP EAMCETAP EAMCET 2016
Options:
  • A an onto function but not one-one
  • B one-one function but not onto
  • C a bijection
  • D neither one-one nor onto
Solution:
1602 Upvotes Verified Answer
The correct answer is: a bijection
We have,
$\begin{aligned}
& f(x)=|x-1|+|x-2|+|x-3| \\
& \Rightarrow f(x)=\left\{\begin{array}{cc}
6-3 x, & x < 1 \\
4-x, & 1 < x < 2 \\
x, & 2 < x < 3 \\
3 x-6, & x>3
\end{array}\right.
\end{aligned}$
For $2 < x < 3$, then $f(x)=x$
So, $f(x)$ is one-one and onto function.
It implies that $f(x)$ is a bijection.

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.