• Tidak ada hasil yang ditemukan

The Power Rule, the Basic Rules of Differentiation, and the Derivatives of Polynomials

Section 4.1 Problems

4.2 The Power Rule, the Basic Rules of Differentiation, and the Derivatives of Polynomials

In this section, we will begin a systematic treatment of the computation of derivatives.

Knowing how to differentiate is fundamental to your understanding of the rest of the course. Although computer software is now available to compute derivatives of many functions (such asy=cxnory=esinx), it is nonetheless important that you master the techniques of differentiation.

The power rule is the simplest of the differentiation rules. It allows us to compute the derivative of a function of the formy=xn, wherenis a positive integer.

Power Rule Letnbe a positive integer; then d

d x(xn)=nxn−1

We found the rule for the constant function f(x)=ain the previous section.

If f(x)is the constant function f(x)=a, then d

d x f(x)=0

We prove the power rule first forn=2—that is, for f(x)=x2(Figure 4.20). In Subsection 4.1.1, we computed the derivative ofy= x2atx =1. In this section, we compute the difference quotientfx at any arbitraryx:

f

x = f(x+h)f(x)

h = (x+h)2x2 h

x h x x

y

h

f(x h) f(x) (x h)2 x2 (x h, (x h)2)

(x, x2)

Secant line x2

Figure 4.20 The slope of the secant line through(x,x2) and(x+h, (x+h)2)is(x+h)h2x2.

Using the expansion(x+h)2 =x2+2x h+h2, we find that f

x = x2+2x h+h2x2

h = 2x h+h2

h =2x+h (4.5)

after cancelinghin both the numerator and the denominator. To find the derivative, we need to leth→0:

f(x)= lim

x→0

f x = lim

h→0(2x+h)=2x

This sequence of steps proves the power rule forn = 2. The proof of the rule for other positive integers ofn is conceptually no different from the casen = 2, but it gets algebraically much more involved. For generaln, we need the expansion of (x+h)n, given by thebinomial theorem, which we will not prove.

Binomial Theorem Ifnis a positive integer, then (x+y)n =xn+nxn−1y+ n(n1)

1 xn−2y2 + n(n1)(n2)

2·1 xn−3y3 + · · · +n(n−1)· · ·(nk+1)

k(k1)· · ·2·1 xnkyk + · · · +nx yn−1+yn

The expansion of(x+y)nis thus a sum of terms of the form Cn,kxnkyk, k=0,1, . . . ,n

whereCn,kis a coefficient that depends onnandk. The exact form of the coefficients Cn,k will not be important in the proof of the power rule, except for the two terms Cn,0 =1 andCn,1=n, which are the coefficients forxn andxn−1y, respectively.

Proof of the Power Rule

We use the binomial theorem to expand and then compute the difference in the numerator of the difference quotient:

f = f(x+h)f(x)=(x+h)nxn

=(Cn,0xn+Cn,1xn−1h+Cn,2xn−2h2+Cn,3xn−3h3 + · · · +Cn,n−1x hn−1+Cn,nhn)xn

SinceCn,0=1, thexn terms cancel. We can then factorhout of the remaining terms and find that

f(x+h)f(x)=h

Cn,1xn−1+Cn,2xn−2h+Cn,3xn−3h2+ · · · +Cn,nhn−1 When we divide byhand leth→0, we obtain

f(x)= lim

h→0

f(x+h)f(x) h

= lim

h→0

Cn,1xn−1+Cn,2xn−2h+Cn,3xn−3h2+ · · · +Cn,nhn−1

All terms except for the first havehas a factor and thus tend to 0 ash→0. (The first term does not depend onh.) We find that

f(x)=Cn,1xn−1 WithCn,1=n, this is then

f(x)=nxn−1 which proves the power rule.

EXAMPLE 1 We apply the power rule to various functions and take the opportunity to practice the different notations.

(a) If f(x)=x6, then f(x)=6x5. (b) If f(x)=x300, then f(x)=300x299. (c) Ifg(t)=t5, thendtdg(t)=5t4. (d) Ifz=s3, thend zds =3s2. (e) Ifx = y4, then d xd y =4y3.

