Multivariable calculus
Gradient of x^2 y^3: Exponent Bookkeeping Done Right
For f(x, y) = x^2 y^3 the gradient is (2x y^3, 3x^2 y^2). Only the exponent belonging to the variable you differentiate comes down; the other power rides along untouched. At (1, 2) the gradient is (16, 12), a vector of length 20.
Only one exponent moves at a time
A monomial is the easiest gradient to compute once you see the pattern. Freeze , and the factor becomes a coefficient sitting in front of .
Freeze , and now is the coefficient while is the live power.
At : the first component is and the second is , so with length .
The mistake: bringing down both exponents at once
Because looks like a product of two powers, students often write , differentiating both factors in one step. That is the product rule applied where it does not belong.
The product rule is for factors that both depend on the differentiation variable. Under the factor is frozen, so it behaves like the number would if happened to equal . You would never differentiate the in .
- In the exponent on stays at , not .
- In the exponent on stays at , not .
- Degree check: has total degree , so each component must have total degree . Both and do, while the faulty has degree and fails.
Where the gradient vanishes, and a homogeneity check
Both components carry a factor of and a factor of , so the gradient is the zero vector on both coordinate axes. If then and ; the same happens if .
The two axes behave completely differently, which is worth the extra minute. On the -axis with , moving to positive makes positive and moving to negative makes it negative, so takes both signs in every neighbourhood and the point is no kind of extreme value. The origin behaves the same way.
On the -axis the sign of is locked. Near every nearby is still positive, so with equality exactly on the axis, making a local minimum. Near the cube is negative, so nearby and the point is a local maximum. These are not strict extremes, because the whole axis ties at the value , but they are genuine extremes all the same.
Since is homogeneous of degree , meaning , Euler's relation gives a quick check on both components at once.
If your two components do not combine to in this way, at least one of them is wrong.
Frequently asked questions
Why is the gradient of x^2 y^3 zero along the whole x-axis?
Every term of both components contains , so setting kills them. Geometrically the -axis is a level line where , and the surface is flat to first order as you cross it, because vanishes to third order at .
Which direction increases x^2 y^3 fastest at (1, 2)?
The unit vector , since has length . The rate of increase in that direction is per unit of distance.