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
Solutions · 1
Official solution
For x>0: f(x)=sinx−x+2(x−π)cosx, f′(x)=3cosx−2(x−π)sinx−1 --- smooth for x>0.
For x<0: f(x)=−sinx+x+2(x−π)cosx, f′(x)=cosx+1−2(x−π)sinx --- smooth for x<0.
At x=0: RHD =3−1=2; LHD =1+1=2 --- equal. So f is differentiable everywhere, K=∅.