Directional derivatives measure how a multivariable function changes as you move from a point in a chosen direction. The gradient collects the partial derivatives into a vector that points toward the steepest increase. This cheat sheet helps students connect formulas, computations, and geometric meaning in one quick reference.
It is useful for studying partial derivatives, tangent planes, optimization, and vector calculus applications.
The central formula is , where must be a unit vector. The gradient is in two variables and in three variables. The largest directional derivative is , and it occurs in the direction of .
On level curves and surfaces, the gradient is perpendicular to the level set when .
Key Facts
- For , the gradient is .
- For , the gradient is .
- The directional derivative of at in unit direction is .
- A direction vector must be normalized before use: .
- The maximum rate of increase at a point is , and it occurs in the direction when .
- The minimum directional derivative is , and it occurs in the direction when .
- If is the angle between and , then .
- For a level curve , the gradient is normal to the curve at if .
Vocabulary
- Directional derivative
- The directional derivative is the instantaneous rate of change of at in the unit direction .
- Gradient
- The gradient is the vector of partial derivatives of a scalar function.
- Unit vector
- A unit vector is a vector with length , so it gives direction without changing the scale of a directional derivative.
- Level curve
- A level curve is a set of points satisfying , where the function has the same value everywhere on the curve.
- Level surface
- A level surface is a set of points satisfying in three-dimensional space.
- Steepest ascent
- Steepest ascent is the direction of greatest increase of a function, given by the direction of when the gradient is nonzero.
Common Mistakes to Avoid
- Using a non-unit direction vector in is wrong because the result is scaled by the vector length instead of representing rate per unit distance.
- Forgetting to evaluate at the given point is wrong because the gradient usually changes from point to point.
- Confusing the gradient with the directional derivative is wrong because is a vector, while is a scalar rate of change.
- Assuming the gradient points along a level curve is wrong because is perpendicular to the level curve when .
- Calling the rate in every direction is wrong because it is only the maximum possible directional derivative at that point.
Practice Questions
- 1 Find for .
- 2 Compute for in the direction of .
- 3 For , find the maximum directional derivative at and the unit direction where it occurs.
- 4 If , explain why there is no unique direction of steepest increase at .
Understanding Directional Derivatives and the Gradient
A directional derivative is a local measurement. It describes the first instant of change, not necessarily what happens after moving a long distance. Imagine a hill whose height is given by a function of east west position and north south position.
At one location, walking a few steps northeast may raise your height quickly. Walking farther in that same direction can lead to a flatter region or a descent.
This local nature is why directional derivatives are useful for approximations near a chosen point. For a small displacement, the predicted change is close to the directional rate multiplied by the distance traveled.
The unit vector condition matters because a direction should not contain a hidden distance. A vector such as two, two points in the same direction as one, one, but it is longer. If both were used directly, the longer vector would produce a rate twice as large even though the path is unchanged.
Dividing by a vector's length removes that problem. Students often make this error when a problem gives a direction from one point to another.
First subtract the starting coordinates from the ending coordinates. Then find the length of that result and divide each component by the length.
The angle idea explains the signs of directional derivatives. A positive value means the function rises as you move. A negative value means it falls.
A value of zero means your chosen motion is level to first order. On a contour map, a level curve joins locations with the same function value. Moving along the curve keeps the value unchanged, so the tangent direction has zero directional derivative.
The steepest direction must therefore cross contour lines rather than follow them. Closely spaced contour lines signal a larger local slope. This is useful in geography, weather maps, pressure fields, and images where brightness is modeled as a function of position.
Constrained optimization uses this geometry when movement is restricted to a curve or surface. Suppose a factory must choose two quantities that satisfy a fixed budget, or a point must remain on a circular track. At a highest or lowest value along that constraint, a small allowed move cannot increase or decrease the objective immediately.
The objective gradient is then perpendicular to the constraint path. The constraint gradient points perpendicular to that same path, so the two gradients point in parallel or opposite directions. This is the basis of Lagrange multipliers.
When solving these problems, first check whether the gradients exist, include endpoints when the constraint has them, and test any points where a gradient becomes zero. Those cases can contain valid extrema that the standard parallel gradient condition does not identify.