3.3 Chain Ruleap Calculus



How do you use the chain rule to differentiate #y=(3x^3+1)(-4x^2-3)^4#? Calculus Basic Differentiation Rules Chain Rule. This video explains about Topic 3.3 for subject BUM2123 Applied Calculus which will be used in Substitute Blended Learning.

1,001 Calculus Practice Problems

Part I

The Questions

Chapter 5

The Product, Quotient, and Chain Rules

This chapter focuses on some of the major techniques needed to find the derivative: the product rule, the quotient rule, and the chain rule. By using these rules along with the power rule and some basic formulas (see Chapter 4), you can find the derivatives of most of the single-variable functions you encounter in calculus. However, after using the derivative rules, you often need many algebra steps to simplify the function so that it's in a nice final form, especially on problems involving the product rule or quotient rule.

The Problems You'll Work On

Here you practice using most of the techniques needed to find derivatives (besides the power rule):

· The product rule

· The quotient rule

· The chain rule

· Derivatives involving trigonometric functions

What to Watch Out For

Many of these problems require one calculus step and then many steps of algebraic simplification to get to the final answer. Remember the following tips as you work through the problems:

· Considering simplifying a function before taking the derivative. Simplifying before taking the derivative is almost always easier than finding the derivative and then simplifying.

· Some problems have functions without specified formulas in the questions; don't be thrown off! Simply proceed as you normally would on a similar example.

· Many people make the mistake of using the product rule when they should be using the chain rule. Stop and examine the function before jumping in and taking the derivative. Make sure you recognize whether the question involves a product or a composition (in which case you must use the chain rule).

· Rewriting the function by adding parentheses or brackets may be helpful, especially on problems that involve using the chain rule multiple times.

Using the Product Rule to Find Derivatives

312–331 Use the product rule to find the derivative of the given function.

312.f (x) = (2x3 + 1)(x5x)

313.f (x) = x2 sin x

314.f (x) = sec x tan x

315.

316.f (x) = 4x csc x

317. Find (fg)'(4) if f (4) = 3, f '(4) = 2, g(4) = –6, and g '(4) = 8.

318.

319.f (x) = (sec x)(x + tan x)

320.

321.f (x) = 4x3 sec x

322.

323. Assuming that g is a differentiable function, find an expression for the derivative of f (x) = x2g(x).

324. Assuming that g is a differentiable function, find an expression for the derivative of .

325. Find (fg)'(3) if f (3) = –2, f '(3) = 4, g(3) = –8, and g '(3) = 7.

326.f (x) = x2 cos x sin x

327. Assuming that g is a differentiable function, find an expression for the derivative of .

328.

329.

330. Assuming that g is a differentiable function, find an expression for the derivative of .

331. Assuming that g and h are differentiable functions, find an expression for the derivative of .

Using the Quotient Rule to Find Derivatives

332–351 Use the quotient rule to find the derivative.

332.

333.

334.

335.

336. Assuming that f and g are differentiable functions, find the value of if f (4) = 5, f '(4) = –7, g(4) = 8, and g'(4) = 4.

337.

338.

339.

340.

341.

342.

343. Assuming that f and g are differentiable functions, find the value of if f (5) = –4, f '(5) = 2, g(5) = –7, and g'(5) = –6.

344.

345.

346.

347.

348.

349.

350. Assuming that g is a differentiable function, find an expression for the derivative of .

351. Assuming that g is a differentiable function, find an expression for the derivative of .

Using the Chain Rule to Find Derivatives

352–370 Use the chain rule to find the derivative.

352.

353.f (x) = sin(4x)

354.

355.

356.

357.

358.

359.f (x) = cos(x sin x)

360.

361.

362.f (x) = sec2 x + tan2 x

363.

364.

365.

366.

367. , where x > 1

368.

369.

370.

More Challenging Chain Rule Problems

371–376 Solve the problem related to the chain rule.

371. Find all x values in the interval [0, 2π] where the function f (x) = 2 cos x + sin2 x has a horizontal tangent line.

372. Suppose that H is a function such that for x > 0. Find an expression for the derivative of .

373. Let , g(2) = –2, g'(2) = 4, f'(2) = 5, and f'(–2) = 7. Find the value of F'(2).

374. Let , f (2) = –2, f'(2) = –5, and f'(–2) = 8. Find the value of F'(2).

375. Suppose that H is a function such that for x > 0. Find an expression for the derivative of f (x) = H(x3).

