$f(x)$ is differentiable at $x = a,$ but $f(x)$ doesn't have a second derivative at $x = a$

118 Views Asked by At

Does anyone have an example of a function $f(x)$ which is differentiable at the point $x = a,$ but doesn't have a second derivative at $x = a$?

2

There are 2 best solutions below

1
On BEST ANSWER

Consider
$$f(x)= \begin{cases} 0& \text{for } x< 0\\ x^2 & \text{for } x\geq0 \end{cases}$$

then $f'(0)=0$ but $f''(0)$ does not exist.

0
On

The primitive(s) of $x\longmapsto |x|$. Namely, $ x\longmapsto \frac12 x|x|+C$.