Derivative Calculator

Type a function of x to find its derivative, step by step.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Leave empty for the first derivative; 2 for the second, up to 10.

Try

Result

You enteredddx[x3 sin⁡x]\frac{d}{dx}\left[x^{3}\,\sin x\right]

f′(x)=3x2 sin⁡x+x3 cos⁡x\displaystyle f'(x) = 3x^{2}\,\sin x + x^{3}\,\cos x
Show the work
  1. Product rule

    x3 sin⁡xx^{3}\,\sin x is a product. Take u=x3u = x^{3} and v=sin⁡xv = \sin x; then u′=3x2u' = 3x^{2} and v′=cos⁡xv' = \cos x, so (uv)′=u′v+uv′\left(uv\right)' = u'v + uv'.

    ddx[x3 sin⁡x]=3x2 sin⁡x+x3 cos⁡x\frac{d}{dx}\left[x^{3}\,\sin x\right] = 3x^{2}\,\sin x + x^{3}\,\cos x
  2. Power rule

    xx is raised to the constant power n=3n = 3, so the exponent comes down in front and drops by one.

    Using ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}

    ddx[x3]=3x2\frac{d}{dx}\left[x^{3}\right] = 3x^{2}
  3. Derivative of sine

    This is a standard derivative: sin⁡x\sin x differentiates to cos⁡x\cos x.

    Using ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x

    ddx[sin⁡x]=cos⁡x\frac{d}{dx}\left[\sin x\right] = \cos x
  4. Result

    The derivative is 3x2 sin⁡x+x3 cos⁡x3x^{2}\,\sin x + x^{3}\,\cos x.

    ddx[x3 sin⁡x]=3x2 sin⁡x+x3 cos⁡x\frac{d}{dx}\left[x^{3}\,\sin x\right] = 3x^{2}\,\sin x + x^{3}\,\cos x
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^3 sin(x)

Points on the graph

  • y = x^3 sin(x): zero (0, 0)
  • y = x^3 sin(x): maximum (-2.455644, 9.379492)
  • y = x^3 sin(x): maximum (2.455644, 9.379492)
  • y = x^3 sin(x): minimum (0, 0)

Worked examples