QlarIITy

MathematicsJEE Advanced 2013 · Paper 2One or more correct

The function f(x)=2∣x∣+∣x+2∣−∣∣x+2∣−2∣x∣∣f(x)=2|x|+|x+2|-\left||x+2|-2|x|\right| has a local minimum or a local maximum at x=x=

  1. Option A: −2-2
  2. Option B: −23\frac{-2}{3}
  3. Option C: 22
  4. Option D: 23\frac{2}{3}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Using a+b−∣a−b∣=2min⁡(a,b)a+b-|a-b|=2\min(a,b) turns the nested modulus into 2min⁡(∣x+2∣,2∣x∣)2\min(|x+2|,2|x|), and a piecewise linear function has an extremum only where its slope changes sign.

Concept refresher. For real a,ba,b: a+b−∣a−b∣=2min⁡(a,b)a+b-|a-b|=2\min(a,b). For a continuous piecewise linear function, a point is a local extremum exactly when the slope changes sign there (negative to positive: minimum; positive to negative: maximum).

Approach. Simplify ff to 2min⁡(∣x+2∣,2∣x∣)2\min(|x+2|,2|x|), write it piecewise, read off the slopes, and test each option.

  1. Step 1: Simplify

    With a=∣x+2∣a=|x+2| and b=2∣x∣b=2|x|:

    f(x)=a+b−∣a−b∣=2min⁡(∣x+2∣, 2∣x∣)f(x)=a+b-|a-b|=2\min\left(|x+2|,\ 2|x|\right)
  2. Step 2: Where the two pieces cross

    ∣x+2∣=2∣x∣|x+2|=2|x| gives x+2=2x⇒x=2x+2=2x\Rightarrow x=2 or x+2=−2x⇒x=−23x+2=-2x\Rightarrow x=-\frac{2}{3}.

  3. Step 3: Piecewise form

    f(x)={−2x−4,x≤−22x+4,−2≤x≤−23−4x,−23≤x≤04x,0≤x≤22x+4,x≥2f(x)=\begin{cases}-2x-4, & x\le -2\\ 2x+4, & -2\le x\le -\frac{2}{3}\\ -4x, & -\frac{2}{3}\le x\le 0\\ 4x, & 0\le x\le 2\\ 2x+4, & x\ge 2\end{cases}

    Slopes in order: −2, +2, −4, +4, +2-2,\ +2,\ -4,\ +4,\ +2.

  4. Step 4: Classify the corners

    • x=−2x=-2: slope −2→+2-2\to +2, local minimum (f=0f=0).
    • x=−23x=-\frac{2}{3}: slope +2→−4+2\to -4, local maximum (f=83f=\frac{8}{3}).
    • x=0x=0: slope −4→+4-4\to +4, local minimum (f=0f=0).
    • x=2x=2: slope +4→+2+4\to +2, no sign change, so no extremum.

Answer. (A) and (B)

Why the other options are wrong

  • (C) At x=2x=2 the graph has a corner, but ff is increasing on both sides (slopes 4 and 2), so it is neither a maximum nor a minimum.
  • (D) x=23x=\frac{2}{3} lies inside (0,2)(0,2) where f(x)=4xf(x)=4x is a straight increasing line; nothing happens there.

Key takeaway

The trap. Calling x=2x=2 an extremum because it is a corner, although the slope only drops from 44 to 22 and stays positive.

How toppers think. They list the slopes from left to right (−2,+2,−4,+4,+2-2,+2,-4,+4,+2) and mark only the corners where the sign flips.

Remember. a+b+∣a−b∣=2max⁡(a,b)a+b+|a-b|=2\max(a,b) and a+b−∣a−b∣=2min⁡(a,b)a+b-|a-b|=2\min(a,b).

More on Maxima & Minima