Professional Documents
Culture Documents
Lecture 1
• Functions of Several Variables
• Limit and Continuity
• Partial Derivatives
1
1. Functions of several variables
Example 1: Ohm’s law: says that voltage drop
across resistor V=RI
3
Functions of Two Variables
Definition. A function f of two
variables is a rule that assigns to
each ordered pair of real numbers
(x,y) in a set D a unique real number
denoted by f(x,y).
D is the domain of f
range = {f(x,y) | (x,y) Є D}
We often write z=f(x,y)
Usually, domain is the set of all pairs (x,y) for which the expression
for f is well-defined
4
Example 1
Find and sketch the domain of the function
f(x,y)=x ln(y2-x)
Solution
5
Example 2
Solution
The range:
6
Graph of Function of two variables
Definition. If f is a function of two
variables with domain D, then the
graph S of f is the set
𝑆= 𝑥, 𝑦, 𝑧 𝑧 = 𝑓 𝑥, 𝑦 , (𝑥, 𝑦) ∈ 𝐷}
8
Graph z=x2 -y2 z=(x2 +3y2 )exp(-x2 -y2 )
9
Level Curves Methods for visualizing functions: Arrow
diagrams, graphs, and contour map
Contour map: points of constant elevation are joined to form contour
lines, or level curves
The curves in domain of f defined by A topographic map: level
f(x, y) = k are called the level curves curves are curves of constant
of f. elevation above sea level
10
Example 3
Solution
11
Functions of three variables
A function of three variables, f , is a rule
that assigns to each ordered triple (x,y,z) in a
domain D of R3 a unique real number denoted
by w=f(x,y,z).
For instance, the temperature at a point on the
surface of the Earth depends on the longitude x
and latitude y of the point and on the time t, so
we could write T=f(x,y,t).
12
Example
Find the domain of f if
f(x,y,z)=ln(z-y)+xy cos(x+2y)
The expression for f(x,y,z) is defined as long as
z-y>0
so the domain of f is
D={(x,y,z) | z>y}
13
Functions of n variables
Functions of any number of variables can be
considered. A function of n variables is a rule
that assigns a unique number
y=f(x1, x2, …, xn)
to each n-tuple (x1, x2, …, xn) of real numbers.
We denote by Rn the set of all such n-tuples.
14
2. LIMITS AND CONTINUITY
15
Limit of function of two variables
Definition: We say that the limit of f(x,y) as (x,y) approaches
(a,b) is L and we write
lim f ( x, y ) = L if for every 0, there exists 0
( x , y ) → ( a ,b )
x+ y−4
Evaluate lim
( x , y ) →(2,2) ( x + y ) 2 − 16
x+ y−4 x+ y−4
lim = lim
( x , y ) →(2,2) ( x + y ) − 16
2 ( x , y ) →(2,2) ( x + y − 4)( x + y + 4)
1 1
= lim =
( x , y ) →(2,2) ( x + y + 4) 8
17
Example 2
xy − x
Evaluate lim
( x , y ) →(0,1) y −1
xy − x x( y − 1)( y + 1)
lim = lim
( x , y ) →(0,1) y − 1 ( x , y )→(0,1) ( y − 1)( y + 1)
x( y − 1)( y + 1)
= lim = lim x( y + 1) = 0
( x , y ) →(0,1) y −1 ( x , y ) →(0,1)
18
How to prove limit does not exist?
• Limit must be the
same along every
path that “leads” to
(a,b)
• Otherwise, limit
does not exist
19
Example 3
Find the limit if it exists, or show that
x −y
2 2
limit does not exist: lim ( x , y )→(0,0)
x +y
2 2
20
x −y
2 2
Solution f ( x, y ) = 2
x + y2
If we let (x,y)→ (0,0) along the straight line
x=y
➢ Then f(x,y)=0 y
➢ f(x,y)=0 → 0 along C: x=y
O x
If we let (x,y)→ (0,0) along Ox,
➢ Then y=0 and therefore
➢ f(x,y)=1. Thus, f(x,y)=1→ 1 along
Ox
Since 0 ≠1, the limit does not exist.
21
Example 4
2
xy
lim ( x , y )→(0,0)
x +y
2 4
22
2
xy
Solution lim ( x , y )→(0,0)
x +y
2 4
23
Continuity
Definition: f(x,y) is continuous at (a,b) if
lim f ( x, y ) = f ( a , b )
( x , y ) → ( a ,b )
24
Functions of three or more variables
28
Computing partial derivatives
To compute fx(x, y), treat y as a constant, and
calculate the derivative of the function f with
respect to x
To compute fy(x, y), treat x as a constant, and
calculate the derivative of the function f with
respect to y.
Notations:
f ( x, y ) f ( x, y )
f x ( x, y ) = , f y ( x, y ) =
x y
29
Example
Find partial derivatives of the function
f ( x, y ) = 2 x y + y
2 3
Solution.
f x ( x, y ) = 4 xy + 0 = 4 xy
f y ( x, y ) = 2 x + 3 y
2 2
30
Functions of more than two variables
( fx )x , ( fx ) y , ( f y )x , ( f y ) y
which are called second partial derivatives of
the function f(x,y)
33
If z=f(x,y), we use notations
f 2 f 2 z
( f x )x = f xx = = 2 = 2
x x x x
f 2 f 2 z
( f x ) y = f xy = = =
y x yx yx
f 2 f 2 z
( f y ) x = f yx = x y = xy = xy
f 2 f 2 z
(f )
y y
= f yy = =
y y y 2
= 2
y
34
Example
Find all second partial derivatives of the
function
f ( x, y ) = 2 x y + y
2 3
Solution. We have
f x ( x, y ) = 4 xy, f y ( x, y ) = 2 x + 3 y
2 2
So
f xx ( x, y ) = 4 y, f xy ( x, y ) = 4 x
f yx ( x, y ) = 4 x, f yy ( x, y ) = 6 y
35
Clairaut’s Theorem
If (a,b) is in a disk D, and fxy and fyx are both
continuous on D, then:
f xy (a, b) = f yx (a, b)
36
Homework Chapter 3
1. Function of several variables: 13, 14, 18, 35, 43, 44
2. Limits and Continuity: 14, 15, 18, 22, 25, 36
3. Partial derivatives: 21, 32, 36, 42, 55, 66, 68
4. Tangent Plane and Linear approximations: 5, 6, 19, 20
5. The chain rule: 6, 10, 12, 21, 22, 27
6. Directional Derivatives and Gradient Vectors : 8, 12, 15, 21,
28
7. Maximum and Minimum Values: 9, 15, 18, 32, 35, 44, 45
8. Lagrange Multipliers: 8, 11, 17, 20
37