3.6 The Chain Rule

Learning objectives.

  • 3.6.1 State the chain rule for the composition of two functions.
  • 3.6.2 Apply the chain rule together with the power rule.
  • 3.6.3 Apply the chain rule and the product/quotient rules correctly in combination when both are necessary.
  • 3.6.4 Recognize the chain rule for a composition of three or more functions.
  • 3.6.5 Describe the proof of the chain rule.

We have seen the techniques for differentiating basic functions ( x n , sin x , cos x , etc . ) ( x n , sin x , cos x , etc . ) as well as sums, differences, products, quotients, and constant multiples of these functions. However, these techniques do not allow us to differentiate compositions of functions, such as h ( x ) = sin ( x 3 ) h ( x ) = sin ( x 3 ) or k ( x ) = 3 x 2 + 1 . k ( x ) = 3 x 2 + 1 . In this section, we study the rule for finding the derivative of the composition of two or more functions.

Deriving the Chain Rule

When we have a function that is a composition of two or more functions, we could use all of the techniques we have already learned to differentiate it. However, using all of those techniques to break down a function into simpler parts that we are able to differentiate can get cumbersome. Instead, we use the chain rule , which states that the derivative of a composite function is the derivative of the outer function evaluated at the inner function times the derivative of the inner function.

To put this rule into context, let’s take a look at an example: h ( x ) = sin ( x 3 ) . h ( x ) = sin ( x 3 ) . We can think of the derivative of this function with respect to x as the rate of change of sin ( x 3 ) sin ( x 3 ) relative to the change in x . x . Consequently, we want to know how sin ( x 3 ) sin ( x 3 ) changes as x x changes. We can think of this event as a chain reaction: As x x changes, x 3 x 3 changes, which leads to a change in sin ( x 3 ) . sin ( x 3 ) . This chain reaction gives us hints as to what is involved in computing the derivative of sin ( x 3 ) . sin ( x 3 ) . First of all, a change in x x forcing a change in x 3 x 3 suggests that somehow the derivative of x 3 x 3 is involved. In addition, the change in x 3 x 3 forcing a change in sin ( x 3 ) sin ( x 3 ) suggests that the derivative of sin ( u ) sin ( u ) with respect to u , u , where u = x 3 , u = x 3 , is also part of the final derivative.

We can take a more formal look at the derivative of h ( x ) = sin ( x 3 ) h ( x ) = sin ( x 3 ) by setting up the limit that would give us the derivative at a specific value a a in the domain of h ( x ) = sin ( x 3 ) . h ( x ) = sin ( x 3 ) .

This expression does not seem particularly helpful; however, we can modify it by multiplying and dividing by the expression x 3 − a 3 x 3 − a 3 to obtain

From the definition of the derivative, we can see that the second factor is the derivative of x 3 x 3 at x = a . x = a . That is,

However, it might be a little more challenging to recognize that the first term is also a derivative. We can see this by letting u = x 3 u = x 3 and observing that as x → a , u → a 3 : x → a , u → a 3 :

Thus, h ′ ( a ) = cos ( a 3 ) · 3 a 2 . h ′ ( a ) = cos ( a 3 ) · 3 a 2 .

In other words, if h ( x ) = sin ( x 3 ) , h ( x ) = sin ( x 3 ) , then h ′ ( x ) = cos ( x 3 ) · 3 x 2 . h ′ ( x ) = cos ( x 3 ) · 3 x 2 . Thus, if we think of h ( x ) = sin ( x 3 ) h ( x ) = sin ( x 3 ) as the composition ( f ∘ g ) ( x ) = f ( g ( x ) ) ( f ∘ g ) ( x ) = f ( g ( x ) ) where f ( x ) = f ( x ) = sin x x and g ( x ) = x 3 , g ( x ) = x 3 , then the derivative of h ( x ) = sin ( x 3 ) h ( x ) = sin ( x 3 ) is the product of the derivative of g ( x ) = x 3 g ( x ) = x 3 and the derivative of the function f ( x ) = sin x f ( x ) = sin x evaluated at the function g ( x ) = x 3 . g ( x ) = x 3 . At this point, we anticipate that for h ( x ) = sin ( g ( x ) ) , h ( x ) = sin ( g ( x ) ) , it is quite likely that h ′ ( x ) = cos ( g ( x ) ) g ′ ( x ) . h ′ ( x ) = cos ( g ( x ) ) g ′ ( x ) . As we determined above, this is the case for h ( x ) = sin ( x 3 ) . h ( x ) = sin ( x 3 ) .

Now that we have derived a special case of the chain rule, we state the general case and then apply it in a general form to other composite functions. An informal proof is provided at the end of the section.

Rule: The Chain Rule

Let f f and g g be functions. For all x in the domain of g g for which g g is differentiable at x and f f is differentiable at g ( x ) , g ( x ) , the derivative of the composite function

is given by

