Partial Derivative Calculator

Differentiate with respect to one variable while holding the others still. Get every first and second partial, the gradient at a point, and a slice of the surface that makes ∂f/∂x visible.

Reads as x2y3+sin⁡(xy)x^{2} y^{3} + \sin\left(x y\right)
Try:
With respect to:

Answer

∂∂x[x2y3+sin⁡(xy)]=2xy3+ycos⁡(xy)\frac{\partial}{\partial x}\left[x^{2} y^{3} + \sin\left(x y\right)\right] = 2 x y^{3} + y \cos\left(x y\right)

∇f(1,2)=(15.1677, 11.5839)\nabla f(1, 2) = \left(15.1677,\ 11.5839\right)

-2-1123420406080100120140
  • f(x, 2)

Slice at y = 2. Tangent slope = ∂f/∂x = 15.168.

Steps for ∂f/∂x (other variables act as constants)

  1. Sum rule

    Differentiate term by term.

    ddx[x2y3+sin⁡(xy)]=ddx[x2y3]+ddx[sin⁡(xy)]\frac{d}{dx}\left[x^{2} y^{3} + \sin\left(x y\right)\right] = \frac{d}{dx}\left[x^{2} y^{3}\right] + \frac{d}{dx}\left[\sin\left(x y\right)\right]
  2. Constant multiple rule

    Pull the constant factor out front.

    ddx[x2y3]=y3⋅ddx[x2]\frac{d}{dx}\left[x^{2} y^{3}\right] = y^{3} \cdot \frac{d}{dx}\left[x^{2}\right]
  3. Power rule

    d/dx[xⁿ] = n·xⁿ⁻¹.

    ddx[x2]=2x\frac{d}{dx}\left[x^{2}\right] = 2 x
  4. Constant multiple rule

    Pull the constant factor out front.

    ddx[xy]=y⋅ddx[x]\frac{d}{dx}\left[x y\right] = y \cdot \frac{d}{dx}\left[x\right]
  5. Trig rule + chain rule

    Outer function sin⁡(□)\sin\left(□\right), inner u = xyx y; multiply the outer derivative by u′.

    ddx[sin⁡(xy)]=cos⁡(xy)⋅ddx[xy]\frac{d}{dx}\left[\sin\left(x y\right)\right] = \cos\left(x y\right) \cdot \frac{d}{dx}\left[x y\right]

All partial derivatives

fx=2xy3+ycos⁡(xy)f_{x} = 2 x y^{3} + y \cos\left(x y\right)
fy=3x2y2+xcos⁡(xy)f_{y} = 3 x^{2} y^{2} + x \cos\left(x y\right)
fxx=2y3−y2sin⁡(xy)f_{xx} = 2 y^{3} - y^{2} \sin\left(x y\right)
fxy=6xy2−xysin⁡(xy)+cos⁡(xy)f_{xy} = 6 x y^{2} - x y \sin\left(x y\right) + \cos\left(x y\right)
fyx=6xy2−xysin⁡(xy)+cos⁡(xy)f_{yx} = 6 x y^{2} - x y \sin\left(x y\right) + \cos\left(x y\right)
fyy=6yx2−x2sin⁡(xy)f_{yy} = 6 y x^{2} - x^{2} \sin\left(x y\right)

Still stuck? Ask the tutor

An AI tutor reads the problem and steps above and explains them in plain words. It can make mistakes, so check it against the worked steps.

Freeze, then differentiate

To find ∂f∂x\frac{\partial f}{\partial x}, pretend every other letter is a fixed number and differentiate as usual. Geometrically, you are slicing the surface z=f(x,y)z = f(x,y) with a plane y=y0y = y_0 and measuring the slope of the curve you cut out. That is the graph above: drag along it and the tangent’s slope is the partial derivative.

Example

For f(x,y)=x2y3f(x,y) = x^2y^3: fx=2xy3f_x = 2xy^3 (treat y3y^3 as a constant factor) and fy=3x2y2f_y = 3x^2y^2 (treat x2x^2 as a constant factor). The mixed partials agree: fxy=fyx=6xy2f_{xy} = f_{yx} = 6xy^2.

Questions students ask

What is a partial derivative?

The rate of change of a multivariable function in one direction, holding every other variable fixed. ∂f∂x\frac{\partial f}{\partial x} treats yy as a constant; ∂f∂y\frac{\partial f}{\partial y} treats xx as a constant.

How is it different from an ordinary derivative?

The rules are identical; the only change is that other variables behave like numbers. For f=x2y3f = x^2y^3, ∂f∂x=2xy3\frac{\partial f}{\partial x} = 2xy^3 exactly as if y3y^3 were 5.

What are second-order and mixed partials?

fxxf_{xx} differentiates by xx twice; fxyf_{xy} differentiates by xx then yy. For smooth functions fxy=fyxf_{xy} = f_{yx} (Clairaut’s theorem). The calculator shows all of them so you can check.

What is the gradient?

The vector of all first partials, ∇f=(fx,fy)\nabla f = \left(f_x, f_y\right). It points in the direction of steepest increase and its length is that steepest slope.

What does the graph show?

A slice of the surface: f(x,y0)f(x, y_0) with yy frozen at your chosen value. The slope of the pink tangent on that slice is exactly ∂f∂x\frac{\partial f}{\partial x} at the point.