Product Rule Calculator

Type a product of two functions of x, such as x^2 sin(x).

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

Try

Result

You enteredddx[x ex]\frac{d}{dx}\left[x\,e^{x}\right]

f′(x)=ex+x ex\displaystyle f'(x) = e^{x} + x\,e^{x}
Show the work
  1. The two factors

    Write f(x)=u vf(x) = u\,v with u=xu = x and v=exv = e^{x}.

    u=xv=ex\begin{gathered} u = x \\ v = e^{x} \end{gathered}
  2. Product rule

    x exx\,e^{x} is a product. Take u=xu = x and v=exv = e^{x}; then u′=1u' = 1 and v′=exv' = e^{x}, so (uv)′=u′v+uv′\left(uv\right)' = u'v + uv'.

    ddx[x ex]=ex+x ex\frac{d}{dx}\left[x\,e^{x}\right] = e^{x} + x\,e^{x}
  3. Derivative of the exponential function

    This is a standard derivative: exe^{x} differentiates to exe^{x}.

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

    ddx[ex]=ex\frac{d}{dx}\left[e^{x}\right] = e^{x}
  4. Result

    The derivative is ex+x exe^{x} + x\,e^{x}.

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

Points on the graph

  • y = x e^x: zero (0, 0)
  • y = x e^x: minimum (-1, -0.367879)

Worked examples