4.4.11 · D3Multivariable Calculus

Worked examples — Gradient perpendicular to level curves - surfaces

2,895 words13 min readBack to topic

Before anything, three symbols must be earned so nobody trips on line one.

Everything below is: compute , apply the trick for the tangent, and confirm the dot product is .


The scenario matrix

Each row is a class of situation. "Quadrant" here always refers to where the gradient arrow points (its sign pattern), not to where the point sits. The last column names the worked example that lands on it.

Cell What makes it different Worst-case danger Example
A in Quadrant I (both entries ) both partials none — warm-up Ex 1
B has a sign mix (one entry ) some partial wrong tangent sign Ex 2
C Axis / one partial gradient points purely along one axis tangent is a coordinate axis Ex 3
D Degenerate: gradient vanishes "perpendicular to WHAT?" breaks Ex 4
E 3D level surface tangent plane, not line must use point-normal form Ex 5
F Limiting behaviour curve running to infinity does the normal keep pointing "outward"? Ex 6
G Real-world word problem contour map / temperature reading units, direction of ascent Ex 7
H Exam twist: graph vs level set normal to not the level curve the classic trap Ex 8

Example 1 — Cell A: gradient in Quadrant I (warm-up)

Forecast: guess before reading — will the gradient point into the ellipse or out of it, and roughly which way (up-right, up-left…)?

  1. Compute the gradient. . Why this step? The gradient is our normal vector; nothing happens until we have it. , . Both entries are positive, so lies in Quadrant I — this is Cell A.
  2. Get a tangent direction. Apply the trick to : that gives (or scaled, ). Why this step? This is the mechanical way to produce "along the level set" from "across it."
  3. Dot-product check. . Why this step? Zero dot product is the definition of perpendicular here — this is the whole theorem in one line.

Verify: Both partials are positive at , so points up-and-to-the-right, out of the ellipse toward higher (steepest ascent).

Figure — Gradient perpendicular to level curves - surfaces
Figure 1 — The blue ellipse . At the orange gradient arrow exits the curve; the green tangent arrow lies along the curve. The two arrows meet at a clean right angle (Cell A).


Example 2 — Cell B: gradient with a sign mix

Forecast: one component of will be negative. Which one, and does the gradient still point toward increasing ?

  1. Gradient. . Why this step? Notice : the minus sign is exactly where students drop it. The gradient has a positive and a negative entry — a sign mix, so this is Cell B.
  2. Sign sanity of the direction. At , ✅ (we are on the right curve). Moving in raises ; moving in lowers . So the uphill arrow leans right and down — matching . Why this step? Cell B's danger is a flipped sign; check the physics against the formula.
  3. Tangent + dot check. Apply the trick to : . Dot: . ✅ Why this step? Confirms perpendicularity despite the sign mix.

Verify: Implicit slope of is . Tangent has slope . ✅ Match.

Figure — Gradient perpendicular to level curves - surfaces
Figure 2 — The blue level curve of the saddle . At the orange gradient points right-and-down (its -entry is negative); the green tangent runs along the curve, perpendicular to it (Cell B).


Example 3 — Cell C: one partial is zero (gradient along an axis)

Forecast: at the very top of a circle, which way must the tangent point? Horizontally or vertically?

  1. Gradient. . Why this step? The -component is exactly — this is the "one partial vanishes" case. The gradient points straight up the -axis.
  2. Tangent. Apply the trick to : , i.e. direction (or ): a purely horizontal direction. Why this step? When the normal is vertical, the tangent must be horizontal — Cell C forces the tangent onto a coordinate axis.
  3. Dot check. . ✅ Why this step? Even in this special case the theorem holds identically.

Verify: The top of a circle of radius is ; its tangent line is horizontal (), matching direction . ✅

Figure — Gradient perpendicular to level curves - surfaces
Figure 3 — The blue circle . At the top point the orange gradient points straight up; the green tangent arrows run horizontally left and right, perpendicular to it (Cell C).


Example 4 — Cell D: the degenerate case

Forecast: does the theorem even apply here? Guess "yes / no / undefined."

  1. Gradient. at the origin. Why this step? The gradient is the zero vector. And for every .
  2. Interpret. Perpendicularity means "the only direction that dots to zero is the normal." But every direction dots to zero with . So "the perpendicular direction" is not well-defined. Why this step? This is the honest limit of the theorem — it needs . Points where are critical points; the level set can pinch to a single point (here is just the origin, not a curve at all).
  3. The rule to remember. The perpendicularity result holds wherever . At there is no unique normal. Why this step? Cell D is the one every exam hopes you forget.

Verify: , so its magnitude is ; the normal is undefined.

Figure — Gradient perpendicular to level curves - surfaces
Figure 4 — Dashed gray circles are the level curves . The level set is the single red dot at the origin. The faded orange arrows fan out in every direction: since , no single one is "the" perpendicular (Cell D).


Example 5 — Cell E: a 3D level surface (tangent plane)

