4.4.9 · D5Multivariable Calculus
Question bank — Gradient vector ∇f — definition, properties
Reminders so every symbol here is earned:
- (say "grad f") is the vector of partial derivatives, e.g. in 2D.
- is the slope of when you wiggle only and freeze .
- is the rate of change when you step in the unit direction (length exactly ).
- is the length of the gradient arrow; is the angle between and .
True or false — justify
The gradient of a two-variable function is a vector, not a number.
True. A single number can only encode one slope, but there are infinitely many directions to walk in; you need a whole vector to reconstruct the slope in any direction via .
points in the direction the level curve runs.
False. It points perpendicular (normal) to the level curve. Moving along the curve keeps constant, so there — a zero dot product means the vectors are at right angles.
The maximum rate of increase of at a point equals .
False (type error). The maximum rate is the number ; the direction achieving it is the vector . A rate is a scalar, a direction is a vector — don't equate them.
If at a point, then is flat in every direction there.
True. Every directional derivative is , so no direction goes up or down to first order — this is exactly the condition for a critical point (max, min, or saddle).
Doubling every value of doubles the gradient.
True, by linearity: . The hill gets twice as steep everywhere, so every slope, and hence the whole arrow, scales by .
The gradient is always tangent to the graph surface .
False. lives in the input plane (the -domain), lying flat on the ground pointing uphill — it is not a vector on the 3D surface at all. Confusing the domain arrow with a surface direction is a common slip.
Along the direction of steepest descent, .
False — it's . Steepest descent is , giving and , so the rate is negative: you go down as fast as ascent goes up.
If two functions have the same gradient everywhere, they are the same function.
False. They can differ by a constant, e.g. and share every partial derivative. The gradient sees slopes, and adding a constant shifts height without changing any slope.
Spot the error
" toward from : just dot with ."
Error: has length , not . Dotting with a non-unit vector scales the true rate by . Fix: normalise to first.
"The steepest direction is because we minimise the dot product."
Error: steepest ascent maximises , achieved at , i.e. along . is steepest descent. The sign got flipped.
" — so the just disappears for free."
Not for free — it disappears because by assumption. If you feed a non-unit vector the factor stays and multiplies your answer.
"On the circle at , the gradient is tangent, since the tangent is and 'runs alongside' it."
Error: , so is perpendicular to the tangent, i.e. it is the normal (radial) direction — not tangent.
" at is , and since we want the gradient we take before finding ."
Error: the magnitude uses all components. You must compute too, then . Never take magnitude of a half-built vector.
"To move at constant height, walk in the direction ."
Error: walking along climbs fastest. Constant height needs , i.e. — walk across the arrow, along the level curve.
"Since , also ."
Error: gradient is linear (sum rule holds) but not multiplicative. The product rule gives , a mix of both, using the product rule on each partial.
Why questions
Why does the chain rule force the directional derivative to be a dot product?
Stepping in direction moves at rate and at rate ; the chain rule sums each partial slope times its rate: , which is exactly . The dot product isn't chosen — it's the shape of the chain rule.
Why is the steepest-ascent direction guaranteed to be and not something else?
Because and is largest () when , i.e. when points the same way as . No other unit direction can beat pointing straight along the gradient.
Why must be a unit vector in ?
We want a rate per unit length travelled. A longer vector would count more ground per "step" and inflate the rate, so we fix the step length to exactly to make the number a fair, comparable slope.
Why is the gradient perpendicular to level sets rather than parallel?
Along a level set is constant, so the change is zero: . A zero dot product means orthogonal, so sticks out at right angles to the curve, not along it.
Why does a smooth function look linear near a point, making one vector enough to describe it?
Zooming in on any smooth hill flattens it into a tilted plane, and a plane's tilt is fully captured by its two axis slopes — a single vector. That local linearity is why the gradient alone determines all nearby behaviour.
Why can the same gradient value occur at many different points of a function?
The gradient is a vector field — a separate arrow at every point. Two points with the same local steepness and direction of climb (like two identical slopes on a hill) share the same gradient value even though they are different locations.
Edge cases
At a local maximum of , what is and why?
It is . At the very top no direction climbs, so every directional derivative is zero, which forces both partials — and hence the whole gradient — to vanish.
At a saddle point, is , and does that mean is a max or min?
Yes, (it's a critical point), but it is neither a max nor min: rises in some directions and falls in others. A zero gradient signals "flat to first order," not which shape.
If , what is the "direction of steepest ascent"?
Undefined. Steepest ascent is , but dividing by is illegal — geometrically there is no uphill because the ground is level in all directions to first order.
For the constant function , what is everywhere?
The zero vector at every point. A flat sheet has no slope in any direction, so all partials are zero and every level set is the whole plane.
If between and , what is and what are you doing physically?
: you are walking along the level curve, staying at exactly the same height, neither climbing nor descending.
Can be negative?
No. It is a length, computed as . The rate in a chosen direction can be negative (going downhill), but the gradient's magnitude never is.
If you scale by (flip the hill into a valley), what happens to the gradient?
It reverses: . Every uphill becomes downhill, so the steepest-ascent arrow flips to point the opposite way — this is precisely why gradient descent follows .
Connections
- Partial derivatives — the components each trap above manipulates.
- Directional derivative — the unit-vector rule lives here.
- Chain rule (multivariable) — source of the dot-product form.
- Level curves and surfaces — the perpendicularity traps.
- Gradient descent — why the sign of matters.
- Tangent plane and linearisation — the local-linearity "why".
- Lagrange multipliers — normals of level sets, tested above.