SECTION 1
Historical Context & Motivation
Long before GPS satellites or digital terrain models, people needed ways to represent three-dimensional landscapes on flat, two-dimensional paper. Explorers, military engineers, and scientists all faced the same challenge: how do you communicate the shape of a mountain, the depth of an ocean floor, or the curvature of a lens without building a physical model? The answer came in the form of contour maps — elegant diagrams that encode height (or any quantity) using curves of equal value. This idea evolved over centuries and eventually merged with the mathematical study of surfaces in multivariable calculus, giving us powerful tools for visualizing functions of two variables.
1584 • Pieter Bruinsz's Depth Lines
1774 • Charles Hutton's Isohypses
1799 • Laplace & Surfaces in Calculus
1843 • Standardized Topographic Mapping
1950s–Today • Digital Surfaces & 3-D Visualization
The central question this lesson addresses is: given a function z = f(x, y), how can we picture the surface it creates in three dimensions, and how can we flatten that picture into a contour map without losing essential information?
SECTION 2
Core Principles & Definitions
Before diving into visuals and calculations, let's nail down the key vocabulary and ideas that make surfaces and contour maps work. These four concepts form the foundation for everything that follows.
Surface in ℝ³
Level Curve (Contour Line)
Contour Map
Contour Interval
KEY TAKEAWAY
SECTION 3
Visual Explanation — From Surface to Contour Map
The diagram below shows how the paraboloid z = x² + y² generates level curves. On the left you see a side view of the bowl-shaped surface, sliced by horizontal planes at z = 1, 4, and 9. On the right, those slices are projected down onto the xy-plane as concentric circles, forming a contour map.
Several important patterns emerge from this picture. First, every level curve for this function is a circle because the equation x² + y² = c defines a circle of radius √c. Second, notice that for these particular heights the radii work out to 1, 2, and 3 — evenly spaced circles. But if you instead compare equally spaced z-values in general (say z = 1, 2, 3, 4, …), the radii √z increase more and more slowly as z grows, so the circles bunch closer together at larger z. This tells us the paraboloid is actually flattest at the vertex and gets steeper as you move away from the center — the opposite of what you might guess just by looking at the bowl shape. In general, tightly packed contour lines signal a steep region, and widely spaced lines signal a flat region.
SECTION 4
Mathematical Framework
Let's formalize the ideas we've been visualizing. The mathematics behind surfaces and contour maps relies on setting a function equal to a constant and analyzing the resulting curve.
SURFACE DEFINITION
For each input pair (x, y) in the domain, f assigns a real number z. The collection of all points (x, y, z) forms the surface in three-dimensional space.
LEVEL CURVE EQUATION
Setting f equal to a constant c produces a curve (or set of curves) in the xy-plane. This is a single level curve. A contour map is a family of level curves drawn for several values of c, typically evenly spaced.
CIRCLE EXAMPLE
For the paraboloid z = x² + y², each level curve is a circle centered at the origin. As c increases, the radius √c grows, but more slowly — illustrating that equally spaced z-values do not always produce equally spaced contour lines.
GRADIENT AND STEEPNESS
The gradient vector — built from the rates of change of f in each coordinate direction — points in the direction of the steepest ascent on the surface and is always perpendicular to the level curves. Its magnitude |∇f| tells you how steep the surface is at that point. You will study the precise definition of ∇f using partial derivatives in a later chapter; for now, the key idea is that a large |∇f| corresponds to a steep surface.
Spacing Rule of Thumb
SECTION 5
Common Surfaces & Their Contour Signatures
Different functions produce dramatically different contour maps. Learning to recognize the contour signature of standard surfaces is one of the most useful skills in multivariable calculus. The diagram below shows four classic surfaces and the shapes of their level curves.
| Surface | Function | Level Curve Shape | Spacing Pattern |
|---|---|---|---|
| Paraboloid | z = x² + y² | Circles | Gaps narrow as z increases (contours bunch together away from the vertex, since the surface steepens with distance from center) |
| Cone | z = √(x² + y²) | Circles | Equally spaced (z is linear in radius, so equal c-steps give equal radius steps) |
| Saddle | z = x² − y² | Hyperbolas (two lines at c = 0) | Hyperbolas open in perpendicular directions for c > 0 and c < 0; the c = 0 curve degenerates into two crossing lines |
| Plane | z = ax + by | Straight lines | Equally spaced and parallel |
Summary of four classic surface types and their contour map characteristics
SECTION 6
Worked Example — Sketching a Contour Map
Let's work through the complete process of creating a contour map for the function f(x, y) = 9 − x² − y². This is an inverted paraboloid — an upside-down bowl — with its peak at z = 9.
Contour Map for f(x, y) = 9 − x² − y²
- 1
Step 1 — Choose contour values
We need to pick several values of c for which to draw level curves. The maximum value of f is 9 (at the origin) and the surface reaches z = 0 when x² + y² = 9, so reasonable choices are c = 0, 1, 4, and 9.Contour values: c = 0, 1, 4, 9 - 2
Step 2 — Set f(x, y) = c and solve
Set 9 − x² − y² = c, which rearranges to x² + y² = 9 − c. This is the equation of a circle centered at the origin with radius r = √(9 − c).Level curve equation: x² + y² = 9 − c, so r = √(9 − c) - 3
Step 3 — Compute the radius for each c
For c = 0: r = √9 = 3. For c = 1: r = √8 ≈ 2.83. For c = 4: r = √5 ≈ 2.24. For c = 9: r = √0 = 0 (just the origin). Computing the gaps between successive radii: r₀ − r₁ = 3 − 2.83 ≈ 0.17, and r₁ − r₄ = 2.83 − 2.24 ≈ 0.59. The larger gap occurs between c = 1 and c = 4, not between c = 0 and c = 1.Radii: r₀ = 3, r₁ ≈ 2.83, r₄ ≈ 2.24, r₉ = 0 - 4
Step 4 — Draw the contour map
On the xy-plane, draw four concentric circles centered at the origin with the radii computed above. Label each circle with its c-value. The outermost circle is c = 0 and the innermost point is c = 9 (the summit of the hill).The contour map consists of four concentric circles centered at the origin, with the largest circle (r = 3) corresponding to c = 0 and the point at the center corresponding to c = 9. - 5
Step 5 — Interpret the map
The contour spacings computed in Step 3 (r₀ − r₁ ≈ 0.17 versus r₁ − r₄ ≈ 0.59) show that the circles are more widely spread in the middle region of the map and more tightly packed near the outer edge and near the peak. However, these spacings must be interpreted carefully: the c-values chosen (0, 1, 4, 9) are not equally spaced, so the varying gaps between circles reflect the uneven c-values as much as they reflect steepness. To assess true steepness, we look at how rapidly f changes with distance from the origin. The surface f(x, y) = 9 − x² − y² has a gradient with magnitude 2√(x² + y²), which increases with distance from the center. This means the surface is actually steeper at the outer edge than near the peak — a fact that is obscured in this map because the non-uniform c-values bunch several contours near the outer rim.The surface f(x, y) = 9 − x² − y² is steeper farther from the center. The uneven c-values (0, 1, 4, 9) cause the contour spacing to reflect both the function's nonlinear scaling and the non-uniform choice of levels; when c-values are not equally spaced, contour spacing alone cannot be used to directly compare steepness across different regions of the map.
SECTION 7
Strengths & Limitations — 3-D Plots vs. Contour Maps
Both 3-D surface plots and 2-D contour maps represent the same information, but each format has trade-offs. Understanding when to use which tool is an important practical skill.
| Feature | 3-D Surface Plot | 2-D Contour Map |
|---|---|---|
| Intuitive shape recognition | Excellent — you see the hills and valleys directly | Requires practice to interpret |
| Reading exact values | Difficult — perspective distortion makes heights hard to compare | Easy — each contour line is labeled with its z-value |
| Identifying steepness | Moderate — steep areas are visible but hard to quantify | Excellent — closely packed lines mean steep slope (when contour interval is uniform) |
| Printing on paper | Loses depth cues; can look cluttered | Ideal — designed for flat media |
| Hidden regions | Parts of the surface may be blocked from view | No hidden regions — the entire domain is visible |
Comparing 3-D surface plots with 2-D contour maps
KEY TAKEAWAY
SECTION 8
Connection to Advanced Theory
Surfaces and contour maps are your gateway to several powerful ideas you'll encounter as you continue studying multivariable calculus. The table below connects what you've learned today with more advanced topics.
| This Lesson | Advanced Extension |
|---|---|
| Level curves f(x, y) = c | Level surfaces f(x, y, z) = c for functions of three variables — these generalize contour lines to 3-D |
| Gradient ∇f is perpendicular to level curves | Directional derivatives and gradient descent algorithms used in machine learning to find optimal solutions |
| Closely packed contour lines indicate steepness | Partial derivatives ∂f/∂x and ∂f/∂y quantify steepness precisely; tangent planes give the best linear approximation of a surface |
| Saddle points where the c = 0 level curve degenerates into two crossing lines | Second derivative test classifies critical points as local maxima, local minima, or saddle points |
How contour map ideas connect to advanced multivariable calculus
In practical fields, contour map reasoning shows up everywhere. Meteorologists draw isobars (lines of equal pressure) to analyze weather patterns. Economists sketch indifference curves (lines of equal utility) to model consumer behavior. Machine learning engineers use contour plots of error functions to visualize how their models improve during training. The visual intuition you build today will serve you across all of these domains.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A surface is the graph of a function z = f(x, y) in three-dimensional space. To visualize it on a flat page, we create a contour map — a collection of level curves obtained by setting f(x, y) = c for several constants c. Each level curve is a "horizontal slice" of the surface projected onto the xy-plane. The contour interval — the constant step between successive c-values — controls the map's detail.
The spacing between contour lines carries critical information: tightly packed lines indicate steep regions while widely spaced lines indicate flat regions — provided the contour interval is uniform. The gradient vector ∇f is always perpendicular to the level curves and points in the direction of steepest ascent; you will define it precisely using partial derivatives in a later chapter. Different function types produce recognizable contour signatures: circles for paraboloids and cones, hyperbolas for saddle surfaces, and parallel lines for planes. Mastering these visual patterns prepares you for partial derivatives, gradient-based optimization, and real-world applications from weather forecasting to machine learning.