Worked examples — Gradient perpendicular to level curves - surfaces
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…)?
- 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.
- 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."
- 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).

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 ?
- 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.
- 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.
- 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.

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?
- Gradient. . Why this step? The -component is exactly — this is the "one partial vanishes" case. The gradient points straight up the -axis.
- 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.
- 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 . ✅

Example 4 — Cell D: the degenerate case
Forecast: does the theorem even apply here? Guess "yes / no / undefined."
- Gradient. at the origin. Why this step? The gradient is the zero vector. And for every .
- 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).
- 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.

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.
- Gradient. . Why this step? In 3D the gradient is still the normal; gives the negative third entry.
- 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).
- 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?
- Gradient formula. . Why this step? , — the normal literally is the swapped coordinates.
- 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.
- 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 ✅.

Example 7 — Cell G: real-world word problem (temperature map)
Forecast: guess whether "warm up fastest" points toward or away from the origin.
- Current value. C. The isotherm is , i.e. (an ellipse). Why this step? Establishes the level curve the bug is standing on.
- 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.
- 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.
- 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.

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?
- 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).
- 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 .
- 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.
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
- Directional Derivative — Ex 7: rate of steepest ascent is .
- Multivariable Chain Rule — Ex 5's curve-through-surface check is the parent derivation made concrete.
- Tangent Plane to a Surface — Ex 5, Ex 8 use the point-normal form.
- Lagrange Multipliers — Ex 4's exception matters when constraint gradients vanish.
- Steepest Descent / Gradient Descent — Ex 7: walking against cools fastest.