Professional Documents
Culture Documents
dy dy du
u : intermediate variable
Example : Suppose that y sin(u ) where Solution : By using the chain rule
u t2 dy dy du
Formula :
(i) Use the chain rule, determine dy
dt du dt
dt
d d
(ii) Hence, express y as a function of t Given (sin u ) (t 2 )
and differentiating directly. du dt
y sin(u ) cos(u ) (2t )
u t2 answer in term of t
Remark : y = dependent variable cos(t ) (2t )
2
u = intermediate variables
t = independent variable 2 t cos(t 2 )
3 4
1
Chain Rule for functions of multiple intermediate variables
(ii) Hence, express y as a function of t
and 1 independent variable
and differentiating directly.
dw
Exp : w x 2 y , x t 2 , y t 3 ????
Solution : method 2: We can express y dt
directly as a function of t Let x=g(t) and y=h(t) be differentiable at t and suppose that
d W=f(x,y) is differentiable at the point (x(t) , y(t)).
So, by using formula (sin f ( x )) cos f ( x ).f '( x )
dx
W
y sin(u ) y sin(t ) 2
W W
Then W=f(x(t),y(t)) is differentiable at t and
x y dW W dx W dy
dy y Chain Rule :
substitute
cos(t 2 )(2t ) x dt x dt y dt
dt W
sin(t 2 ) dx
dt
dy
dt
Remark : i) Notice that both partial derivative
x
dy t
2t cos(t 2 ) and single-variable derivatives
dx
dt 5 dt
are involved.
and y t
Step 1 : Draw the tree diagram and write the chain
x t2
3
rule for multi-variables function
dw
Use the chain rule for multi-variables function to find dt
Step 2 : Find all the partial derivatives for
multi-variables function and check the result by expressing W
as a function of t and differentiating directly.
Step 3 : Find all the ordinary derivatives for
single-variable function
2
dw Solution : Example 1
Solution : w x 2 y, x t2, y t3 ????
dt
Step 2 : Find all the partial derivatives for
multi-variables function
Step 1 : Draw the tree diagram and write the chain w x2y
rule for multi-variables function
w w
2 xy , x2
W x y
W W dw w dx w dy
x y Step 3 : Find all the ordinary derivatives for
y dt x dt y dt
x single-variable function
dx
dx dy x t2 2t
dt dt
t
dt
dy
9
y t3 3t 2 10
dt
Solution : Continue……….
Step 4 : By using the chain rule
method 2: We can express w
dw w dx w dy
Formula :
directly as a function of t
dt x dt y dt So,
substitute w x2 y
substitute w t7
(2xy )(2t ) ( x )(3t )2 2
(t 2 ) 2 (t 3 ) dw
Answer in term of t 7t 6
dt
(2t 2 .t 3 )(2t ) (t 4 )(3t 2 ) (t 4 )(t 3 ) t 7
4t 6 3t 6 Remark : However, this procedure may not
always be convenient
7t 6
11 12
3
REMARK : If we express z directly as a
Example 2 : Suppose that z xy y
function of , we obtain :
y sin
x cos , and
dz
Use the chain rule to find z xy y substitute x cos
d
when
, y sin
2
z (cos )(sin ) sin
Remark : z = dependent variable
x,y = intermediate variables dz
To get , we have to use product rule
= independent variable d
and it involve long working step !
13 So, use Chain Rule much more easier 14
Z y 2 2 xy y
Z Z
dZ Z dx Z dy
x y Step 3 : Find all the ordinary derivatives for single-variable function
d x d y d
x y dx
x cos( ) sin( )
d
dx dy
d d dy
y sin( ) cos( )
d
15 16
4
Step 4 : By using the chain rule Solution : Continue………………
dz z dx z dy
Formula :
d x d y d ( y )( sin ) ( x 1)(cos )
substitute 2 xy y 2 xy y
sin( ) cos( )
y
2 xy y x 1
( y )( sin ) ( x 1)(cos ) Combine the 2 terms
2 xy y
2 xy y
( y )( sin ) ( x 1)(cos ) simplify Answer in
(sin )( sin ) (cos 1)(cos ) terms of
2 xy y 2 xy y
2 (cos )(sin ) sin
18
17
dz (1)(1) (0 1)(0)
d 2 (0)(1) 1
dz 1 0 1
d 2 0 1 2 19 20
5
21 22
Chain Rule
(3 intermediate variables) Example 4 : Given w xy z where
dw
Exp : w xy z, x cos t , y sin t , z t
dt
??? x cos t, y sin t , z t
dw
If W, x, y and z are differentiable and if W=f(x,y,z) and
Find when t 0
x=x(t), y=y(t) and z=z(t) then dt
W
Then W=f(x(t),y(t),z(t)) is
W W
W differentiable at t and
x z
y
x y z Remark : w = dependent variable
dW W dx W dy W dz
dy
dz
x,y,z = intermediate variables
dx dt x dt y dt z dt
dt
dt dt t = independent variable
t
24
6
Given w xy z, x cos t , y sin t , z t Solution : Continue………………
( y )( sin t ) ( x)(cost ) 1
Answer in term of t
Solution : (SHORT-CUT) (sin t )( sin t ) (cost )(cost ) 1
dw w dx w dy w dz (sin t ) 2 (cost ) 2 1 simplify
dt x dt y dt z dt
So, when t 0
(sin 0) 2 (cos0) 2 1
(1. y 0)( sin t ) ( x.1 0)(cost ) (1)(1) (0) 2 (1) 2 1
25
2 26
and
Example 5 :
.
28
7
Use Chain Rule for multi-
variables function to
solve application problem
(Related Rates)
29 30
STEPS TO FOLLOW
(SOLVE RELATED RATES PROBLEM INVOLVED PARTIAL DERIVATIVE)
31 32
8
STEPS TO FOLLOW…
By using Chain Rule for multi-variables function
Step 5 : Draw the tree diagram and write the chain
rule for multi-variables function Example 6 :
Step 6 : Find all the partial derivatives of the A box is such a way that its length is increasing at
independent variables the rate of 3cm/s, its width is increasing at the rate of
5cm/s and its height is decreasing at the rate of
Step 7 : Substitute partial derivative (step 6) and 5cm/s.
information (step 3) into chain rule.
At what rate is the volume of the box changing
when the length is 10cm, the width is 12cm and the
height is 7cm?
33 34
Volume = V 35
9
Step 6 : Find all the partial derivatives of the 3
V L WH Given
dL
3,
dW
5 and
dH
5 independent variables
dt dt dt
V V V V L WH
Step 5 : Draw the tree diagram and write the chain WH , LH and LW
dL dW dH
rule for multi-variables function
Step 7 : Substitute partial derivative (step 6) and
V information (step 3) into chain rule
Chain Rule for 3
V V dV V dL V dW V dH
L
V
H
intermediate variables
W dt L dt W dt H dt
L W H
dV V dL V dW V dH dV
dW WH (3) LH (5) LW ( 5)
dt dH dt L dt W dt H dt dt
dL
dt
dt (12)(7)(3) (10)(7)(5) (10)(12)( 5)
t 2
Therefore, the volume of the box is increasing at the
3
rate of 2cm / s. which means that for each increase of time in 1
second, this will cause volume increase 2cm 3
37 38
Example 7 :
.
Answer : 21 ft/s
40
10
Example 8 : and
.
By using Chain Rule for multi-variables function
A cylindrical piece of steel is initially 7 inches long
and has a diameter 5 inches. During the heat
treatment, the length and diameter of the steel each
increase by 0.2 inches per hour. By using Chain Rule
for multi-variables function, determine the rate of
change of the volume of the steel under the heat
treatment.
dV
Answer : dt
4.75 cm 3/ sec
43 44
11