• Tidak ada hasil yang ditemukan

Section 4.3 Problems

4.4 The Chain Rule and Higher Derivatives

4.4.1 The Chain Rule

In Section 1.2, we defined the composition of functions. To find the derivative of composite functions, we need thechain rule, the proof of which is given at the end of this section.

Chain Rule Ifgis differentiable atx and f is differentiable aty=g(x), then the composite function(fg)(x) = f[g(x)]is differentiable atx, and the derivative is given by

(fg)(x)= f[g(x)]g(x)

This formula looks complicated. Let’s take a moment to see what we need to do to find the derivative of the composite function(fg)(x). The functiongis the inner function; the function f is the outer function. The expression f[g(x)]g(x) thus means that we need to find the derivative of the outer function, evaluated at g(x), and the derivative of the inner function, evaluated atx, and then multiply the two together.

EXAMPLE 1 A Polynomial Find the derivative of

h(x)=(3x21)2

Solution

The inner function isg(x)=3x2−1; the outer function is f(u)=u2. Then g(x)=6x and f(u)=2u

Evaluating f(u)atu=g(x)yields

f[g(x)] =2g(x)=2(3x2−1) Thus,

h(x)=(fg)(x)= f[g(x)]g(x)

=2(3x21)6x =12x(3x21)

The derivative of fgcan be written in Leibniz notation. If we setu=g(x), then d

d x [(fg)(x)]= d f du

du d x

This form of the chain rule emphasizes that, in order to differentiate fg, we multiply the derivative of the outer function and the derivative of the inner function, the former evaluated atu, the latter atx.

EXAMPLE 2 A Polynomial Find the derivative of

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

Solution

If we setu=g(x)=2x+1 and f(u)=u3, thenh(x)=(fg)(x). We need to find both f[g(x)]andg(x)to computeh(x). Now,

g(x)=2 and f(u)=3u2 Hence, since f[g(x)] =3(g(x))2 =3(2x+1)2, it follows that

h(x)= f[g(x)]g(x)=3(2x+1)2·2

=6(2x+1)2 If we use Leibniz notation, this becomes

h(x)= d f du

du

d x =3u2·2=3(2x+1)2·2

=6(2x+1)2

EXAMPLE 3 A Radical Find the derivative ofh(x)= x2+1.

Solution

If we setu=g(x)=x2+1 and f(u)=√

u, thenh(x)=(fg)(x). We find that g(x)=2x and f(u)= 1

2√ u We need to evaluate fatg(x)—that is,

f[g(x)] = 1 2√

g(x) = 1 2

x2+1 Therefore,

h(x)= f[g(x)]g(x)= 1 2

x2+12x = x x2+1

EXAMPLE 4 A Radical Find the derivative of

h(x)=7

2x2+3x

Solution

We write

h(x)=(2x2+3x)1/7

The inner function isu = g(x) = 2x2+3x and the outer function is f(u) = u1/7. Thus, we find that

h(x)= d f du

du d x = 1

7u1/7−1(4x+3)

= 1

7(2x2+3x)−6/7(4x+3)

= 4x+3 7(2x2+3x)6/7

EXAMPLE 5 A Rational Function Find the derivative ofh(x)=

x+1x

2

.

Solution

If we setu=g(x)= x+x1and f(u)=u2, thenh(x)=(fg)(x). We use the quotient rule to compute the derivative ofg(x):

g(x)= 1·(x+1)x·1

(x+1)2 = 1

(x+1)2 Since f(u)=2u, we obtain

h(x)= f[g(x)]g(x)=2 x x+1

1

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

The Proof of the Quotient Rule

We can use the chain rule to prove the quotient rule. Assume thatg(x)=0 for allxin the domain ofg. If we defineh(x)= 1x, then

(hg)(x)=h[g(x)] = 1 g(x)

We used the formal definition of the derivative in Example 3 in Section 4.1 to show thath(x)= −x12. This, together with the chain rule, yields

(hg)(x)= − 1

[g(x)]2g(x), or

1 g

= −g g2

Since gf = f 1g, we can use the product rule to find the derivative of gf: f

g

= f1 g + f

1 g

= f1 g + f

g g2

= fgf g g2

Note that we did not use the power rule for negative integer exponents (Subsection 4.3.2) to compute h(x), but instead used the formal definition of derivatives to compute the derivative of 1/x. Using the power rule for negative integer exponents would have been circular reasoning: We used the quotient rule to prove the power rule for negative integer exponents, so we cannot use the power rule for negative integer exponents to prove the quotient rule.

EXAMPLE 6 A Function with Parameters Find the derivative of h(x)=(ax22)n wherea>0 andnis a positive integer.

Solution

If we setu=g(x)=ax22 and f(u)=un, thenh(x)=(fg)(x). Since g(x)=2ax and f(u)=nun−1

it follows that

h(x)= f[g(x)]g(x)=n(ax2−2)n−12ax

