Professional Documents
Culture Documents
Lecture 1 Function of Several Variables
Lecture 1 Function of Several Variables
—————
(Phan Thi Khanh Van) Function of several variables June 14, 2018 1 / 21
Table of contents
2 Domain, Range
(Phan Thi Khanh Van) Function of several variables June 14, 2018 2 / 21
Textbook: Calculus, James Stewart
Section: 14.1
(Phan Thi Khanh Van) Function of several variables June 14, 2018 3 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 4 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
π
V = r 2h
3
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
π
V = r 2h
3
- a function of 2 variables.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
π
V = r 2h
3
- a function of 2 variables.
Example 2
The temperature T at a point on the surface of the earth
with the longitude x and latitude y at a time t:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
π
V = r 2h
3
- a function of 2 variables.
Example 2
The temperature T at a point on the surface of the earth
with the longitude x and latitude y at a time t:
T = T (x, y , t)
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
Example 1
The volume of a cone, with height h and radius of the
base r , is
π
V = r 2h
3
- a function of 2 variables.
Example 2
The temperature T at a point on the surface of the earth
with the longitude x and latitude y at a time t:
T = T (x, y , t)
- a function of 3 variables.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 5 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 6 / 21
Function of several variables
W = W (T , v )
(Phan Thi Khanh Van) Function of several variables June 14, 2018 6 / 21
Function of several variables
W = W (T , v )
- a function of 2 variables.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 6 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 7 / 21
Function of several variables
W (−5o C , 30km/h)
(Phan Thi Khanh Van) Function of several variables June 14, 2018 7 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 7 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 7 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 8 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 8 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 8 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 8 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 9 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 9 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 9 / 21
Function of several variables
(Phan Thi Khanh Van) Function of several variables June 14, 2018 9 / 21
Function of several variables
Domain, Range
f :D→R ⊂R
(x, y ) → z = f (x, y )
(Phan Thi Khanh Van) Function of several variables June 14, 2018 10 / 21
Domain, Range
Domain, Range
f :D→R ⊂R
(x, y ) → z = f (x, y )
(Phan Thi Khanh Van) Function of several variables June 14, 2018 10 / 21
Domain, Range
Domain, Range
f :D→R ⊂R
(x, y ) → z = f (x, y )
D is domain.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 10 / 21
Domain, Range
Domain, Range
f :D→R ⊂R
(x, y ) → z = f (x, y )
D is domain.
R is range.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 10 / 21
Domain, Range
Example 5
√
4
x+y +1
Find the domain of the function f (x, y ) = x−1
(Phan Thi Khanh Van) Function of several variables June 14, 2018 11 / 21
Domain, Range
Example 5
√
4
x+y +1
Find the domain of the function f (x, y ) = x−1
(Phan Thi Khanh Van) Function of several variables June 14, 2018 11 / 21
Domain, Range
Example 5
√
4
x+y +1
Find the domain of the function f (x, y ) = x−1
f is defined
(Phan Thi Khanh Van) Function of several variables June 14, 2018 11 / 21
Domain, Range
Example 5
√
4
x+y +1
Find the domain of the function f (x, y ) = x−1
f is(defined
x +y +1≥0
⇔
x 6= 1
(Phan Thi Khanh Van) Function of several variables June 14, 2018 11 / 21
Domain, Range
Example 5
√
4
x+y +1
Find the domain of the function f (x, y ) = x−1
f is(defined
x +y +1≥0
⇔
x 6= 1
The domain of f is the
upper half plane w.r.t the
line x + y + 1 = 0,
excluding the line x = 1.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 11 / 21
Domain, Range
Example 6
Find the domain of the function
f (x, y ) = y sin x + ln(y 2 − x)
(Phan Thi Khanh Van) Function of several variables June 14, 2018 12 / 21
Domain, Range
Example 6
Find the domain of the function
f (x, y ) = y sin x + ln(y 2 − x)
(Phan Thi Khanh Van) Function of several variables June 14, 2018 12 / 21
Domain, Range
Example 6
Find the domain of the function
f (x, y ) = y sin x + ln(y 2 − x)
f is defined
(Phan Thi Khanh Van) Function of several variables June 14, 2018 12 / 21
Domain, Range
Example 6
Find the domain of the function
f (x, y ) = y sin x + ln(y 2 − x)
f is defined ⇔ y 2 > x
(Phan Thi Khanh Van) Function of several variables June 14, 2018 12 / 21
Domain, Range
Example 6
Find the domain of the function
f (x, y ) = y sin x + ln(y 2 − x)
f is defined ⇔ y 2 > x
The domain of f is the set
of points to the left of the
parabola x − y 2 .
(Phan Thi Khanh Van) Function of several variables June 14, 2018 12 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
f is defined
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
f is defined
⇔ 9 − x2 − y2 ≥ 0
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
f is defined
⇔ 9 − x2 − y2 ≥ 0
The domain of f is the disk
whose center is at O and
radius is 3.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
f is defined
⇔ 9 − x2 − y2 ≥ 0
The domain of f is the disk
whose center is at O and
radius is 3.
We have
p
0 ≤ 9 − x 2 − y 2 ≤ 3.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Domain, Range
Example 7
Find the domain,
p range of the function
f (x, y ) = 9 − x 2 − y 2
f is defined
⇔ 9 − x2 − y2 ≥ 0
The domain of f is the disk
whose center is at O and
radius is 3.
We have
p
0 ≤ 9 − x 2 − y 2 ≤ 3. So
the range of f is [0, 3].
(Phan Thi Khanh Van) Function of several variables June 14, 2018 13 / 21
Graphs, level curves
Graph
(Phan Thi Khanh Van) Function of several variables June 14, 2018 14 / 21
Graphs, level curves
Graph
(Phan Thi Khanh Van) Function of several variables June 14, 2018 14 / 21
Graphs, level curves
Graph
f :D→R ⊂R
(Phan Thi Khanh Van) Function of several variables June 14, 2018 14 / 21
Graphs, level curves
Graph
f :D→R ⊂R
Graph of f is the set:
S = {(x, y , z) ∈ R3 |z = f (x, y ), (x, y ) ∈ D}.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 14 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y =z =0
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
x =z =0
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
x = z = 0⇒ y = 3
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
x = z = 0⇒ y = 3
z intercept:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
x = z = 0⇒ y = 3
z intercept:
x =y =0
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 8
Sketch the graph of the function
z = f (x, y ) = 6 − 3x − 2y
3x + 2y + z = 6: the graph
of f is a plane.
x intercept:
y = z = 0⇒ x = 2
y intercept:
x = z = 0⇒ y = 3
z intercept:
x = y = 0⇒ z = 6
(Phan Thi Khanh Van) Function of several variables June 14, 2018 15 / 21
Graphs, level curves
Example 9
Sketch the graph
p of the function
z = f (x, y ) = 9 − x 2 − y 2
(Phan Thi Khanh Van) Function of several variables June 14, 2018 16 / 21
Graphs, level curves
Example 9
Sketch the graph
p of the function
z = f (x, y ) = 9 − x 2 − y 2
(Phan Thi Khanh Van) Function of several variables June 14, 2018 16 / 21
Graphs, level curves
Example 9
Sketch the graph
p of the function
z = f (x, y ) = 9 − x 2 − y 2
z ≥ 0, x 2 + y 2 + z 2 = 9:
the graph of f is the upper
hemisphere with center
(0, 0), radius 3.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 16 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
4 z 2 = x 2 + 2y 2 - cone
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
4 z 2 = x 2 + 2y 2 - cone
5 x = z 2 + 1 - parabolic cylinder
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
4 z 2 = x 2 + 2y 2 - cone
5 x = z 2 + 1 - parabolic cylinder
Commands in Matlab:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
4 z 2 = x 2 + 2y 2 - cone
5 x = z 2 + 1 - parabolic cylinder
Commands in Matlab:
syms x,y,z; z=1+xˆ2+yˆ2; ezsurf(z) or ezmesh(z);
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Example 10
Using Matlab to sketch the graphs
1 z = f (x, y ) = 1 + x 2 + 2y 2 - elliptic paraboloid
2 z = f (x, y ) = x 2 − y 2 - hyperbolic paraboloid (saddle)
3 x 2 + y 2 = 1 - circular (elliptic) cylinder
4 z 2 = x 2 + 2y 2 - cone
5 x = z 2 + 1 - parabolic cylinder
Commands in Matlab:
syms x,y,z; z=1+xˆ2+yˆ2; ezsurf(z) or ezmesh(z);
Creating a grid
[X,Y]=meshgrid(linspace(-2,2),linspace(-2,2));
Z=1+X.ˆ2+Y.ˆ2; mesh(X,Y,Z) or surf(X,Y,Z);
(Phan Thi Khanh Van) Function of several variables June 14, 2018 17 / 21
Graphs, level curves
Level curves
(Phan Thi Khanh Van) Function of several variables June 14, 2018 18 / 21
Graphs, level curves
Level curves
(Phan Thi Khanh Van) Function of several variables June 14, 2018 18 / 21
Graphs, level curves
Level curves
f :D→R ⊂R
(Phan Thi Khanh Van) Function of several variables June 14, 2018 18 / 21
Graphs, level curves
Level curves
f :D→R ⊂R
The level curves of a function f are the curves with
equations f (x, y ) = k, where k ∈ R is a constant. The
set of level curves is called contour map.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 18 / 21
Graphs, level curves
Example 10
A contour map for a function f is shown in the figure.
Use it to estimate the values of f (2, 4), f (4, 1).
(Phan Thi Khanh Van) Function of several variables June 14, 2018 19 / 21
Graphs, level curves
Example 10
A contour map for a function f is shown in the figure.
Use it to estimate the values of f (2, 4), f (4, 1).
f (2, 4) ' 75
(Phan Thi Khanh Van) Function of several variables June 14, 2018 19 / 21
Graphs, level curves
Example 10
A contour map for a function f is shown in the figure.
Use it to estimate the values of f (2, 4), f (4, 1).
f (2, 4) ' 75
f (4, 1) ' 63
(Phan Thi Khanh Van) Function of several variables June 14, 2018 19 / 21
Graphs, level curves
Example 11
Sketch the level curves of f = x 2 + y 2 + 1. Using Matlab
to sketch again.
(Phan Thi Khanh Van) Function of several variables June 14, 2018 20 / 21
Graphs, level curves
Example 11
Sketch the level curves of f = x 2 + y 2 + 1. Using Matlab
to sketch again.
Commands in Matlab:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 20 / 21
Graphs, level curves
Example 11
Sketch the level curves of f = x 2 + y 2 + 1. Using Matlab
to sketch again.
Commands in Matlab:
Creating a grid
[X,Y]=meshgrid(linspace(-3,3),linspace(-3,3));
(Phan Thi Khanh Van) Function of several variables June 14, 2018 20 / 21
Graphs, level curves
Example 11
Sketch the level curves of f = x 2 + y 2 + 1. Using Matlab
to sketch again.
Commands in Matlab:
Creating a grid
[X,Y]=meshgrid(linspace(-3,3),linspace(-3,3));
Assigning function
Z=1+X.ˆ2+Y.ˆ2;
(Phan Thi Khanh Van) Function of several variables June 14, 2018 20 / 21
Graphs, level curves
Example 11
Sketch the level curves of f = x 2 + y 2 + 1. Using Matlab
to sketch again.
Commands in Matlab:
Creating a grid
[X,Y]=meshgrid(linspace(-3,3),linspace(-3,3));
Assigning function
Z=1+X.ˆ2+Y.ˆ2;
Sketch the contour map
contour(X,Y,Z);
(Phan Thi Khanh Van) Function of several variables June 14, 2018 20 / 21
Graphs, level curves
Example 12
Sketch the level surfaces of f = x 2 + y 2 + z 2 .
(Phan Thi Khanh Van) Function of several variables June 14, 2018 21 / 21
Graphs, level curves
Example 12
Sketch the level surfaces of f = x 2 + y 2 + z 2 .
x 2 + y 2 + z 2 = k:
(Phan Thi Khanh Van) Function of several variables June 14, 2018 21 / 21
Graphs, level curves
Example 12
Sketch the level surfaces of f = x 2 + y 2 + z 2 .
x 2 + y 2 + z 2 = k: the √
level surfaces are spheres with
center (0, 0, 0), radius k
(Phan Thi Khanh Van) Function of several variables June 14, 2018 21 / 21
Graphs, level curves
Example 12
Sketch the level surfaces of f = x 2 + y 2 + z 2 .
x 2 + y 2 + z 2 = k: the √
level surfaces are spheres with
center (0, 0, 0), radius k
(Phan Thi Khanh Van) Function of several variables June 14, 2018 21 / 21