Topographic (also called contour) maps are an effective way to show the elevation in 2-D maps. These maps are marked with contour lines or curves connecting points of equal height.
Figure 1: Topographic map of Stowe, Vermont, in the US. The brown contour lines represent the elevation. The contour interval is 20 feet.
The same idea can be used to represent a function graphically. If the graph of the function is cut by the horizontal (or level) plane , and if we project this intersection onto the -plane, then we get a curve that consists of points for which (Figure 2). Such a curve is called the level curve of height or the level curve with value and is denoted by or by . By drawing a number of level curves, we get what is called a contour plot or contour map, which provides a good representation of the function .
Figure 2: The circle on the plane is the set of points for which .
In the next few examples, we will practice how to determine the contour curves. Let’s start with simple examples.
Recall that is the equation of a circle of radius centered at
Example 1
Sketch some level curves of .
Solution
The level curves are graphs of equations of the form ; that is,
Because , the above equation has a solution when . When , the above equation is the equation of a circle of radius centered at . When , this equation gives the origin or a circle of radius 0. Figure 3 shows the graph and a number of the level curves of this function.
Figure 3(a): The graph of the function and the level curvesFigure 3(b): The level curves of with different values of .
Recall that is the equation of an ellipse centered at with semi major axis and semi minor axis (if ).
Example 2
Sketch some level curves of .
Solution
The level curve with value is obtained by setting ; that is,
Obviously there is no level curve with value . When , the above equation gives only one point . When , the above is the equation of an ellipse centered at and with semi-major and semi-minor axes and , respectively:
Figure 4 shows the graph and a number of the level curves of this function.
Figure 4(a): The graph of the function and the level curvesFigure 4(b): The level curves of with different values of .
Example 3
Sketch the level curves with values for
Solution
The graph of this function is a plane. The level curves are parallel lines of the form
The graph and some level curves are drawn in Figure 5.
Figure 5(a): The graph of the function and the level curvesFigure 5(b): The level curves of $f$$ with different values of .
Recall that is the equation of a hyperbola with two vertices at .
Example 4
Sketch some level curves of .
Solution
The level curves are given by . For , we have ; that is, , two straight lines through the origin. For , the level curve is , which is a hyperbola passing vertically through the -axis at the points . For , the level curve is , which is a hyperbola passing vertically through the -axis at the points . For , we have , the hyperbola passing horizontally through the -axis at the points .
Figure 6 shows the graph and some level curves of .
Figure 6(a): The graph of the function and the level curvesFigure 6(b): The level curves of with different values of .
Example 5
Sketch some level curves of the function defined by for .
Solution
The level curve is given by
for . The above equation describes a circle of radius centered at and . Note that here and are the independent variables and is the dependent variable. The level curves are circles in the -plane. Figure 7 shows the graph and some level curves of .
Figure 7(a): The graph of the function Figure 7(b): The level curves of with different values of .
Example 6
Given , use polar coordinates to describe the level curves of .
Solution
Substituting and in the formula of , we obtain
The level curve with value is described by
Because , there is no level curve if . For , the level curve with value is a ray with angle with the -axis such that . Solving for ,*
Inspection reveals this gives four different rays:
Figure 8 shows the graph and some level curves of .
Figure 8(a): The graph of the function Figure 8(b): The level curves of with different values of .
*Recall that
We can extend the concept of level curves to functions of three or more variables.
Definition 1. Let . Those points in for which has a fixed value, say , form a set denoted by or by , which is called a level set of
When , the level set is called a level surface. As the graph of a function of three variables is a set (called hypersurface) in — hence, their graphs cannot be represented— the level surfaces are the only way to graphically represent a function of three variables.
Remark that the graph of a function is the same as the level surface of the function with value 0.
Example 7
Describe the level surfaces of .
Solution
The level surfaces are given by
For , This equation is the equation of a sphere of radius centered at the origin. For , there is no level curve (see Figure 9).
Figure 9: Level surfaces of .
Example 8
Describe the level surfaces of .
Solution
The level surfaces are given by , or
This equation describes the regular parabola () where its output is multiplied by . Some of the level surfaces are shown in Figure 10.
Figure 10: Level surfaces of
If gives the temperature at each point of 3-space, the level surfaces (curves of constant temperature) are called isothermal. In physics, when is a potential function, which gives the value of the potential energy at each point of space, the level surfaces are called equipotential or isopotential. Figure 11 shows the electrostatic equipotentials between two electric charges.