RankRizz
JEE MAIN 2020 · 05 SEP S1+4 / −1MEDIUMTRANSCRIBED

JEE Main 2020 Mathematics question — Differentiability at a point

If the function f(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:

SOLUTION

For the given piece-wise definition we have

f(x)={k1 (x−π)2−1,x≤πk2cos⁡x,x>πf(x)=\begin{cases} k_1\,(x-\pi)^2-1,& x\le \pi\\[4pt] k_2\cos x,& x>\pi \end{cases}

To be twice differentiable at the joining point x=πx=\pi, the function itself, its first derivative and its second derivative must all be continuous there.

1. Continuity of the function at x=πx=\pi

Left-hand value:

f(π−)=k1 (π−π)2−1=k1⋅0−1=−1f(\pi^-)=k_1\,(\pi-\pi)^2-1=k_1\cdot 0-1=-1

Right-hand value:

f(π+)=k2cos⁡π=k2(−1)=−k2f(\pi^+)=k_2\cos\pi=k_2(-1)=-k_2

For continuity we equate the two:

−1=−k2⟹k2=1-1=-k_2\Longrightarrow k_2=1

2. Continuity of the first derivative at x=πx=\pi

First we write the standard differentiation formulas we will use:

• For xnx^n we use ddx(xn)=n x n−1.\dfrac{d}{dx}\bigl(x^n\bigr)=n\,x^{\,n-1}.

• For cos⁡x\cos x we use ddx(cos⁡x)=−sin⁡x.\dfrac{d}{dx}\bigl(\cos x\bigr)=-\sin x.

Left-hand derivative:

f′(x)=ddx(k1(x−π)2−1)=k1⋅2(x−π)=2k1(x−π)f'(x)=\dfrac{d}{dx}\bigl(k_1(x-\pi)^2-1\bigr)=k_1\cdot 2(x-\pi)=2k_1(x-\pi)

Therefore

f′(π−)=2k1(π−π)=0f'(\pi^-)=2k_1(\pi-\pi)=0

Right-hand derivative (using k2=1k_2=1 already obtained):

f′(x)=ddx(k2cos⁡x)=−k2sin⁡x=−sin⁡xf'(x)=\dfrac{d}{dx}\bigl(k_2\cos x\bigr)=-k_2\sin x=-\sin x

Hence

f′(π+)=−(sin⁡π)=0f'(\pi^+)=-(\sin\pi)=0

Because both one-sided derivatives equal 00, the first derivative is continuous automatically for every k1k_1 when k2=1k_2=1. So we proceed to the second derivative.

3. Continuity of the second derivative at x=πx=\pi

The second derivative on the left side is obtained by differentiating f′(x)=2k1(x−π)f'(x)=2k_1(x-\pi) once more:

f′′(x)=ddx(2k1(x−π))=2k1f''(x)=\dfrac{d}{dx}\bigl(2k_1(x-\pi)\bigr)=2k_1

Thus

f′′(π−)=2k1f''(\pi^-)=2k_1

On the right side we differentiate f′(x)=−sin⁡xf'(x)=-\sin x again, recalling the formula ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x)=\cos x and carrying the minus sign:

f′′(x)=ddx(−sin⁡x)=−cos⁡xf''(x)=\dfrac{d}{dx}\bigl(-\sin x\bigr)=-\cos x

So

f′′(π+)=−(cos⁡π)=−(−1)=1f''(\pi^+)=-(\cos\pi)= -(-1)=1

For the second derivative to be continuous we need

f′′(π−)=f′′(π+)⟹2k1=1f''(\pi^-)=f''(\pi^+) \Longrightarrow 2k_1=1

Solving this simple linear equation gives

k1=12k_1=\dfrac{1}{2}

Combining the two conditions, we finally obtain

(k1,k2)=(12, 1)\bigl(k_1,k_2\bigr)=\left(\dfrac12,\,1\right)

Hence, the correct answer is Option A.

Tagged Differentiability at a point. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicDifferentiability at a point
TypeMultiple choice