JEE Main 2022 · 29 July · morning · Single correct · +4 / −1

The number of points, where the function f: R → R,
f(x)=|x-1| cos |x-2| sin |x-1|+(x-3)|x²-5 x+4|, is NOT differentiable, is :

  1. (a) 1
  2. (b) 2
  3. (c) 3
  4. (d) 4
Answer and solution

Answer (b) 2

Solution

Maths sir · 4 steps

Tidy away the harmless modulus signs first, then check whether the cofactor of each surviving kink is zero.

  1. Cosine ignores sign. Cosine is an even function, so cos|x-2| = cos(x-2). This is smooth everywhere, so x = 2 gives no trouble.

    |t| sin|t| = t sin t for all t

  2. First term is smooth. Put t = x-1. For t < 0, |t| = -t and sin|t| = -sin t, so the two minus signs cancel. The first term is (x-1)sin(x-1)cos(x-2), which is differentiable for every x.
  3. Second term. Factor x² - 5x + 4 = (x-1)(x-4), so the term is (x-3)|x-1||x-4|. A product |x-a| · g(x), with g differentiable, fails to be differentiable at a only when g(a) ≠ 0.
    PointCofactor of the modulusValue thereDifferentiable?
    x = 1(x-3)|x-4|(-2)(3) = -6 ≠ 0No
    x = 2from cos|x-2|cos|x-2| = cos(x-2)Yes
    x = 3no modulus here(x-3) is a polynomialYes
    x = 4(x-3)|x-1|(1)(3) = 3 ≠ 0No
  4. So. The function is not differentiable only at x = 1 and x = 4, which is 2 points.

The idea to keep. A modulus causes a kink only if it survives simplification. |x-a| · g(x) is non-differentiable at a exactly when g(a) ≠ 0, and cos|u| or |u|sin|u| are always smooth.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Continuity & Differentiability

Asked about 90 times in JEE Main since 2020. This question is from 2022.