3. Derivatives

3.6 The Chain Rule

Learning Objectives

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

We have seen the techniques for differentiating basic functions (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) or k(x)=\sqrt{3x^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). We can think of the derivative of this function with respect to x as the rate of change of \sin (x^3) relative to the change in x. Consequently, we want to know how \sin (x^3) changes as x changes. We can think of this event as a chain reaction: As x changes, x^3 changes, which leads to a change in \sin (x^3). This chain reaction gives us hints as to what is involved in computing the derivative of \sin (x^3). First of all, a change in x forcing a change in x^3 suggests that somehow the derivative of x^3 is involved. In addition, the change in x^3 forcing a change in \sin (x^3) suggests that the derivative of \sin (u) with respect to u, where 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) by setting up the limit that would give us the derivative at a specific value a in the domain of h(x)= \sin (x^3).

h^{\prime}(a)=\underset{x\to a}{\lim}\frac{\sin (x^3)- \sin (a^3)}{x-a}.

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

h^{\prime}(a)=\underset{x\to a}{\lim}\frac{\sin (x^3)- \sin (a^3)}{x^3-a^3} \cdot \frac{x^3-a^3}{x-a}.

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

\underset{x\to a}{\lim}\frac{x^3-a^3}{x-a}=\frac{d}{dx}(x^3)|_{x=a}=3a^2.

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 and observing that as x\to a, \, u\to a^3:

\begin{array}{ll} \underset{x\to a}{\lim}\frac{\sin (x^3)- \sin (a^3)}{x^3-a^3} & =\underset{u\to a^3}{\lim}\frac{\sin u- \sin (a^3)}{u-a^3} \\ & =\frac{d}{du}{(\sin u)}|_{u=a^3} \\ & = \cos (a^3) \end{array}

Thus, h^{\prime}(a)= \cos (a^3) \cdot 3a^2.

In other words, if h(x)= \sin (x^3), then h^{\prime}(x)= \cos (x^3) \cdot 3x^2. Thus, if we think of h(x)= \sin (x^3) as the composition (f\circ g)(x)=f(g(x)) where f(x)=\sin x and g(x)=x^3, then the derivative of h(x)= \sin (x^3) is the product of the derivative of g(x)=x^3 and the derivative of the function f(x)= \sin x evaluated at the function g(x)=x^3. At this point, we anticipate that for h(x)= \sin (g(x)), it is quite likely that h^{\prime}(x)= \cos (g(x))g^{\prime}(x). As we determined above, this is the case for 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 and g be functions. For all x in the domain of g for which g is differentiable at x and f is differentiable at g(x), the derivative of the composite function

h(x)=(f\circ g)(x)=f(g(x))

is given by

h^{\prime}(x)=f^{\prime}(g(x))g^{\prime}(x).

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

\frac{dy}{dx}=\frac{dy}{du} \cdot \frac{du}{dx}.

Watch an animation of the chain rule.

Problem-Solving Strategy: Applying the Chain Rule

  1. To differentiate h(x)=f(g(x)), begin by identifying f(x) and g(x).
  2. Find f^{\prime}(x) and evaluate it at g(x) to obtain f^{\prime}(g(x)).
  3. Find g^{\prime}(x).
  4. Write h^{\prime}(x)=f^{\prime}(g(x)) \cdot g^{\prime}(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, we need to use the chain rule combined with the power rule. To do so, we can think of h(x)=(g(x))^n as f(g(x)) where f(x)=x^n. Then f^{\prime}(x)=nx^{n-1}. Thus, f^{\prime}(g(x))=n(g(x))^{n-1}. This leads us to the derivative of a power function using the chain rule,

h^{\prime}(x)=n(g(x))^{n-1}g^{\prime}(x)

Rule: Power Rule for Composition of Functions

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

h(x)=(g(x))^n.

Then

h^{\prime}(x)=n(g(x))^{n-1}g^{\prime}(x).

Using the Chain and Power Rules

Find the derivative of h(x)=\frac{1}{(3x^2+1)^2}.

Solution

First, rewrite h(x)=\frac{1}{(3x^2+1)^2}=(3x^2+1)^{-2}.

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

h^{\prime}(x)=-2(3x^2+1)^{-3}(6x).

Rewriting back to the original form gives us

h^{\prime}(x)=\frac{-12x}{(3x^2+1)^3}.

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

Solution

h^{\prime}(x)=4(2x^3+2x-1)^3(6x+2)=8(3x+1)(2x^3+2x-1)^3

Hint

Use (Figure) with g(x)=2x^3+2x-1

Using the Chain and Power Rules with a Trigonometric Function

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

Solution

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

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

h^{\prime}(x)=3(\sin x)^2 \cos x=3 \sin^2 x \cos x.

Finding the Equation of a Tangent Line

Find the equation of a line tangent to the graph of h(x)=\frac{1}{(3x-5)^2} at x=2.

Solution

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). Since h(2)=\frac{1}{(3(2)-5)^2}=1, the point is (2,1).

