GATE 2023 IN – Question 9
Which of the figures P, Q, R, S represents $f(x)=\bigl||x+2|-|x-1|\bigr|$?

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) P
Explanation
For $x\le-2$ and $x\ge1$, the outer absolute value gives 3. For $-2\le x\le1$, it gives $|2x+1|$, with minimum zero at $x=-1/2$.
Thus two horizontal plateaus flank a V-shaped valley, as in **P, A**.