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)=\left|x^2-3 x+2\right|$, then $\frac{d f}{d x}=$
MathematicsDifferentiationAP EAMCETAP EAMCET 2022 (08 Jul Shift 2)
Options:
  • A $2 x-3$, when $1 < x < 2$
  • B $3-2 x$, when $x>2$
  • C $2 x-3$, when $x>2$
  • D $3+2 x$, when $1 < x < 2$
Solution:
2000 Upvotes Verified Answer
The correct answer is: $2 x-3$, when $x>2$
$f(x)=\left|x^2-3 x+2\right|$
$\begin{aligned} & =|(x-1)(x-2)| \\ & =\left\{\begin{array}{l}(x-1)(x-2) ; x < 1 \text { and } x \geq 2 \\ -(x-1)(x-2) ; 1 \leq x < 2\end{array}\right.\end{aligned}$
$f(x)=\left\{\begin{array}{l}x^2-3 x+2 ; x < 1 \text { and } x \geq 2 \\ -x^2+3 x-2 ; 1 \leq x < 2\end{array}\right.$
$\Rightarrow f^{\prime}(x)=\left\{\begin{array}{l}2 x-3 ; x < 1 \text { and } x \geq 2 \\ -2 x+3 ; 1 \leq x < 2\end{array}\right.$

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.