Alternatively, if y y is a function of u , u , and u u is a function of x , x , then

Watch an animation of the chain rule.

Problem-Solving Strategy

Applying the chain rule.

  • To differentiate h ( x ) = f ( g ( x ) ) , h ( x ) = f ( g ( x ) ) , begin by identifying f ( x ) f ( x ) and g ( x ) . g ( x ) .
  • Find f ′ ( x ) f ′ ( x ) and evaluate it at g ( x ) g ( x ) to obtain f ′ ( g ( x ) ) . f ′ ( g ( x ) ) .
  • Find g ′ ( x ) . g ′ ( x ) .
  • Write h ′ ( x ) = f ′ ( g ( x ) ) · g ′ ( x ) . h ′ ( x ) = f ′ ( g ( x ) ) · g ′ ( x ) .

Note : When applying the chain rule to the composition of two or more functions, keep in mind that we work our way from the outside function in. It is also useful to remember that the derivative of the composition of two functions can be thought of as having two parts; the derivative of the composition of three functions has three parts; and so on. Also, remember that we never evaluate a derivative at a derivative.

The Chain and Power Rules Combined

We can now apply the chain rule to composite functions, but note that we often need to use it with other rules. For example, to find derivatives of functions of the form h ( x ) = ( g ( x ) ) n , h ( x ) = ( g ( x ) ) n , we need to use the chain rule combined with the power rule. To do so, we can think of h ( x ) = ( g ( x ) ) n h ( x ) = ( g ( x ) ) n as f ( g ( x ) ) f ( g ( x ) ) where f ( x ) = x n . f ( x ) = x n . Then f ′ ( x ) = n x n − 1 . f ′ ( x ) = n x n − 1 . Thus, f ′ ( g ( x ) ) = n ( g ( x ) ) n − 1 . f ′ ( g ( x ) ) = n ( g ( x ) ) n − 1 . This leads us to the derivative of a power function using the chain rule,

Rule: Power Rule for Composition of Functions

For all values of x for which the derivative is defined, if

Example 3.48

Using the chain and power rules.

Find the derivative of h ( x ) = 1 ( 3 x 2 + 1 ) 2 . h ( x ) = 1 ( 3 x 2 + 1 ) 2 .

First, rewrite h ( x ) = 1 ( 3 x 2 + 1 ) 2 = ( 3 x 2 + 1 ) −2 . h ( x ) = 1 ( 3 x 2 + 1 ) 2 = ( 3 x 2 + 1 ) −2 .

Applying the power rule with g ( x ) = 3 x 2 + 1 , g ( x ) = 3 x 2 + 1 , we have

Rewriting back to the original form gives us

Checkpoint 3.34

Find the derivative of h ( x ) = ( 2 x 3 + 2 x − 1 ) 4 . h ( x ) = ( 2 x 3 + 2 x − 1 ) 4 .

Example 3.49

Using the chain and power rules with a trigonometric function.

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

First recall that sin 3 x = ( sin x ) 3 , sin 3 x = ( sin x ) 3 , so we can rewrite h ( x ) = sin 3 x h ( x ) = sin 3 x as h ( x ) = ( sin x ) 3 . h ( x ) = ( sin x ) 3 .

Applying the power rule with g ( x ) = sin x , g ( x ) = sin x , we obtain

Example 3.50

Finding the equation of a tangent line.

Find the equation of a line tangent to the graph of h ( x ) = 1 ( 3 x − 5 ) 2 h ( x ) = 1 ( 3 x − 5 ) 2 at x = 2 . x = 2 .

Because we are finding an equation of a line, we need a point. The x -coordinate of the point is 2. To find the y -coordinate, substitute 2 into h ( x ) . h ( x ) . Since h ( 2 ) = 1 ( 3 ( 2 ) − 5 ) 2 = 1 , h ( 2 ) = 1 ( 3 ( 2 ) − 5 ) 2 = 1 , the point is ( 2 , 1 ) . ( 2 , 1 ) .

For the slope, we need h ′ ( 2 ) . h ′ ( 2 ) . To find h ′ ( x ) , h ′ ( x ) , first we rewrite h ( x ) = ( 3 x − 5 ) −2 h ( x ) = ( 3 x − 5 ) −2 and apply the power rule to obtain

By substituting, we have h ′ ( 2 ) = −6 ( 3 ( 2 ) − 5 ) −3 = −6 . h ′ ( 2 ) = −6 ( 3 ( 2 ) − 5 ) −3 = −6 . Therefore, the line has equation y − 1 = −6 ( x − 2 ) . y − 1 = −6 ( x − 2 ) . Rewriting, the equation of the line is y = −6 x + 13 . y = −6 x + 13 .

Checkpoint 3.35

Find the equation of the line tangent to the graph of f ( x ) = ( x 2 − 2 ) 3 f ( x ) = ( x 2 − 2 ) 3 at x = −2 . x = −2 .

