4.4.9 · D4Multivariable Calculus

Exercises — Gradient vector ∇f — definition, properties

2,735 words12 min readBack to topic

Reminders you will lean on (all built in the parent):

  • — the vector of partial derivatives.
  • — the directional derivative, where is the angle between the step direction and .
  • must be a unit vector (length ), else the answer is scaled.
  • points steepest uphill; steepest downhill; level curves.

The one picture to keep in your head for the whole page:

Figure — Gradient vector ∇f — definition, properties

The coral arrow is (steepest uphill). Turn it and you get the mint arrow, the tangent to the level curve where never changes. Flip the coral arrow and you get steepest downhill. Almost every exercise below is one of these three moves.


Level 1 — Recognition

L1.1

For , write .

Recall Solution

What. The gradient is the list of partial slopes . Why. = slope when we wiggle and freeze ; treat as a constant. The constant and the term vanish under .

  • , . Note it is the same everywhere — a linear function has a constant gradient (its picture is a flat tilted plane).

L1.2

Which of these is the gradient of : (a) the scalar , (b) the vector , (c) the number ?

Recall Solution

(b). The gradient is a vector — one number per input variable. Choice (a) illegally adds two different slopes into a scalar; (c) is the magnitude of the gradient, a length, not the gradient itself.

L1.3

True or false: is tangent to the level curve .

Recall Solution

False. is perpendicular (normal) to the level curve. Walking along a level curve keeps constant, so the directional derivative there is ; and forces for the tangent direction . (This is exactly the coral-vs-mint relationship in the picture above.)


Level 2 — Application

L2.1

. Compute at .

Recall Solution
  • (freeze ; times the constant ).
  • (freeze ; times the constant ). At : , .

L2.2

For the same at , find the maximum rate of change and the direction achieving it.

Recall Solution

Max rate . Direction = the gradient's own unit vector: Why ? Because is largest when , i.e. (walk straight along ); then the rate equals . The figure below shows this "shadow" shrinking as swings away from the gradient.

Figure — Gradient vector ∇f — definition, properties

L2.3

, point , direction toward . Find .

Recall Solution

Step 1 — build the direction. Displacement , length . Step 2 — normalise (must be unit length): . Step 3 — dot with the gradient (from L2.1, ):

L2.4

. Find at .

Recall Solution

Same rule in three variables — the gradient just gets a third slot.

  • , , . At : , , .

Level 3 — Analysis

L3.1

. At , show is perpendicular to the level circle, and give a unit tangent to the circle there.

Recall Solution

at — it points radially outward from the origin. This is the coral arrow in the page's opening figure: a radius is perpendicular to its circle, so the gradient is the normal. A tangent must satisfy . Rotate by : . Check: ✓ — this is the mint arrow. Unit tangent: .

L3.2

At for , in which direction does decrease fastest, and at what rate?

Recall Solution

Steepest descent is — points straight toward the origin (downhill on the bowl), the flip of the coral arrow. Rate . Why negative? is smallest at (), giving .

L3.3

, point , . Find a unit direction along which is momentarily unchanged ().

Recall Solution

We need , i.e. . Take , length , so What it looks like: this is tangent to the level curve of through — walk that way and your height doesn't change (the mint-arrow role again).

L3.4

For at , compute for at angle to , and check it matches the dot-product form.

Recall Solution

Cosine form: This is the fast route: we only need the magnitude and the angle, not the exact . Any making with gives the same value — the geometry (a shadow of onto , exactly the s02 figure) is all that matters.


Level 4 — Synthesis

L4.1

Find the tangent plane to at the point .

Recall Solution

Notation first. Write for the base point and for a nearby point, so is the small step away from . Why this formula. Near a smooth surface looks flat (a plane). A plane's height changes linearly with the step: move in and the height rises by (slope in ), i.e. ; likewise . Adding both contributions is precisely the dot product . Start from the known height and add this linear rise (see Tangent plane and linearisation): Plug in. and (from L2.1). Sanity check at : ✓ — the plane touches the surface exactly at the base point.

L4.2

A hiker stands at on the hill . Which compass direction (unit vector) is steepest uphill, and how steep? In which direction would the hiker descend?

Recall Solution

at . Direction of ascent = itself: unit form — toward the origin (the summit at ). Steepness . Descent = , unit — away from the summit. This step is exactly what Gradient descent follows to go downhill.

L4.3

. Find at and the max rate of increase there.

Recall Solution
  • (the is constant w.r.t. ; ).
  • (the is constant w.r.t. ; ). At : , , . Max rate , in direction (the direction).

L4.4

Two functions: , . Verify at .

Recall Solution

Left side. , so at . Right side. ; . ✓. Why it works: each partial derivative is linear, and stacking linear operations into a vector keeps them linear — this is the same linearity that makes the tangent plane exact for linear parts.


Level 5 — Mastery

L5.1

On the ellipse-like surface, find the point(s) on the circle where is largest, using gradients. (A taste of Lagrange multipliers.)

Recall Solution

Idea. At the maximum along the constraint circle, moving along the circle can't increase , so must be parallel to the circle's normal , where .

  • (constant).
  • . Set : , . Substitute into : , . The maximum picks the branch (aligned with ): , giving The minimum is at with .

L5.2

. Prove the directional derivative at can never exceed , whatever unit direction you pick.

Recall Solution

(since ). Because for every angle, . Equality holds only when , i.e. points along . So is a hard ceiling — the max rate. This is the Cauchy–Schwarz bound in disguise.

L5.3

The temperature is . A bug at wants to cool down fastest. Give its unit direction of motion and the cooling rate. Then find a direction along which its temperature stays constant.

Recall Solution

at . Cool fastest = steepest descent = . Unit: . Cooling rate (temperature drops at per unit length). Constant-temperature direction: perpendicular to . Solve ; take , unit . This is tangent to the isotherm (level curve) through the bug.

L5.4

. Show depends only on the distance from the origin, and state that dependence.

Recall Solution

Let . Using :

  • , . So : steepness grows as you approach the origin and fades to far away — matching the level curves (circles) being crowded near the centre. (Undefined at , where blows up.)

Recall Self-test checklist

Can compute in 2D and 3D? ::: L1–L2, L4.3 Can turn a target point into a unit and get ? ::: L2.3 Can find steepest ascent/descent directions and rates? ::: L3.2, L4.2, L5.3 Can find directions of zero change (tangent to level set)? ::: L3.3, L5.3 Can build a tangent plane from ? ::: L4.1 Can bound and use ? ::: L5.2, L5.1


Connections