Professional Documents
Culture Documents
Mat495 Chapter 4
Mat495 Chapter 4
MAT 295
Chapter 4
4.1 Introduction
In the previous chapter, the procedure to determine the second order and
higher order partial derivatives was discussed. In Chapter 4, the chain rule
and implicit differentiation will be extended to function of more than one
variable. These will allow the generation of useful relationships among the
derivatives and partial derivatives of various functions.
51
MAT 295
chain rule for functions of one variable before we move further into functions
of several variables.
If z is a differentiable function of x and x is a differentiable function of t, then
the chain rule for functions of one variable states that, under assumption, z
becomes a differentiable function of t with
dz dz dx
dt dx dt
z f(x)
t
x
g
g(t)
z
f
x g(t)
f(x)
g
z = f(g(t))
(a)
(b)
Figure 4.1
Figure 4.1 illustrates the tree diagram for the chain rule for functions of one
variable. Figure 4.1(a) is a tree diagram in horizontal form where as Figure
4.1(b) is in vertical form.
Theorem
Chain Rule: One Independent Variable
Let z f ( x, y ), where f is a differentiable function of x and y. If x g(t ) ,
y h(t ) , where g and h are differentiable functions of t, then z is a
differentiable function of t,
dz z dx z dy
dt x dt y dt
52
x=g(t)
g
g
x
x
z
x
z=f(x, y)
z
z
y
MAT 295
f
h
h
g
g
x
t
z = f(g(t), h(t))
y=h(t)
y(a)
dy
dt
t
(b)
Figure 4.2
Theorem
Chain Rule: Two Independent Variables
Let z f ( x, y ), where f is a differentiable function of x and y. If x g(s, t ) ,
y h(s, t ) , such that the first partials
and
x x y
y
z
,
,
, and
all exist, then
s t s
t
s
z
exist and are given by
t
z z x z y
z z x z y
and
s x s y s
t x t y t
z
x
z
z
y
x
t
x
s
y
t
z
z
x
x
x
t
y
y
s
(a)
x
s
s
(b)
Figure 4.3
53
z
y
y
y
t
y
s
MAT 295
Proposition
Let w f ( x, y, z) be a function defined in region R in space. Suppose that is
a curve in R given parametrically by x x(t ) , y y (t ) , z z(t ) , with t = 0
corresponding to ( x0 , y 0 , z0 ) . Then, considering w f ( x(t ), y (t ), z(t )) as a
function of t along , we have
dw w dx w dy w dz
dt
x dt y dt
z dt
(1)
That is, the rate of change of w with respect to t along is given by (1) .
Example 1
Find
dz
, z ln( x 2 y 2 ) , x e t , y e t
dt
Solution
dt x dt y dt
z
x
z
y
dx
dt
dy
dt
Figure 4.4
54
MAT 295
dy
et
dt
2
x ( x y 2 )
z
2y
2
y ( x y 2 )
dt ( x 2 y 2 ) ( x 2 y 2 )
2
2
(x y
ye
)
(e
2t
(e
2t
e e
t t
e 2t )
2
xe t
2t
e
)
2t
e t e t
e 2t
; substitute x e t and y e t
Example 2
Let w f ( x, y, z) xy y 2z . Consider the curve given parametrically by
x t , y t 2 , z ln t . Find
dw
at t = 2.
dt
Solution
w
x
w
y
x
dx
dt
dz
dt
dy
dt
Figure 4.5
Since
w
z
dw w dx w dy w dz
dt
x dt y dt
z dt
55
then
w
y
x
w
x 2yz
y
w
y2;
z
dx
1
dt
dy
2t
dt
dz 1
.
dt t
and
Hence,
dw w dx w dy w dz
dt
x dt y dt
z dt
1
y (1) ( x 2yz )(2t ) y 2
t
At t = 2,
x t 2
y t 2 22 4
z ln t ln 2
giving
dw
1
4(1) (2 2( 4) ln 2)(4) 16
dt
2
20 32 ln 2
Example 3
If v f ( p 2 q 2 ) , show that p
v
v
q
0.
q
p
Solution
v
dv
dw
w
p
w
q
Figure 4.6
v dv w
.
q dw q
v dv w
.
p dw p
56
MAT 295
v dv
.2p
p dw
v dv
.2q
q dw
2q
p
MAT 295
dv
dw
2p
dv
dw
v
v
dv
dv
q
2 pq
2pq
q
p
dw
dw
0
Example 4
The radius of a cylinder increases at the rate of 0.2cm/s while the height
decreases at the rate of 0.5cm/s. Find the rate at which the volume is
changing at the instant when r = 8cm and h = 12cm.
Solution
Given that
dr
0 .2
dt
dh
0.5
dt
while
V r 2h V (r , h)
where the radius (r) and height (h) depend on time (t). Hence, the tree
diagram to illustrates the given information is represented by Figure 4.7.
V
r
V
h
h
dr
dt
dh
dt
Figure 4.7
dV
dr
dh
Vr
Vh
dt
dt
dt
2rh
dr
dh
r 2
dt
dt
57
Example 5
Suppose that w cos(xy ) y 2 , x e3t and y sin 3t , find
Solution
w
x
w
y
y
dx
dt
dy
dt
t
Figure 4.8
dw w dx w dy
dt
x dt y dt
w
sin( xy ).(y )
x
w
sin( xy ).( x ) 2y
y
dx
3e 3t
dt
dy
3 cos 3t
dt
dw w dx w dy
dt
x dt y dt
3e 3t y sin xy 3 cos 3t 2y x sin xy
Warm up exercise
Given that z ln( 2x 2 y ) ; x t 4 , y t 2
z z dx
dy
, ,
and
.
x y dt
dt
dz
(ii) Then apply chain rule to find
.
dt
(iii) Substitute x t 4 and y t 2 in your answer at (ii).
58
dw
dt
MAT 295
MAT 295
Theorem
The Implicit Function Theorem states that if F is defined on an open disk
containing (a,b), where F (a, b) 0 , Fy (a, b) 0 , and Fx and Fy are
continuous on the disk, then the equation F ( x, y ) 0 defines y as a function
of x near the point (a,b) and the derivative of this function is given by:
f
F
dy
x x
f
dx
Fy
y
Proposition
Suppose that f is a differentiable function of ( x, y , z ) near the point
( x0 , y 0 , z0 ) and fz ( x0 , y 0 , z0 ) 0. Then the equation f ( x, y, z) 0 defines z
and
fy
z
y
fz
Example 6
dy
Find
by using implicit differentiation.
dx
a) x 3 y 3 2x 2 y 100
b) x tan y y sin x
59
MAT 295
Solution
a) x 3 y 3 2x 2 y 100
Rewrite
F ( x, y ) x 3 y 3 2x 2 y 100 0
Apply theorem
F
dy
x
dx
Fy
4 xy 3 x 2
3y 2 2x 2
b) x tan y y sin x ,
f ( x, y ) x tan y y sin x 0
Fx tan y y cos x
Fy x sec 2 y sin x
F
dy
x
dx
Fy
y cos x tan y
x sec 2 y sin x
Example 7
Obtain the equation of the tangent line to the graph y 3 6 xy x 3 1 at
a point (1, 2).
Solution
60
MAT 295
dy
dx
where
dy Fx
dx
Fy
Since,
F ( x, y ) y 3 6xy x 3 1
Fx 6y 3 x 2
Fy 3y 2 6 x
F
dy
x
dx
Fy
6y 3 x 2
3y 2 6 x
At (1,2)
dy 6(2) 3(1)2
dx 3(2)2 6(1)
3
2
y 2 3
x 1 2
y 2
y
3
( x 1)
2
3
( x 1) 2
2
1
(3 x 1)
2
Example 8
If 4x 2 8xy 9y 2 8x 24y 4 0 and
Solution
F ( x, y ) 4x 2 8xy 9y 2 8x 24y 4
Fx 8x 8y 8
61
dy
0 , show that x y 1 .
dx
MAT 295
Fy 8x 18 y 24
F
dy
x
dx
Fy
8 8 x 8y
0
8 x 18 y 24
8 8 x 8y 0
x y 1
Example 9
Given f ( x, y, z) z 3 3xz2 y 2z , find expression for
z
z
and
where
y
x
Solution
f
3z 2
x
f
2yz
y
f
3z 2 6 xz y 2
z
Hence,
z
3z 2
x
3z 2 6 xz y 2
and
z
2yz
2
y
3z 6 xz y 2
x 10
and
z 1
y
5
62
MAT 295
Warm up exercise
Let y 2 6 xy x 2 1.
(i) Rewrite the function as F ( x, y ) 0 .
(ii) Find the partial derivatives Fx and Fy .
(iii) Then,
the tangent
Exercise 4
Chain Rule
1.
Use the chain rule to find the rate of change of z with respect to t.
a)
z 3x 2 y 3 ; x t 4 , y t 2
b)
1
z 3 cos x sin xy ; x , y 3t
t
c) z ln 2x 2 y ; x t 4 , y t 2 1
d)
2.
z 1 x 2xy 4 ; x ln t , y t
u
v
a) z e 2 xy ,
x 2u v ,
b) z sin tan ,
3u v, u v
x
,
y
x v cos u, y u sin v
c) z
d) z x 2 y tan x ,
3.
z
z
.
and
u
v
u
,
v
y u 2v 2
Find zu if
a) z
rs
2
r s2
b) z ln( x 2 y 2 2w ) ,
r uv and
s u 2v
x u v, y u v, w 2 sin uv
63
MAT 295
dw
when t 1.
dt
4.
If w x 3 y 4 and x t 2 2 , y 5t 3 , evaluate
5.
Z
when
t
t 1, r 2 .
6.
dz
when t = 3.
dt
Implicit Function
1. Find
dy
by using implicit partial differentiation:
dx
a) x 3 3xy 2 y 3 5 x 2 y 3 cos y 0
b) sin x cos y sin x cos y
c) e xy 1 ye y
d) x xy 4 3y
4y 2x
dy
300 .
given that
x
y
dx
2.
Find
3.
dz
in
dx
term of x and y.
4.
5.
If e xy x y 1, evaluate
6.
7.
Let x 2 z 2 y 3 10 , find
8.
dy
when x tan y y sin x .
dx
z
z
and
.
y
x
64
MAT 295
Miscellaneous Exercises
1.
The radius r and height h of a right circular cylinder are increasing at rates of
0.02 cm/min and 0.01 cm/min respectively. Using partial differentiation, find the
rate at which the volume is increasing when r = 4 cm and h = 7 cm.
2.
Two straight roads intersect at right angles. Car A, moving on one of the roads,
approaches the intersection at 25km/h and car B, moving on the other road,
approaches the intersection at 30km/h. At what rate is the distance between
the cars changing when A is 0.3 km from the intersection and B is 0.4 km from
the intersection?
3.
Suppose that the portion of a tree that is usable for lumber is a right circular
cylinder.
The radius of a right circular cone is increasing at a rate of 1.5 cm/s while the
height is decreasing at a rate of 2 cm/s. If the surface area of the cone is
S r 2 r r 2 h2 , find the rate of change of S when the radius is 4 cm and
As a solid right circular cylinder is heated, its radius r and height h increase;
hence, so does its surface area S. Suppose that at the instant when r = 10 cm
and h = 100 cm, r is increasing at 0.2 cm/min and h is increasing at 0.5 cm/min.
How fast is S increasing at this instant?
6. Use partial differentiation to find the equation of the tangent line to the graph of
x 3 y 3 3xy 0 at the point (1, 4).
7.
Find the slope of a tangent line to the curve 10 x2 y2 3 at the point (2, 1).
8.
Use formula from partial differentiation to find the slope of the tangent line to the
curve x 3 y 2 5 x 2 y x 1 at any point (x,y).
9.
Find
the
equation
of
the
tangent
to
the
graph
of
the
equation
65