376. Let , g(4) = 6, g'(4) = 8, f '(4) = 2, and f '(6) = 10. Find the value of F '(4).




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 ([latex]x^n, , sin x, , cos x[/latex], 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 [latex]h(x)= sin (x^3)[/latex] or [latex]k(x)=sqrt{3x^2+1}[/latex]. In this section, we study the rule for finding the derivative of the composition of two or more functions.

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: [latex]h(x)= sin (x^3)[/latex]. We can think of the derivative of this function with respect to [latex]x[/latex] as the rate of change of [latex]sin (x^3)[/latex] relative to the change in [latex]x[/latex]. Consequently, we want to know how [latex]sin (x^3)[/latex] changes as [latex]x[/latex] changes. We can think of this event as a chain reaction: As [latex]x[/latex] changes, [latex]x^3[/latex] changes, which leads to a change in [latex]sin (x^3)[/latex]. This chain reaction gives us hints as to what is involved in computing the derivative of [latex]sin (x^3)[/latex]. First of all, a change in [latex]x[/latex] forcing a change in [latex]x^3[/latex] suggests that somehow the derivative of [latex]x^3[/latex] is involved. In addition, the change in [latex]x^3[/latex] forcing a change in [latex]sin (x^3)[/latex] suggests that the derivative of [latex]sin (u)[/latex] with respect to [latex]u[/latex], where [latex]u=x^3[/latex], is also part of the final derivative.

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

[latex]h^{prime}(a)=underset{xto a}{lim}frac{sin (x^3)- sin (a^3)}{x-a}[/latex].

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

[latex]h^{prime}(a)=underset{xto a}{lim}frac{sin (x^3)- sin (a^3)}{x^3-a^3} cdot frac{x^3-a^3}{x-a}[/latex].

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

[latex]underset{xto a}{lim}frac{x^3-a^3}{x-a}=frac{d}{dx}(x^3)|_{x=a}=3a^2[/latex].

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

[latex]begin{array}{ll} underset{xto a}{lim}frac{sin (x^3)- sin (a^3)}{x^3-a^3} & =underset{uto 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}[/latex]

Thus, [latex]h^{prime}(a)= cos (a^3) cdot 3a^2[/latex].

In other words, if [latex]h(x)= sin (x^3)[/latex], then [latex]h^{prime}(x)= cos (x^3) cdot 3x^2[/latex]. Thus, if we think of [latex]h(x)= sin (x^3)[/latex] as the composition [latex](fcirc g)(x)=f(g(x))[/latex] where [latex]f(x)=sin x[/latex] and [latex]g(x)=x^3[/latex], then the derivative of [latex]h(x)= sin (x^3)[/latex] is the product of the derivative of [latex]g(x)=x^3[/latex] and the derivative of the function [latex]f(x)= sin x[/latex] evaluated at the function [latex]g(x)=x^3[/latex]. At this point, we anticipate that for [latex]h(x)= sin (g(x))[/latex], it is quite likely that [latex]h^{prime}(x)= cos (g(x))g^{prime}(x)[/latex]. As we determined above, this is the case for [latex]h(x)= sin (x^3)[/latex].

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 [latex]f[/latex] and [latex]g[/latex] be functions. For all [latex]x[/latex] in the domain of [latex]g[/latex] for which [latex]g[/latex] is differentiable at [latex]x[/latex] and [latex]f[/latex] is differentiable at [latex]g(x)[/latex], the derivative of the composite function

is given by

[latex]h^{prime}(x)=f^{prime}(g(x))g^{prime}(x)[/latex].

Alternatively, if [latex]y[/latex] is a function of [latex]u[/latex], and [latex]u[/latex] is a function of [latex]x[/latex], then

[latex]frac{dy}{dx}=frac{dy}{du} cdot frac{du}{dx}[/latex].

3.3 Chain Ruleap Calculus Calculator

Problem-Solving Strategy: Applying the Chain Rule

  1. To differentiate [latex]h(x)=f(g(x))[/latex], begin by identifying [latex]f(x)[/latex] and [latex]g(x)[/latex].
  2. Find [latex]f^{prime}(x)[/latex] and evaluate it at [latex]g(x)[/latex] to obtain [latex]f^{prime}(g(x))[/latex].
  3. Find [latex]g^{prime}(x)[/latex].
  4. Write [latex]h^{prime}(x)=f^{prime}(g(x)) cdot g^{prime}(x)[/latex].

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.

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 [latex]h(x)=(g(x))^n[/latex], we need to use the chain rule combined with the power rule. To do so, we can think of [latex]h(x)=(g(x))^n[/latex] as [latex]f(g(x))[/latex] where [latex]f(x)=x^n[/latex]. Then [latex]f^{prime}(x)=nx^{n-1}[/latex]. Thus, [latex]f^{prime}(g(x))=n(g(x))^{n-1}[/latex]. This leads us to the derivative of a power function using the chain rule,

[latex]h^{prime}(x)=n(g(x))^{n-1}g^{prime}(x)[/latex]

Rule: Power Rule for Composition of Functions

For all values of [latex]x[/latex] for which the derivative is defined, if

Calculus

Then

[latex]h^{prime}(x)=n(g(x))^{n-1}g^{prime}(x)[/latex].

Using the Chain and Power Rules

Find the derivative of [latex]h(x)=frac{1}{(3x^2+1)^2}[/latex].

Show Solution

First, rewrite [latex]h(x)=frac{1}{(3x^2+1)^2}=(3x^2+1)^{-2}[/latex].

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

Rewriting back to the original form gives us

[latex]h^{prime}(x)=frac{-12x}{(3x^2+1)^3}[/latex].

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

Show Solution

[latex]h^{prime}(x)=4(2x^3+2x-1)^3(6x+2)=8(3x+1)(2x^3+2x-1)^3[/latex]

Hint

Use (Figure) with [latex]g(x)=2x^3+2x-1[/latex]

Using the Chain and Power Rules with a Trigonometric Function

Find the derivative of [latex]h(x)=sin^3 x[/latex].

Show Solution

First recall that [latex]sin^3 x=(sin x)^3[/latex], so we can rewrite [latex]h(x)= sin^3 x[/latex] as [latex]h(x)=(sin x)^3[/latex].

Applying the power rule with [latex]g(x)= sin x[/latex], we obtain

[latex]h^{prime}(x)=3(sin x)^2 cos x=3 sin^2 x cos x[/latex].

Finding the Equation of a Tangent Line

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

Show Solution

Because we are finding an equation of a line, we need a point. The [latex]x[/latex]-coordinate of the point is 2. To find the [latex]y[/latex]-coordinate, substitute 2 into [latex]h(x)[/latex]. Since [latex]h(2)=frac{1}{(3(2)-5)^2}=1[/latex], the point is [latex](2,1)[/latex].

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

[latex]h^{prime}(x)=-2(3x-5)^{-3}(3)=-6(3x-5)^{-3}[/latex].

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

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

Show Solution

Hint

Use the preceding example as a guide.

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 [latex]h(x)= cos (g(x))[/latex].

Show SolutionThink of [latex]h(x)= cos (g(x))[/latex] as [latex]f(g(x))[/latex] where [latex]f(x)= cos x[/latex]. Since [latex]f^{prime}(x)=−sin x[/latex] we have [latex]f^{prime}(g(x))=−sin (g(x))[/latex]. Then we do the following calculation.
[latex]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}[/latex]

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

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 [latex]h(x)= cos (5x^2)[/latex].

