Level Curves &
Gradient Orthogonality
Discover how level curves encode the shape of surfaces, and why the gradient vector always points perpendicular to them: the key to optimization, physics, and beyond.
What Is a Level Curve?
Given a function \(f(x, y)\), a level curve is the set of all points \((x, y)\) in the domain where \(f\) takes a constant value \(c\):
Think of a topographic map: each contour line connects points of equal elevation. Level curves are the multivariable calculus analogue: they slice a surface \(z = f(x,y)\) at constant heights and project those slices onto the \(xy\)-plane.
Visualizing Level Curves
The Gradient Vector
For a differentiable function \(f(x, y)\), the gradient is the vector of partial derivatives:
Why Is \( \nabla f \) Perpendicular?
Parametrise a level curve as \(\mathbf{r}(t) = \langle x(t), y(t) \rangle\) with \(f(\mathbf{r}(t)) = c\). Differentiate both sides using the chain rule:
Since the derivative of a constant is zero, the dot product of \(\nabla f\) and the tangent vector \(\mathbf{r}'(t)\) is zero. A zero dot product means the two vectors are orthogonal.
Core Theorem: Gradient Orthogonality
Extension to Level Surfaces
For a function of three variables \(F(x, y, z)\), the set \(F(x,y,z) = c\) defines a level surface. The gradient generalises naturally:
\(\nabla F(\mathbf{a})\) is normal to the level surface through \(\mathbf{a}\). This gives us the equation of the tangent plane:
Level Curves vs Gradient Field
| Level Curves | Gradient Field | |
|---|---|---|
| What it is | Curves where \(f = c\) | Vector field \(\nabla f\) |
| Dimension | Curves in \(\mathbb{R}^2\) | Vectors at each point in \(\mathbb{R}^2\) |
| Tells you | Where \(f\) is constant | Direction of steepest ascent |
| Relationship | Always orthogonal to each other | |
| Spacing encodes | Rate of change (closer = steeper) | Magnitude \(\|\nabla f\|\) |
How to Apply Gradient Orthogonality
Example 1: Circles
Let \(f(x,y) = x^2 + y^2\). Find the gradient at \((3, 4)\) and verify it is perpendicular to the level curve through that point.
Example 1: Diagram
Example 2: Hyperbolic Curves
Let \(f(x,y) = xy\). Find the gradient at \((2, 3)\) and the tangent line to the level curve \(xy = 6\).
Example 3: Tangent Plane to a Surface
Find the tangent plane to the surface \(F(x,y,z) = x^2 + y^2 + z^2 = 14\) at the point \((1, 2, 3)\).
Geometric Intuition
Common Mistakes
Question 1 of 5
If \(f(x,y) = x^2 + 4y^2\), what is \(\nabla f\) at the point \((1, 1)\)?
Question 2 of 5
The gradient \(\nabla f\) at a point on a level curve is always:
Question 3 of 5
For \(f(x,y) = xy\), the tangent line to the level curve \(xy = 6\) at \((2, 3)\) is:
Question 4 of 5
The tangent plane to \(x^2 + y^2 + z^2 = 14\) at \((1, 2, 3)\) is:
Question 5 of 5
Level curves that are closely spaced indicate that the function is changing: