Contour Map — Definition, Formula & Example
A contour map is a flat drawing of a surface . It traces the curves along which the function keeps the same value, like the elevation lines on a hiking map.
Let , and let be a value in the range of . The level curve of at height is the set . A contour map of draws the level curves for a chosen list of values in the -plane and labels each curve with its value. The values are usually equally spaced. A level set does not have to be a curve. For some values of it is a single point or a filled region.
Key Formula
Where:
- = The function of two variables being mapped
- = A constant output value. Each choice of k gives one contour.
- = The input points in the plane where f takes the value k
Worked Example
Problem: Sketch the contour map of for . Then use the spacing between the curves to describe how steep the surface is.
Step 1: Set the function equal to . For , the equation describes a circle centered at the origin with radius . For example, the point gives , so it lies on the curve.
Step 2: Find the radius of each contour. The -values go up in equal steps of 4, but the radii do not.
Step 3: Measure the gaps between neighboring circles. Each gap is the horizontal distance you travel to climb 4 units.
Answer: The contour map is four circles centered at the origin, with radii 2, about 2.83, about 3.46, and 4. The gaps shrink from about 0.83 to 0.64 to 0.54. The circles crowd together as you move outward, so the surface gets steeper the farther you go from the origin.
Why It Matters
In Calculus III, contour maps let you see the gradient. At every point where the gradient is not zero, it is perpendicular to the level curve through that point. With Lagrange multipliers, you find a constrained maximum or minimum where the constraint curve just touches a level curve. Outside math class, the same idea shows up as elevation lines on USGS topographic maps, isobars on weather maps, and isotherms in heat-flow models.
Common Mistakes
Mistake: Drawing two contours of different values so that they cross or touch.
Correction: A function gives each input exactly one output. A point where two curves meet would have two different values of f, which is impossible. Contours for different values of k never intersect.
