Multivariable calculus

Partial Derivatives of x^2 y^3: Method and Answers

For f(x, y) = x^2 y^3 the partial with respect to x is 2xy^3, and the partial with respect to y is 3x^2 y^2. To get the x partial, hold y fixed so y^3 is only a constant multiplier and differentiate x^2. To get the y partial, hold x fixed so x^2 is the multiplier and differentiate y^3.

f(x,y)=x2y3f(x,y) = x^2 y^3
fx=2xy3\frac{\partial f}{\partial x} = 2xy^3
fy=3x2y2\frac{\partial f}{\partial y} = 3x^2 y^2

Freeze one variable, then use one-variable rules

A partial derivative is an ordinary derivative in disguise. For fx\frac{\partial f}{\partial x}, treat yy as a number you happen not to know. Then y3y^3 is a constant sitting in front of x2x^2, and the power rule finishes the job.

x(x2y3)=y3ddx(x2)=y32x=2xy3\frac{\partial}{\partial x}\left(x^2 y^3\right) = y^3 \cdot \frac{d}{dx}\left(x^2\right) = y^3 \cdot 2x = 2xy^3

Now swap roles. For fy\frac{\partial f}{\partial y}, the factor x2x^2 is the constant and y3y^3 is the live variable.

y(x2y3)=x2ddy(y3)=x23y2=3x2y2\frac{\partial}{\partial y}\left(x^2 y^3\right) = x^2 \cdot \frac{d}{dy}\left(y^3\right) = x^2 \cdot 3y^2 = 3x^2 y^2

The pattern for any monomial xmynx^m y^n is the same: differentiate the exponent belonging to your variable and leave the other exponent untouched.

The mistake: reaching for the product rule

Because x2y3x^2 y^3 looks like a product, students often write fx=2xy3+x23y2\frac{\partial f}{\partial x} = 2x \cdot y^3 + x^2 \cdot 3y^2, differentiating both factors. That mixes two different derivatives into one answer.

The product rule applies when both factors depend on the variable you are differentiating. Here y3y^3 does not depend on xx at all, so its derivative with respect to xx is zero and the second term collapses.

  • For fx\frac{\partial f}{\partial x}: yy is frozen, so x(y3)=0\frac{\partial}{\partial x}\left(y^3\right) = 0.
  • The product rule would give 2xy3+x20=2xy32xy^3 + x^2 \cdot 0 = 2xy^3, the same answer, only with a wasted term.
  • Writing 3y23y^2 instead of 00 for that second factor is what produces the wrong answer.

You genuinely need the product rule only when both factors carry the differentiation variable, for example x(x2sinxy3)\frac{\partial}{\partial x}\left(x^2 \sin x \cdot y^3\right).

Check the two answers at a point

Numbers catch algebra slips faster than rereading does. Take the point (2,1)(2, 1).

fx(2,1)=2(2)(1)3=4,fy(2,1)=3(2)2(1)2=12\frac{\partial f}{\partial x}(2,1) = 2(2)(1)^3 = 4, \qquad \frac{\partial f}{\partial y}(2,1) = 3(2)^2(1)^2 = 12

Sanity test the sizes against the surface. Moving in the yy direction from (2,1)(2,1) changes ff faster than moving in xx, because the cubic exponent on yy combines with the large factor x2=4x^2 = 4.

The mixed second partials also agree, as Clairaut's theorem promises for a polynomial: differentiating 2xy32xy^3 with respect to yy and 3x2y23x^2y^2 with respect to xx both give 6xy26xy^2.

Frequently asked questions

Why does the exponent on the other variable stay the same?

Because that variable is held constant during the differentiation. In fx\frac{\partial f}{\partial x} the factor y3y^3 behaves exactly like the number 8 would, so it rides along unchanged and multiplies the derivative of x2x^2.

What is the gradient of x2y3x^2 y^3?

The gradient collects the two partials: f=2xy3,  3x2y2\nabla f = \left\langle 2xy^3,\; 3x^2y^2 \right\rangle. At (2,1)(2,1) that is 4,12\left\langle 4, 12 \right\rangle, which points in the direction of fastest increase of ff from that point.