Surfaces &
Contour Maps
Learn to visualize functions of two variables as 3D surfaces and interpret their level curves on a 2D contour map.
What Is a Surface?
A surface in \(\mathbb{R}^3\) is the graph of a function \(z = f(x, y)\). For every point \((x, y)\) in the domain, the function assigns a height \(z\), producing a set of points \((x, y, f(x,y))\) that form a curved sheet in three-dimensional space.
Visualizing \(z = x^2 + y^2\): A Paraboloid
Why Contour Maps Matter
We often cannot draw 3D surfaces on paper or screens effectively. A contour map projects the surface down to the \(xy\)-plane, encoding height information as level curves: one curve for each constant value of \(z\).
Level Curves: Formal Definition
Each value of \(c\) gives a different curve in the \(xy\)-plane. Together, these curves form the contour map of \(f\). Closely spaced curves indicate the surface is steep; widely spaced curves indicate it is flat.
Contour Map of \(z = x^2 + y^2\)
Surface vs. Contour Map
| Surface Graph | Contour Map | |
|---|---|---|
| Dimension | 3D: \((x, y, z)\) | 2D: \((x, y)\) only |
| Height info | Visible as vertical position | Encoded by curve labels (\(c\) values) |
| Steepness | Seen as angle of incline | Seen as spacing between curves |
| Best for | Overall shape intuition | Precise quantitative reading |
The Gradient and Contour Lines
The gradient vector \(\nabla f = \left\langle \frac{\partial f}{\partial x},\, \frac{\partial f}{\partial y} \right\rangle\) at a point is always perpendicular to the level curve through that point and points in the direction of steepest ascent.
How to Sketch a Contour Map
Example 1: \(f(x,y) = 2x + 3y\)
Setting \(2x + 3y = c\) gives a family of parallel lines. Each line has slope \(-\frac{2}{3}\) and \(y\)-intercept \(\frac{c}{3}\).
Example 2: \(f(x,y) = x^2 - y^2\)
This is a hyperbolic paraboloid (saddle surface). Setting \(x^2 - y^2 = c\) yields hyperbolas for \(c \neq 0\) and crossed lines for \(c = 0\).
Example 3: \(f(x,y) = \sqrt{x^2 + y^2}\)
This is a cone. Setting \(\sqrt{x^2 + y^2} = c\) gives circles of radius \(c\). Unlike the paraboloid, the contour circles are equally spaced: the cone has constant slope.
Paraboloid vs. Cone: Contour Spacing
Common Contour Shapes
Common Mistakes
Summary: Surfaces and Their Contours
| Surface | Equation | Contour Shape | Spacing |
|---|---|---|---|
| Plane | \(ax + by + d\) | Parallel lines | Equal |
| Paraboloid | \(x^2 + y^2\) | Circles | Gets closer |
| Cone | \(\sqrt{x^2 + y^2}\) | Circles | Equal |
| Saddle | \(x^2 - y^2\) | Hyperbolas | Varies |
| Elliptic Paraboloid | \(ax^2 + by^2\) | Ellipses | Gets closer |
Question 1 of 5
The level curves of \(f(x,y) = x^2 + y^2\) are:
Question 2 of 5
On a contour map, closely spaced level curves indicate that the surface is:
Question 3 of 5
The gradient \(\nabla f\) at a point on a contour map is:
Question 4 of 5
The contour map of \(f(x,y) = x^2 - y^2\) at \(c = 0\) consists of:
Question 5 of 5
Which surface has equally spaced circular contour lines?