For the slope, we need h^{\prime}(2). To find h^{\prime}(x), first we rewrite h(x)=(3x-5)^{-2} and apply the power rule to obtain

h^{\prime}(x)=-2(3x-5)^{-3}(3)=-6(3x-5)^{-3}.

By substituting, we have h^{\prime}(2)=-6(3(2)-5)^{-3}=-6. Therefore, the line has equation y-1=-6(x-2). Rewriting, the equation of the line is y=-6x+13.

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

Solution

y=-48x-88

Hint

Use the preceding example as a guide.

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.

Using the Chain Rule on a General Cosine Function

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

Solution

Think of h(x)= \cos (g(x)) as f(g(x)) where f(x)= \cos x. Since f^{\prime}(x)=−\sin x we have f^{\prime}(g(x))=−\sin (g(x)). Then we do the following calculation.

\begin{array}{lllll}h^{\prime}(x) & =f^{\prime}(g(x))g^{\prime}(x) & & & \text{Apply the chain rule.} \\ & =−\sin (g(x))g^{\prime}(x) & & & \text{Substitute} \, f^{\prime}(g(x))=−\sin (g(x)) \end{array}

Thus, the derivative of h(x)= \cos (g(x)) is given by h^{\prime}(x)=−\sin (g(x))g^{\prime}(x).

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

Using the Chain Rule on a Cosine Function

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

[reveal-answer q=”847788″]Show Solution[/reveal-answer]
[hidden-answer a=”847788″]Let g(x)=5x^2. Then g^{\prime}(x)=10x.
Using the result from the previous example, \begin{array}{ll}h^{\prime}(x) & =-\sin (5x^2) \cdot 10x \\ & =-10x \sin (5x^2) \end{array}

Using the Chain Rule on Another Trigonometric Function

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

Solution

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

h^{\prime}(x)= \sec (g(x)) \tan (g(x))g^{\prime}(x).

In this problem, g(x)=4x^5+2x, so we have g^{\prime}(x)=20x^4+2. Therefore, we obtain

\begin{array}{ll}h^{\prime}(x) & = \sec (4x^5+2x) \tan (4x^5+2x)(20x^4+2) \\ & =(20x^4+2) \sec (4x^5+2x) \tan (4x^5+2x) \end{array}

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

[reveal-answer q=”232193″]Show Solution[/reveal-answer]
[hidden-answer a=”232193″]h^{\prime}(x)=7 \cos (7x+2)

Hint

Apply the chain rule to h(x)= \sin g(x) first and then use g(x)=7x+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 (Figure) and (Figure). 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.

Using the Chain Rule with Trigonometric Functions

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

\begin{array}{llll}\frac{d}{dx}(\sin (g(x)))= \cos (g(x))g^{\prime}(x) & & & \frac{d}{dx} \sin u= \cos u\frac{du}{dx} \\ \frac{d}{dx}(\cos (g(x)))=−\sin (g(x))g^{\prime}(x) & & & \frac{d}{dx} \cos u=−\sin u\frac{du}{dx} \\ \frac{d}{dx}(\tan (g(x)))= \sec^2 (g(x))g^{\prime}(x) & & & \frac{d}{dx} \tan u=\sec^2 u\frac{du}{dx} \\ \frac{d}{dx}(\cot (g(x)))=−\csc^2 (g(x))g^{\prime}(x) & & & \frac{d}{dx} \cot u=−\csc^2 u\frac{du}{dx} \\ \frac{d}{dx}(\sec (g(x)))= \sec (g(x)) \tan (g(x))g^{\prime}(x) & & & \frac{d}{dx} \sec u= \sec u \tan u\frac{du}{dx} \\ \frac{d}{dx}(\csc (g(x)))=−\csc (g(x)) \cot (g(x))g^{\prime}(x) & & & \frac{d}{dx} \csc u=−\csc u \cot u\frac{du}{dx} \end{array}

Combining the Chain Rule with the Product Rule

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

Solution

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

\begin{array}{lllll}h^{\prime}(x) & =\frac{d}{dx}((2x+1)^5) \cdot (3x-2)^7+\frac{d}{dx}((3x-2)^7) \cdot (2x+1)^5 & & & \text{Apply the product rule.} \\ & =5(2x+1)^4 \cdot 2 \cdot (3x-2)^7+7(3x-2)^6 \cdot 3 \cdot (2x+1)^5 & & & \text{Apply the chain rule.} \\ & =10(2x+1)^4(3x-2)^7+21(3x-2)^6(2x+1)^5 & & & \text{Simplify.} \\ & =(2x+1)^4(3x-2)^6(10(3x-2)+21(2x+1)) & & & \text{Factor out} \, (2x+1)^4(3x-2)^6. \\ & =(2x+1)^4(3x-2)^6(72x+1) & & & \text{Simplify.} \end{array}

Find the derivative of h(x)=\frac{x}{(2x+3)^3}.

Solution

h^{\prime}(x)=\frac{3-4x}{(2x+3)^4}

Hint

Start out by applying the quotient rule. Remember to use the chain rule to differentiate the denominator.

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

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

Then, applying the chain rule once we obtain

k^{\prime}(x)=\frac{d}{dx}(h(f(g(x))))=h^{\prime}(f(g(x))) \cdot \frac{d}{dx}(f(g(x))).

Applying the chain rule again, we obtain

k^{\prime}(x)=h^{\prime}(f(g(x)))f^{\prime}(g(x))g^{\prime}(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^{\prime}(x)=h^{\prime}(f(g(x)))f^{\prime}(g(x))g^{\prime}(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 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 (7x^2+1).

Solution

First, rewrite k(x) as

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

Then apply the chain rule several times.

\begin{array}{lllll}k^{\prime}(x) & =4(\cos(7x^2+1))^3(\frac{d}{dx}(\cos(7x^2+1))) & & & \text{Apply the chain rule.} \\ & =4(\cos(7x^2+1))^3(−\sin(7x^2+1))(\frac{d}{dx}(7x^2+1)) & & & \text{Apply the chain rule.} \\ & =4(\cos(7x^2+1))^3(−\sin(7x^2+1))(14x) & & & \text{Apply the chain rule.} \\ & =-56x \sin(7x^2+1) \cos^3 (7x^2+1) & & & \text{Simplify.} \end{array}

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

Solution

h^{\prime}(x)=18x^2 \sin^5 (x^3) \cos (x^3)

Hint

Rewrite h(x)=\sin^6 (x^3)=(\sin(x^3))^6 and use (Figure) as a guide.

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 (2t)+ \cos (3t). What is the velocity of the particle at time t=\frac{\pi}{6}?

Solution

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

v(t)=s^{\prime}(t)=2 \cos(2t)-3 \sin(3t).

Substituting t=\frac{\pi}{6} into v(t), we obtain v(\frac{\pi}{6})=-2.

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

Solution

a(t)=-16 \sin (4t)

Hint

Acceleration is the second derivative of position.

Proof of the Chain Rule

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)\ne g(a) for x\ne 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^{\prime}(a):

h^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(g(x))-f(g(a))}{x-a}.

Rewriting, we obtain

h^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(g(x))-f(g(a))}{g(x)-g(a)} \cdot \frac{g(x)-g(a)}{x-a}.

Although it is clear that

\underset{x\to a}{\lim}\frac{g(x)-g(a)}{x-a}=g^{\prime}(a),

it is not obvious that

\underset{x\to a}{\lim}\frac{f(g(x))-f(g(a))}{g(x)-g(a)}=f^{\prime}(g(a)).

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

\underset{x\to a}{\lim}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

\underset{x\to a}{\lim}\frac{f(g(x))-f(g(a))}{g(x)-g(a)}=\underset{y\to b}{\lim}\frac{f(y)-f(b)}{y-b}=f^{\prime}(b)=f^{\prime}(g(a)).

Finally,

h^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(g(x))-f(g(a))}{g(x)-g(a)} \cdot \frac{g(x)-g(a)}{x-a}=f^{\prime}(g(a))g^{\prime}(a) _\blacksquare

Using the Chain Rule with Functional Values

Let h(x)=f(g(x)). If g(1)=4, \, g^{\prime}(1)=3, and f^{\prime}(4)=7, find h^{\prime}(1).

Solution

Use the chain rule, then substitute.

\begin{array}{lllll}h^{\prime}(1) & =f^{\prime}(g(1))g^{\prime}(1) & & & \text{Apply the chain rule.} \\ & =f^{\prime}(4) \cdot 3 & & & \text{Substitute} \, g(1)=4 \, \text{and} \, g^{\prime}(1)=3. \\ & =7 \cdot 3 & & & \text{Substitute} \, f^{\prime}(4)=7. \\ & =21 & & & \text{Simplify.} \end{array}

Let h(x)=f(g(x)). If g(2)=-3, \, g^{\prime}(2)=4, and f^{\prime}(-3)=7, find h^{\prime}(2).

Solution

28

Hint

Follow (Figure).

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^{\prime}(x)=\frac{dy}{dx}, \, f^{\prime}(g(x))=f^{\prime}(u)=\frac{dy}{du}, and g^{\prime}(x)=\frac{du}{dx}.

Consequently,

\frac{dy}{dx}=h^{\prime}(x)=f^{\prime}(g(x))g^{\prime}(x)=\frac{dy}{du} \cdot \frac{du}{dx}.

Rule: Chain Rule Using Leibniz’s Notation

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

\frac{dy}{dx}=\frac{dy}{du} \cdot \frac{du}{dx}.

Taking a Derivative Using Leibniz’s Notation, Example 1

Find the derivative of y=\big(\frac{x}{3x+2}\big)^5.

Solution

First, let u=\frac{x}{3x+2}. Thus, y=u^5. Next, find \frac{du}{dx} and \frac{dy}{du}. Using the quotient rule,

\frac{du}{dx}=\frac{2}{(3x+2)^2}

and

\frac{dy}{du}=5u^4.

Finally, we put it all together.

\begin{array}{lllll}\frac{dy}{dx} & =\frac{dy}{du} \cdot \frac{du}{dx} & & & \text{Apply the chain rule.} \\ & =5u^4 \cdot \frac{2}{(3x+2)^2} & & & \text{Substitute} \, \frac{dy}{du}=5u^4 \, \text{and} \, \frac{du}{dx}=\frac{2}{(3x+2)^2}. \\ & =5(\frac{x}{3x+2})^4 \cdot \frac{2}{(3x+2)^2} & & & \text{Substitute} \, u=\frac{x}{3x+2}. \\ & =\frac{10x^4}{(3x+2)^6} & & & \text{Simplify.} \end{array}

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.

Taking a Derivative Using Leibniz’s Notation, Example 2

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

Solution

First, let u=4x^2-3x+1. Then y= \tan u. Next, find \frac{du}{dx} and \frac{dy}{du}:

\frac{du}{dx}=8x-3 and \frac{dy}{du}=\sec^2 u.

Finally, we put it all together.

\begin{array}{lllll}\frac{dy}{dx} & =\frac{dy}{du} \cdot \frac{du}{dx} & & & \text{Apply the chain rule.} \\ & = \sec^2 u \cdot (8x-3) & & & \text{Use} \, \frac{du}{dx}=8x-3 \, \text{and} \, \frac{dy}{du}= \sec^2 u. \\ & = \sec^2 (4x^2-3x+1) \cdot (8x-3) & & & \text{Substitute} \, u=4x^2-3x+1. \end{array}

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

Solution

\frac{dy}{dx}=-3x^2 \sin (x^3)

Hint

Let u=x^3.

Key Concepts

  • The chain rule allows us to differentiate compositions of two or more functions. It states that for h(x)=f(g(x)),
    h^{\prime}(x)=f^{\prime}(g(x))g^{\prime}(x).

    In Leibniz’s notation this rule takes the form

    \frac{dy}{dx}=\frac{dy}{du} \cdot \frac{du}{dx}.
  • We can use the chain rule with other rules that we have learned, and we can derive formulas for some of them.
  • The chain rule combines with the power rule to form a new rule:
    If h(x)=(g(x))^n, then h^{\prime}(x)=n(g(x))^{n-1}g^{\prime}(x).
  • When applied to the composition of three functions, the chain rule can be expressed as follows: If h(x)=f(g(k(x))), then h^{\prime}(x)=f^{\prime}(g(k(x)))g^{\prime}(k(x))k^{\prime}(x).

Key Equations

  • The chain rule
    \frac{d}{dx}(f(g(x)))=f^{\prime}(g(x))g^{\prime}(x)
  • The power rule for functions
    \frac{d}{dx}((g(x)^n)=n(g(x))^{n-1}g^{\prime}(x)

For the following exercises, given y=f(u) and u=g(x), find \frac{dy}{dx} by using Leibniz’s notation for the chain rule: \frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}.

1. y=3u-6, \, u=2x^2

2. y=6u^3, \, u=7x-4

Solution

\frac{dy}{dx} = 18u^2 \cdot 7=18(7x-4)^2 \cdot 7

3. y= \sin u, \, u=5x-1

4. y= \cos u, \, u=\frac{−x}{8}

Solution

\frac{dy}{dx} = −\sin u \cdot \frac{-1}{8}=−\sin (\frac{−x}{8}) \cdot \frac{-1}{8}

5. y= \tan u, \, u=9x+2

6. y=\sqrt{4u+3}, \, u=x^2-6x

Solution

\frac{dy}{dx} = \frac{8x-24}{2\sqrt{4u+3}}=\frac{4x-12}{\sqrt{4x^2-24x+3}}

For each of the following exercises,

  1. decompose each function in the form y=f(u) and u=g(x), and
  2. find \frac{dy}{dx} as a function of x.

7. y=(3x-2)^6

8. y=(3x^2+1)^3

Solution

a. f(u) = u^3, \, u=3x^2+1;
b. \frac{dy}{dx} = 18x(3x^2+1)^2

9. y= \sin^5 (x)

10. y=(\frac{x}{7}+\frac{7}{x})^7

Solution

a. f(u)=u^7, \, u=\frac{x}{7}+\frac{7}{x};
b. \frac{dy}{dx} = 7(\frac{x}{7}+\frac{7}{x})^6 \cdot (\frac{1}{7}-\frac{7}{x^2})

11. y= \tan ( \sec x)

12. y= \csc (\pi x+1)

Solution

a. f(u)= \csc u, \, u=\pi x+1;
b. \frac{dy}{dx} = −\pi \csc (\pi x+1) \cdot \cot (\pi x+1)

13. y= \cot^2 x

14. y=-6 \sin^{-3} x

Solution

a. f(u)=-6u^{-3}, \, u= \sin x;
b. \frac{dy}{dx} = 18 \sin^{-4} x \cdot \cos x

For the following exercises, find \frac{dy}{dx} for each function.

15. y=(3x^2+3x-1)^4

16. y=(5-2x)^{-2}

Solution

\frac{dy}{dx} = \frac{4}{(5-2x)^3}

17. y= \cos^3 (\pi x)

18. y=(2x^3-x^2+6x+1)^3

Solution

\frac{dy}{dx} = 6(2x^3-x^2+6x+1)^2(3x^2-x+3)

19. y=\frac{1}{\sin^2 (x)}

20. y=(\tan x+ \sin x)^{-3}

Solution

\frac{dy}{dx} = -3(\tan x+ \sin x)^{-4} \cdot (\sec^2 x+ \cos x)

21. y=x^2 \cos^4 x

22. y= \sin (\cos 7x)

Solution

\frac{dy}{dx} = -7 \cos (\cos 7x) \cdot \sin 7x

23. y=\sqrt{6+ \sec \pi x^2}

24. y= \cot^3 (4x+1)

Solution

\frac{dy}{dx} = -12 \cot^2 (4x+1) \cdot \csc^2 (4x+1)

25. Let y=(f(x))^3 and suppose that f^{\prime}(1)=4 and \frac{dy}{dx}=10 for x=1. Find f(1).

26. Let y=(f(x)+5x^2)^4 and suppose that f(-1)=-4 and \frac{dy}{dx}=3 when x=-1. Find f^{\prime}(-1)

Solution

10\frac{3}{4}

27. Let y=(f(u)+3x)^2 and u=x^3-2x. If f(4)=6 and \frac{dy}{dx}=18 when x=2, find f^{\prime}(4).

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

Solution

y=-\frac{1}{2}x

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

30. Find the x-coordinates at which the tangent line to y=(x-\frac{6}{x})^8 is horizontal.

Solution

x= \pm \sqrt{6}

31. [T] Find an equation of the line that is normal to g(\theta)= \sin^2 (\pi \theta) at the point (\frac{1}{4},\frac{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^{\prime}(a) at the given value for a.

x f(x) f^{\prime}(x) g(x) g^{\prime}(x)
0 2 5 0 2
1 1 −2 3 0
2 4 4 1 −1
3 3 −3 2 3

32. h(x)=f(g(x)); \, a=0

Solution

10

33. h(x)=g(f(x)); \, a=0

34. h(x)=(x^4+g(x))^{-2}; \, a=1

Solution

-\frac{1}{8}

35. h(x)=(\frac{f(x)}{g(x)})^2; \, a=3

36. h(x)=f(x+f(x)); \, a=1

Solution

-4

37. h(x)=(1+g(x))^3; \, a=2

38. h(x)=g(2+f(x^2)); \, a=1

Solution

-12

39. h(x)=f(g(\sin x)); \, a=0

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

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

Solution

a. -\frac{200}{343} m/s;
b. \frac{600}{2401} \, \text{m/s}^2;
c. The train is slowing down since velocity and acceleration have opposite signs.

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

s(t)=-3 \cos (\pi t+\frac{\pi}{4}).

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

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

  1. Find the marginal cost C^{\prime}(x).
  2. Use Leibniz’s notation for the chain rule, \frac{dC}{dt}=\frac{dC}{dx} \cdot \frac{dx}{dt}, to find the rate with respect to time t that the cost is changing.
  3. Use b. to determine how fast costs are increasing when t=2 weeks. Include units with the answer.

Solution

a. C^{\prime}(x)=0.0003x^2-0.04x+3
b. \frac{dC}{dt}=100 \cdot (0.0003x^2-0.04x+3)
c. Approximately $90,300 per week

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

  1. Suppose r=2-\frac{100}{(t+7)^2} where t is time in seconds. Use the chain rule \frac{dA}{dt}=\frac{dA}{dr} \cdot \frac{dr}{dt} to find the rate at which the area is expanding.
  2. Use a. to find the rate at which the area is expanding at t=4 s.

44. [T] The formula for the volume of a sphere is S=\frac{4}{3}\pi r^3, where r (in feet) is the radius of the sphere. Suppose a spherical snowball is melting in the sun.

  1. Suppose r=\frac{1}{(t+1)^2}-\frac{1}{12} where t is time in minutes. Use the chain rule \frac{dS}{dt}=\frac{dS}{dr} \cdot \frac{dr}{dt} to find the rate at which the snowball is melting.
  2. Use a. to find the rate at which the volume is changing at t=1 min.

Solution

a. \frac{dS}{dt}=-\frac{8\pi r^2}{(t+1)^3}
b. The volume is decreasing at a rate of -\frac{\pi}{36} \, \text{ft}^3/\text{min}.

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

46. [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 (\frac{\pi}{6} t-\frac{7\pi}{6})+8, where t is the number of hours after midnight. Find the rate at which the depth is changing at 6 a.m.

Solution

 \approx 2.3 ft/hr

Glossary

chain rule
the chain rule defines the derivative of a composite function as the derivative of the outer function evaluated at the inner function times the derivative of the inner function

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

3.6 The Chain Rule by OSCRiceUniversity is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book