Chap2 Studentsversion
Chap2 Studentsversion
1
2.1 First order partial derivatives
Definition:
The partial derivative f x ( x, y ) of f ( x, y ) with respect
to x is obtained by holding y constant and
differentiating with respect to x. The partial
derivative f y ( x, y ) with respect to y is obtained by
holding x constant and differentiating with respect to
y.
f ( x x , y ) f ( x , y )
f x ( x, y ) lim
x 0 x
f ( x , y y ) f ( x , y )
f y ( x, y ) lim
y 0 y
f f
Other notations: f x , fy
x y
2
Example: Find f x (0,1) and f y (0,1) if
(i) f ( x, y ) 2 x 2 3 x 2 y y 2 x y 1
sin(x 2 y )
(ii) f ( x, y )
(1 x)
𝜕𝑤 1
Example: Given 𝑤 = 𝑥 sin(𝑥𝑦𝑧). Find at (1, , 𝜋)
𝜕𝑥 2
3
Partial Derivative as a Slope
𝑦0
Y
𝑥0
4
Z Curve D Tangent line
𝑦0
Y
𝑥0
5
Example:
Compute the slope of the tangent line to the surface
𝑓(𝑥, 𝑦) = 𝑥𝑦 3 + 𝑥 3 𝑦 at point 𝑃(1, −1, −2) in the direction
parallel to the 𝑥𝑧-plane.
Example:
2
Point P moves along the intersection of plane x with
3
the upper hemisphere 𝑧 = √1 − 𝑥 2 − 𝑦 2 . Find the rate of
2 1 2
change of z with respect to y at point P , , .
3 3 3
6
2.2 Higher order Partial Derivatives
f 2 f
f x f xx 2
x x x x
f 2 f
f x f xy
y y x yx
f 2 f
f y f yx
x x y xy
f 2 f
f y f yy 2
y y y y
If z f ( x, y ) , then
2 2 z
f ( x, y ) f xx ( x, y ) z xx
x 2
x 2
7
Example:
(i) Find f xx , f xy , f yx , f yy of f ( x, y ) x 2 ye y
(ii) If 𝑧 = sin(3𝑥 + 2𝑦), show that
3𝑧𝑦𝑦 − 2𝑧𝑥𝑥 = 6𝑧.
8
2.3 Chain rules
z z u z v
x u x v x
z z u z v
y u y v y
z z
example: By using the chain rules find and if
x y
z u 2 v 2 with u x 2 y and v x 2 cos y .
9
Three intermediate variables and three independent
variables
If w f (u , v, r ) , u g ( x, y, z ), v h( x, y, z ) and
r s ( x, y, z ) then
w w u w v w r
x u x v x r x
w w u w v w r
y u y v y r y
w w u w v w r
z u z v z r z
Example:
w w w
(i) Find , and if 𝑤 = 𝑟 2 + 𝑠 + 2𝑡,
x y z
r x 2 y 2 z 2 , s xyz and t yz 2 .
10
Three intermediate variables and one independent
variable
Example:
dw
Find by using the chain rule if w xyz with
dt
x t 3 , y t 2 and z t 4
11
2.4 Implicit Function
Let F ( x, y ) 0 with y f (x) is defined implicitly.
We define F as:
w F (u , y ) with u x, y f ( x)
u x
w
y x
Using the fact that u and y are functions with one variable,
we obtain
dw w du w dy
.
dx u dx y dx
dw
w F ( x, y ) F ( x, f ( x)) 0 for all x, then 0.
dx
du dy
u x and y f (x) , then 1 and f ' ( x)
dx dx
dw w du w dy
dx u dx y dx
w w
0 (1) f ' ( x)
u y
dy w / u w / x F ( x, y )
f ' ( x) x
dx w / y w / y Fy ( x, y )
12
Theorem 2.4 If F ( x, y ) 0 defines an implicit
function with 𝑓(𝑥), then
dy F ( x, y )
x
dx Fy ( x, y )
dy
example: Find , if y f (x) is defined as
dx
𝑦 4 + 3𝑦 − 4𝑥 3 = 5𝑥 + 1
z z
example: Find and y if z as a function of two
x
variable x and y is implicitly defined as
𝑥𝑦 2 + 𝑧𝑦 = −𝑥 sin 𝑧
13
2.5 Applications of Partial Derivatives
z f ( x x , y y ) f ( x , y )
f ( x x, y ) f ( x, y ) f ( x, y y ) f ( x, y )
fx , fy
x y
which implies
𝑓(𝑥 + 𝛿𝑥, 𝑦) − 𝑓(𝑥, 𝑦) ≈ 𝑓𝑥 (𝑥, 𝑦)𝛿𝑥
Definition:
Suppose 𝑧 = 𝑓(𝑥, 𝑦), and 𝑓𝑥 and 𝑓𝑦 exist. If 𝛿𝑥 and 𝛿𝑦 are
increments of x and y respectively, then an approximate
increment 𝛿𝑧 of z is given by
14
If 𝛿𝑥 ⟶ 0 and 𝛿𝑦 ⟶ 0 (very small), then the increment in
𝛿𝑥 is denoted as 𝑑𝑥, increment in 𝛿𝑦 is denoted as 𝑑𝑦, and
the increment in 𝛿𝑧 is denoted as 𝑑𝑧. The 𝑑𝑧 is known as
the differential of 𝑧. Therefore
𝛿𝑧 ≈ 𝑑𝑧
15
.
Example:
(i) If z f ( x, y ) 3 x 2 xy , use a total differential
to approximate the change in f ( x, y ) as ( x, y )
varies from the point (1,2) to the point 1.01,1.98
𝛿𝑧
is the relative error
𝑧
𝛿𝑧
× 100% is the percentage error
𝑧
𝛿𝑧
| 𝑧 | × 100% maximum percentage error
16
2.5.2 Local Extrema
Definition 2.5
Suppose 𝑧 = 𝑓(𝑥, 𝑦) is a function of two variables defined
in a domain D, and that (𝑎, 𝑏) is in D.
17
Theorem 2.7 Second Derivatives Test
Let
2
𝐺 (𝑎, 𝑏) = 𝑓𝑥𝑥 (𝑎, 𝑏)𝑓𝑦𝑦 (𝑎, 𝑏) − [𝑓𝑥𝑦 (𝑎, 𝑏)]
Then
18
Examples: Find the critical point(s) of the following
functions and determine the nature of those points.
.
(i) 𝑓(𝑥, 𝑦) = 2𝑦 3 − 6𝑥𝑦 − 𝑥 2
(ii) 𝑓(𝑥, 𝑦) = 𝑥 2 − 𝑦 2 + 2𝑥 + 6𝑦 − 4
19
2.6 Absolute Extrema
Definition:
1. A region in ℝ2 is called closed if it includes its
boundary. A region is called open if it doesn’t include
any of its boundary points.
2. A region in ℝ2 is called bounded if it can be
completely contained in a disk/rectangle. In other
words, a region will be bounded if it is finite.
20
Steps to find the absolute extrema of a function on a closed
and bounded region.
1. Find the critical points of the function in the region,
and compute the values of 𝑓 at the critical points.
21