QlarIITy

MathematicsJEE Main 2021 · 25 FebruaryInteger

The number of points, at which the functionf(x)=∣2x+1∣−3∣x+2∣+∣x2+x−2∣,x∈Rf(x) = |2x + 1| - 3|x + 2| + |x^2 + x - 2|, x \in Ris not differentiable, is ______.

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. Corners of different terms at the same point can cancel when their slope jumps are opposite.

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. Since x2+x−2=(x+2)(x−1)x^2 + x - 2 = (x + 2)(x - 1), the last two terms are ∣x+2∣(∣x−1∣−3)|x + 2|(|x - 1| - 3). Near x=−2x = -2, ∣x−1∣=1−x|x - 1| = 1 - x, so the bracket is −(x+2)-(x + 2) and the product is −(x+2)∣x+2∣-(x + 2)|x + 2|, whose slope is 0 from both sides at −2-2.

Approach. Check the three candidate points minus 2, minus one half and 1.

  1. Step 1: The point minus 2

    The product −(x+2)∣x+2∣-(x + 2)|x + 2| equals −(x+2)2-(x + 2)^2 on the right of −2-2 and (x+2)2(x + 2)^2 on the left, both with slope 0 there, and ∣2x+1∣|2x + 1| is smooth there. So ff is differentiable at −2-2.

  2. Step 2: The other points

    At x=−12x = -\dfrac{1}{2} the term ∣2x+1∣|2x + 1| has a corner and the others are smooth. At x=1x = 1 the term ∣x+2∣∣x−1∣|x + 2||x - 1| has a corner, since ∣x+2∣=3|x + 2| = 3 is not zero. So there are 2 points.

Answer. 2

Sanity check. The slope of ∣x2+x−2∣|x^2 + x - 2| jumps by 6 at −2-2, exactly cancelling the jump of −3∣x+2∣-3|x + 2| by −6-6.

Common wrong answers

  • 3: Counting −2-2 as a corner, although the two corners there cancel, gives 3.
  • 1: Missing the corner at 1 from the factor ∣x−1∣|x - 1| and keeping only −12-\dfrac{1}{2} gives 1.

Key takeaway

The trap. A zero of one modulus that is also a zero of another needs both terms together.

How toppers think. They compare the jumps of the slope of each term at the shared point.

Remember. Slope jumps at −2-2: +6+6 and −6-6

More on Differentiability