Combining the Chain Rule with Other Rules

Now that we can combine the chain rule and the power rule, we examine how to combine the chain rule with the other rules we have learned. In particular, we can use it with the formulas for the derivatives of trigonometric functions or with the product rule.

Example 3.51

Using the chain rule on a general cosine function.

Find the derivative of h ( x ) = cos ( g ( x ) ) . h ( x ) = cos ( g ( x ) ) .

Think of h ( x ) = cos ( g ( x ) ) h ( x ) = cos ( g ( x ) ) as f ( g ( x ) ) f ( g ( x ) ) where f ( x ) = cos x . f ( x ) = cos x . Since f ′ ( x ) = − sin x . f ′ ( x ) = − sin x . we have f ′ ( g ( x ) ) = − sin ( g ( x ) ) . f ′ ( g ( x ) ) = − sin ( g ( x ) ) . Then we do the following calculation.

Thus, the derivative of h ( x ) = cos ( g ( x ) ) h ( x ) = cos ( g ( x ) ) is given by h ′ ( x ) = − sin ( g ( x ) ) g ′ ( x ) . h ′ ( x ) = − sin ( g ( x ) ) g ′ ( x ) .

In the following example we apply the rule that we have just derived.

Example 3.52

Using the chain rule on a cosine function.

Find the derivative of h ( x ) = cos ( 5 x 2 ) . h ( x ) = cos ( 5 x 2 ) .

Let g ( x ) = 5 x 2 . g ( x ) = 5 x 2 . Then g ′ ( x ) = 10 x . g ′ ( x ) = 10 x . Using the result from the previous example,

Example 3.53

Using the chain rule on another trigonometric function.

Find the derivative of h ( x ) = sec ( 4 x 5 + 2 x ) . h ( x ) = sec ( 4 x 5 + 2 x ) .

Apply the chain rule to h ( x ) = sec ( g ( x ) ) h ( x ) = sec ( g ( x ) ) to obtain

In this problem, g ( x ) = 4 x 5 + 2 x , g ( x ) = 4 x 5 + 2 x , so we have g ′ ( x ) = 20 x 4 + 2 . g ′ ( x ) = 20 x 4 + 2 . Therefore, we obtain

Checkpoint 3.36

Find the derivative of h ( x ) = sin ( 7 x + 2 ) . h ( x ) = sin ( 7 x + 2 ) .

At this point we provide a list of derivative formulas that may be obtained by applying the chain rule in conjunction with the formulas for derivatives of trigonometric functions. Their derivations are similar to those used in Example 3.51 and Example 3.53 . For convenience, formulas are also given in Leibniz’s notation, which some students find easier to remember. (We discuss the chain rule using Leibniz’s notation at the end of this section.) It is not absolutely necessary to memorize these as separate formulas as they are all applications of the chain rule to previously learned formulas.

Theorem 3.10

Using the chain rule with trigonometric functions.

For all values of x x for which the derivative is defined,

Example 3.54

Combining the chain rule with the product rule.

Find the derivative of h ( x ) = ( 2 x + 1 ) 5 ( 3 x − 2 ) 7 . h ( x ) = ( 2 x + 1 ) 5 ( 3 x − 2 ) 7 .

First apply the product rule, then apply the chain rule to each term of the product.

Checkpoint 3.37

Find the derivative of h ( x ) = x ( 2 x + 3 ) 3 . h ( x ) = x ( 2 x + 3 ) 3 .

Composites of Three or More Functions

We can now combine the chain rule with other rules for differentiating functions, but when we are differentiating the composition of three or more functions, we need to apply the chain rule more than once. If we look at this situation in general terms, we can generate a formula, but we do not need to remember it, as we can simply apply the chain rule multiple times.

In general terms, first we let

Then, applying the chain rule once we obtain

Applying the chain rule again, we obtain

Rule: Chain Rule for a Composition of Three Functions

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

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.

Example 3.55

Differentiating a composite of three functions.

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

First, rewrite k ( x ) k ( x ) as

Then apply the power rule several times.

Checkpoint 3.38

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

Example 3.56

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 ) . s ( t ) = sin ( 2 t ) + cos ( 3 t ) . What is the velocity of the particle at time t = π 6 ? t = π 6 ?

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

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

Checkpoint 3.39

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

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 ) g ( x ) ≠ g ( a ) for x ≠ a x ≠ a in some open interval containing a . a . We begin by applying the limit definition of the derivative to the function h ( x ) h ( x ) to obtain h ′ ( a ) : h ′ ( a ) :

Rewriting, we obtain

Although it is clear that

it is not obvious that

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

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

Example 3.57

Using the chain rule with functional values.

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

Use the chain rule, then substitute.

Checkpoint 3.40

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

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 ) ) , For h ( x ) = f ( g ( x ) ) , let u = g ( x ) u = g ( x ) and y = h ( x ) = f ( u ) . y = h ( x ) = f ( u ) . Thus,

