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

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

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

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

    ∂∂z[x2+y2+z2]\frac{\partial}{\partial z}\left[x^{2} + y^{2} + z^{2}\right]
  2. Sum rule

    x2+y2+z2x^{2} + y^{2} + z^{2} is a sum. Only one of its terms changes with zz; the constant terms have derivative 0.

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

    ∂∂z[x2+y2+z2]=∂∂z[z2]=2z\begin{aligned} \frac{\partial}{\partial z}\left[x^{2} + y^{2} + z^{2}\right] &= \frac{\partial}{\partial z}\left[z^{2}\right] \\ &= 2z \end{aligned}
  3. Power rule

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

    Using ddzzn=nzn−1\frac{d}{dz}z^n = nz^{n-1}

    ∂∂z[z2]=2z\frac{\partial}{\partial z}\left[z^{2}\right] = 2z
  4. Partial derivative with respect to z

    Differentiate x2+y2+z2x^{2} + y^{2} + z^{2} with respect to zz, holding the other variables constant.

    ∂∂z[x2+y2+z2]=2z\frac{\partial}{\partial z}\left[x^{2} + y^{2} + z^{2}\right] = 2z
  5. Result

    The partial derivative.

    ∂f∂z=2z\frac{\partial f}{\partial z} = 2z

Worked examples