QlarIITy

MathematicsJEE Main 2020 · 5 SeptemberSingle correct

If the functionf(x)={k1(x−π)2−1,x≤πk2cos⁡x,x>πf(x) = \begin{cases} k_1(x - \pi)^2 - 1, & x \leq \pi \\ k_2\cos x, & x > \pi \end{cases}is twice differentiable, then the ordered pair (k1,k2)(k_1, k_2) is equal to:

  1. Option A: (12,1)\left(\frac{1}{2}, 1\right)
  2. Option B: (1, 0)
  3. Option C: (12,−1)\left(\frac{1}{2}, -1\right)
  4. Option D: (1, 1)
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. Twice differentiability at a join needs agreement of values, slopes and second derivatives.

Concept refresher. A function given by formulas uu and vv on either side of x=cx = c is twice differentiable there only if

u(c)=v(c)u(c) = v(c)

together with u′(c)=v′(c)u^{\prime}(c) = v^{\prime}(c) and u′′(c)=v′′(c)u^{\prime\prime}(c) = v^{\prime\prime}(c).

Picture the situation. The left formula has derivatives 2k1(x−π)2k_1(x - \pi) and 2k12k_1, and the right formula has derivatives −k2sin⁡x-k_2\sin x and −k2cos⁡x-k_2\cos x. At x=πx = \pi, cos⁡π=−1\cos\pi = -1 and sin⁡π=0\sin\pi = 0.

Approach. Impose the three matching conditions at the join in turn.

  1. Step 1: Values and slopes

    The values at π\pi are −1-1 and k2cos⁡π=−k2k_2\cos\pi = -k_2, so k2=1k_2 = 1. The slopes there are 0 and −k2sin⁡π=0-k_2\sin\pi = 0, which agree for any constants.

  2. Step 2: Second derivatives

    The second derivatives at π\pi are 2k12k_1 and −k2cos⁡π=k2=1-k_2\cos\pi = k_2 = 1, so k1=12k_1 = \dfrac{1}{2}. The pair is (12,1)\left(\dfrac{1}{2}, 1\right).

Answer. (A) (12,1)\left(\dfrac{1}{2}, 1\right)

Sanity check. Near π\pi, cos⁡x=−1+(x−π)22−…\cos x = -1 + \dfrac{(x - \pi)^2}{2} - \ldots, which matches 12(x−π)2−1\dfrac{1}{2}(x - \pi)^2 - 1 up to second order.

Why the other options are wrong

  • (B) The pair (1,0)(1, 0) makes the right piece 0, which does not match the value −1-1 at π\pi.
  • (C) The pair with k2=−1k_2 = -1 gives the right piece the value +1+1 at π\pi, not −1-1.
  • (D) The pair (1,1)(1, 1) matches values and slopes, but the second derivatives are 2 and 1.

Key takeaway

The trap. Slopes that agree for every choice of constants give no information.

How toppers think. They compare the left formula with the series of the cosine about the join.

Remember. cos⁡x=−1+(x−π)22−…\cos x = -1 + \dfrac{(x - \pi)^2}{2} - \ldots

More on Differentiability