Consequently,

Rule: Chain Rule Using Leibniz’s Notation

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

Example 3.58

Taking a derivative using leibniz’s notation, example 1.

Find the derivative of y = ( x 3 x + 2 ) 5 . y = ( x 3 x + 2 ) 5 .

First, let u = x 3 x + 2 . u = x 3 x + 2 . Thus, y = u 5 . y = u 5 . Next, find d u d x d u d x and d y d u . d y d u . Using the quotient rule,

Finally, we put it all together.

It is important to remember that, when using the Leibniz form of the chain rule, the final answer must be expressed entirely in terms of the original variable given in the problem.

Example 3.59

Taking a derivative using leibniz’s notation, example 2.

Find the derivative of y = tan ( 4 x 2 − 3 x + 1 ) . y = tan ( 4 x 2 − 3 x + 1 ) .

First, let u = 4 x 2 − 3 x + 1 . u = 4 x 2 − 3 x + 1 . Then y = tan u . y = tan u . Next, find d u d x d u d x and d y d u : d y d u :

Checkpoint 3.41

Use Leibniz’s notation to find the derivative of y = cos ( x 3 ) . y = cos ( x 3 ) . Make sure that the final answer is expressed entirely in terms of the variable x . x .

Section 3.6 Exercises

For the following exercises, given y = f ( u ) y = f ( u ) and u = g ( x ) , u = g ( x ) , find d y d x d y d x by using Leibniz’s notation for the chain rule: d y d x = d y d u d u d x . d y d x = d y d u d u d x .

y = 3 u − 6 , u = 2 x 2 y = 3 u − 6 , u = 2 x 2

y = 6 u 3 , u = 7 x − 4 y = 6 u 3 , u = 7 x − 4

y = sin u , u = 5 x − 1 y = sin u , u = 5 x − 1

y = cos u , u = − x 8 y = cos u , u = − x 8

y = tan u , u = 9 x + 2 y = tan u , u = 9 x + 2

y = 4 u + 3 , u = x 2 − 6 x y = 4 u + 3 , u = x 2 − 6 x

For each of the following exercises,

  • decompose each function in the form y = f ( u ) y = f ( u ) and u = g ( x ) , u = g ( x ) , and
  • find d y d x d y d x as a function of x . x .

y = ( 3 x − 2 ) 6 y = ( 3 x − 2 ) 6

y = ( 3 x 2 + 1 ) 3 y = ( 3 x 2 + 1 ) 3

y = sin 5 ( x ) y = sin 5 ( x )

y = ( x 7 + 7 x ) 7 y = ( x 7 + 7 x ) 7

y = tan ( sec x ) y = tan ( sec x )

y = csc ( π x + 1 ) y = csc ( π x + 1 )

y = cot 2 x y = cot 2 x

y = −6 ( sin   x ) - 3 y = −6 ( sin   x ) - 3

For the following exercises, find d y d x d y d x for each function.

y = ( 3 x 2 + 3 x − 1 ) 4 y = ( 3 x 2 + 3 x − 1 ) 4

y = ( 5 − 2 x ) −2 y = ( 5 − 2 x ) −2

y = cos 3 ( π x ) y = cos 3 ( π x )

y = ( 2 x 3 − x 2 + 6 x + 1 ) 3 y = ( 2 x 3 − x 2 + 6 x + 1 ) 3

y = 1 sin 2 ( x ) y = 1 sin 2 ( x )

y = ( tan x + sin x ) −3 y = ( tan x + sin x ) −3

y = x 2 cos 4 x y = x 2 cos 4 x

y = sin ( cos 7 x ) y = sin ( cos 7 x )

y = 6 + sec π x 2 y = 6 + sec π x 2

y = cot 3 ( 4 x + 1 ) y = cot 3 ( 4 x + 1 )

Let y = [ f ( x ) ] 2 y = [ f ( x ) ] 2 and suppose that f ′ ( 1 ) = 4 f ′ ( 1 ) = 4 and d y d x = 10 d y d x = 10 for x = 1 . x = 1 . Find f ( 1 ) . f ( 1 ) .

Let y = ( f ( x ) + 5 x 2 ) 4 y = ( f ( x ) + 5 x 2 ) 4 and suppose that f ( −1 ) = −4 f ( −1 ) = −4 and d y d x = 3 d y d x = 3 when x = −1 . x = −1 . Find f ′ ( −1 ) f ′ ( −1 )

Let y = ( f ( u ) + 3 x ) 2 y = ( f ( u ) + 3 x ) 2 and u = x 3 − 2 x . u = x 3 − 2 x . If f ( 4 ) = 6 f ( 4 ) = 6 and d y d x = 18 d y d x = 18 when x = 2 , x = 2 , find f ′ ( 4 ) . f ′ ( 4 ) .

