Partial derivatives tell you how a function with more than one input changes when you change just one variable and hold the others constant. If you searched for how to find partial derivatives, that is the rule: differentiate with respect to one variable, and treat the rest like constants.

For a function f(x,y)f(x,y), the two most common first partial derivatives are fxf_x and fyf_y:

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 treating yy as fixed. The symbol fy\frac{\partial f}{\partial y} means do the same thing with respect to yy while treating xx as fixed.

What partial derivatives mean

A regular derivative measures change for a one-variable function. A partial derivative does the same job for a function of several variables, one direction at a time.

For example, 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 value. That "same yy value" condition is the whole idea.

How to find a partial derivative

Use this checklist:

  1. Pick the variable you want to differentiate with respect to.
  2. Treat every other variable as a constant.
  3. Apply the usual derivative rules.
  4. Substitute a point only after you have found the derivative formula.

Worked example: find fxf_x and fyf_y

Let

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

Find the first partial derivatives with respect to xx and yy.

Step 1: Find fxf_x

Hold yy constant. Then x2yx^2y acts like a constant multiple of x2x^2, and 3y23y^2 is just a constant with respect to xx:

x(x2y+3y2).\frac{\partial}{\partial x}(x^2y + 3y^2). fx(x,y)=2xy.f_x(x,y) = 2xy.

Step 2: Find fyf_y

Now hold xx constant. The term x2yx^2y differentiates like x2yx^2 \cdot y, where x2x^2 is a constant multiplier:

y(x2y+3y2).\frac{\partial}{\partial y}(x^2y + 3y^2). fy(x,y)=x2+6y.f_y(x,y) = x^2 + 6y.

So the two first partial derivatives are

fx(x,y)=2xy,fy(x,y)=x2+6y.f_x(x,y) = 2xy, \qquad f_y(x,y) = x^2 + 6y.

If the problem asks for the values at (1,2)(1,2), substitute 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.

This example shows the main pattern: the variable you are not using behaves like a number during that derivative.

Why "hold the other variable constant" matters

When you compute fx\frac{\partial f}{\partial x}, you are asking for change along the xx direction only. So every variable other than xx is fixed for that calculation.

That is why

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

in the example above. The expression 3y23y^2 can depend on yy, but it does not change as xx changes when yy is held fixed.

Common mistakes

  1. Differentiating with respect to xx while still letting yy change.
  2. Forgetting that a term with no chosen variable becomes a constant, so its derivative is 00.
  3. Mixing up fx\frac{\partial f}{\partial x} and fy\frac{\partial f}{\partial y}. They answer different questions.
  4. Plugging in a point before taking the derivative, which can hide the structure of the function.
  5. Assuming partial derivatives automatically exist everywhere. They can fail to exist at points where the function is not well behaved.

When partial derivatives are used

Partial derivatives appear in multivariable calculus whenever an output depends on several inputs.

Common uses include gradients, tangent planes, optimization, differential equations, and models from physics, economics, and engineering. In each case, the practical question is similar: what happens if one input changes while the others stay fixed?

A mental picture that helps

Think of the graph of z=f(x,y)z = f(x,y) as a surface. The partial derivative fx\frac{\partial f}{\partial x} tells you the slope of that surface if you slice it in the direction where yy is fixed. The partial derivative fy\frac{\partial f}{\partial y} does the same in the direction where xx is fixed.

That picture is often enough to make the idea click before you move on to gradients or tangent planes.

Try a similar problem

Try

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). If you want a next step, try your own version first and then compare it with a solver to check whether you really held the other variable constant each time.

Need help with a problem?

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

Open GPAI Solver →