Math Bytes · Multivariable calculus · Episode 2 · Multivariable functions
Contour maps
Slice a surface z = f(x, y) at one height c and you get a level curve, where f(x, y) = c. Draw level curves for many evenly spaced heights on the flat xy plane and you have a contour map; close contours mean steep, far apart means gentle.
Slice at one height
Picture the surface z = f(x, y) from the last lesson. Cut it with a flat, horizontal plane at height c. Where the plane meets the surface you get a curve, and every point on it has f(x, y) = c. Drop that curve straight down onto the floor: that is a level curve.
Many heights make a contour map
Do the same for many heights and draw all the level curves on the same flat xy plane, each tagged with its height. That flat picture is a contour map. A hiking (topographic) map is exactly this, for real ground.
Worked example: the bowl x² + y²
Take f(x, y) = x² + y². The level curve at height c is x² + y² = c, a circle around the middle with radius √c.
- Height 1:
x² + y² = 1, a circle of radius√1 = 1. - Height 4:
x² + y² = 4, radius√4 = 2. - Height 9:
x² + y² = 9, radius√9 = 3.
Reading steepness
Now use evenly spaced heights 1, 2, 3, 4. The radii are 1, 1.41, 1.73, 2, so the gaps between circles shrink going out: 0.41, 0.32, 0.27. The circles crowd together because the bowl gets steeper further out.
- Close contours mean the height changes quickly over a short distance: steep ground.
- Spread-out contours mean gentle ground.
That's how hikers read a mountain from a flat map.
Try it yourself
- For
f(x, y) = x² + y², what is the radius of the level curve at height16? - For
f(x, y) = x² + y², which height gives the level curve with radius6?
(Answers: 1. √16 = 4. 2. 6² = 36.)
Good to know
- The close-means-steep rule only works when the heights on the map are evenly spaced, which is why the video redraws the map with heights 1, 2, 3, 4.
- A level curve at a height the surface never reaches is empty:
x² + y² = −1has no points. At height0the "curve" is the single point(0, 0). - The 3D pictures in the video are flat sketches with simple perspective.
Answer to the comment question
For f(x, y) = x² + y², what's the radius of the level curve at height 25? 5. The level curve is x² + y² = 25, a circle of radius √25 = 5.
Test your knowledge
Quick quiz: Contour maps
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Calculus Volume 3, 4.1 Functions of Several Variables": level curves and contour maps
- MIT OpenCourseWare, "18.02 Multivariable Calculus (Fall 2007)": lecture notes
- U.S. Geological Survey, "Topographic Maps": contour lines on hiking maps; close lines mean steep ground
Video transcript
How can a flat hiking map show the shape of a mountain?
Slice a surface at one height, and you get a level curve, where f equals that height.
Draw level curves for many heights, all on the flat x y plane, and you have a contour map.
For the bowl x squared plus y squared, height one gives a circle of radius one. Height four, radius two. Height nine, radius three.
Now draw heights one, two, three and four, evenly spaced. The circles crowd together going out. Close contours mean steep ground.
Spread out means gentle. That's how hikers read a mountain.
Your turn. For x squared plus y squared, what's the radius of the level curve at height twenty-five? Comment your answer below!
That's your byte.
More from Multivariable calculus
- Multivariable calculus EP4The gradient
- Multivariable calculus EP5Finding peaks and valleys in 3D
- Multivariable calculus EP6Lagrange multipliers
- Multivariable calculus EP7Double integrals