4.4.11 · D1Multivariable Calculus

Foundations — Gradient perpendicular to level curves - surfaces

1,912 words9 min readBack to topic

Before we can even state the main result, we need to earn every symbol it uses. Below, each piece is built from nothing: plain words → a picture → why the topic needs it. Read top to bottom; each idea rests on the one above it.


0. The starting object: a function of several inputs

Picture it as a landscape. Stand on a flat floor whose position is . The output is the height of the ground at that spot.

Figure — Gradient perpendicular to level curves - surfaces

The little symbols:

  • ::: means "all real numbers" (any point on the number line: , , , …).
  • ::: means "all pairs of real numbers," i.e. every point on a flat plane.
  • ::: the same idea with numbers — a point in -dimensional space. We only need and .

1. Slicing the landscape flat: the level curve

Picture it as a contour line on a hiking map. Every point on one contour is at the same altitude. Walk along it and you never climb or descend.

Figure — Gradient perpendicular to level curves - surfaces

2. Measuring change one direction at a time: the partial derivative

Before the gradient, we need to know how to measure "how steeply does change?" — but in a function of two inputs, which direction do we change?

Picture it as walking on a grid line. Standing on the hill, walk only east: how quickly does your altitude rise? That number is . Walk only north: that's .

Figure — Gradient perpendicular to level curves - surfaces

3. Packaging the partials into an arrow: the gradient

Picture it as an uphill arrow drawn on the map. At every floor-spot, is an arrow that points in the direction of steepest increase of height, and its length says how steep.

Figure — Gradient perpendicular to level curves - surfaces

4. What a vector is, and how to measure the angle between two: the dot product

The claim uses the word "perpendicular." We measure that with the dot product.

The magic case we need:

Recall Edge case: the zero vector

If (a flat spot / peak / valley bottom), the dot product is with everything, so "perpendicular" loses meaning. These are exactly the critical points, handled separately in Lagrange Multipliers and optimization. Away from them, the argument is clean.


5. Walking a path through the landscape: the parametrized curve

Picture it as an ant walking a route on the map. At any instant the ant faces some direction; that facing arrow is , always tangent to its trail.


6. Linking " along the ant's path" to the gradient: the chain rule

The final tool. The ant walks the path ; how fast does the height change?

This same dot product is also the definition of the Directional Derivative , which is zero exactly along the level curve.


Prerequisite map

Function f of x and y as a height landscape

Level curve f = c, no change in height

Partial derivatives f_x and f_y

Gradient grad f, the uphill arrow

Vectors as arrows

Dot product a dot b

Zero dot product means perpendicular

Parametrized curve r of t

Tangent vector r prime of t

Chain rule d dt f of r = grad f dot r prime

Gradient perpendicular to level curves


Equipment checklist

What does mean in plain words?
A machine taking a point and returning one number — a height above the floor.
What is a level curve ?
All floor-spots at the same fixed height — a contour line where does not change.
How do you compute ?
Freeze as a constant and differentiate with respect to .
What is and where does it live?
The vector of partials; it lives on the input floor and points toward steepest increase.
What does tell you?
The two (nonzero) arrows are perpendicular, because .
Compute .
, so they are perpendicular.
What is for a curve ?
The velocity/tangent arrow, pointing along the direction of motion.
State the multivariable chain rule for .
.
Why is a special case?
It is a critical (flat) point; its dot product with everything is , so "perpendicular" is undefined there.