Example 1 illustrates the importance of knowing how the variables depend on

y f(x)

x y

Dependent variable

Independent variable

dy

Slopedx

Figure 4.21 Ify= f(x), thenxis the independent variable andyis the dependent variable.

each other (Figure 4.21). Ify = f(x), we callx theindependent variableandythe dependent variable, becauseydepends on the variablex. For instance, in (a),yis a function ofx; thus,xis the independent, andyis the dependent, variable. In (e), by contrast,xis a function of y; thus, yis now the independent, andxthe dependent, variable. The Leibniz notation d yd x emphasizes this dependence. When we write d yd x, we consideryto be a function ofx(i.e.,yis the dependent, andxis the independent, variable) and differentiateywith respect tox.

Since polynomials and rational functions are built up by the basic operations of addition, subtraction, multiplication, and division operating on power functions of the formy = xn,n =0,1,2, . . ., we need differentiation rules for such operations.

We begin with the following rules:

Theorem Supposeais a constant and f(x)andg(x)are differentiable atx. Then the following relationships hold:

1. d

d x[a f(x)] =a d d x f(x) 2. d

d x[f(x)+g(x)] = d

d x f(x)+ d d xg(x)

Rule 1 says that a constant factor can be pulled out of the derivative expression;

Rule 2 says that the derivative of a sum of two functions is equal to the sum of the derivatives of the functions. Similarly, since f(x)g(x) = f(x)+(1)g(x), the derivative of a difference of functions is the difference of the derivatives:

d

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

d x[f(x)+(1)g(x)] = d

d x f(x)+ d

d x[(1)g(x)]

Using Rule 1 on the rightmost term, we find that d xd [(1)g(x)] = (1)d xd g(x). Therefore,

d

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

d x f(x)d d xg(x)

Rules 1 and 2 allow us to differentiate polynomials, as illustrated in the next three examples.

EXAMPLE 2 Differentiatey =2x43x3+x7.

Solution

d

d x(2x43x3+x7)= d

d x(2x4)d

d x(3x3)+ d d xxd

d x7

=2 d

d xx43 d

d xx3+ d d xxd

d x7

=2(4x3)3(3x2)+10=8x39x2+1

EXAMPLE 3 (a) d xd (5x7+2x310)= −35x6+6x2 (b) dtd(t3−8t2+3t)=3t2−16t+3

(c) Suppose that n is a positive integer and a is a constant. Then dsd (asn) = ansn−1.

(d) d Nd (ln 5+Nln 7)=ln 7

(e) drd(r2sinπ4r3cos12π +sinπ6)=2rsinπ43r2cos12π

In the previous section, we related the derivative to the slope of the tangent line;

the next example uses this interpretation.

EXAMPLE 4 Tangent and Normal Lines If f(x)=2x33x+1, find the tangent and normal lines at(1,2).

Solution

The slope of the tangent line at(1,2)is f(1). We begin calculating this derivative as follows:

f(x)=6x2−3 Evaluating f(x)atx = −1, we get

f(−1)=6(−1)2−3=3 Therefore, the equation of the tangent line at(1,2)is

y2=3(x(1)), or y=3x+5

To find the equation of the normal line, recall that the normal line is perpendicular to the tangent line; hence, the slopemof the normal line is given by

m = − 1

f(1) = −1 3

The normal line goes through the point(1,2)as well. The equation of the normal line is therefore

y2= −1

3(x(1)), or y= −1 3x+5

3

The graph of f(x), including the tangent and normal lines at(1,2), is shown in Figure 4.22.

y

1

2 1 3 4

3 x

4 1 1 2 3 4 Normal line Tangent line

2x3 3x 1 (1, 2)

2

Figure 4.22 The graph of f(x)=2x3−3x+1, together with the tangent and normal lines at(−1,2).

Look again at the last example: When we computed f(1), wefirstcomputed f(x); thesecondstep was to evaluate f(x)atx = −1. It makes no sense to plug

1 into f(x)and then differentiate the result. Since f(1) = 2 is a constant, the derivative would be 0, which is obviously not f(1). Just look at Figure 4.22 to convince yourself. The notation f(1)means that we evaluate the function f(x)at x = −1.