Show Solution
Let [latex]g(x)=5x^2[/latex]. Then [latex]g^{prime}(x)=10x[/latex].
Using the result from the previous example, [latex]begin{array}{ll}h^{prime}(x) & =-sin (5x^2) cdot 10x & =-10x sin (5x^2) end{array}[/latex]

Using the Chain Rule on Another Trigonometric Function

Find the derivative of [latex]h(x)= sec (4x^5+2x)[/latex].

Show Solution

Apply the chain rule to [latex]h(x)= sec (g(x))[/latex] to obtain

[latex]h^{prime}(x)= sec (g(x)) tan (g(x))g^{prime}(x)[/latex].

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

[latex]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}[/latex]

Find the derivative of [latex]h(x)= sin (7x+2)[/latex].

Show Solution

Hint

Apply the chain rule to [latex]h(x)= sin g(x)[/latex] first and then use [latex]g(x)=7x+2[/latex].

3.3 chain ruleap calculus 14th edition

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 [latex]x[/latex] for which the derivative is defined,

[latex]begin{array}{llll}frac{d}{dx}(sin (g(x)))= cos (g(x))g^{prime}(x) & & & frac{d}{dx} sin u= cos ufrac{du}{dx} frac{d}{dx}(cos (g(x)))=−sin (g(x))g^{prime}(x) & & & frac{d}{dx} cos u=−sin ufrac{du}{dx} frac{d}{dx}(tan (g(x)))= sec^2 (g(x))g^{prime}(x) & & & frac{d}{dx} tan u=sec^2 ufrac{du}{dx} frac{d}{dx}(cot (g(x)))=−csc^2 (g(x))g^{prime}(x) & & & frac{d}{dx} cot u=−csc^2 ufrac{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 ufrac{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 ufrac{du}{dx} end{array}[/latex]

Combining the Chain Rule with the Product Rule

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

Show Solution

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

[latex]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}[/latex]

Find the derivative of [latex]h(x)=frac{x}{(2x+3)^3}[/latex].

Show Solution

[latex]h^{prime}(x)=frac{3-4x}{(2x+3)^4}[/latex]

Hint

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

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

[latex]k^{prime}(x)=frac{d}{dx}(h(f(g(x))))=h^{prime}(f(g(x))) cdot frac{d}{dx}(f(g(x)))[/latex].

Applying the chain rule again, we obtain

[latex]k^{prime}(x)=h^{prime}(f(g(x)))f^{prime}(g(x))g^{prime}(x)[/latex].

Rule: Chain Rule for a Composition of Three Functions

For all values of [latex]x[/latex] for which the function is differentiable, if

then

[latex]k^{prime}(x)=h^{prime}(f(g(x)))f^{prime}(g(x))g^{prime}(x)[/latex].

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 [latex]k(x)=cos^4 (7x^2+1)[/latex].

Show Solution

First, rewrite [latex]k(x)[/latex] as

Then apply the chain rule several times.

[latex]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}[/latex]

Find the derivative of [latex]h(x)=sin^6 (x^3)[/latex].

Show Solution

[latex]h^{prime}(x)=18x^2 sin^5 (x^3) cos (x^3)[/latex]

Hint

Rewrite [latex]h(x)=sin^6 (x^3)=(sin(x^3))^6[/latex] 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 [latex]t[/latex] is given by [latex]s(t)= sin (2t)+ cos (3t)[/latex]. What is the velocity of the particle at time [latex]t=frac{pi}{6}[/latex]?

Show Solution

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

[latex]v(t)=s^{prime}(t)=2 cos(2t)-3 sin(3t)[/latex].

Substituting [latex]t=frac{pi}{6}[/latex] into [latex]v(t)[/latex], we obtain [latex]v(frac{pi}{6})=-2[/latex].

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

Show Solution

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 [latex]g(x)ne g(a)[/latex] for [latex]xne a[/latex] in some open interval containing [latex]a[/latex]. We begin by applying the limit definition of the derivative to the function [latex]h(x)[/latex] to obtain [latex]h^{prime}(a)[/latex]:

[latex]h^{prime}(a)=underset{xto a}{lim}frac{f(g(x))-f(g(a))}{x-a}[/latex].

Rewriting, we obtain

[latex]h^{prime}(a)=underset{xto a}{lim}frac{f(g(x))-f(g(a))}{g(x)-g(a)} cdot frac{g(x)-g(a)}{x-a}[/latex].

Although it is clear that

[latex]underset{xto a}{lim}frac{g(x)-g(a)}{x-a}=g^{prime}(a)[/latex],

it is not obvious that

[latex]underset{xto a}{lim}frac{f(g(x))-f(g(a))}{g(x)-g(a)}=f^{prime}(g(a))[/latex].

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

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

[latex]underset{xto a}{lim}frac{f(g(x))-f(g(a))}{g(x)-g(a)}=underset{yto b}{lim}frac{f(y)-f(b)}{y-b}=f^{prime}(b)=f^{prime}(g(a))[/latex].

Finally,

[latex]h^{prime}(a)=underset{xto 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[/latex]

Using the Chain Rule with Functional Values

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

Show Solution

Use the chain rule, then substitute.

[latex]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}[/latex]

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

Show Solution

Hint

Follow (Figure).

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

[latex]h^{prime}(x)=frac{dy}{dx}, , f^{prime}(g(x))=f^{prime}(u)=frac{dy}{du}[/latex], and [latex]g^{prime}(x)=frac{du}{dx}[/latex].

Consequently,

[latex]frac{dy}{dx}=h^{prime}(x)=f^{prime}(g(x))g^{prime}(x)=frac{dy}{du} cdot frac{du}{dx}[/latex].

Rule: Chain Rule Using Leibniz’s Notation

