JEE Challenger
More from Application of Derivatives

Total Number of Local Maxima and Local Minima of Piecewise Function

The total number of local maxima and local minima of the function

f(x)={(2+x)3,−3<x≤−1x2/3,−1<x<2f(x) = \begin{cases} (2+x)^3, & -3 < x \le -1 \\ x^{2/3}, & -1 < x < 2 \end{cases}

is

Options

A

0

B

1

C

2

Correct
D

3

Step-by-Step Solution

To find the total number of local maxima and local minima of the function

f(x)={(2+x)3,−3<x≤−1x2/3,−1<x<2f(x) = \begin{cases} (2+x)^3, & -3 < x \le -1 \\ x^{2/3}, & -1 < x < 2 \end{cases}

we analyze the function across its domain (−3,2)(-3, 2):

  1. Interval (−3,−1)(-3, -1):
    Here, f(x)=(2+x)3f(x) = (2+x)^3.
    Its derivative is:
    f′(x)=3(2+x)2f'(x) = 3(2+x)^2

    • For all x∈(−3,−1)∖{−2}x \in (-3, -1) \setminus \{-2\}, f′(x)>0f'(x) > 0.
    • At x=−2x = -2, f′(x)=0f'(x) = 0, but the derivative does not change sign (it remains positive on both sides of x=−2x = -2). Thus, x=−2x = -2 is an inflection point and not a local extremum.
    • Therefore, f(x)f(x) is strictly increasing on (−3,−1](-3, -1].
  2. At x=−1x = -1:
    First, we check the continuity at x=−1x = -1:

    • Left-hand value: f(−1)=(2−1)3=1f(-1) = (2 - 1)^3 = 1
    • Right-hand limit: lim⁡x→−1+f(x)=lim⁡x→−1+x2/3=(−1)2/3=1\lim_{x \to -1^+} f(x) = \lim_{x \to -1^+} x^{2/3} = (-1)^{2/3} = 1

    Since lim⁡x→−1f(x)=f(−1)=1\lim_{x \to -1} f(x) = f(-1) = 1, the function is continuous at x=−1x = -1.

    Now, testing the behavior in an immediate neighborhood of x=−1x = -1:

    • For x∈(−2,−1)x \in (-2, -1), we have 2+x<1  ⟹  f(x)=(2+x)3<12+x < 1 \implies f(x) = (2+x)^3 < 1.
    • For x∈(−1,0)x \in (-1, 0), we have 0<∣x∣<1  ⟹  f(x)=∣x∣2/3<10 < |x| < 1 \implies f(x) = |x|^{2/3} < 1.

    Since f(x)<f(−1)f(x) < f(-1) for all xx in a deleted neighborhood of −1-1, the function achieves a local maximum at x=−1x = -1.

  3. Interval (−1,2)(-1, 2):
    Here, f(x)=x2/3f(x) = x^{2/3}.

    • For x∈(−1,0)x \in (-1, 0), f′(x)=23x−1/3<0f'(x) = \frac{2}{3}x^{-1/3} < 0, which means f(x)f(x) is strictly decreasing.
    • At x=0x = 0, f(0)=0f(0) = 0.
    • For x∈(0,2)x \in (0, 2), f′(x)=23x−1/3>0f'(x) = \frac{2}{3}x^{-1/3} > 0, which means f(x)f(x) is strictly increasing.

    Since f(x)≥0f(x) \ge 0 for all x∈(−1,2)x \in (-1, 2) and f(0)=0f(0) = 0, the function achieves a local minimum at x=0x = 0.

  4. Conclusion:

    • Local maxima: 11 (at x=−1x = -1)
    • Local minima: 11 (at x=0x = 0)

The total number of local maxima and local minima is 1+1=21 + 1 = 2.

Therefore, the correct option is C.