[T] Find the equation of the tangent line to y = − sin ( x 2 ) y = − sin ( x 2 ) at the origin. Use a calculator to graph the function and the tangent line together.

[T] Find the equation of the tangent line to y = ( 3 x + 1 x ) 2 y = ( 3 x + 1 x ) 2 at the point ( 1 , 16 ) . ( 1 , 16 ) . Use a calculator to graph the function and the tangent line together.

Find the x x -coordinates at which the tangent line to y = ( x − 6 x ) 8 y = ( x − 6 x ) 8 is horizontal.

[T] Find an equation of the line that is normal to g ( θ ) = sin 2 ( π θ ) g ( θ ) = sin 2 ( π θ ) at the point ( 1 4 , 1 2 ) . ( 1 4 , 1 2 ) . Use a calculator to graph the function and the normal line together.

For the following exercises, use the information in the following table to find h ′ ( a ) h ′ ( a ) at the given value for a . a .

0 2 5 0 2
1 1 −2 3 0
2 4 4 1 −1
3 3 −3 2 3

h ( x ) = f ( g ( x ) ) ; a = 0 h ( x ) = f ( g ( x ) ) ; a = 0

h ( x ) = g ( f ( x ) ) ; a = 0 h ( x ) = g ( f ( x ) ) ; a = 0

h ( x ) = ( x 4 + g ( x ) ) −2 ; a = 1 h ( x ) = ( x 4 + g ( x ) ) −2 ; a = 1

h ( x ) = ( f ( x ) g ( x ) ) 2 ; a = 3 h ( x ) = ( f ( x ) g ( x ) ) 2 ; a = 3

h ( x ) = f ( x + f ( x ) ) ; a = 1 h ( x ) = f ( x + f ( x ) ) ; a = 1

h ( x ) = ( 1 + g ( x ) ) 3 ; a = 2 h ( x ) = ( 1 + g ( x ) ) 3 ; a = 2

h ( x ) = g ( 2 + f ( x 2 ) ) ; a = 1 h ( x ) = g ( 2 + f ( x 2 ) ) ; a = 1

h ( x ) = f ( g ( sin x ) ) ; a = 0 h ( x ) = f ( g ( sin x ) ) ; a = 0

[T] The position function of a freight train is given by s ( t ) = 100 ( t + 1 ) −2 , s ( t ) = 100 ( t + 1 ) −2 , with s s in meters and t t in seconds. At time t = 6 t = 6 s, find the train’s

  • velocity and
  • acceleration.
  • Using a. and b. is the train speeding up or slowing down?

[T] A mass hanging from a vertical spring is in simple harmonic motion as given by the following position function, where t t is measured in seconds and s s is in inches:

s ( t ) = −3 cos ( π t + π 4 ) . s ( t ) = −3 cos ( π t + π 4 ) .

  • Determine the position of the spring at t = 1.5 t = 1.5 s.
  • Find the velocity of the spring at t = 1.5 t = 1.5 s.

[T] The total cost to produce x x boxes of Thin Mint Girl Scout cookies is C C dollars, where C = 0.0001 x 3 − 0.02 x 2 + 3 x + 300 . C = 0.0001 x 3 − 0.02 x 2 + 3 x + 300 . In t t weeks production is estimated to be x = 1600 + 100 t x = 1600 + 100 t boxes.

  • Find the marginal cost C ′ ( x ) . C ′ ( x ) .
  • Use Leibniz’s notation for the chain rule, d C d t = d C d x · d x d t , d C d t = d C d x · d x d t , to find the rate with respect to time t t that the cost is changing.
  • Use b. to determine how fast costs are increasing when t = 2 t = 2 weeks. Include units with the answer.

[T] The formula for the area of a circle is A = π r 2 , A = π r 2 , where r r is the radius of the circle. Suppose a circle is expanding, meaning that both the area A A and the radius r r (in inches) are expanding.

  • Suppose r = 2 − 100 ( t + 7 ) 2 r = 2 − 100 ( t + 7 ) 2 where t t is time in seconds. Use the chain rule d A d t = d A d r · d r d t d A d t = d A d r · d r d t to find the rate at which the area is expanding.
  • Use a. to find the rate at which the area is expanding at t = 4 t = 4 s.

[T] The formula for the volume of a sphere is S = 4 3 π r 3 , S = 4 3 π r 3 , where r r (in feet) is the radius of the sphere. Suppose a spherical snowball is melting in the sun.

  • Suppose r = 1 ( t + 1 ) 2 − 1 12 r = 1 ( t + 1 ) 2 − 1 12 where t t is time in minutes. Use the chain rule d S d t = d S d r · d r d t d S d t = d S d r · d r d t to find the rate at which the snowball is melting.
  • Use a. to find the rate at which the volume is changing at t = 1 t = 1 min.