Forecast: the normal now has three components. Guess whether the -component is positive or negative.

  1. Gradient. . Why this step? In 3D the gradient is still the normal; gives the negative third entry.
  2. Point-normal plane. Write for the displacement from our point to a general point on the plane (so , , ). The plane is all displacements perpendicular to the normal, : Why this step? A plane is "all displacements from the point that are perpendicular to the normal" — exactly (see Tangent Plane to a Surface).
  3. Tangent-vector spot check. Take a curve (a moving point, as defined at the top) that stays on the surface and passes through : let , , then , so its velocity at is . Dot with normal: . ✅ Why this step? Confirms the gradient is perpendicular to an actual curve lying in the surface — the parent's Step-1 argument, made concrete.

Verify: Plane passes through : ✅.


Example 6 — Cell F: limiting behaviour (curve to infinity)

Forecast: as the curve flattens toward the -axis far out, which way does the normal tilt?

  1. Gradient formula. . Why this step? , — the normal literally is the swapped coordinates.
  2. Evaluate the three points.
    • At : — points up-right, moderately.
    • At : — now steeply up.
    • At : — almost straight up. Why this step? Far out along the -axis the curve is nearly horizontal, so its normal must be nearly vertical — and it is.
  3. Perpendicular in the limit. Tangent slope of is (curve flattens). The gradient as an arrow has slope (vertical). Their product for every . ✅ Why this step? Two lines are perpendicular exactly when slopes multiply to ; here it holds for all , including the limit.

Verify: At : tangent slope , gradient-arrow slope ; product ✅.

Figure — Gradient perpendicular to level curves - surfaces
Figure 5 — The blue hyperbola . Orange gradient arrows are drawn at and . As the point runs out along the -axis the curve flattens, so the normal tilts toward vertical (Cell F).


Example 7 — Cell G: real-world word problem (temperature map)

Forecast: guess whether "warm up fastest" points toward or away from the origin.

  1. Current value. C. The isotherm is , i.e. (an ellipse). Why this step? Establishes the level curve the bug is standing on.
  2. Gradient = steepest-ascent direction. °C/cm. Why this step? The gradient always points toward the fastest increase — here toward higher temperature (see Directional Derivative and Steepest Descent / Gradient Descent). Since both entries are negative, "warmer" is toward the origin (down-left), which makes sense: peaks at the center.
  3. Rate of fastest warming. °C/cm. Why this step? The magnitude of the gradient is the maximum rate of change per unit distance — units C per cm.
  4. Constant-temperature direction. Apply the trick to : e.g. or . Why this step? Walking along the isotherm means zero change, i.e. tangent to the level curve = perpendicular to the gradient. This answers part (c).

Verify: Part (a): ✅, isotherm ✅. Part (b): °C/cm, direction toward origin ✅. Part (c): dot check ✅ — the constant-temperature direction is genuinely perpendicular to the gradient.

Figure — Gradient perpendicular to level curves - surfaces
Figure 6 — The blue isotherm on the plate. At the bug's spot the orange gradient points down-left toward the hot center (steepest warming); the green tangent runs along the isotherm — the direction of constant temperature, perpendicular to the gradient (Cell G).


Example 8 — Cell H: the exam twist (graph vs level set)

Forecast: true or false? And if the graph's normal has three components, what is the third?

  1. Separate the two objects. is a 2D vector in the input plane; it is normal to the level curve , not to the 3D surface . Why this step? The trap is conflating the level curve (in the map) with the graph (a bowl in 3D).
  2. Build the graph's normal properly. Write the graph as a level surface of a new function . Its level set is the graph. Why this step? Now we can use the same theorem: is normal to .
  3. Compute. . Why this step? supplies the crucial third component the student forgot.

Verify: Tangent to the graph at : use the moving point , whose velocity at is . Dot with : ✅ — the 3D normal is genuinely perpendicular to the surface.


The whole matrix in one glance

Read the flowchart top-to-bottom as the decision you make at each point: first compute the gradient, then ask whether it is zero, then ask how many variables you have. Each leaf names the cell(s) it handles.

yes

no

two

three

Point on level set f equals c

Compute the gradient grad f

Is grad f the zero vector?

Cell D: critical point, no unique normal

Two variables or three?

Normal to level curve, rotate ninety degrees for tangent

Cell E: point normal tangent plane

Check signs per quadrant, Cells A B C

Cell F: track normal as curve runs to infinity

Cell H: graph normal is fx fy minus one

Cell G: gradient is steepest ascent, magnitude is rate


Recall Self-test (reveal after guessing)

At on , what is the tangent direction? ::: Horizontal, — because is vertical. Why does the perpendicularity theorem fail at the origin of ? ::: ; every direction dots to zero, so no unique normal. Real-world: max rate of temperature change at a point equals ::: , in degrees per unit distance. Normal to the graph at ? ::: , from . For , why is the gradient nearly vertical far out along the x-axis? ::: The curve flattens (), so its normal tilts toward vertical.


Connections