Partial Derivative Calculator

Type a function of x, y and z and the variable to differentiate by.

Use x, y and z. Type powers with ^ and functions with brackets: sin(xy), e^(x + y), ln(x), sqrt(x).

One or more of x, y and z. Type xy for the second derivative ∂²f/∂y∂x: first with respect to x, then with respect to y.

Try

Result

You entered∂f∂x[x2 y+y3]\frac{\partial f}{\partial x}\left[x^{2}\,y + y^{3}\right]

∂f∂x=2x y\displaystyle \frac{\partial f}{\partial x} = 2x\,y
Show the work
  1. Partial derivative

    To find ∂f/∂x\partial f/\partial x, differentiate with respect to xx and treat yy as a constant, because the partial derivative changes one variable and holds the rest fixed.

    Using ∂f∂x=lim⁡h→0f(x+h,y)−f(x,y)h\frac{\partial f}{\partial x} = \lim_{h \to 0} \frac{f(x + h, y) - f(x, y)}{h}

    ∂∂x[x2 y+y3]\frac{\partial}{\partial x}\left[x^{2}\,y + y^{3}\right]
  2. Sum rule

    x2 y+y3x^{2}\,y + y^{3} is a sum. Only one of its terms changes with xx; the constant term has derivative 0.

    Using (f+g)′=f′+g′\left(f + g\right)' = f' + g'

    ∂∂x[x2 y+y3]=∂∂x[x2 y]=2x y\begin{aligned} \frac{\partial}{\partial x}\left[x^{2}\,y + y^{3}\right] &= \frac{\partial}{\partial x}\left[x^{2}\,y\right] \\ &= 2x\,y \end{aligned}
  3. Constant multiple rule

    yy does not depend on xx, so it stays in front while x2x^{2} is differentiated.

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

    ∂∂x[x2 y]=y ∂∂x[x2]=2x y\begin{aligned} \frac{\partial}{\partial x}\left[x^{2}\,y\right] &= y\,\frac{\partial}{\partial x}\left[x^{2}\right] \\ &= 2x\,y \end{aligned}
  4. Power rule

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

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

    ∂∂x[x2]=2x\frac{\partial}{\partial x}\left[x^{2}\right] = 2x
  5. Partial derivative with respect to x

    Differentiate x2 y+y3x^{2}\,y + y^{3} with respect to xx, holding the other variables constant.

    ∂∂x[x2 y+y3]=2x y\frac{\partial}{\partial x}\left[x^{2}\,y + y^{3}\right] = 2x\,y
  6. Result

    The partial derivative.

    ∂f∂x=2x y\frac{\partial f}{\partial x} = 2x\,y

Worked examples