Section 11.5: The Chain Rule
Section 11.5: The Chain Rule
5
The Chain Rule
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 1 / 11
The Chain Rule
dy dy dx
y 0 (t) = f 0 (g (t))g 0 (t) or =
dt dx dt
We will now discuss the chain rule for functions of more variables.
Suppose that z = f (x, y ), x = x(t), and y = y (t) are differentiable
functions. Then z = f (x(t), y (t)) is a differentiable function of t and
dz ∂z dx ∂z dy
= +
dt ∂x dt ∂y dt
dz
= fx (x(t), y (t))x 0 (t) + fy (x(t), y (t))y 0 (t)
dt
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 2 / 11
The Chain Rule (Case I)
Suppose that z = f (x, y ), x = x(t), and y = y (t) are differentiable
functions. Then z = f (x(t), y (t)) is a differentiable function of t and
dz ∂z dx ∂z dy
= + .
dt ∂x dt ∂y dt
dz
If z = yx e xy , x = ln(t), and y = sin(t), find when t = π2 .
dt
Solution: The Chain Rule states that
dz ∂z dx ∂z dy
= +
dt ∂x
dt ∂y dt
1 xy xy 1 −x xy x 2 xy
= ye + xe t + y2 e + y e cos(t)
π π π
For t = 2 we have x = ln 2 and y = sin 2 = 1. Thus,
dz π
= 1 + ln
dt t= π 2
2
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 4 / 11
Suppose z = f (x, y ) and let x = g (s, t) and y = h(s, t) be differentiable
2-variable functions in s and t. Then z = f (x, y ) can be viewed as a
function of s and t which is differentiable.
∂z
= fx (g (s, t), h(s, t)) gs (s, t) + fy (g (s, t), h(s, t)) hs (s, t)
∂s
∂z
= fx (g (s, t), h(s, t)) gt (s, t) + fy (g (s, t), h(s, t)) ht (s, t)
∂t
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 5 / 11
∂z ∂z
If z = x 2 y + 2xy 4 , x = st 2 , and y = s 2 t. Find and .
∂s ∂t
Solution:
∂z ∂z ∂x ∂z ∂y
= +
∂s ∂x ∂s ∂y ∂s
∂z Fx (x, y , z) z2 + y
=− =−
∂x Fz (x, y , z) 2zx + y 2
∂z Fy (x, y , z) 2yz + x
=− =−
∂y Fz (x, y , z) 2zx + y 2
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 8 / 11
A baseball player hits the ball and then runs
down the first base at 20 ft/s. The first
baseman fields the ball and then runs towards
first base along the second base line at 18/, ft/s.
Determine how fast the distance between the
two-players is changing at a moment when the
hitter is 8 ft from first base and the baseman is
6 ft from first base.
The distance D between the runner, who is R ft from first, and the
baseman, who is B ft from first, is implicitly described by D 2 = R 2 + B 2 .
Both variables depend upon time t, B = B(t) and R = R(t).
∂D R ∂D B dB dR
= , = , = −18 , = −20
∂R D ∂B D dt dt
Using the chain rule,
dD ∂D dR ∂D dB 6 8 132
= + = (−20) + (−18) = − = −26.4 ft/s
dt ∂R dT ∂B dt 10 10 5
MATH 127 (Section 11.5) The Chain Rule The University of Kansas 9 / 11