QlarIITy

MathematicsIIT-JEE 1999Single correct

The function f(x)=(x2−1)∣x2−3x+2∣+cos⁡(∣x∣)f(x)=(x^{2}-1)|x^{2}-3x+2|+\cos(|x|) is NOT differentiable at

  1. Option A: −1-1
  2. Option B: 00
  3. Option C: 11
  4. Option D: 22
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 product p(x)∣x−a∣p(x)|x-a| has a corner at aa only when p(a)≠0p(a)\ne 0, so factor x2−3x+2=(x−1)(x−2)x^{2}-3x+2=(x-1)(x-2) and test each zero.

Concept refresher. ∣x−a∣|x-a| has a corner at x=ax=a, but (x−a)∣x−a∣(x-a)|x-a| is differentiable there (its derivative is 2∣x−a∣2|x-a|). Also cos⁡(∣x∣)=cos⁡x\cos(|x|)=\cos x because cosine is even.

Approach. Factor everything and look at the possible corners x=1x=1 and x=2x=2.

  1. Step 1: The cosine term

    cos⁡(∣x∣)=cos⁡x\cos(|x|)=\cos x, which is differentiable everywhere.

  2. Step 2: Factor the first term

    (x2−1)∣x2−3x+2∣=(x+1)(x−1)∣x−1∣∣x−2∣(x^{2}-1)|x^{2}-3x+2|=(x+1)(x-1)|x-1||x-2|
  3. Step 3: At x=1x=1

    The factor (x−1)∣x−1∣(x-1)|x-1| is differentiable at 11, and (x+1)∣x−2∣(x+1)|x-2| is differentiable near 11. So ff is differentiable at x=1x=1.

  4. Step 4: At x=2x=2

    Write ϕ(x)=(x2−1)∣x−1∣\phi(x)=(x^{2}-1)|x-1|, so the first term is ϕ(x)∣x−2∣\phi(x)|x-2| with ϕ(2)=3⋅1=3≠0\phi(2)=3\cdot 1=3\ne 0.

    RHD=lim⁡h→0+hϕ(2+h)h=3,LHD=lim⁡h→0+hϕ(2−h)−h=−3\text{RHD}=\lim_{h\to 0^{+}}\frac{h \phi(2+h)}{h}=3,\qquad \text{LHD}=\lim_{h\to 0^{+}}\frac{h\phi(2-h)}{-h}=-3

    They differ, so ff is not differentiable at x=2x=2.

Answer. (D)

Why the other options are wrong

  • (A) At x=−1x=-1 the modulus argument is 6≠06\ne 0, so every term is smooth there.
  • (B) cos⁡(∣x∣)=cos⁡x\cos(|x|)=\cos x is smooth at 00, and the modulus argument is 2≠02\ne 0.
  • (C) The zero of x2−1x^{2}-1 at x=1x=1 cancels the corner of ∣x−1∣|x-1|.

Key takeaway

The trap. Students mark both zeros of x2−3x+2x^{2}-3x+2 as corners, missing that x2−1x^{2}-1 also vanishes at x=1x=1 and smooths the kink there.

How toppers think. They note at once that cos⁡(∣x∣)=cos⁡x\cos(|x|)=\cos x is smooth, so only the modulus term matters, and evaluate its cofactor at each zero.

Remember. p(x)∣x−a∣p(x)|x-a| is non-differentiable at aa exactly when p(a)≠0p(a)\ne 0; here only at x=2x=2.

More on Differentiability