Section13.1Introduction to Multivariable Functions
Definition13.1.1.Function of Two Variables.
Let be a subset of . A function of two variables is a rule that assigns each pair in a value in . is the domain of ; the set of all outputs of is the range.
The domain is not specified, so we take it to be all possible pairs in for which is defined. In this example, is defined for all pairs , so the domain of is .
The output of can be made as large or small as possible; any real number can be the output. (In fact, given any real number ,.) So the range of is .
The domain is all pairs allowable as input in . Because of the square root, we need such that :
The above equation describes an ellipse and its interior as shown in Figure 13.1.5. We can represent the domain graphically with the figure; in set notation, we can write .
Figure13.1.5.Illustrating the domain of in Example 13.1.4
The range is the set of all possible output values. The square root ensures that all output is . Since the and terms are squared, then subtracted, inside the square root, the largest output value comes at ,:. Thus the range is the interval .
One can begin sketching a graph by plotting points, but this has limitations. Consider Figure 13.1.6.(a) where 25 points have been plotted of . More points have been plotted than one would reasonably want to do by hand, yet it is not clear at all what the graph of the function looks like. Technology allows us to plot lots of points, connect adjacent points with lines and add shading to create a graph like Figure 13.1.6.(b) which does a far better job of illustrating the behavior of .
While technology is readily available to help us graph functions of two variables, there is still a paper-and-pencil approach that is useful to understand and master as it, combined with high-quality graphics, gives one great insight into the behavior of a function. This technique is known as sketching level curves.
It may be surprising to find that the problem of representing a three dimensional surface on paper is familiar to most people (they just don’t realize it). Topographical maps, like the one shown in Figure 13.1.7, represent the surface of Earth by indicating points with the same elevation with contour lines. The elevations marked are equally spaced; in this example, each thin line indicates an elevation change in 50ft increments and each thick line indicates a change of 200ft. When lines are drawn close together, elevation changes rapidly (as one does not have to travel far to rise 50ft). When lines are far apart, such as near “Aspen Campground,” elevation changes more gradually as one has to walk farther to rise 50ft.
Figure13.1.7.A topographical map displays elevation by drawing contour lines, along with the elevation is constant. USGS 1:24000-scale Quadrangle for Chrome Mountain, MT 1987.
Given a function , we can draw a “topographical map” of the graph by drawing level curves (or, contour lines). A level curve at is a curve in the -plane such that for all points on the curve, .
When drawing level curves, it is important that the values are spaced equally apart as that gives the best insight to how quickly the “elevation” is changing. Examples will help one understand this concept.
Consider first . The level curve for is the set of all points such that . Squaring both sides gives us
,
an ellipse centered at with horizontal major axis of length 6 and minor axis of length 4. Thus for any point on this curve, .
Now consider the level curve for
.
This is also an ellipse, where and .
In general, for , the level curve is:
,
ellipses that are decreasing in size as increases. A special case is when ; there the ellipse is just the point .
The level curves are shown in Figure 13.1.9.(a). Note how the level curves for and are very, very close together: this indicates that is growing rapidly along those curves.
Figure13.1.9.Graphing the level curves in Example 13.1.8
In Figure 13.1.9.(b), the curves are drawn on a graph of in space. Note how the elevations are evenly spaced. Near the level curves of and we can see that indeed is growing quickly.
We begin by setting for an arbitrary and seeing if algebraic manipulation of the equation reveals anything significant.
We recognize this as a circle, though the center and radius are not yet clear. By completing the square, we can obtain:
,
a circle centered at with radius , where . The level curves for and are sketched in Figure 13.1.11.(a). To help illustrate “elevation,” we use thicker lines for values near 0, and dashed lines indicate where .
There is one special level curve, when . The level curve in this situation is , the line .
In Figure 13.1.11.(b) we see a graph of the surface. Note how the -axis is pointing away from the viewer to more closely resemble the orientation of the level curves in Figure 13.1.11.(a).
Seeing the level curves helps us understand the graph. For instance, the graph does not make it clear that one can “walk” along the line without elevation change, though the level curve does.
We extend our study of multivariable functions to functions of three variables. (One can make a function of as many variables as one likes; we limit our study to three variables.)
Let be a subset of . A function of three variables is a rule that assigns each triple in a value in . is the domain of ; the set of all outputs of is the range.
To evaluate the function we simply set ,, and in the definition of :
.
As the domain of is not specified, we take it to be the set of all triples for which is defined. As we cannot divide by , we find the domain is
.
We recognize that the set of all points in that are not in form a plane in space that passes through the origin (with normal vector ).
We determine the range is ; that is, all real numbers are possible outputs of . There is no set way of establishing this. Rather, to get numbers near 0 we can let and choose . To get numbers of arbitrarily large magnitude, we can let .
It is very difficult to produce a meaningful graph of a function of three variables. A function of one variable is a curve drawn in 2 dimensions; a function of two variables is a surface drawn in 3 dimensions; a function of three variables is a hypersurface drawn in 4 dimensions.
There are a few techniques one can employ to try to “picture” a graph of three variables. One is an analogue of level curves: level surfaces. Given , the level surface at is the surface in space formed by all points where .
If a point source is radiating energy, the intensity at a given point in space is inversely proportional to the square of the distance between and . That is, when , for some constant .
We can (mostly) answer this question using “common sense.” If energy (say, in the form of light) is emanating from the origin, its intensity will be the same at all points equidistant from the origin. That is, at any point on the surface of a sphere centered at the origin, the intensity should be the same. Therefore, the level surfaces are spheres.
We now find this mathematically. The level surface at is defined by
A small amount of algebra reveals
.
Given an intensity , the level surface is a sphere of radius , centered at the origin.
16
0.25
8
0.35
4
0.5
2
0.71
1
1
0.5
1.41
0.25
2
0.125
2.83
0.0625
4
Figure13.1.15.A table of values and the corresponding radius of the spheres of constant value in Example 13.1.14
Figure 13.1.15 gives a table of the radii of the spheres for given values. Normally one would use equally spaced values, but these values have been chosen purposefully. At a distance of 0.25 from the point source, the intensity is 16; to move to a point of half that intensity, one just moves out 0.1 to 0.35 — not much at all. To again halve the intensity, one moves 0.15, a little more than before.
Note how each time the intensity if halved, the distance required to move away grows. We conclude that the closer one is to the source, the more rapidly the intensity changes.
Compare the level curves of Exercises 21 and 22. How are they similar, and how are they different? Each surface is a quadric surface; describe how the level curves are consistent with what we know about each surface.