Professional Documents
Culture Documents
Chain Rule & Implicit Differentiation: C H A I N R U L e
Chain Rule & Implicit Differentiation: C H A I N R U L e
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.
The standard chain rule for functions of one variable has been used
throughout in the earlier calculus courses. It’s now time to extend the chain
rule out to more complicated situations. Let’s review the notation for the
51
Part 1 PARTIAL DERIVATIVES MAT 295
chain rule for functions of one variable before we move further into functions
of several variables.
t x z f
g f
g(t) f(x) x g(t)
g
z = f(g(t))
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
Part 1 PARTIAL DERIVATIVES MAT 295
x=g(t)
z z z
g x f z=f(x, y) x y
x
g z
x y
t z
f
h
h y z = f(g(t), h(t)) x dy
g t t dt
g y=h(t)
y(a) (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 ) ,
x x y y z
y h(s, t ) , such that the first partials , , , and all exist, then
s t s t s
z
and 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
x z
t
t
z z
z
x x y
x x s
s x y
z
y
x x y y
z t t
t s t s
y y
y s t s t s
s
(a) (b)
Figure 4.3
53
Part 1 PARTIAL DERIVATIVES MAT 295
Proposition
Example 1
dz
Find , z ln( x 2 y 2 ) , x e t , y e t
dt
Solution
z z z
x y
x y
dx dy
t
dt dt
Figure 4.4
54
Part 1 PARTIAL DERIVATIVES MAT 295
2
(x y
2
2
)
ye t
xe t
(e 2t
2
e 2t )
e e t t
e t e t ; substitute x e t and y e t
(e 2t
2
e 2t
)
e 2t
e 2t
Example 2
dw
x t , y t 2 , z ln t . Find at t = 2.
dt
Solution
w w
w
x z
y
x y z
dx dy dz
dt dt dt
t t t
Figure 4.5
dw w dx w dy w dz
Since
dt x dt y dt z dt
55
Part 1 PARTIAL DERIVATIVES MAT 295
then
w w w
y x 2yz y2;
x y z
and
dx dy dz 1
1 2t .
dt dt dt t
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
v v
If v f ( p 2 q 2 ) , show that p q 0.
q p
Solution
v
dv
dw
w w w
p q
p q
Figure 4.6
v dv w v dv w
. .
q dw q p dw p
56
Part 1 PARTIAL DERIVATIVES MAT 295
v dv v dv
.2q .2p
q dw p dw
dv dv
2q 2p
dw dw
v v dv dv
p 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 dh
0 .2 0.5
dt 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 V V
r h
r h
dr dh
dt t
dt
Figure 4.7
dV dr dh
Vr Vh
dt dt dt
dr dh
2rh r 2
dt dt
20.1 cm3 / s
57
Part 1 PARTIAL DERIVATIVES MAT 295
Example 5
dw
Suppose that w cos(xy ) y 2 , x e3t and y sin 3t , find
dt
Solution
w w w
x y
x y
dx dy
dt t dt
Figure 4.8
dw w dx w dy
dt x dt y dt
w w
sin( xy ).(y ) sin( xy ).( x ) 2y
x y
dx dy
3e 3t 3 cos 3t
dt 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
z z dx dy
(i) Find the partial derivatives for , , 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
Part 1 PARTIAL DERIVATIVES 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
Proposition
Suppose that f is a differentiable function of ( x, y , z ) near the point
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
Part 1 PARTIAL DERIVATIVES 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
Differentiate with respect to x
Fx 3 x 2 4 xy
Differentiate with respect to y
Fy 3y 2 2x 2
Apply theorem
dy F
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
dy F
x
dx Fy
y cos x tan y
x sec 2 y sin x
Example 7
Solution
In general the equation of a tangent line is given by
y mx c
60
Part 1 PARTIAL DERIVATIVES MAT 295
dy
where m is the slope and it can be obtained by determining m
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
dy F
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
This is the slope of the tangent line.
2
Hence, the line is
y 2 3
x 1 2
3
y 2 ( x 1)
2
3
y ( x 1) 2
2
1
(3 x 1)
2
Example 8
dy
If 4x 2 8xy 9y 2 8x 24y 4 0 and 0 , show that x y 1 .
dx
Solution
F ( x, y ) 4x 2 8xy 9y 2 8x 24y 4
Fx 8x 8y 8
61
Part 1 PARTIAL DERIVATIVES MAT 295
Fy 8x 18 y 24
dy F
x
dx Fy
8 8 x 8y
0
8 x 18 y 24
8 8 x 8y 0
x y 1
Example 9
z z
Given f ( x, y, z) z 3 3xz2 y 2z , find expression for and where
x y
z is defined implicitly as a function of ( x, y ) by the equation f ( x, y, z) 5 .
Evaluate these at the point (1, 1, 1).
Solution
Compute partial derivatives
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
z 2yz
and
y 3z 6 xz y 2
2
62
Part 1 PARTIAL DERIVATIVES MAT 295
Warm up exercise
Let y 2 6 xy x 2 1.
(i) Rewrite the function as F ( x, y ) 0 .
(iii) Then, obtain the equation of the tangent line to the graph
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
1
b) z 3 cos x sin xy ; x , y 3t
t
c) z ln 2x 2 y ; x t 4 , y t 2 1
d) z 1 x 2xy 4 ; x ln t , y t
z z
2. Apply the chain rule to find and .
u v
u
a) z e 2 xy , x 2u v , y
v
b) z sin tan , 3u v, u v
x
c) z , x v cos u, y u sin v
y
u
d) z x 2 y tan x , x , y u 2v 2
v
3. Find zu if
rs
a) z , r uv and s u 2v
r s2
2
b) z ln( x 2 y 2 2w ) , x u v, y u v, w 2 sin uv
63
Part 1 PARTIAL DERIVATIVES MAT 295
dw
4. If w x 3 y 4 and x t 2 2 , y 5t 3 , evaluate when t 1.
dt
Z
5. Let Z ln( x 2 2y ) where x 2t 3 r and y t 2r . Find when
t
t 1, r 2 .
dz
h(3) = 7, h’(3) = - 4, f x (2,7) 6 , and fy (2,7) 8 , find when t = 3.
dt
Implicit Function
dy
1. Find 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
dy 4y 2x
2. Find given that 300 .
dx x y
dz
3. Given that z x 3 y 3 and x 2 y 2 1 . Determine an expression for in
dx
term of x and y.
z z
7. Let x 2 z 2 y 3 10 , find and .
x y
64
Part 1 PARTIAL DERIVATIVES 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. If the usable height of a tree increases 2m/year and the usable
diameter increases 3cm/year, how fast is the volume of usable lumber
increasing when the usable height of the tree is 20m and the usable diameter is
30cm?
4. 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
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
65