Multivariable calculus

Partial Derivatives of x^3 y^2 - 2xy^4

For f(x, y) = x^3 y^2 - 2xy^4 the partial with respect to x is 3x^2 y^2 - 2y^4, and the partial with respect to y is 2x^3 y - 8xy^3. Both terms contain both variables, so nothing drops out. Differentiating either answer with respect to the other variable gives 6x^2 y - 8y^3 both times.

f(x,y)=x3y22xy4f(x,y) = x^3 y^2 - 2xy^4
fx=3x2y22y4\frac{\partial f}{\partial x} = 3x^2 y^2 - 2y^4
fy=2x3y8xy3\frac{\partial f}{\partial y} = 2x^3 y - 8xy^3

Two monomials, two exponents each

Every term here contains both variables, so neither partial loses a term. For fx\frac{\partial f}{\partial x}, the yy powers stay exactly as they are and only the xx powers move.

fx=3x2y22y4\frac{\partial f}{\partial x} = 3x^2 y^2 - 2y^4

Notice what happened to the second term: 2xy4-2xy^4 has xx to the first power, so differentiating it leaves 2y4-2y^4 with no xx at all.

For fy\frac{\partial f}{\partial y}, the xx powers freeze and the yy exponents come down.

fy=2x3y8xy3\frac{\partial f}{\partial y} = 2x^3 y - 8xy^3

The coefficient 8-8 comes from 24-2 \cdot 4, the original coefficient times the exponent on yy. At (1,1)(1,1) the partials are 11 and 6-6.

The mistake: multiplying the exponents together

A frequent wrong answer for the first term of fx\frac{\partial f}{\partial x} is 3x22y3x^2 \cdot 2y, formed by differentiating both exponents in the same step. Only one variable is active per partial derivative.

  • In x(x3y2)\frac{\partial}{\partial x}\left(x^3y^2\right), the exponent 33 comes down and y2y^2 is untouched, giving 3x2y23x^2y^2.
  • In y(x3y2)\frac{\partial}{\partial y}\left(x^3y^2\right), the exponent 22 comes down and x3x^3 is untouched, giving 2x3y2x^3y.
  • Bringing both exponents down at once would be the mixed second partial, a different object entirely.

That mixed partial is worth naming, because it is where the two exponents legitimately meet: fxy=y(3x2y22y4)=6x2y8y3f_{xy} = \frac{\partial}{\partial y}\left(3x^2y^2 - 2y^4\right) = 6x^2y - 8y^3.

Cross-check with Clairaut's theorem

For a polynomial, the mixed partials must be equal no matter which order you differentiate in. That gives you a free check on both answers at once.

fxy=y(3x2y22y4)=6x2y8y3f_{xy} = \frac{\partial}{\partial y}\left(3x^2y^2 - 2y^4\right) = 6x^2 y - 8y^3
fyx=x(2x3y8xy3)=6x2y8y3f_{yx} = \frac{\partial}{\partial x}\left(2x^3 y - 8xy^3\right) = 6x^2 y - 8y^3

They match, so any error would have to be one that survives a second differentiation in both orders, which is rare. If they had disagreed, at least one of the first partials would be wrong and you would know to redo them before going further.

Frequently asked questions

Why does the coefficient change from -2 to -8?

The power rule multiplies by the exponent. In 2xy4-2xy^4, differentiating with respect to yy brings down the 44, so the coefficient becomes 2×4=8-2 \times 4 = -8 and the exponent drops to 33, giving 8xy3-8xy^3.

Does Clairaut's theorem always apply?

It applies whenever the second partials are continuous near the point, which is automatic for every polynomial and for every rational function away from the points where its denominator vanishes. There are contrived examples where it fails, but nothing you will meet in a standard Calc 3 problem set.