RankRizz
JEE MAIN 2019 · 11 JAN S2+4 / −1EASYTRANSCRIBED

JEE Main 2019 Mathematics question — Differentiability at a point

Let K be the set of all real values of x where the function f(x)=sin⁡∣x∣−∣x∣+2(x−π)cos⁡∣x∣f(x) = \sin|x| - |x| + 2(x - \pi)\cos|x| is not differentiable. Then the set K is equal to:

SOLUTION

We are given the function

f(x)=sin⁡∣x∣−  ∣x∣  +  2 (x−π)cos⁡∣x∣.f(x)=\sin|x|-\;|x|\;+\;2\,(x-\pi)\cos|x|.

The elementary functions sin⁡t,  cos⁡t,  t\sin t,\;\cos t,\;t are differentiable everywhere, but the absolute-value function ∣x∣|x| is not differentiable at the single point x=0x=0. Hence, if f(x)f(x) fails to be differentiable anywhere, it can only happen at x=0x=0. Nevertheless, we will verify differentiability explicitly.

First we rewrite f(x)f(x) without the absolute value by splitting the real line into the two natural regions x≥0x\ge 0 and x<0x<0. For x≥0x\ge 0 we have ∣x∣=x|x|=x, while for x<0x<0 we have ∣x∣=−x|x|=-x. Using these facts, we obtain

For x≥0:x\ge 0:

f(x)=sin⁡x−  x  +  2 (x−π)cos⁡x.f(x)=\sin x-\;x\;+\;2\,(x-\pi)\cos x.

For x<0:x<0: since sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x and cos⁡(−x)=cos⁡x\cos(-x)=\cos x, we obtain

f(x)=sin⁡(−x)−(−x)+2 (x−π)cos⁡(−x)=−sin⁡x+x+2 (x−π)cos⁡x.f(x)=\sin(-x)-(-x)+2\,(x-\pi)\cos(-x) =-\sin x+x+2\,(x-\pi)\cos x.

Thus the piece-wise definition is

f(x)={sin⁡x−x+2 (x−π)cos⁡x,x≥0,−sin⁡x+x+2 (x−π)cos⁡x,x<0.f(x)= \begin{cases} \sin x-x+2\,(x-\pi)\cos x,& x\ge 0,\\[6pt] -\sin x+x+2\,(x-\pi)\cos x,& x<0. \end{cases}

Now we differentiate each piece. We use the standard rules ddx(sin⁡x)=cos⁡x,\frac{d}{dx}\bigl(\sin x\bigr)=\cos x, ddx(x)=1,\frac{d}{dx}(x)=1, ddx(cos⁡x)=−sin⁡x,\frac{d}{dx}\bigl(\cos x\bigr)=-\sin x, and for the product 2(x−π)cos⁡x2(x-\pi)\cos x we use the product rule ddx[u(x)v(x)]=u′(x)v(x)+u(x)v′(x).\frac{d}{dx}\bigl[u(x)v(x)\bigr]=u'(x)v(x)+u(x)v'(x).

Right-hand derivative, x>0x>0 (use the first branch)

f′(x)=ddx(sin⁡x−x+2(x−π)cos⁡x)=cos⁡x−1+2[ddx(x−π)⋅cos⁡x+(x−π)⋅ddx(cos⁡x)]=cos⁡x−1+2[1⋅cos⁡x+(x−π)(− sin⁡x)]=cos⁡x−1+2cos⁡x−2(x−π)sin⁡x=3cos⁡x−1−2(x−π)sin⁡x.\begin{aligned} f'(x) &=\frac{d}{dx}\Bigl(\sin x-x+2(x-\pi)\cos x\Bigr)\\[6pt] &=\cos x-1+2\Bigl[\frac{d}{dx}(x-\pi)\cdot\cos x +(x-\pi)\cdot\frac{d}{dx}(\cos x)\Bigr]\\[6pt] &=\cos x-1+2\Bigl[1\cdot\cos x+(x-\pi)(-\,\sin x)\Bigr]\\[6pt] &=\cos x-1+2\cos x-2(x-\pi)\sin x\\[6pt] &=3\cos x-1-2(x-\pi)\sin x. \end{aligned}

Left-hand derivative, x<0x<0 (use the second branch)

f′(x)=ddx(−sin⁡x+x+2(x−π)cos⁡x)=−cos⁡x+1+2[1⋅cos⁡x+(x−π)(− sin⁡x)]=−cos⁡x+1+2cos⁡x−2(x−π)sin⁡x=cos⁡x+1−2(x−π)sin⁡x.\begin{aligned} f'(x) &=\frac{d}{dx}\Bigl(-\sin x+x+2(x-\pi)\cos x\Bigr)\\[6pt] &=-\cos x+1+2\Bigl[1\cdot\cos x+(x-\pi)(-\,\sin x)\Bigr]\\[6pt] &=-\cos x+1+2\cos x-2(x-\pi)\sin x\\[6pt] &=\cos x+1-2(x-\pi)\sin x. \end{aligned}

Both formulas are valid away from x=0x=0, so f(x)f(x) is certainly differentiable for every x≠0x\ne 0. We now test the possible trouble point x=0x=0 by taking the limits of the two expressions.

Right-hand derivative at x=0x=0

Substituting x=0x=0 in 3cos⁡x−1−2(x−π)sin⁡x3\cos x-1-2(x-\pi)\sin x gives

f+′(0)=3cos⁡0−1−2(0−π)sin⁡0=3(1)−1−2(−π)(0)=2.f'_+(0)=3\cos 0-1-2(0-\pi)\sin 0 =3(1)-1-2(-\pi)(0) =2.

Left-hand derivative at x=0x=0

Substituting x=0x=0 in cos⁡x+1−2(x−π)sin⁡x\cos x+1-2(x-\pi)\sin x gives

f−′(0)=cos⁡0+1−2(0−π)sin⁡0=1+1−2(−π)(0)=2.f'_-(0)=\cos 0+1-2(0-\pi)\sin 0 =1+1-2(-\pi)(0) =2.

The two one-sided derivatives are equal and finite, hence

f′(0)=2.f'(0)=2. Therefore f(x)f(x) is differentiable at x=0x=0 as well.

Because f(x)f(x) is differentiable for all x≠0x\ne 0 and we have just proved differentiability at x=0x=0, the function is differentiable for every real number. Consequently there is no real value of xx where f(x)f(x) fails to be differentiable.

So the set KK of non-differentiability points is the empty set: K=∅.K=\varnothing.

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