Multivariable calculus
Directional derivative of x^3 - 3xy^2 at (2, 1)
At (2, 1) the gradient of f(x,y) = x^3 - 3xy^2 is (9, -12). The unit direction (0.8, 0.6) is perpendicular to that gradient, so the directional derivative is exactly 0. Moving that way from (2, 1) keeps you on the level curve of f, at least to first order.
At x = 2, y = 1, in the unit direction (0.8, 0.6).
The two partials, then the cancellation
Holding fixed, gives and gives . Holding fixed, contributes nothing and gives .
Now the dot product with produces two terms of equal size and opposite sign.
The mistake: reading 0 as a flat point
A zero directional derivative does not mean is constant near , and it does not make a critical point. The gradient there has length , so the surface is steep. Only this one line of directions is flat.
- Exactly two unit directions give 0 here: and
- The maximum rate is 15, in the direction
- A critical point would need both partials to vanish at once, which happens on the lines only where
The other version is a sign slip while finding the perpendicular direction. Rotating by a right angle means swapping the components and negating one of them, which gives or . Swapping without negating gives , whose unit form returns rather than 0.
Zero means tangent to the level curve
The gradient is perpendicular to the level curve through a point. So the directions where the rate is 0 are precisely the ones tangent to that curve, and moving along them holds at its current value to first order.
Walk a short distance along and changes only at order . At the value moves from 2 to about 1.99988, a drop of about . Double to and the drop is about , four times as large, which is the signature of a leading term.
A stated zero is the easiest claim to get wrong by accident, so the build rebuilds the gradient of x^3 - 3xy^2 at (2, 1) by central differences and fails unless the dot product with (0.8, 0.6) is still within 1e-4 of 0.
Frequently asked questions
Does a directional derivative of 0 mean I am at a maximum or minimum?
No. It means the direction is tangent to the level curve. A maximum or minimum would require every direction to give 0, which happens only where the whole gradient vanishes.
Which direction gives the largest rate at (2, 1)?
The unit gradient , with rate 15. Its opposite gives , the fastest decrease.