<< Chapter < Page Chapter >> Page >
k ( x ) = h ( f ( g ( x ) ) f ( g ( x ) ) g ( x ) ) .

Rule: chain rule for a composition of three functions

For all values of x for which the function is differentiable, if

k ( x ) = h ( f ( g ( x ) ) ) ,

then

k ( x ) = h ( f ( g ( x ) ) ) f ( g ( x ) ) g ( x ) .

In other words, we are applying the chain rule twice.

Notice that the derivative of the composition of three functions has three parts. (Similarly, the derivative of the composition of four functions has four parts, and so on.) Also, remember, we can always work from the outside in, taking one derivative at a time.

Differentiating a composite of three functions

Find the derivative of k ( x ) = cos 4 ( 7 x 2 + 1 ) .

First, rewrite k ( x ) as

k ( x ) = ( cos ( 7 x 2 + 1 ) ) 4 .

Then apply the chain rule several times.

k ( x ) = 4 ( cos ( 7 x 2 + 1 ) ) 3 ( d d x ( cos ( 7 x 2 + 1 ) ) Apply the chain rule. = 4 ( cos ( 7 x 2 + 1 ) ) 3 ( sin ( 7 x 2 + 1 ) ) ( d d x ( 7 x 2 + 1 ) ) Apply the chain rule. = 4 ( cos ( 7 x 2 + 1 ) ) 3 ( sin ( 7 x 2 + 1 ) ) ( 14 x ) Apply the chain rule. = −56 x sin ( 7 x 2 + 1 ) cos 3 ( 7 x 2 + 1 ) Simplify.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Find the derivative of h ( x ) = sin 6 ( x 3 ) .

h ( x ) = 18 x 2 sin 5 ( x 3 ) cos ( x 3 )

Got questions? Get instant answers now!

Using the chain rule in a velocity problem

A particle moves along a coordinate axis. Its position at time t is given by s ( t ) = sin ( 2 t ) + cos ( 3 t ) . What is the velocity of the particle at time t = π 6 ?

To find v ( t ) , the velocity of the particle at time t , we must differentiate s ( t ) . Thus,

v ( t ) = s ( t ) = 2 cos ( 2 t ) 3 sin ( 3 t ) .

Substituting t = π 6 into v ( t ) , we obtain v ( π 6 ) = −2 .

Got questions? Get instant answers now!
Got questions? Get instant answers now!

A particle moves along a coordinate axis. Its position at time t is given by s ( t ) = sin ( 4 t ) . Find its acceleration at time t .

a ( t ) = −16 sin ( 4 t )

Got questions? Get instant answers now!

Proof

At this point, we present a very informal proof of the chain rule. For simplicity’s sake we ignore certain issues: For example, we assume that g ( x ) g ( a ) for x a in some open interval containing a . We begin by applying the limit definition of the derivative to the function h ( x ) to obtain h ( a ) :

h ( a ) = lim x a f ( g ( x ) ) f ( g ( a ) ) x a .

Rewriting, we obtain

h ( a ) = lim x a f ( g ( x ) ) f ( g ( a ) ) g ( x ) g ( a ) · g ( x ) g ( a ) x a .

Although it is clear that

lim x a g ( x ) g ( a ) x a = g ( a ) ,

it is not obvious that

lim x a f ( g ( x ) ) f ( g ( a ) ) g ( x ) g ( a ) = f ( g ( a ) ) .

To see that this is true, first recall that since g is differentiable at a , g is also continuous at a . Thus,

lim x a g ( x ) = g ( a ) .

Next, make the substitution y = g ( x ) and b = g ( a ) and use change of variables in the limit to obtain

lim x a f ( g ( x ) ) f ( g ( a ) ) g ( x ) g ( a ) = lim y b f ( y ) f ( b ) y b = f ( b ) = f ( g ( a ) ) .

Finally,

h ( a ) = lim x a f ( g ( x ) ) f ( g ( a ) ) g ( x ) g ( a ) · g ( x ) g ( a ) x a = f ( g ( a ) ) g ( a ) .

Using the chain rule with functional values

Let h ( x ) = f ( g ( x ) ) . If g ( 1 ) = 4 , g ( 1 ) = 3 , and f ( 4 ) = 7 , find h ( 1 ) .

Use the chain rule, then substitute.

h ( 1 ) = f ( g ( 1 ) ) g ( 1 ) Apply the chain rule. = f ( 4 ) · 3 Substitute g ( 1 ) = 4 and g ( 1 ) = 3 . = 7 · 3 Substitute f ( 4 ) = 7. = 21 Simplify.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given h ( x ) = f ( g ( x ) ) . If g ( 2 ) = −3 , g ( 2 ) = 4 , and f ( −3 ) = 7 , find h ( 2 ) .

28

Got questions? Get instant answers now!

The chain rule using leibniz’s notation

As with other derivatives that we have seen, we can express the chain rule using Leibniz’s notation. This notation for the chain rule is used heavily in physics applications.

For h ( x ) = f ( g ( x ) ) , let u = g ( x ) and y = h ( x ) = g ( u ) . Thus,

h ( x ) = d y d x , f ( g ( x ) ) = f ( u ) = d y d u and g ( x ) = d u d x .

Consequently,

d y d x = h ( x ) = f ( g ( x ) ) g ( x ) = d y d u · d u d x .

Rule: chain rule using leibniz’s notation

If y is a function of u , and u is a function of x , then

d y d x = d y d u · d u d x .
Practice Key Terms 1

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 1. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11964/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 1' conversation and receive update notifications?

Ask