When a function has more than one input, "the derivative" is ambiguous until you say which input is changing. A partial derivative answers that: differentiate with respect to one variable and treat the rest as constants. For f(x,y)f(x,y) the two first partials are

fx=fx,fy=fy.f_x = \frac{\partial f}{\partial x}, \qquad f_y = \frac{\partial f}{\partial y}.

The symbol fx\frac{\partial f}{\partial x} means differentiate with respect to xx while yy stays fixed, and fy\frac{\partial f}{\partial y} does the same with respect to yy while xx stays fixed.

When to use this method

Use partial derivatives whenever an output depends on several inputs and you want the rate of change in one direction at a time. If temperature is modeled by T(x,y)T(x,y), then Tx\frac{\partial T}{\partial x} measures how temperature changes as you move in the xx direction while staying at the same yy. That "same yy value" condition is the entire idea, and it is what distinguishes a partial derivative from an ordinary one-variable derivative.

The steps

  1. Choose the variable. Decide whether you want the rate of change with respect to xx, yy, or another variable.
  2. Hold the others fixed. Treat every other variable as a constant for that derivative.
  3. Differentiate normally. Apply the usual derivative rules to the chosen variable only.
  4. Evaluate if needed. Simplify first, then substitute a point only after you have the derivative formula.

The whole procedure on one example

Let

f(x,y)=x2y+3y2.f(x,y) = x^2y + 3y^2.

Find fxf_x (hold yy constant). Then x2yx^2y behaves like a constant times x2x^2, and 3y23y^2 is a constant with respect to xx:

fx(x,y)=2xy.f_x(x,y) = 2xy.

Find fyf_y (hold xx constant). Now x2yx^2y behaves like x2yx^2 \cdot y with x2x^2 a constant multiplier, and 3y23y^2 differentiates normally:

fy(x,y)=x2+6y.f_y(x,y) = x^2 + 6y.

Evaluate at (1,2)(1,2), after differentiating:

fx(1,2)=2(1)(2)=4,fy(1,2)=12+6(2)=13.f_x(1,2) = 2(1)(2) = 4, \qquad f_y(1,2) = 1^2 + 6(2) = 13.

The pattern: the variable you are not using behaves like a number during that derivative. That is also why

x(3y2)=0,\frac{\partial}{\partial x}(3y^2) = 0,

since 3y23y^2 does not change as xx changes when yy is held fixed.

Where each step tends to stall, and how to check

Step 2 (hold others fixed): the most common failure is letting yy drift while differentiating in xx. Self-check by confirming every term with no chosen variable became a constant, so its derivative is 00.

Step 1 (choose the variable): fx\frac{\partial f}{\partial x} and fy\frac{\partial f}{\partial y} answer different questions; label which one the problem wants before you start.

Step 4 (evaluate): plugging in a point before differentiating hides the structure of the function, so always differentiate first. And do not assume partials exist everywhere — they can fail at points where the function is not well behaved.

A mental picture helps: think of z=f(x,y)z=f(x,y) as a surface. fx\frac{\partial f}{\partial x} is the slope of a slice taken in the direction where yy is fixed; fy\frac{\partial f}{\partial y} is the slope of the slice where xx is fixed.

Run the full routine on

g(x,y)=x32xy+y2.g(x,y) = x^3 - 2xy + y^2.

Find gxg_x and gyg_y, then evaluate both at (2,1)(2,1), checking after each that you truly held the other variable constant. Partial derivatives appear throughout multivariable calculus — gradients, tangent planes, optimization, differential equations — and in physics, economics, and engineering, always asking the same practical question: what happens if one input changes while the others stay fixed?

Frequently Asked Questions

What is a partial derivative in simple terms?
A partial derivative tells you how a function of several variables changes when one variable changes and the others are held fixed.
What is the most common partial derivatives mistake?
The most common mistake is forgetting to treat the other variables as constants while differentiating with respect to one chosen variable.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →