Question:

If \(f(x) = a|\sin x| + b e^{|x|} + c|x|^3\), where \(a, b, c \in R\), is differentiable at \(x = 0\), then

Show Hint

\(|x|^3\) is smooth at \(0\) (derivative \(0\) on both sides), so \(c\) is free; only the corners of \(|\sin x|\) and \(e^{|x|}\) matter, and the intended choice sets both coefficients to zero.
Updated On: Dec 4, 2026
  • \(a = 0\), \(b\) and \(c\) are any real numbers
  • c = 0, a = 0, b is any real number
  • b = 0, c = 0, a is any real number
  • a = 0, b = 0, c is any real number
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Concept:

  • A function is differentiable at \(x=0\) if its left-hand derivative equals its right-hand derivative there.
  • Near \(0\): \(|\sin x|=\pm\sin x\), \(e^{|x|}=e^{\pm x}\) and \(|x|^3=\pm x^3\) according as \(x\gtrless0\).

Step 1: Compute the right-hand derivative at 0

For \(x\gt 0\): \(f(x)=a\sin x+be^{x}+cx^3\), so \(f'(x)=a\cos x+be^{x}+3cx^2\) and \[ f'(0^+)=a+b. \]

Step 2: Compute the left-hand derivative at 0

For \(x\lt 0\): \(f(x)=-a\sin x+be^{-x}-cx^3\), so \(f'(x)=-a\cos x-be^{-x}-3cx^2\) and \[ f'(0^-)=-a-b. \]

Step 3: Impose differentiability

\(f'(0^+)=f'(0^-)\) gives \(a+b=-(a+b)\), i.e. \(a+b=0\). The term \(c|x|^3\) has zero one-sided derivatives at \(0\), so \(c\) is unrestricted. Each of \(a|\sin x|\) and \(b\,e^{|x|}\) has a corner at \(0\) (slopes \(\pm a\) and \(\pm b\) respectively); the corners cancel only when \(a+b=0\).

Step 4: Match with the printed options

The exact condition is \(a+b=0\) with \(c\) free; no printed option lists the whole family \(a=-b\). Options (A), (B), (C) each allow a case with \(a+b\neq0\): (A) \(a=0,\,b=1\); (B) \(a=0,\,b=1,\,c=0\) (here \(b\) is any real number); (C) \(a=1,\,b=c=0\). In each of these \(f'(0^+)=a+b\neq-(a+b)=f'(0^-)\) (for example \(f=e^{|x|}\) has slopes \(+1\) and \(-1\)), so \(f\) is not differentiable. Only option (D), \(a=b=0\) with \(c\) any real number, makes \(f=c|x|^3\) differentiable at \(0\) for every value it allows (\(f'(0)=0\)). So (D) is the only printed option all of whose cases are differentiable.

Step 5: Conclusion

The exact condition is \(a+b=0\) with \(c\) free; among the printed options only \(a=b=0\), \(c\) any real number, guarantees differentiability at \(0\) in every case it allows. Hence, the correct option is (D).
Was this answer helpful?
0
0