f = x² + y² at (1, 2)
∇f = (2x, 2y) = (2, 4)
Gradient.
The gradient is , and the directional derivative in the direction of a unit vector is .
This page is easier if you are comfortable with:
The gradient points in the direction in which increases fastest, and its magnitude is that greatest rate of increase. It is perpendicular to the level curves of .
To find the rate of change in another direction, take the dot product of the gradient with a unit vector in that direction.
The directional derivative is largest in the direction of , where it equals . The gradient is built from partial derivatives (partial derivatives commute), it is normal to the tangent plane, and it is the key tool in Lagrange multipliers and the Hessian second-derivative test.
This page is part of Multivariable calculus in Calculus. Topics that work alongside it: Partial derivatives commute (Clairaut), Tangent plane, Lagrange multipliers, Total differential, Jacobian for a change of variables, Hessian and second-derivative test and Multivariable chain rule.
The gradient ∇f points in the direction in which f increases fastest, and its size is that fastest rate. The directional derivative is the rate of change in any chosen direction.
The gradient is perpendicular to the level curve and points in the direction of steepest increase.
These examples are worked by hand, step by step, so you can compare your own working.
Find for at .
Find the directional derivative of at in the direction of .
Find for at .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
∇f = (2x, 2y) = (2, 4)
Gradient.
D_u f = 2(0.6) + 4(0.8)
4.4.
|∇f| = √20
4.4721.
∇f = (3, 2)
3.5355.
∇f = (f_x, f_y, f_z). The directional derivative along a unit vector u is D_u f = ∇f · u; it is largest (= |∇f|) in the direction of ∇f.
f = x² + y² at (1, 2): f_x = 2x.
u = (0.6, 0.8): ∇f·u = (2, 4)·u.
Maximum rate |∇f|.
f = xy at (2, 3), ∇f = (3, 2), u = (1, 1)/√2.
using (1, 1) ✗
normalise first ✓
Unit vector.
confusion ✗
direction of steepest increase ✓
Yes.
scalar ✗
vector ✓
Gradient.
vector ✗
|∇f| ✓
Magnitude.
Try each one on paper, then open the answer. Use the solver above to see the full working.
5
2
5
2
10
1.4142
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
The vector of partial derivatives.
D_u f = ∇f · u for a unit vector u.
That of ∇f.
|∇f|.
partial derivatives commute.
More in Calculus and the formula sheets.