JEE Challenger
More from Application of Derivatives

Local Extrema of Absolute Value Function

The function f(x)=2∣x∣+∣x+2∣−∣∣x+2∣−2∣x∣∣f(x) = 2|x| + |x+2| - ||x+2| - 2|x|| attains a local minimum or a local maximum at xx equal to:

Options

A

−2-2

Correct
B

−23-\frac{2}{3}

Correct
C

22

D

23\frac{2}{3}

Step-by-Step Solution

To find the points at which the function attains a local minimum or a local maximum, we first simplify the given expression.

Recall the algebraic identity for the minimum of two real numbers: min⁡(a,b)=a+b−∣a−b∣2  ⟹  2min⁡(a,b)=a+b−∣a−b∣\min(a, b) = \frac{a + b - |a - b|}{2} \implies 2\min(a, b) = a + b - |a - b|

Let a=∣x+2∣a = |x+2| and b=2∣x∣b = 2|x|. The given function is: f(x)=2∣x∣+∣x+2∣−∣∣x+2∣−2∣x∣∣f(x) = 2|x| + |x+2| - ||x+2| - 2|x|| Using the identity, this can be written compactly as: f(x)=2min⁡(∣x+2∣,2∣x∣)f(x) = 2 \min(|x+2|, 2|x|)

To determine the behavior of f(x)f(x), we find the points of intersection of ∣x+2∣|x+2| and 2∣x∣2|x|: ∣x+2∣=2∣x∣  ⟹  (x+2)2=4x2  ⟹  3x2−4x−4=0|x+2| = 2|x| \implies (x+2)^2 = 4x^2 \implies 3x^2 - 4x - 4 = 0 (3x+2)(x−2)=0  ⟹  x=−23orx=2(3x + 2)(x - 2) = 0 \implies x = -\frac{2}{3} \quad \text{or} \quad x = 2

Along with the roots of the individual absolute value components, x=−2x = -2 and x=0x = 0, we analyze f(x)f(x) over the real line partitioned into five intervals:

  1. For x≤−2x \le -2:

    • ∣x+2∣=−(x+2)|x+2| = -(x+2)
    • 2∣x∣=−2x2|x| = -2x
    • Since x≤−2x \le -2, we have −(x+2)≤−2x  ⟺  −x−2≤−2x  ⟺  x≤2-(x+2) \le -2x \iff -x - 2 \le -2x \iff x \le 2 (which is true).
    • Thus, min⁡(∣x+2∣,2∣x∣)=∣x+2∣=−x−2\min(|x+2|, 2|x|) = |x+2| = -x-2. f(x)=2(−x−2)=−2x−4f(x) = 2(-x-2) = -2x - 4 Here, the slope of f(x)f(x) is −2-2 (strictly decreasing).
  2. For −2<x≤−23-2 < x \le -\frac{2}{3}:

    • ∣x+2∣=x+2|x+2| = x+2
    • 2∣x∣=−2x2|x| = -2x
    • Since x≤−23x \le -\frac{2}{3}, we have x+2≤−2x  ⟺  3x≤−2x+2 \le -2x \iff 3x \le -2.
    • Thus, min⁡(∣x+2∣,2∣x∣)=∣x+2∣=x+2\min(|x+2|, 2|x|) = |x+2| = x+2. f(x)=2(x+2)=2x+4f(x) = 2(x+2) = 2x + 4 Here, the slope of f(x)f(x) is +2+2 (strictly increasing).
  3. For −23<x≤0-\frac{2}{3} < x \le 0:

    • ∣x+2∣=x+2|x+2| = x+2
    • 2∣x∣=−2x2|x| = -2x
    • Since x>−23x > -\frac{2}{3}, we have x+2>−2xx+2 > -2x.
    • Thus, min⁡(∣x+2∣,2∣x∣)=2∣x∣=−2x\min(|x+2|, 2|x|) = 2|x| = -2x. f(x)=2(−2x)=−4xf(x) = 2(-2x) = -4x Here, the slope of f(x)f(x) is −4-4 (strictly decreasing).
  4. For 0<x≤20 < x \le 2:

    • ∣x+2∣=x+2|x+2| = x+2
    • 2∣x∣=2x2|x| = 2x
    • Since x≤2x \le 2, we have 2x≤x+22x \le x+2.
    • Thus, min⁡(∣x+2∣,2∣x∣)=2∣x∣=2x\min(|x+2|, 2|x|) = 2|x| = 2x. f(x)=2(2x)=4xf(x) = 2(2x) = 4x Here, the slope of f(x)f(x) is +4+4 (strictly increasing).
  5. For x>2x > 2:

    • ∣x+2∣=x+2|x+2| = x+2
    • 2∣x∣=2x2|x| = 2x
    • Since x>2x > 2, we have x+2<2xx+2 < 2x.
    • Thus, min⁡(∣x+2∣,2∣x∣)=∣x+2∣=x+2\min(|x+2|, 2|x|) = |x+2| = x+2. f(x)=2(x+2)=2x+4f(x) = 2(x+2) = 2x + 4 Here, the slope of f(x)f(x) is +2+2 (strictly increasing).

Analysis of Local Extrema:

  • At x=−2x = -2:

    • For x<−2x < -2, f′(x)=−2<0f'(x) = -2 < 0 (function decreases).
    • For −2<x<−23-2 < x < -\frac{2}{3}, f′(x)=+2>0f'(x) = +2 > 0 (function increases).
    • Therefore, f(x)f(x) attains a local minimum at x=−2x = -2.
  • At x=−23x = -\frac{2}{3}:

    • For −2<x<−23-2 < x < -\frac{2}{3}, f′(x)=+2>0f'(x) = +2 > 0 (function increases).
    • For −23<x<0-\frac{2}{3} < x < 0, f′(x)=−4<0f'(x) = -4 < 0 (function decreases).
    • Therefore, f(x)f(x) attains a local maximum at x=−23x = -\frac{2}{3}.
  • At x=0x = 0:

    • f(x)f(x) attains a local minimum (not among the options).
  • At x=2x = 2:

    • For 0<x<20 < x < 2, f′(x)=+4>0f'(x) = +4 > 0.
    • For x>2x > 2, f′(x)=+2>0f'(x) = +2 > 0.
    • Since f(x)f(x) is strictly increasing in the neighborhood of x=2x = 2, it is neither a local maximum nor a local minimum.
  • At x=23x = \frac{2}{3}:

    • In the neighborhood around 23\frac{2}{3}, f′(x)=4>0f'(x) = 4 > 0, so f(x)f(x) is strictly increasing and has no extremum.

Hence, the function attains a local extremum at x=−2x = -2 and x=−23x = -\frac{2}{3}.

Correct Options: (A) and (B)