If $f(x) = |x|^3$,show that $f''(x)$ exists for all real $x$,and find it.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
We know that the absolute value function is defined as:
$|x| = \begin{cases} x, & \text{if } x \ge 0 \\ -x, & \text{if } x < 0 \end{cases}$
Case $1$: When $x \ge 0$,$f(x) = |x|^3 = x^3$.
Then,$f'(x) = \frac{d}{dx}(x^3) = 3x^2$.
And $f''(x) = \frac{d}{dx}(3x^2) = 6x$.
Case $2$: When $x < 0$,$f(x) = |x|^3 = (-x)^3 = -x^3$.
Then,$f'(x) = \frac{d}{dx}(-x^3) = -3x^2$.
Wait,let us re-evaluate: $f(x) = |x|^3$. Since $|x|^3 = |x^3|$,if $x < 0$,$x^3 < 0$,so $|x^3| = -x^3$. Thus $f(x) = -x^3$ for $x < 0$.
$f'(x) = -3x^2$ for $x < 0$.
$f''(x) = -6x$ for $x < 0$.
However,let's check the continuity of $f'(x)$ at $x=0$:
$f'(0^+) = 3(0)^2 = 0$.
$f'(0^-) = -3(0)^2 = 0$.
Since $f'(0^+) = f'(0^-) = 0$,$f'(0) = 0$.
Now check $f''(x)$ at $x=0$:
$f''(0^+) = 6(0) = 0$.
$f''(0^-) = -6(0) = 0$.
Since $f''(0^+) = f''(0^-) = 0$,$f''(0) = 0$.
Thus,$f''(x) = 6|x|$ for all real $x$.

Explore More

Similar Questions

If $y_k$ is the $k$-th derivative of $y$ with respect to $x$,and $y = \cos(\sin x)$,then $y_1 \sin x + y_2 \cos x$ is equal to

If ${y^2} = a{x^2} + bx + c$,then ${y^3}\frac{{{d^2}y}}{{d{x^2}}}$ is

Difficult
View Solution

If $f(x) = \begin{cases} x^3 \sin \left(\frac{1}{x}\right), & x \neq 0 \\ 0, & x=0 \end{cases}$,then

If $y=\tan ^{-1}\left(\frac{\sqrt{1+a^2 x^2}-1}{a x}\right)$,then $\left(1+a^2 x^2\right)y''+2 a^2 x y'$ is equal to

If $y=a \cos (\sin 2 x)+b \sin (\sin 2 x)$,then $y^{\prime \prime}+(2 \tan 2 x) y^{\prime}$ is equal to

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo