Exercises — Gradient as direction of steepest ascent
Quick reminders you will lean on (all from the parent):
Level 1 — Recognition
L1·Q1
Given , write down at the point .
Recall Solution
WHAT: we just need the two partial derivatives, then plug in the point. WHY partials: the gradient is by definition the list of how fast changes if you nudge one variable while freezing the other. Plug in : . Notice has no or left in it — that is fine, a partial can be a constant.
L1·Q2
For , at we found . Which of these is the unit vector of steepest ascent: , or ?
Recall Solution
WHAT: identify which candidate has length . WHY it matters: the direction of steepest ascent is the gradient divided by its own length — a unit arrow. The raw gradient has length , so it is a direction and a rate glued together, not a pure direction. Check : length . ✓ Answer: .
L1·Q3
True or false: along a level curve , the directional derivative is zero.
Recall Solution
True. A level curve is the set of points where keeps the same height (see Level Curves and Contour Maps). If height does not change as you walk along it, the rate of change is exactly .
Level 2 — Application
L2·Q1
at . Find (a) , (b) the unit steepest-ascent direction, (c) the maximum rate of increase.
Recall Solution
(a) Partials. Treat the other variable as a frozen constant. (b) Normalise. Length . (c) Max rate . Why: the biggest possible is .
L2·Q2
at . Find in the direction from toward .
Recall Solution
Step 1 — direction vector = tip minus tail: . Step 2 — normalise (else the rate is scaled by the wrong length): , so . Step 3 — dot with the gradient : Sanity check: , so we're below the maximum — correct, nothing beats the gradient direction.
L2·Q3
at . Find and the max rate of increase.
Recall Solution
WHY stays and becomes : partial freezes , so is a constant multiplier; partial freezes , so is a constant multiplier. At : , , , so . Max rate .
Level 3 — Analysis
L3·Q1
at . The level curve through this point is . Show that is perpendicular to that curve at , and draw the picture.
Recall Solution
Step 1 — gradient: , so . Step 2 — tangent to the curve. Differentiate implicitly (treat as a function of ): . A slope of means a tangent direction (run , rise ). Step 3 — dot product test for perpendicularity (two vectors are exactly when their dot product is , from Dot Product and Angle): So the gradient is perpendicular to the level curve, exactly as the theory predicts.

L3·Q2
At a point the gradient is . You may only walk in directions making a angle with the gradient. What rate do you get?
Recall Solution
WHY the geometric form: we know the angle, not the components of , so use directly. , . Interpretation: you're getting half the maximum steepness because you're walking off the straight-uphill line.
L3·Q3
at the origin . Compute . What does the result tell you about steepest ascent there, and why?
Recall Solution
, so — the zero vector. WHAT it means: , so the maximum rate of increase is . Every direction is flat to first order — this is a critical point (here a saddle). There is no unique steepest-ascent direction, because divides by zero and is undefined. This is the degenerate case: the steepest-ascent recipe only names a direction when .
Level 4 — Synthesis
L4·Q1
Temperature is . A heat-seeking bug at wants to warm up as fast as possible. (a) Which unit direction should it move? (b) At what rate does temperature rise then? (c) If instead it moves due east, direction , what rate does it feel?
Recall Solution
Gradient: , so . (a) Warmest-fastest is the gradient direction, normalised. . The bug heads down-and-to-the-left (toward the origin, where it's warmest — makes sense, peaks at ). (b) Rate . (c) Due east is already a unit vector: . Moving east it cools down by per unit distance.
L4·Q2
A hiker on surface stands at . (a) Find the steepest-descent direction. (b) This is the direction one step of gradient descent would take with step size ; give the next point. Use the raw gradient in the update rule .
Recall Solution
Gradient: , so . (a) Steepest descent = , then normalise: , length , so unit direction . (b) Gradient descent uses the raw gradient (not normalised) in its update: Note: descent subtracts the gradient, and since points uphill, nudges us toward the peak of this dome — consistent with increasing toward ... wait: here peaks at the origin, and we moved away from it to . That means we are climbing the outer bowl? No — recheck: moves us to larger , where is smaller. So decreased: gradient descent correctly reduced . ✓
L4·Q3
at . Find the max rate of increase.
Recall Solution
WHY the chain rule inside: is of an inner function ; each partial multiplies by the partial of (see Multivariable Chain Rule). At : , so . Max rate .
Level 5 — Mastery
L5·Q1
. Find every point where the steepest-ascent direction is undefined, and classify the behaviour there.
Recall Solution
Steepest ascent is undefined exactly where (can't normalise the zero vector, per L3·Q3). Solve: from the first, ; substitute into the second: , hence . Only point: . Since with equality only at the origin, it's a minimum. So there's exactly one point with no steepest-ascent direction, and it's the bottom of the bowl.
L5·Q2
At on , the gradient is . Over all unit directions , the directional derivative is . Using calculus, prove maximises it, and confirm the maximum equals .
Recall Solution
WHY this reproves the parent's key claim — but with single-variable optimisation instead of the dot-product inequality. . Differentiate: . Set or . Second derivative: . At : → maximum. At : → minimum (that's steepest descent). Maximum value . ✓ The gradient's magnitude is the peak rate.

L5·Q3
A surface has at point with . A path enters moving in direction . In terms of : (a) what rate does the path feel, and (b) for which relationship between and is the path momentarily moving along a level curve?
Recall Solution
(a) (b) "Along a level curve" means the height isn't changing: . Geometric read: when the gradient points along , which is exactly perpendicular to — so the walker is skirting the hill at constant height.
Connections
- Gradient as direction of steepest ascent (parent)
- Directional Derivative
- Partial Derivatives
- Multivariable Chain Rule
- Dot Product and Angle
- Level Curves and Contour Maps
- Gradient Descent (Machine Learning)
- Tangent Plane and Linearization