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∂y[x2 y+y3]\frac{\partial f}{\partial y}\left[x^{2}\,y + y^{3}\right]

∂f∂y=x2+3y2\displaystyle \frac{\partial f}{\partial y} = x^{2} + 3y^{2}
Show the work
  1. Partial derivative

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

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

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

    x2 y+y3x^{2}\,y + y^{3} is a sum, so each of its 2 terms that change is differentiated on its own and the results are added.

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

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

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

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

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

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

    Using ddyyn=nyn−1\frac{d}{dy}y^n = ny^{n-1}

    ∂∂y[y3]=3y2\frac{\partial}{\partial y}\left[y^{3}\right] = 3y^{2}
  5. Partial derivative with respect to y

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

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

    The partial derivative.

    ∂f∂y=x2+3y2\frac{\partial f}{\partial y} = x^{2} + 3y^{2}

Worked examples