QlarIITy

MathematicsJEE Main 2022 · 29 JulySingle correct

The number of points, where the function f:R→Rf : R \to R,f(x)=∣x−1∣cos⁡∣x−2∣sin⁡∣x−1∣+(x−3)∣x2−5x+4∣f(x) = |x - 1|\cos|x - 2|\sin|x - 1| + (x - 3)|x^2 - 5x + 4|, is NOT differentiable, is

  1. Option A: 1
  2. Option B: 2
  3. Option C: 3
  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 gives a corner only where the whole term changes its slope.

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. With u=x−1u = x - 1, ∣u∣sin⁡∣u∣=usin⁡u|u|\sin|u| = u\sin u for both signs of uu, and cos⁡∣x−2∣=cos⁡(x−2)\cos|x - 2| = \cos(x - 2). So the first term is (x−1)sin⁡(x−1)cos⁡(x−2)(x - 1)\sin(x - 1)\cos(x - 2), which is differentiable everywhere. In the second term, x2−5x+4=(x−1)(x−4)x^2 - 5x + 4 = (x - 1)(x - 4).

Approach. Examine the zeros of the quadratic inside the remaining modulus.

  1. Step 1: The second term

    The modulus ∣(x−1)(x−4)∣|(x - 1)(x - 4)| has corners at x=1x = 1 and x=4x = 4, where the quadratic changes sign with non-zero slope.

  2. Step 2: The count

    The factor x−3x - 3 is −2-2 at x=1x = 1 and 1 at x=4x = 4, so it does not remove either corner. The function is not differentiable at exactly 2 points.

Answer. (B) 2

Sanity check. Had the factor in front been x−1x - 1 or x−4x - 4, the corner at that point would have been smoothed out; x−3x - 3 vanishes at neither.

Why the other options are wrong

  • (A) The count 1 keeps only one of the two zeros; both x=1x = 1 and x=4x = 4 give corners.
  • (C) The count 3 adds x=2x = 2 from cos⁡∣x−2∣\cos|x - 2|, but the cosine of a modulus is smooth.
  • (D) The count 4 adds a point for each modulus in the first term, although that term is smooth.

Key takeaway

The trap. An even function of a modulus, or the modulus times an odd function of it, has no corner.

How toppers think. They simplify each term with its moduli before looking for zeros.

Remember. ∣u∣sin⁡∣u∣=usin⁡u|u|\sin|u| = u\sin u and cos⁡∣u∣=cos⁡u\cos|u| = \cos u

More on Differentiability