QlarIITy

MathematicsJEE Main 2022 · 25 JuneInteger

Letf(x)=∣(x−1)(x2−2x−3)∣+x−3,x∈Rf(x) = |(x - 1)(x^2 - 2x - 3)| + x - 3, x \in \mathbb{R}. If mm and MM are respectively the number of points of local minimum and local maximum of ff in the interval (0,4)(0, 4), then m+Mm + M is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A modulus creates corners where the inside vanishes, and corners can be turning points.

Concept refresher. A function can have a local maximum or minimum only at a critical point, where

f′(c)=0f^{\prime}(c) = 0

or f′(c)f^{\prime}(c) does not exist; the sign of f′f^{\prime} on either side decides which.

Picture the situation. Here

(x−1)(x2−2x−3)=(x+1)(x−1)(x−3)=x3−3x2−x+3\begin{aligned} &(x - 1)(x^2 - 2x - 3) \\[4pt] &= (x + 1)(x - 1)(x - 3) \\[4pt] &= x^3 - 3x^2 - x + 3 \end{aligned}

which in (0,4)(0, 4) is positive on (0,1)(0, 1), negative on (1,3)(1, 3) and positive on (3,4)(3, 4). So f(x)=x3−3x2f(x) = x^3 - 3x^2 on (0,1)(0, 1) and (3,4)(3, 4), and f(x)=−x3+3x2+2x−6f(x) = -x^3 + 3x^2 + 2x - 6 on (1,3)(1, 3).

Graph of the function on the interval from 0 to 4: it falls to a corner at (1, −2), rises to a smooth maximum near x = 2.3, falls to a corner at (3, 0) on the x-axis and rises steeply.

Approach. Find the sign of the derivative on each stretch.

  1. Step 1: The outer stretches

    There f′(x)=3x2−6x=3x(x−2)f^{\prime}(x) = 3x^2 - 6x = 3x(x - 2), which is negative on (0,1)(0, 1) and positive on (3,4)(3, 4).

  2. Step 2: The middle stretch

    There f′(x)=−3x2+6x+2f^{\prime}(x) = -3x^2 + 6x + 2, with f′(1)=5>0f^{\prime}(1) = 5 > 0 and f′(3)=−7<0f^{\prime}(3) = -7 < 0; it vanishes once, at x=1+53x = 1 + \sqrt{\dfrac{5}{3}}, about 2.29.

  3. Step 3: The count

    So ff falls, rises, falls and rises: it has local minima at the corners x=1x = 1 and x=3x = 3 and a local maximum at x≈2.29x \approx 2.29. Hence m+M=2+1=3m + M = 2 + 1 = 3.

Answer. 3

Sanity check. The values are f(1)=−2f(1) = -2, f(3)=0f(3) = 0 and about 2.30 at the maximum, which is higher than both corners, as it must be.

Common wrong answers

  • 1: Ignoring the corners at 1 and 3 and counting only the smooth maximum gives 1.
  • 2: Counting only the two corner minima and missing the maximum between them gives 2.

Key takeaway

The trap. A turning point need not be a zero of the derivative; the derivative may fail to exist there.

How toppers think. They note that between two neighbouring minima there must be a maximum.

Remember. Minima at x=1x = 1 and x=3x = 3; maximum at x=1+53x = 1 + \sqrt{\dfrac{5}{3}}

More on Maxima & Minima