=2anx(ax22)n−1

Looking ath(x)=n(ax22)n1·2ax, we see that we first differentiated the outer function f, which yieldedn(ax22)n−1via the power rule, and then multiplied the result by 2ax, the derivative of the inner functiong.

EXAMPLE 7 Differentiating a Function That Is Not Specified Suppose f(x)is differentiable. Find d

d x

√ 1 f(x)

Solution

We set

h(x)= √1

f(x) = [f(x)]−1/2

Now,u= f(x)is the inner function andh(u)=u−1/2is the outer function; hence, d

d xh(x)= dh du

du d x = −1

2u−3/2f(x)

= − 1

2u3/2 f(x)= − f(x) 2[f(x)]3/2

EXAMPLE 8 Generalized Power Rule Suppose f(x)is differentiable andris a real number. Find d

d x[f(x)]r

Solution

Using the general form of the power rule and the chain rule, we find that d

d x[f(x)]r =r[f(x)]r−1f(x)

EXAMPLE 9 Differentiating a Function That Is Not Specified Suppose that f(x)=3x1. Find d

d x f(x2) atx =3

Solution

The inner function isu=x2, the outer function is f(u), and we find that d

d x f(x2)=2x f(x2)

If we substitutex =3 into f(x2), we obtain f(32)= f(9)=(3)(9)1=26. Thus, d

d x f(x2)

x=3=(2)(3)f(9)=(6)(26)=156

The chain rule can be applied repeatedly, as shown in the next two examples.

EXAMPLE 10 Nested Chain Rule Find the derivative of h(x)=

x2+1+1 2

Solution

If we seth(x)= (fg)(x), theng(x)=

x2+1+1 and f(u)=u2. We see that g(x)is itself a composition of two functions, with inner functionv=x2+1 and outer function√

v+1. To differentiateh(x), we proceed stepwise. First,

h(x)= d d x

x2+1+1 2

=2

x2+1+1 d

d x

x2+1+1

Then, since

d d x

x2+1+1

= 2x 2

x2+1 = x x2+1 (where we used the chain rule to differentiate

x2+1), we get h(x)=2

x2+1+1 x

x2+1

EXAMPLE 11 Nested Chain Rule Find the derivative of h(x)=

2x3− 3x4−2

3

Solution

As in the previous example, we proceed stepwise:

h(x)=3

2x3− 3x42

2

d d x

2x3− 3x42

=3

2x3− 3x42

2

6x212x3 2

3x42

=18x2

2x3− 3x42

2

1− x

3x42

We conclude this subsection with the proof of the chain rule. The first part of the proof follows along the lines of the argument we sketched out at the beginning of the section, but the second part is much more technical and deals with the problem that ucould be zero.

Proof of the Chain Rule

We will use the definition of the derivative to prove the chain rule. Formally,

(fg)(x)= lim

xc

f[g(x)] − f[g(c)]

xc

We need to show that the right-hand side is equal to f[g(c)]g(c). As long asg(x)= g(c), we can write

xclim

f[g(x)] − f[g(c)]

xc = lim

xc

f[g(x)]−f[g(c)]

g(x)g(c) [g(x)g(c)]

xc

= lim

xc

f[g(x)] − f[g(c)]

g(x)g(c)

g(x)g(c) xc

Sinceg(x)is continuous atx =c, it follows that limxcg(x)=g(c), and hence,

xclim

f[g(x)] − f[g(c)]

g(x)g(c) = f[g(c)]

Furthermore,

xclim

g(x)g(c)

xc =g(c)

Since these limits exist, we can use the fact that the limit of a product is the product of the limits. We find that

xclim

f[g(x)] − f[g(c)]

xc = lim

xc

f[g(x)] − f[g(c)]

g(x)g(c) xclim

g(x)g(c) xc

= f[g(c)]g(c)

In the preceding calculation, we needed to assume thatg(x)g(c) = 0. Of course, when we take the limit asxc, there might bex-values such thatg(x)= g(c), and we must deal with this possibility.

We sety=g(x)andd=g(c). The expression f(y)f(y)f(d)

yd is defined only fory =d. Since

ydlim

f(y)f(d)

yd = f(d)

we can extend f[g(x)] by defining f[g(x)] = f[g(x)] to make f[g(x)] a continuous function:

f[g(x)] =

⎧⎪

⎪⎩

f[g(x)] − f[g(c)]

g(x)g(c) forg(x)=g(c) f[g(c)] forg(x)=g(c) This means that, for allx,

f[g(x)] − f[g(c)] = f[g(x)][g(x)g(c)]

With this equivalence, we can repeat our calculations to obtain

xclim

f[g(x)] − f[g(c)]

xc = lim

xc

f[g(x)][g(x)g(c)]

xc

xclim f[g(x)]lim

xc

g(x)g(c)

xc = f[g(c)] ·g(c)

Note that in the last step we used the fact that f[g(x)]is continuous atx=c.