Chapter 3: Functions of Several Variables
Section 3.1: Functions and Their Graphs
Essentials
In single-variable calculus, the notation y=fx is used to indicate that the values taken on by y are determined by the function whose name is f and whose rule is the expression fx. Such a function is said to be defined explicitly. Alternatively, the equation y−fx=0, or more generally gx,y=0, usually defines a function y=yx implicitly.
The typical multivariate calculus course deals with functions having either two or three independent variables. The equation of a plane, namely, a x+b y+c z+d=0, provided the previous chapters with an example of a linear function of two variables. The function z=fx,y= −a x+b y+d/c is defined explicitly, whereas the equation a x+b y+c z+d=0 defines this function implicitly.
The domain of discourse for the remainder of this Guide is delineated in Table 3.1.1.
Description
Number of Independent Variables
Two
Three
Explicit
z=fx,y
w=fx,y,z
Implicit
gx,y,z=0
gx,y,z,w=0
Parametric
x=xs,t,y=ys,t,z=zs,t
Table 3.1.1 Domain of discourse for functions of several variables
In Table 3.1.1, the implicit cases g=0 define an explicit function locally, under suitable conditions. The equation gx,y,z=0 can generally be solved for one of the three variables in terms of the other two; the equation gx,y,z,w=0, one of the four variables in terms of the other three.
The explicitly defined z=fx,y can also be interpreted as parametrically defined, with the parameters s and t taken as x and y, respectively. The parametric representation is then x=x,y=y, z=zx,y.
In single-variable calculus, graphs of fx are used to study the properties of the function y=fx. Similarly, functions of two and three independent variables yield to graphical analysis. Table 3.1.2 lists the most common graphs that will appear in the multivariate calculus course.
Function
Graph
Maple Command
Surface
plot3d
Contours (i.e., level curves)
plot3d, contourplot, contourplot3d, CrossSection
Plane (or Cross) Sections
CrossSection
Surface: z=zx,y
Contours
implicitplot3d
implicitplot3d and intersectplot
Level Surfaces
Table 3.1.2 Graphs for functions of two and three variables. The plot3d, contourplot, and contourplot3d commands accept parametrically defined objects.
An explicit function of two variables such as fx,y is graphed by the plot3d command as a surface, where the height on the surface corresponds to the value of f at the point x,y. On this surface, lines of equal height are called contours, or level curves.
The plot3d and contourplot3d commands draw the contours in place on the surface. Of course, these 3D graphs can be rotated so that when viewed from above, it appears that the contours are all in the plane z=0. The image so generated is called a contour plot or a contour map. The contourplot command draws a 2-dimensional image of the contours where all the level curves have been projected to the plane z=0. The plot3d command exists at top-level, but the contourplot and contourplot3d commands are in the plots package.
The intersection of a surface with planes of the form x=c or y=c, c constant, are called plane (or cross) sections, and are best drawn by the CrossSection command in the Student MultivariateCalculus package. The tutor, also a part of the Student MultivariateCalculus package, implements the CrossSection command, which draws both level curves and plane sections.
An implicitly defined function of two variables, one determined by an equation of the form gx,y,z=0, is graphed as a surface in Maple with the implicitplot3d command, also a part of the plots package.
A function of three independent variables needs four axes for its graph, so is a challenge for the human imagination which seems restricted to seeing the world with just three spatial coordinates. (The philosopher Kant used the phrase categorical imperative to describe this limitation.) As difficult as it is to imagine such a graph, functions of three independent variables are abundant in the physical sciences. At each point in a room whose geographical coordinates are x,y,z there is a temperature T, a pressure p, a density ρ, etc. Each of these physical quantities thereby generates a function of the form w=fx,y,z, where w is the physical quantity.
One way to visualize the function of three variables is by graphing its level surfaces. Connect all the points in the room that have the same temperature T0 to form the isothermal surface fx,y,z=T0, or T0−fx,y,z=gx,y,z=0. Thus, each level surface of a function of three variables can be viewed as an implicitly defined function of two variables. According to Kant, it's the best that can be done.
Unfortunately, Maple does not have a command that draws a collection of level surfaces for a function of four variables. The closest Maple comes to providing that functionality is the implicitplot3d command, which draws a single surface defined implicitly by an equation of the form gx,y,z=0. Undoubtedly, the reason for this is that the command was created before Maple could render a surface with transparency. If the level surfaces are one inside the other, like the layers of an onion, without transparency only the outer surface is visible!
The Plot Builder generally can be used interactively to produce the requisite graphs needed in the study of functions of one and several variables. The various options for the underlying commands can be accessed through the various panels of the Plot Builder, but there are occasions where direct access to specifically the "right" set of options is easier to achieve by a direct application of the relevant command.
Representing the value of a function on a particular contour in a contour map is a challenge. Although it would be ideal if the numeric value of each contour could appear on the graph, this would make for a very crowded display. All the mechanisms in Table 3.1.2 at best use an indeterminate shading to indicate how function values vary across contours. The task template is a more direct and interactive tool for this purpose. This, and the other graphing tools in Table 3.1.2 are illustrated in the examples below.
The generalization of the idea of level curves and surfaces to higher dimensions, is that of the level set. This Guide, however, sticks with the two more specific terms: level curves, and level surfaces.
Examples
Example 3.1.1
Graph the surface determined by z=fx,y=10−3 x2−7 y2.
Example 3.1.2
Obtain a contour map of the function z=fx,y=10−3 x2−7 y2.
Example 3.1.3
Graph the surface determined by z=fx,y=10−3 x2−7 y2, z∈−10,10, and on this surface, display the level curves. Under the surface, show the level curves projected onto the plane z=−15.
Example 3.1.4
Graph the surface zx,y defined implicitly by the equation x⁢y+z⁢coshz−1=1.
Example 3.1.5
Obtain a contour map for the function zx,y defined implicitly by the equation x⁢y+z⁢coshz−1=1.
Example 3.1.6
Obtain plane sections x=c for the surface defined by z=fx,y=10−3 x2−7 y2.
Example 3.1.7
Obtain plane sections y=c for the surface defined by z=fx,y=10−3 x2−7 y2.
Example 3.1.8
Obtain plane sections x=c for the surface defined implicitly by the equation x⁢y+z⁢coshz−1=1.
Example 3.1.9
On the domain 0≤x,y,z≤3, graph the level surfaces w=5 and w=15 for the function w=ln⁡y+sinh⁡x⁢z+y⁢cosh⁡x+z.
Example 3.1.10
On the domain −2≤s,t≤2, graph the surface defined parametrically by the equationsx=3 t+s2,y=5 s−t2,z=s2+t2.
Example 3.1.11
On the domain −2≤s,t≤2, obtain a contour map for the surface defined parametrically by the equations x=3 t+s2,y=5 s−t2,z=s2+t2.
<< Chapter Overview Table of Contents Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document