Chain Rule
Chain Rule
6 Chain rule
When gear A makes x turns, gear B makes u turns and gear C makes y turns.,
dy dy du
dx du dx
dy d
f ( g ( x) f ( g ( x))g ( x)
dx dx
multiply rates
Find the derivative (solutions to follow)
1) f ( x) (3 x 5 x 2 ) 7 4) f ( x) sin(2 x)
3
2) f ( x) ( x 1)2 2 5) f ( x) tan( x 2 1)
7
3) f (t )
(2t 3) 2
Solutions dy dy du
dx du dx
1) f ( x) (3 x 5 x 2 ) 7
dy
7u 6 (3 10 x)
u 3x 5 x 2
du
3 10 x dx
dx
dy dy
yu 7
7u 6 7(3 x 2 x 2 )6 (3 10 x)
du dx
1
2) f ( x) 3 ( x 2 1) 2 dy 2
u 3 (2 x)
dx 3
du 1
u x2 1 2x dy 2 2
dx ( x 1) 3 (2 x)
2 1 dx 3
y u3
dy 2
u
3 dy 4x
du 3
1
dx
3( x 2 1) 3
Solutions 7 dy dy du
3) f (t ) 7(2t 3) 2
(2t 3) 2 dx du dx
du dy
u 2t 3 2 14u 3 2
dx
dx
2 dy dy 28
y 7u 14u 3 14(2t 3)3 (2)
du dx (2t 3)3
4) f ( x) sin(2 x)
du dy
u 2x 2 2cos(u ) 2cos (2 x)
dx dx
dy
y sin(u ) cos(u )
du
5) f ( x) tan( x 2 1)
du dy
2
u x 1 2x sec2 (u )(2 x) 2 x sec2 ( x 2 1)
dx dx
dy
y tan(u ) sec 2 (u )
du
Outside/Inside method of chain rule
dy d
f ( g ( x ) f ( g ( x ))g ( x )
dx dx
think of g(x) = u
Outside/Inside method of chain rule example
outside
1
d
dx
3x 2 x 1 3
f ( g ( x))g ( x)
3sin 2 cos
Outside/Inside method of chain rule
d
dx
csc( 2 3) f ( g ( x))g ( x)
product
1 1
f ( x ) x 2
d
dx
1 x2 2 1 x2 2
d
dx
x2
1 1
1
f ( x ) x 2 1 x2 2 ( 2 x ) 1 x 2 2 2x
2
1
x3
f ( x ) 1
1 x 2
2 2x Simplify terms
1 x
2 2
Combine with
1 1
common denominator
f ( x )
x3
1 2 x 1
x2 2 x2 2
x 3 (1 x 2 )2 x
x3 2 x 2x3
1 1 1 1
1 x2 2 1 x2 2 1 x2 2 1
x2 2
3 x 3 2 x
f ( x ) 1
1 x2 2
More derivatives with the chain rule
3
3x 1
f ( x) 2
x 3
2
3x 1 d 3x 1
Quotient
f ( x ) 3 2
x 3 dx x 2 3 rule
2 2
3 x 1 ( x 3)3 (3 x 1)(2 x )
3 2
2
x 3 2
x 3
2 2 2
3 x 1 (3 x 9) (6 x 2 x )
3 2
2
x 3 2
x 3
2 2 2
3x 1 3 x 9 6 x 2 x 3(3 x 1) 2 ( 3 x 2 2 x 9)
3 2
2 4
x 3 x2 3 x2 3
Radians Versus Degrees 1
180
radians
d 2 3 2 dy2
x y x 3y y3 2 x
dx dx
Use product rule
Implicit Differentiation 2 2
y x sin( xy )
1. Differentiate both sides of the equation with respect to x,
treating y as a function of x. This requires the chain rule.
dy dy
2y 2 x cos( xy ) x y (1)
dx dx
2. Collect terms with dy/dx on one side of the equation.
dy dy
2y 2 x cos( xy )( x ) cos( xy ) y
dx dx
dy dy
2 y cos( xy )( x ) 2 x cos( xy ) y
dx dx
3. Factor dy/dx
dy
(2 y x cos( xy )) 2 x y cos( xy )
dx
4. Solve for dy/dx dy 2 x y cos( xy )
dx 2 y x cos( xy )
Find equations for the
tangent and normal to the curve at (2, 4).
dy dy
3x 2 3 y 2 9 x 9 y) 0
dx dx
2. Collect terms with dy/dx on one side of the equation.
dy dy
3 y2 9 x 9 y 3x 2
dx dx
dy
(3 y 2 9 x) 9 y 3 x 2
3. Factor dy/dx dx
dy 9 y 3x 2
2
4. Solve for dy/dx dx 3 y 9 x)
2
9(4) 3(2) 24 4 5
mtan 2
mnormal
3(4) 9(2) 30 5 4
Find dy/dx
2 2 2
x y (x y )
2. Write
y 1 the
3( x equation
0) or y 3of
x the
1 normal line at (0,1)
3.8 Higher Derivatives
The derivative of a function f(x) is a function
itself f ´(x). It has a derivative, called the
second derivative f ´´(x)
If the function f(t) is a position function, the
first derivative f ´(t) is a velocity function and
the second derivative f ´´(t) is acceleration.
d2y
f ( x) 2
dx
The second derivative has a derivative (the third derivative) and
the third derivative has a derivative etc.
d3y d 4
y d n
y
f ( x) 3 (4)
f ( x) 4 (n)
f ( x) n
dx dx dx
x
Find the second derivative for f ( x)
x 1
( x 1)(1) x(1) 1
f ( x) 2
( x 1) ( x 1) 2
d 1 d
f ( x) 2
dx ( x 1) dx
( x 1) 2
2
f ( x) 2( x 1) (1)
3
( x 1)3
x
Find the third derivative for f ( x)
x 1
In algebra we study relationships among variables
d
Rate of change in angle, dt
3.9
Solving Related Rates equations
1. Read the problem at least three times.
2. Identify all the given quantities and the quantities
to be found (these are usually rates.)
3. Draw a sketch and label, using unknowns when
necessary.
4. Write an equation (formula) that relates the
variables.
5. ***Assume all variables are functions of time and
differentiate wrt time using the chain rule. The
result is called the related rates equation.
6. Substitute the known values into the related rates
equation and solve for the unknown rate.
Figure
Related 2.43: The balloon in Example 3.
Rates
A hot-air balloon rising straight up from a level field is tracked
by a range finder 500 ft from the liftoff point. The angle of
elevation is increasing at the rate of 0.14 rad/min. How fast is
the balloon rising when the angle of elevation is is /4?
x 500 ft
Given:
d
0.14 rad / min
dt y
Find: x 500
dy
when
dt 4
Figure
Related 2.43: The balloon in Example 3.
Rates
A hot-air balloon rising straight up from a level field is tracked
by a range finder 500 ft from the liftoff point. At the moment the
range finder’s elevation angle is /4, the angle is increasing at
the rate of 0.14 rad/min. How fast is the balloon rising at that
moment?
y
tan
500
d d y
tan
dt dt 500
d 1 dy y
sec 2
dt 500 dt
1 dy
sec2 ( )(.14) x
4 500 dt
1 1 dy
(.14)
2 500 dt dy
cos ( ) 140 ft / sec
4 dx
Figure 2.44:
Related Figure for Example 4.
Rates
A police cruiser, approaching a right angled intersection from
the north is chasing a speeding car that has turned the corner
and is now moving straight east. The cruiser is moving at 60
mph and the police determine with radar that the distance
between them is increasing at 20 mph. When the cruiser is .6
mi. north of the intersection and the car is .8 mi to the east,
what is the speed of the car? ds
20 mph
Given: dt
dy
60mph
dt
Find:
dx
when x .8, y .6
dt
Figure
2 2
2.44:
2
Figure for Example 4.
s x y
ds dx dy
2s 2x 2 y
dt dt dt
dx
2(1)(20) 2(.8) 2(.6)( 60)
dt
dx
70mph
dt ds
20 mph
Given: dt
dy
60mph
dt
Find:
dx
when x .8, y .6
dt
then s = 1
Figure
Related 2.45: The conical tank in Example 5.
Rates
Water runs into a conical tank at the rate of 9 ft 3/min. The
tank stands point down and has a height of 10 ft and a base of
radius 5 ft. How fast is the water level rising when the water
is 6 ft. deep?
dV
Given: 9 ft 3 / min
dt
H 10 ft , R 5 ft
Find:
dy
when y 6 ft.
dt
Figureruns
Water 2.45:into
The conicaltank
a conical tankatinthe
Example
rate of 95.ft 3/min. The
tank stands point down and has a height of 10 ft and a base of
radius 5 ft. How fast is the water level rising when the water
is 6 ft. deep?
1 2 x 5 y 2x
V x y
3 y 10
1 2 Given:
V x 2 (2 x) x 3
3 3 dV
9 ft 3 / min
dV dx dt
2 x 2
dt dt H 10 ft , R 5 ft
dx
9 2 (3) 2
dt
Find:
dx 1 dy
when y 6 ft.
dt 2 dt
dy dx 1 1 x=3
2* 2* .32 ft / min
dt dt 2
3. .10 The more we magnify the graph of a function near a
point where the function is differentiable, the flatter the graph
becomes and the more it resembles its tangent.
Differentiability
Differentiability and Linearization
Approximating the change in the function f by
the change in the tangent line of f.
Linearization
Write the equation of the straight line
approximation y x cos x at (0,1)
y 1 sin x 1 0 1 at (0,1)
y y1 m( x x1 ) Point-slope formula
y f (a ) f (a )( x a ) y=f(x)
y 1 1( x 0)
y 1 x