Functions of Several Variables
Functions of Several Variables
Jamshidi
5 Chapter 14: Partial Derivatives
In the previous chapter, we studied vector functions
~r(t) = hf(t), g(t), h(t)i
which took in a scalar t and spit out a vector ~r(t). In this chapter, we will study functions that
take in multiple scalar inputs, like x and y, but produce just one scalar output
z = f(x, y).
These are called functions of several variables. They are the main object of study in multivariate
calculus.
5.1 Functions of Several Variables
I know how to nd the domain of a function of several variables. If there are two
or three input variables, I know how to graph the domain.
I know how to nd the range of a function of several variables. I can graph it.
I know how to graph level curves when there are two input variables.
Objectives
The rst step in understanding any function is being able to recognize its domain and range.
Denition 5.1.1 The domain, D, of a function of many variables, like f(x, y), is the set of values
f takes in. Its range, R, is the set of values f spits out.
While this sounds simple, in practice we have to consider situations we didnt in two-dimensional
calculus. Namely, we have to think about the variables individually and together.
Here are some things to keep in mind when you are doing this problems:
The range will always be one-dimensional.
The domain will have the same number of dimensions as there are input variables.
The domain needs to include *all* possible inputs, which can make graphing it very tricky.
95 of 146
Multivariate Calculus; Fall 2013 S. Jamshidi
5.1.1 Examples
Example 5.1.1.1 For the function below, nd and sketch the domain then nd its range.
f(x, y) =
x + y
Any value under the square root must be greater than or equal to zero. Therefore, the domain
is
D = {(x, y) | x + y 0}
Surely if both x and y are positive numbers, then x+y 0. But, is that enough? What if x = 4
and y = 2. Their sum is then 2, which is greater than 0. How to we account for cases like this?
This might not be obvious. To help us gure this out, well think about the extreme cases. That
would be x = y and y = x. These are cases like (x, y) = (4, 4) or (x, y) = (2, 2). Both of
these cases correspond to the same line: y = x. Everything above this line will satisfy the domain
restriction. Check a few points to convince yourself.
The range are all the values
xy
96 of 146
Multivariate Calculus; Fall 2013 S. Jamshidi
As before, any value under the square root must be greater than or equal to zero. As a result, our
domain is
D = {(x, y) | xy 0}
How do we graph this? If xy 0, then were looking at two regions.
1. x 0 and y 0
2. x 0 and y 0 (remember, the product of two negative numbers is positive!)
The range are all the values
x + y
Use that information to sketch the 3 dimensional graph.
Lets pick values for f and write the respective functions.
f Function
0 0 =
x + y = 0 = x + y
1 1 =
x + y = 1 = x + y
2 2 =
x + y = 4 = x + y
3 3 =
x + y = 9 = x + y
Now, we graph all these lines on the same graph.
100 of 146
Multivariate Calculus; Fall 2013 S. Jamshidi
From this, we see that the curve is increasing in height but the increasing is slowing down. Here
is the graph of the three dimensional surface seen from two dierent angles.
Example 5.1.2.2 Graph the level curves of
f(x, y) =
xy
Use that information to sketch the 3 dimensional graph.
First, we pick z values. In the picture below, I have graphed z = 1, z = 2, ..., and z = 7.
f Function
0 0 =
xy
1 1 =
xy
2 2 =
xy
3 3 =
xy
4 4 =
xy
5 5 =
xy
6 6 =
xy
101 of 146
Multivariate Calculus; Fall 2013 S. Jamshidi
Given the shape of the level curve, our graph is then
102 of 146
Multivariate Calculus; Fall 2013 S. Jamshidi
The domain is a set of inputs that are valid for the function.
The range is all the values produced by the function. It will always be one-
dimensional for functions of multiple variables.
The level curves are the lines for various values of the function, f.
Drawing level curves is a technique for graphing three-dimensional surfaces.
Summary of Ideas: Functions of Several Variables
103 of 146