JEE Main 2025 · 3 April · evening · Single correct · +4 / −1
Let f: R → R be a function defined by f(x)=||x+2|-2| x ∥. If m is the number of points of local minima and n is the number of points of local maxima of f, then m+n is
- (a) 3
- (b) 4
- (c) 2
- (d) 5
Answer and solution
Answer (a) 3
Solution
Maths sir · 4 steps
Open the inner modulus first, then track where f turns from falling to rising or back.
- Inside expression. Let g(x) = |x+2| - 2|x|. The breakpoints are x = -2 and x = 0, so g(x) = x - 2 for x < -2, g(x) = 3x + 2 for -2 ≤ x < 0, and g(x) = 2 - x for x ≥ 0.
- Where g is zero. f = |g| flips sign wherever g is negative, and it gets new corners where g = 0. Here g = 0 at x = -2/3 and at x = 2. For x < -2, g < -4, so it never vanishes there.
Interval f(x) Behaviour x < -2 2 - x decreasing, slope -1 -2 < x < -2/3 -(3x + 2) decreasing, slope -3, from 4 down to 0 -2/3 < x < 0 3x + 2 increasing, from 0 up to 2 0 < x < 2 2 - x decreasing, from 2 down to 0 x > 2 x - 2 increasing - Read the turns. At x = -2 the graph has a corner, but f keeps falling on both sides, so it is not an extremum. The graph turns falling to rising at x = -2/3 (minimum, f = 0) and at x = 2 (minimum, f = 0). It turns rising to falling at x = 0 (maximum, f = 2).
- So. m = 2 and n = 1, so m + n = 3, which is option (a).
The idea to keep. A corner is not automatically an extremum. Check the sign of the slope on both sides: only a change from falling to rising (or rising to falling) gives a local minimum (or maximum).
Answer from the NTA final answer key. Solution by PrepWiser.