Lecture Notes for Section 12.1

advertisement
Calc 3 Lecture Notes
Section 12.1
Page 1 of 4
Section 12.1: Functions of Several Variables
Big idea: Functions of two or more variables are just as reasonable to talk about as are functions
of a single variable.
Big skill: You should be able to identify the domain of and graph functions of two variables.
Definition: Function of Two Variables
A function of two variables is a rule that assigns a single real number to each ordered pair of
numbers (x, y) in the domain of the function.

We usually write the function as f(x, y)

x and y are the independent variables, and are chosen independently of each other

If we set z = f(x, y), then z is the dependent variable.

The graph of z = f(x, y) will be a surface embedded in a 3D space.

For a function f defined on a domain of D  2 , we sometimes write f : D  2  to
indicate f maps points in two dimensions to real numbers.

Not every surface is a function, because by definition, f(x, y) will generate exactly one
output for z given any x and y.

Thus, there is an equivalent of the vertical line test from two dimensions, which is that a
surface in three dimensions is a function if and only if no line parallel to the z-axis intersects the
surface more than once.

Example: The unit sphere described by the equation x2 + y2 + z2 = 1 can not be
represented by a single function; but it can be represented using the two functions
z  1  x 2  y 2 and z   1  x 2  y 2 .

The domain of a function of two variables is the set of all ordered pairs (x, y) for which
f(x, y) is defined.
Definition: Function of Three Variables
A function of three variables is a rule that assigns a single real number to each ordered triple of
numbers (x, y, z) in the domain of the function.

Example: w = f(x, y, z) represents a surface embedded in 4 dimensions…
Calc 3 Lecture Notes
Section 12.1
Page 2 of 4
Practice: Find the domain of the following functions
1. f  x, y   y ln   x 
2.
f  x, y  
2x
x  y2
3.
f  x, y  
1
4.
f  x, y, z  
2
9  x2  y 2
cos  x  z 
xy
Winplot for making 3D Graphs:
gGaph of z  x 2  y 2 on Winplot using
“explicit” mode with 2  x  2,  2  y  2 :
Same graph using “parametric” mode, letting
x  u cos(t ), y  u sin(t ), z  u2 ,
with 2  u  2, 0  t  2
Calc 3 Lecture Notes
Section 12.1
Page 3 of 4
Below is a graph of the equation z  e  x sin y for 2  x  5,  10  y  10 . Notice how
considering traces of the form x  constant and y  constant helps us to understand the graph
Calc 3 Lecture Notes
Section 12.1
Page 4 of 4
Contour Plots & Level Curves
Contour plots are 2-dimensional images (drawn in the xy-plane) that provide valuable
information about a surface z  f x, y  that lives in 3D space. A contour plot consists of a
number of level curves for the surface.
Specifically, given a function of two variables, z  f x, y  , a level curve is the (2D) graph of
the curve f x, y   c , for some constant c. This amounts to intersecting the surface z  f x, y 
with the plance z  c (a plane perpendicular to the z-axis), and projecting the resulting curve of
intersection into the xy-plane. If we generate a number of level curves and plot them all on the
same set of axes, the resulting graph is called a contour plot.
The figure on the left below is a graph of the paraboloid z  x 2  2 y 2 , plotted on Winplot using
“explicit” mode with 2  x  2,  2  y  2 . On the right is a Winplot-generated contour plot
for the surface. The level curves appear to be ellipses, as can easily be confirmed from the
equation by setting z  constant .
z
x
y
Level curves can be generated on Winplot after graphing the surface by clicking on “levels” in
the Inventory window. I told Winplot to generate 10 level curves using equally-spaced constant
values of z with a low value of 0 and a high value of 5. After entering the low and high values,
click on “auto”, then click on “see all” to view the contour plot.
Much information about the shape of a surface can be gained from the contour plot alone,
making contour plots particularly valuable tools, especially if 3D graphing software is not readily
available (In this example you could have easily deduced the shapes of the level curves from the
equation alone and drawn them by hand).
In this case, for example, without even having a graph of the surface in front of us, we could
have deduced from the contour plot that the surface has elliptical traces that get bigger as we
increase z. Also, from the fact that successive level curves get closer together as we move away
from the origin, we could have deduced that the surface is rising at an ever-faster rate the higher
we go.
Download