QlarIITy

MathematicsJEE Main 2025 · 3 AprilSingle correct

Let f:R→Rf : R \to R be a function defined by f(x)=∣∣x+2∣−2∣x∣∣f(x) = \left||x + 2| - 2|x|\right|. If mm is the number of points of local minima and nn is the number of points of local maxima of ff, then m+nm + n is

  1. Option A: 5
  2. Option B: 3
  3. Option C: 2
  4. Option D: 4
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. A modulus of a piecewise linear expression has its minima where the expression crosses zero.

Concept refresher. The modulus ∣u∣|u| equals uu when u≥0u \geq 0 and −u-u when u<0u < 0, so an equation with moduli is solved separately on each interval where the signs are fixed; always

∣u∣≥0|u| \geq 0

Picture the situation. Write g(x)=∣x+2∣−2∣x∣g(x) = |x + 2| - 2|x|. For x<−2x < -2, g=x−2g = x - 2; for −2≤x<0-2 \leq x < 0, g=3x+2g = 3x + 2; for x≥0x \geq 0, g=2−xg = 2 - x. The function is f=∣g∣f = |g|, and gg vanishes at x=−23x = -\dfrac{2}{3} and at x=2x = 2.

Graph of the function as a broken line: falling to the point (−2, 4), falling more steeply to the x-axis at x = −2/3, rising to the point (0, 2), falling to the x-axis at x = 2 and rising again.

Approach. Follow the function from left to right and mark its turning points.

  1. Step 1: The shape

    For x<−2x < -2, f=2−xf = 2 - x falls to 4 at x=−2x = -2, and it goes on falling along −3x−2-3x - 2 to 0 at x=−23x = -\dfrac{2}{3}. Then it rises along 3x+23x + 2 to 2 at x=0x = 0, falls along 2−x2 - x to 0 at x=2x = 2, and rises afterwards.

  2. Step 2: The count

    So ff has local minima at x=−23x = -\dfrac{2}{3} and x=2x = 2 and a local maximum at x=0x = 0. At x=−2x = -2 it falls on both sides, so that point is not an extreme point. Hence m+n=2+1=3m + n = 2 + 1 = 3.

Answer. (B) 3

Sanity check. Between two neighbouring local minima of a continuous function there must be a local maximum, which is the one at 0.

Why the other options are wrong

  • (A) The value 5 would need five turning points; the graph turns only at −23-\dfrac{2}{3}, 0 and 2.
  • (C) The value 2 counts only the two points where the function is 0 and misses the local maximum at 0.
  • (D) The value 4 counts x=−2x = -2 as well, but the function is falling on both sides of it.

Key takeaway

The trap. A corner where the function keeps falling is not an extreme point.

How toppers think. They sketch the broken line first and then reflect the part below the axis.

Remember. Minima at −23-\dfrac{2}{3} and 2; maximum at 0

More on Maxima & Minima