Mister Exam

Other calculators

Derivative of x^2-2x|x|+5

Function f() - derivative -N order at the point
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
 2              
x  - 2*x*|x| + 5
$$\left(x^{2} - 2 x \left|{x}\right|\right) + 5$$
x^2 - 2*x*|x| + 5
The first derivative [src]
-2*|x| + 2*x - 2*x*sign(x)
$$- 2 x \operatorname{sign}{\left(x \right)} + 2 x - 2 \left|{x}\right|$$
The second derivative [src]
2*(1 - 2*sign(x) - 2*x*DiracDelta(x))
$$2 \left(- 2 x \delta\left(x\right) - 2 \operatorname{sign}{\left(x \right)} + 1\right)$$
The third derivative [src]
-4*(3*DiracDelta(x) + x*DiracDelta(x, 1))
$$- 4 \left(x \delta^{\left( 1 \right)}\left( x \right) + 3 \delta\left(x\right)\right)$$