Learning Outcomes
- Sketch several traces or level curves of a function of two variables.
If hikers walk along rugged trails, they might use a topographical map that shows how steeply the trails change. A topographical map contains curved lines called contour lines. Each contour line corresponds to the points on the map that have equal elevation (Figure 1). A level curve of a function of two variables is completely analogous to a counter line on a topographical map.

Figure 1. (a) A topographical map of Devil’s Tower, Wyoming. Lines that are close together indicate very steep terrain. (b) A perspective photo of Devil’s Tower shows just how steep its sides are. Notice the top of the tower has the same shape as the center of the topographical map.
Definition
Given a function and a number in the range of , a level curve of a function of two variables for the value is defined to be the set of points satisfying the equation .
Returning to the function , we can determine the level curves of this function. The range of is the closed interval . First, we choose any number in this closed interval—say, . The level curve corresponding to is described by the equation
.
To simplify, square both sides of this equation:
.
Now, multiply both sides of the equation by and add to each side:
.
This equation describes a circle centered at the origin with radius . Using values of between and yields other circles also centered at the origin. If , then the circle has radius , so it consists solely of the origin. Figure 2 is a graph of the level curves of this function corresponding to , and . Note that in the previous derivation it may be possible that we introduced extra solutions by squaring both sides. This is not the case here because the range of the square root function is nonnegative.

Figure 2. Level curves of the function , using , and ( corresponds to the origin).
A graph of the various level curves of a function is called a contour map.
Example: Making a Contour Map
Given the function , find the level curve corresponding to . Then create a contour map for this function. What are the domain and range of ?
Try It
Find and graph the level curve of the function corresponding to .
Another useful tool for understanding the graph of a function of two variables is called a vertical trace. Level curves are always graphed in the -plane, but as their name implies, vertical traces are graphed in the – or -planes.
Definition
Consider a function with domain . A vertical trace of the function can be either the set of points that solves the equation for a given constant or for a given constant .
Example: Finding Vertical Traces
Find vertical traces for the function corresponding to , and , and , and .
Try It
Determine the equation of the vertical trace of the function corresponding to , and describe its graph.
Watch the following video to see the worked solution to the above Try It
Functions of two variables can produce some striking-looking surfaces. The following figure shows two examples.

Figure 7. Examples of surfaces representing functions of two variables: (a) a combination of a power function and a sine function and (b) a combination of trigonometric, exponential, and logarithmic functions.
Candela Citations
- CP 4.3. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction