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∣ 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∣.
The elementary functions sint,cost,t are differentiable everywhere, but the absolute-value function ∣x∣ is not differentiable at the single point x=0. Hence, if f(x) fails to be differentiable anywhere, it can only happen at x=0. Nevertheless, we will verify differentiability explicitly.
First we rewrite f(x) without the absolute value by splitting the real line into the two natural regions x≥0 and x<0. For x≥0 we have ∣x∣=x, while for x<0 we have ∣x∣=−x. Using these facts, we obtain
For x≥0:
f(x)=sinx−x+2(x−π)cosx.
For x<0: since sin(−x)=−sinx and cos(−x)=cosx, we obtain
Now we differentiate each piece. We use the standard rules
dxd(sinx)=cosx,dxd(x)=1,dxd(cosx)=−sinx,
and for the product 2(x−π)cosx we use the product rule
dxd[u(x)v(x)]=u′(x)v(x)+u(x)v′(x).
Both formulas are valid away from x=0, so f(x) is certainly differentiable for every x=0. We now test the possible trouble point x=0 by taking the limits of the two expressions.
Right-hand derivative at x=0
Substituting x=0 in 3cosx−1−2(x−π)sinx gives
f+′(0)=3cos0−1−2(0−π)sin0=3(1)−1−2(−π)(0)=2.
Left-hand derivative at x=0
Substituting x=0 in cosx+1−2(x−π)sinx gives
f−′(0)=cos0+1−2(0−π)sin0=1+1−2(−π)(0)=2.
The two one-sided derivatives are equal and finite, hence
f′(0)=2.
Therefore f(x) is differentiable at x=0 as well.
Because f(x) is differentiable for all x=0 and we have just proved differentiability at x=0, the function is differentiable for every real number. Consequently there is no real value of x where f(x) fails to be differentiable.
So the set K of non-differentiability points is the empty set: K=∅.
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.