[T] The daily temperature in degrees Fahrenheit of Phoenix in the summer can be modeled by the function T ( x ) = 94 − 10 cos [ π 12 ( x − 2 ) ] , T ( x ) = 94 − 10 cos [ π 12 ( x − 2 ) ] , where x x is hours after midnight. Find the rate at which the temperature is changing at 4 p.m.

[T] The depth (in feet) of water at a dock changes with the rise and fall of tides. The depth is modeled by the function D ( t ) = 5 sin ( π 6 t − 7 π 6 ) + 8 , D ( t ) = 5 sin ( π 6 t − 7 π 6 ) + 8 , where t t is the number of hours after midnight. Find the rate at which the depth is changing at 6 a.m.

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction
  • Authors: Gilbert Strang, Edwin “Jed” Herman
  • Publisher/website: OpenStax
  • Book title: Calculus Volume 1
  • Publication date: Mar 30, 2016
  • Location: Houston, Texas
  • Book URL: https://openstax.org/books/calculus-volume-1/pages/1-introduction
  • Section URL: https://openstax.org/books/calculus-volume-1/pages/3-6-the-chain-rule

© Jul 25, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.

Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.

30 Homework: Chain Rule

  • Watch this video from Khan Academy: Chain Rule Definition and example
  • [latex]a(x) = (x^2 + 5)^{20}[/latex] [latex]40 x (x^2 + 5)^{19}[/latex] ans
  • [latex]b(x) = e^{x^2}[/latex] [latex]2x e^{x^2}[/latex] ans
  • [latex]c(x) = (kx + r)^n[/latex] for constants [latex]k[/latex], [latex]r[/latex], [latex]n[/latex]. [latex]k n (kx + r)^{n-1}[/latex] ans
  • [latex]d(x) = (\ln(x))^3 + \ln(x^3)[/latex] [latex]\frac{3 (\ln(x))^2}{x} + \frac{3}{x}[/latex] ans
  • [latex]e(x) = \sin(\cos(x))[/latex] [latex]-\sin(x) \cos(\cos(x))[/latex] ans
  • [latex]f(x) = e^{\sin(x) + \cos(x)}[/latex] [latex](\cos(x) - \sin(x)) e^{\sin(x) + \cos(x)}[/latex] ans
  • [latex]g(x) = \sqrt{3x^2 - 5x + 6}[/latex] [latex]\frac{6x - 5}{2 \sqrt{3x^2 - 5x + 6}}[/latex] ans
  • [latex]h(x) = e^{-x}[/latex] [latex]-e^{-x}[/latex] ans
  • [latex]\frac{d}{dx} \ln(x^3)[/latex] [latex]\frac{3}{x}[/latex] ans
  • [latex]\frac{d}{dx} \ln(x e^x)[/latex] [latex]\frac{1}{x} + 1[/latex] ans
  • Use logarithm rules to explain why [latex]\frac{d}{dx} \ln(e^5 \cdot x) = \frac{d}{dx} \ln(x)[/latex]. Using logarithm rules, we have that [latex]ln(e^5 \cdot x) = \ln(x) + \ln(e^5) = \ln(x) + 5[/latex]. This has the same derivative as [latex]\ln(x)[/latex] since we are just adding a constant. ans
  • Simplify [latex]e^{\ln(2)}[/latex] [latex]=2[/latex] ans
  • Simplify [latex]\ln(e^2)[/latex]. [latex]=2[/latex] ans
  • Simplify [latex]e^{\ln(2) + x}[/latex] [latex]2e^x[/latex] ans
  • Use part (d) to compute [latex]\frac{d}{dx} 2^x[/latex]. [latex]\ln(2) 2^x[/latex] ans

Informal Calculus Copyright © by Tyler Seacrest is licensed under a Creative Commons Attribution 4.0 International License , except where otherwise noted.

Share This Book

All Subjects

3.1 The Chain Rule

4 min read • june 18, 2024

Dalia Savy

Welcome to the first key topic of Unit 3! In this key topic, we’ll learn more about taking derivatives of functions within functions, also known as composite functions. If you need a review on how to take derivatives, review Unit 2 !

🔄 Composite Functions

Yep! Composite functions are functions within functions, but what does this mean?

Given two functions f ( x ) f(x) f ( x ) and g ( x ) g(x) g ( x ) , the composite function   ( f ∘ g ) ( x ) \ (f \circ g)(x)   ( f ∘ g ) ( x ) is formed by applying function f f f to the output of function g g g .

Mathematically, the composite function is expressed as:   ( f ∘ g ) ( x ) = f ( g ( x ) ) \ (f \circ g)(x) = f(g(x))   ( f ∘ g ) ( x ) = f ( g ( x )) . You can basically think of g ( x ) g(x) g ( x ) as the “ inner function ” and f ( x ) f(x) f ( x ) as the “ outer function .”

Composite Function Example

Let’s consider the following two functions:

If we’re taking a look at the composite function f ( g ( x ) f(g(x) f ( g ( x ) , we have to be able to identify the inner function and the outer function. Let’s do that now! ⬇️

  • The function g ( x ) g(x) g ( x ) acts as the inner function . It takes x x x , multiplies it by 3, and adds 1 to the result.
  • The function f ( x ) f(x) f ( x ) acts as the outer function . It takes the output of g ( x ) g(x) g ( x ) and squares it. Therefore, we can think of this example as the following:

Understanding how composite functions work is crucial in the chain rule. Now let’s get into it!

🔗 Definition of The Chain Rule

The Chain Rule is a method of differentiation, just like the Power Rule , Product Rule , and Quotient Rule from the previous unit. There are two notations for the Chain Rule.

Let’s go through each piece of this:

  • d y d x \frac{dy}{dx} d x d y ​ represents the overall derivative you are trying to find.
  • u u u is your inner function.
  • d y d u \frac{dy}{du} d u d y ​ represents the derivative of the “outer” function with respect to the inner function.
  • d u d x \frac{du}{dx} d x d u ​ represents the derivative of the “inner” function with respect to x x x . The next notation will make this all clearer! 🙏🏿

As you can see, in order to take the derivative of the composite function, you are taking the derivative from the outside ⬅️ to the inside ➡️. This will repeat if there is another function within g ( x ) g(x) g ( x ) .

🪜Steps to Chain Rule

To help break the chain rule down, follow these steps:

  • 🤔 Define your inner and outer functions.
  • ⬅️ Take the derivative of the outer function only!
  • ➡️ Take the derivative of the inner function with respect to x x x .
  • ✖️ Multiply the two derivatives to get your final answer!

Here’s a little graphic as well to help you visualize the chain rule.

Untitled

A summary of the Chain Rule formula

Image Courtesy of Geeks for Geeks

🔢 The Chain Rule: Practice Problems

The chain rule: example 1.

Find the derivative of the following function with respect to x x x .

1️⃣ Define your inner and outer functions.

The inner function is u = x 2 + 3 x − 1 u=x^2+3x-1 u = x 2 + 3 x − 1 . The outer function is y = u 2 y=u^2 y = u 2 .

2️⃣ Take the derivative of the outer function only!

As you can see, we have not taken the derivative of the inner function u u u yet.

3️⃣ Take the derivative of the inner function with respect to x x x .

4️⃣ Now multiply the two derivatives to get your final answer!

The Chain Rule: Example 2

Let f ( x ) = e x f(x)=e^x f ( x ) = e x and g ( x ) = ln ⁡ ( x ) g(x)= \ln(x) g ( x ) = ln ( x ) . Find the derivative of y = f ( g ( x ) ) y=f(g(x)) y = f ( g ( x )) with respect to x x x .

In this problem, they are more explicit! f ( x ) f(x) f ( x ) is the outer function and g ( x ) g(x) g ( x ) is the inner function.

2️⃣ Take the derivative of the outer function.

The derivative of e x e^x e x is just e x e^x e x !

4️⃣ Then multiply the two derivatives to get your final answer!

The Chain Rule: Example 3

Find the derivative of the following function; this one may be a bit tougher!

The inner function is u = 5 x 3 + 2 x 2 + 6 u=5x^3+2x^2+6 u = 5 x 3 + 2 x 2 + 6 and the outer function is y = 4 u 2 y=4u^2 y = 4 u 2 .

The Chain Rule: Example 4

How about a function with a square root?

The inner function is u = 7 x 2 u=7x^2 u = 7 x 2 and the outer function is y = u y=\sqrt{u} y = u ​ .

The Chain Rule: Example 5

Try taking the derivative of the following function yourself!

To help you out a little, the inner function is u = cos ⁡ 3 x u=\cos3x u = cos 3 x and the outer function is f ( x ) = u 2 f(x)=u^2 f ( x ) = u 2 .

Here’s the answer:

You made it through the first section of the unit! From now to the rest of your AP Calculus journey, the Chain Rule will accompany you and with practice, you will get to perfection! 🌟

© 2024 Fiveable Inc. All rights reserved.

Ap® and sat® are trademarks registered by the college board, which is not affiliated with, and does not endorse this website..

IMAGES

  1. Solved Name 3.1 The Chain Rule Homework Date Period Problems

    the chain rule homework 3.1

  2. Section 3.6- The Chain Rule

    the chain rule homework 3.1

  3. Calculus1|3.4: The Chain Rule

    the chain rule homework 3.1

  4. The chain rule homework

    the chain rule homework 3.1

  5. Solved Worksheet: Sec 3.3 The Chain Rule Name 1. Find the

    the chain rule homework 3.1

  6. The Chain Rule Notes Sheet (3.1) by Shawn Mann

    the chain rule homework 3.1

VIDEO

  1. Derivatives The Chain Rule Homework Problems Part II

  2. 3.1 The Chain Rule VIDEO

  3. Day 16: Homework Example #1

  4. Math101_Section 3.4_The chain rule

  5. The chain rule for calculus

  6. Power Rule and Chain Rule

COMMENTS

  1. 3.1 The Chain Rule

    3.1 The Chain Rule - Calculus

  2. PDF Calc 3.1 Solutions

    3.1 The Chain Rule 27. The graph of the function f is shown at the right. The function h is defined by h(x) = f(2x2 — x). Find the slope of the line tangent to the graph of h at the point where Test Prep . 31. Let f (x) — 0 and (A) —18 —16 (E) 11 30. Let f (x) = then c = 16

  3. 3.6 The Chain Rule

    3.6.1 State the chain rule for the composition of two functions. 3.6.2 Apply the chain rule together with the power rule. 3.6.3 Apply the chain rule and the product/quotient rules correctly in combination when both are necessary. 3.6.4 Recognize the chain rule for a composition of three or more functions. 3.6.5 Describe the proof of the chain rule.

  4. Calculus AB/BC

    Buy our AP Calculus workbook at https://store.flippedmath.com/collections/workbooksFor notes, practice problems, and more lessons visit the Calculus course o...

  5. 3.1 Chain Rule Flashcards

    Study with Quizlet and memorize flashcards containing terms like Chain rule equation? problems: first, identify the? find all? To find the chain derivative at a point, solve by plugging in?, Ex. cos (t^2 + 1). 2 composites? (2) answer? du/dy is the derivative of the? ex.? du/dx is the derivative of the? ex.? Outside-Inside rule: equation?, using chain rule twice more: ex. y = tan (5-sin2t ...

  6. 3.1 the chain rule Flashcards

    3.1 the chain rule. Chain rule. Click the card to flip 👆. (F o g) (x) or f (g (x)) Click the card to flip 👆. 1 / 5.

  7. PDF 03

    03 - Chain Rule

  8. PDF Skill Builder: Topic 3.1 The Chain Rule (Circuit)

    l Builder: Topic 3.1 - The Chain Rule (Circuit)Begin in the first cell marked. and find the derivative of each given function. To advance in the circ. t, search for your answer and mark that cell #2. Conti. e in this manner until y. complete the circuit. Show all pertinent work. Note: Some of these problems may require some algebraic manipulati.

  9. PDF The Chain Rule CA #1 Calculus Name

    Find the slope of the tangent line at the given 𝒙-value.Show work. 11. 𝑔 :𝑥 ; L :𝑥 7 F2 ; 9 at 𝑥1. 12. ℎ :𝑥 ; L a m q ë ë at 𝑥 Find the equation of the tangent line at the given 𝒙-value. 13.

  10. 3.1 Chain Rule

    3.1 Chain Rule. AP Daily Video 1. AP Daily Video 2. AP Daily Video 3. Homework Key. Chain Rule Stations.

  11. PDF FUN AP CALCULUS 1 Topic: 3.1 The Chain Rule Learning Objective FUN-3.C

    Chain Rule Differentiation Using Data Tables Example 6: The values of two differentiable functions, ( ) and ( ), along with their derivatives are given in the table below for several values of x. 3 a. Given ℎ( )= ( ( )),find ℎ′(2). b.

  12. Homework: Chain Rule

    Homework: Chain Rule. Take the derivative of the following functions, each of which involves the chain rule. c(x) = (kx+ r)n c ( x) = ( k x + r) n for constants k k, r r, n n. For each problem, try simplifying the logarithm first, then taking the derivative. ( x). This has the same derivative as.

  13. Solved Name 3.1 The Chain Rule Homework Date Period Problems

    Answer to Solved Name 3.1 The Chain Rule Homework Date Period Problems | Chegg.com

  14. The Chain Rule

    Here's a little graphic as well to help you visualize the chain rule. A summary of the Chain Rule formula. Image Courtesy of Geeks for Geeks. 🔢 The Chain Rule: Practice Problems The Chain Rule: Example 1. Find the derivative of the following function with respect to x x x. y = (x 2 + 3 x − 1) 2 y=(x^2+3x-1)^2 y = (x 2 + 3 x − 1) 2

  15. PDF Calc 3.1 Packet

    3.1 The Chain Rule. 27. The graph of the function is shown at the right. The function h is defined by h( ) = (2 − ) . Find the slope of the line tangent to the graph of h at the point where = −1. 28. Let ( ) = 2 tangents? At what value of do the graphs of and have parallel.

  16. Unit 3 Chain Rule & Implicit Differentiation

    Calculus AB - Unit 3 - Differentiation Part 2 - Chain Rule, Implicit Differentiation, & Derivative Review ... ---September 2023--- Homework Calendar September 2023 1) Wed (9/13) 3.1 Chain Rule notes handout Notes.Key 3.1 Chain Rule Notes and Quiz Review (2023).Video ...