QlarIITy

MathematicsJEE Main 2021 · 16 MarchSingle correct

Let the functions f:R→Rf : R \to R and g:R→Rg : R \to R be defined as :f(x)={x+2,x<0x2,x≥0f(x) = \begin{cases} x + 2, & x < 0 \\ x^2, & x \geq 0 \end{cases}and g(x)={x3,x<13x−2,x≥1g(x) = \begin{cases} x^3, & x < 1 \\ 3x - 2, & x \geq 1 \end{cases}. Then, the number of points in RR where (f∘g)(x)(f \circ g)(x) is NOT differentiable is equal to :

  1. Option A: 3
  2. Option B: 1
  3. Option C: 0
  4. Option D: 2
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 composite of piecewise functions is written out interval by interval before it is examined.

Concept refresher. A function given by two formulas uu and vv on either side of x=cx = c is continuous there if u(c)=v(c)u(c) = v(c), and differentiable there only if also

u′(c)=v′(c)u^{\prime}(c) = v^{\prime}(c)

Picture the situation. For x<0x < 0, g(x)=x3g(x) = x^3 is negative, so f(g(x))=x3+2f(g(x)) = x^3 + 2. For 0≤x<10 \leq x < 1, g(x)=x3g(x) = x^3 lies in [0,1)[0, 1), so f(g(x))=x6f(g(x)) = x^6. For x≥1x \geq 1, g(x)=3x−2≥1g(x) = 3x - 2 \geq 1, so f(g(x))=(3x−2)2f(g(x)) = (3x - 2)^2.

Approach. Compare the values and slopes of neighbouring formulas at 0 and at 1.

  1. Step 1: The join at 0

    The left-hand limit is 0+2=20 + 2 = 2 but the value is 06=00^6 = 0. The composite jumps, so it is not differentiable at 0.

  2. Step 2: The join at 1

    Both formulas give 1 at x=1x = 1, and the slopes are 6x5=66x^5 = 6 and 6(3x−2)=66(3x - 2) = 6. The join is smooth, so there is exactly 1 point of non-differentiability.

Answer. (B) 1

Sanity check. Inside each interval the composite is a polynomial, so no other point can fail.

Why the other options are wrong

  • (A) The count 3 would need three bad points; only the joins 0 and 1 are candidates, and 1 is smooth.
  • (C) The count 0 overlooks the jump at 0, where the limit from the left is 2 and the value is 0.
  • (D) The count 2 treats the join at 1 as a corner, but values and slopes both agree there.

Key takeaway

The trap. A change of formula can be perfectly smooth.

How toppers think. They compare both the value and the slope at every join.

Remember. At 1: values 1 and 1, slopes 6 and 6

More on Differentiability