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[e2x]\frac{d}{dx}\left[e^{2x}\right]

f′(x)=2e2x\displaystyle f'(x) = 2e^{2x}
Show the work
  1. Chain rule

    The inner function is g(x)=2xg(x) = 2x and the outer function is f(u)=euf(u) = e^{u}. Differentiate the outer function, put gg back in, and multiply by g′(x)=2g'(x) = 2.

    Using ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)

    ddx[e2x]=2e2x\frac{d}{dx}\left[e^{2x}\right] = 2e^{2x}
  2. Derivative of the exponential function

    The outer function is a standard one: its derivative with respect to uu is eue^{u}, and here u=2xu = 2x.

    Using ddxex=ex\frac{d}{dx}e^{x} = e^{x}

    ddueu=eu\frac{d}{du}e^{u} = e^{u}
  3. Constant multiple rule

    22 does not depend on xx, so it stays in front while xx is differentiated.

    Using (c u)′=c u′\left(c\,u\right)' = c\,u'

    ddx[2x]=2 ddx[x]=2\begin{aligned} \frac{d}{dx}\left[2x\right] &= 2\,\frac{d}{dx}\left[x\right] \\ &= 2 \end{aligned}
  4. Result

    The derivative is 2e2x2e^{2x}.

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

Worked examples