Multivariable Calculus · Undergraduate
Functions of Several Variables and Contour Maps
Quick answer
A function of two variables assigns a number f(x, y) to each point of a region in the plane, and its graph z = f(x, y) is a surface in space. The level curves f(x, y) = c are the points where the function takes one fixed value; drawing several of them gives a contour map, the same device a topographic map uses for elevation. Where equally spaced level curves crowd together the surface is steep. A function of three variables has level surfaces instead of level curves.
What you'll learn
- Evaluate a function of two or three variables
- Find and sketch the domain of a function of two variables
- Draw and read level curves and contour maps
- Describe level surfaces of a function of three variables
Two inputs, one output
Many quantities depend on more than one thing. The volume of a cylinder depends on its radius and its height, . The temperature on a weather map depends on two coordinates. A function of two variables assigns a number to each point of its domain, a region of the plane.
When a formula is given without a domain, the domain is every point where the formula makes sense. Square roots need nonnegative inputs, logarithms need positive ones, and denominators must not be zero.
Graphs are surfaces
The graph of is the set of points with : above each point of the domain, one point at height . The graph of is a bowl opening upward, a paraboloid; the graph of is the same bowl turned over; the graph of is a plane.
Level curves and contour maps
Surfaces are hard to draw on paper. Instead, slice the graph at a few heights and drop each slice onto the plane. The slice at height is the level curve
and a collection of them is a contour map. Hiking maps do exactly this with elevation.
Why crowded contours mean steep ground
Draw level curves for equally spaced values , say every meters of elevation. Walking from one curve to the next always climbs the same amount. If the next curve is close, that climb happens over a short distance, so the ground is steep; if it is far, the ground is gentle. The spacing of equally spaced contours measures the rate of change: crowded curves mean fast change, spread-out curves mean slow change. In the map above the circles are evenly spaced, but the values climb by , then , then per step outward. The bowl grows steeper away from the center.
Worked examples
Common mistakes
Practice problems
-
Evaluate at .
Answer
Full solution
.
-
Find the domain of .
Answer
All points with : on or above the line
Full solution
The square root needs a nonnegative input.
-
Find the domain of .
Answer
Every point not on the parabola
Full solution
The denominator is zero exactly when .
-
Describe the level curve of at .
Answer
The circle of radius
Full solution
gives . It is where the upside-down bowl meets the -plane.
-
Which level curve of passes through ? Describe it.
Answer
, a hyperbola
Full solution
, and is the hyperbola , with branches in the first and third quadrants.
-
Describe the level curves of .
Answer
Parallel lines
Full solution
Each level set is a line of slope , and changing shifts it.
-
Evaluate at , and say whether is in its domain.
Answer
; is not in the domain.
Full solution
. At the input is negative.
-
On a hiking map with contours every meters, the curves are cm apart on one slope and cm apart on another. Which slope is steeper?
Answer
The slope with curves cm apart
Full solution
Both climb meters between curves, one over a quarter of the distance of the other, so it is four times as steep.
-
Describe the level surfaces of .
Answer
Parallel planes
Full solution
Each level surface is a plane with normal , and changing slides it along that normal.
-
A student says the graph of is a circle. What went wrong?
Hint
How many coordinates does a point of the graph have?
Answer
The graph is the surface , a bowl. The circles are its level curves.
Full solution
The graph of a function of two variables lives in three dimensions: each point is . Setting picks out one horizontal slice, which is a circle, but the whole graph stacks all those circles into a paraboloid.
Frequently asked questions
What is a function of two variables?
A rule that assigns one number f(x, y) to each point (x, y) of its domain, a region of the plane.
What does the graph of f(x, y) look like?
A surface in space: the points (x, y, z) with z = f(x, y). Above each point of the domain sits one point of the surface.
What is a level curve?
The set of points in the plane where f(x, y) equals a fixed number c. It is the horizontal slice of the graph at height c, dropped onto the plane.
How do you read steepness from a contour map?
When the level curves are drawn for equally spaced values, curves that are close together mean the function changes quickly, so the surface is steep there.
What is a level surface?
For a function of three variables, the set of points where f(x, y, z) = c. For x² + y² + z² the level surfaces are spheres.