If [latex]y[/latex] is a function of [latex]u[/latex], and [latex]u[/latex] is a function of [latex]x[/latex], then

[latex]frac{dy}{dx}=frac{dy}{du} cdot frac{du}{dx}[/latex].

Taking a Derivative Using Leibniz’s Notation, Example 1

Find the derivative of [latex]y=big(frac{x}{3x+2}big)^5[/latex].

Show Solution

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

and

[latex]frac{dy}{du}=5u^4[/latex].

Finally, we put it all together.

[latex]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}[/latex]

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 [latex]y= tan (4x^2-3x+1)[/latex].

Show Solution

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

[latex]frac{du}{dx}=8x-3[/latex] and [latex]frac{dy}{du}=sec^2 u[/latex].

Finally, we put it all together.

[latex]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}[/latex]

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

Show Solution

Hint

Let [latex]u=x^3[/latex].

3.3 Chain Ruleap Calculus 2nd Edition

Key Concepts

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

    In Leibniz’s notation this rule takes the form

    [latex]frac{dy}{dx}=frac{dy}{du} cdot frac{du}{dx}[/latex].
  • 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 [latex]h(x)=(g(x))^n[/latex], then [latex]h^{prime}(x)=n(g(x))^{n-1}g^{prime}(x)[/latex].
  • When applied to the composition of three functions, the chain rule can be expressed as follows: If [latex]h(x)=f(g(k(x)))[/latex], then [latex]h^{prime}(x)=f^{prime}(g(k(x)))g^{prime}(k(x))k^{prime}(x)[/latex].
  • The chain rule
    [latex]frac{d}{dx}(f(g(x)))=f^{prime}(g(x))g^{prime}(x)[/latex]
  • The power rule for functions
    [latex]frac{d}{dx}((g(x)^n)=n(g(x))^{n-1}g^{prime}(x)[/latex]

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

Show Solution

[latex]frac{dy}{dx} = 18u^2 cdot 7=18(7x-4)^2 cdot 7[/latex]

Show Solution

[latex]frac{dy}{dx} = −sin u cdot frac{-1}{8}=−sin (frac{−x}{8}) cdot frac{-1}{8}[/latex]

Show Solution

[latex]frac{dy}{dx} = frac{8x-24}{2sqrt{4u+3}}=frac{4x-12}{sqrt{4x^2-24x+3}}[/latex]

For each of the following exercises,

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

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

Show Solution

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

Show Solution

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

Show Solution

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

For the following exercises, find [latex]frac{dy}{dx}[/latex] for each function.

Show Solution
Show Solution

3.3 Chain Ruleap Calculus Solver

[latex]frac{dy}{dx} = 6(2x^3-x^2+6x+1)^2(3x^2-x+3)[/latex]

Show Solution

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

Show Solution

[latex]frac{dy}{dx} = -7 cos (cos 7x) cdot sin 7x[/latex]

Show Solution

[latex]frac{dy}{dx} = -12 cot^2 (4x+1) cdot csc^2 (4x+1)[/latex]

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

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

Show Solution

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

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

Show Solution

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

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

Show Solution

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

[latex]x[/latex][latex]f(x)[/latex][latex]f^{prime}(x)[/latex][latex]g(x)[/latex][latex]g^{prime}(x)[/latex]
02502
11−230
2441−1
33−323
Show Solution
Show Solution

35. [latex]h(x)=(frac{f(x)}{g(x)})^2; , a=3[/latex]

Show Solution
Show Solution

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

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

a. [latex]-frac{200}{343}[/latex] m/s;
b. [latex]frac{600}{2401} , text{m/s}^2[/latex];
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 [latex]t[/latex] is measured in seconds and [latex]s[/latex] is in inches:

[latex]s(t)=-3 cos (pi t+frac{pi}{4})[/latex].

  1. Determine the position of the spring at [latex]t=1.5[/latex] s.
  2. Find the velocity of the spring at [latex]t=1.5[/latex] s.

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

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

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

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

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

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

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

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

45. [T] The daily temperature in degrees Fahrenheit of Phoenix in the summer can be modeled by the function [latex]T(x)=94-10 cos [frac{pi}{12}(x-2)][/latex], where [latex]x[/latex] 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 [latex]D(t)=5 sin (frac{pi}{6} t-frac{7pi}{6})+8[/latex], where [latex]t[/latex] is the number of hours after midnight. Find the rate at which the depth is changing at 6 a.m.

3.3 Chain Ruleap Calculus 14th Edition

Show Solution

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