4.4.9 · D1Multivariable Calculus

Foundations — Gradient vector ∇f — definition, properties

1,875 words9 min readBack to topic

Before you can trust that one arrow, you must be able to read every mark on the page. Below is every symbol the parent note uses, built from the ground up, each one earning the next.


0. The stage: a function

Picture a flat table (the plane). Above every point on the table there is a height. Sweep over all points and those heights trace out a hill — a curved surface floating above the table.

Figure — Gradient vector ∇f — definition, properties
  • and ::: the two coordinates of where you stand on the flat map (east–west and north–south).
  • ::: the height of the hill directly above where you stand.

Why we need this: the whole topic is about slopes of this hill, and you cannot talk about a slope until you have a surface to slope.


1. The point and bold letters

So when the parent writes it just means "the height at the spot ." Bold letters like , , each secretly hold two numbers.

  • ::: where you are standing (a point).
  • ::: a nearby general point you might move to.
  • ::: the arrow from to — subtract coordinate by coordinate.

Why we need this: writing everywhere is noisy. One bold letter keeps formulas readable.


2. The limit

Picture the fraction as a stick touching the hill at two points apart. As shrinks, the stick pivots and settles onto the true tangent slope at one point.

  • ::: a tiny step size, heading to zero.
  • ::: "approaches."

Why we need this: slope is "rise over run," and true slope needs an infinitesimally small run. The limit is the only honest way to say "small run."


3. Partial derivatives

Now hold one coordinate frozen so the two-variable hill becomes a simple one-variable curve.

Figure — Gradient vector ∇f — definition, properties

The curly (say "partial dee") is a warning flag: "other variables are being held still." Contrast with the straight of ordinary one-variable calculus, where there's nothing else to hold.

  • ::: "derivative, but other variables held constant."
  • ::: how fast the height climbs if you walk due east only.
  • ::: how fast the height climbs if you walk due north only.

Why the topic needs this: and are literally the two components of the gradient. Build these and the gradient is half-built. See Partial derivatives.


4. A unit direction

You can walk in any compass direction, not just east or north. We name a direction with an arrow.

Figure — Gradient vector ∇f — definition, properties

Why length must be 1: a "rate of climb per step" only makes sense if every step is the same size. A length-1 arrow guarantees one unit of walking, so the rate is honest. Feed in a length-2 arrow and every rate doubles — a classic mistake the parent warns about.

  • (the bars) ::: the length of the arrow , from .
  • Normalise ::: shrink an arrow to length 1 by dividing by its own length: .

5. The dot product

This is the machine that turns "gradient + direction" into "climb rate."

Figure — Gradient vector ∇f — definition, properties

Geometrically, the dot product measures how much one arrow points along the other — the length of the shadow of on , scaled by .

  • Same direction (): , dot is biggest.
  • Perpendicular (): , dot is zero.
  • Opposite (): , dot is most negative.

Why the topic lives on this: the directional derivative is a dot product. So "which way is steepest?" becomes "which direction makes ?" — and the answer is forced: point the same way as the gradient. This single fact powers steepest ascent, descent, and the perpendicular-to-level-curve property. See Directional derivative.

Recall Why

and not ? Why does the dot product use ? ::: Because it measures alignment (shadow length along the other arrow); alignment is maximal when the angle is 0, and would wrongly say aligned arrows have zero projection.


6. The angle and

(theta) is just the Greek letter we use for the angle between two arrows. Here it is the angle between your walking direction and the gradient. is the number, between and , that says how aligned they are (Section 5). That's all the parent's means: gradient length, dimmed by how off-direction you are.


7. The gradient symbol

Now every part exists, so we can assemble the star.

  • ::: the arrow of all partial slopes at a point.
  • ::: its length = the steepest possible climb rate.
  • ::: your actual climb rate when walking in direction .

Why one symbol: packing into lets the whole directional-derivative story shrink to one clean line, .


8. The chain rule (the glue)

The parent derives the dot-product formula using the chain rule. In one variable it says: if depends on and depends on , then — rates multiply along a chain. In many variables, walking in direction changes both and at once, so the rates add up: Why we need it: it is the bridge that shows the climb rate is a dot product. See Chain rule (multivariable).


9. Level curve

Along a contour the height never changes, so climb rate is zero, so for the along-contour direction — meaning sits perpendicular to the contour. That is the parent's third big property. See Level curves and surfaces.


Prerequisite map

Function f(x,y) as a hill

Limit h to 0

Partial derivatives fx fy

Unit direction u-hat length 1

Gradient nabla f

Dot product a dot b

Directional derivative

Chain rule

Steepest ascent and descent

Level curve f = c and perpendicularity


Equipment checklist

Test yourself — you are ready for the parent note if you can answer each without peeking.

What does picture as?
A hill whose height floats above each point of a flat map.
What does the bold hold?
A whole point, i.e. a pair of coordinates .
What does actually do?
Shrinks the step toward zero to read the true (tangent) slope, without ever dividing by zero.
What does signal that does not?
Differentiate while holding the other variables constant.
What is in plain words?
The climb rate if you walk due east (only changes).
Why must have length 1?
So each step is the same size and the climb rate is per-unit-length, not scaled.
How do you normalise a vector ?
Divide it by its own length: .
Give both formulas for the dot product.
and .
When is the dot product largest / zero?
Largest when arrows align (); zero when perpendicular ().
What does mean and what does return?
"Collect all partial derivatives"; it returns an arrow at every point (a vector field).
What is ?
The length of the gradient — the steepest possible climb rate.
Why is perpendicular to a level curve?
Along the curve the height is constant, so the along-curve climb rate , forcing perpendicularity.

Connections