<<

2.6 Derivatives of Trigonometric and Hyperbolic Functions

! Derivatives of the six ! Derivatives of inverse trigonometric functions ! Hyperbolic functions, inverse hyperbolic functions, and their derivatives

Derivatives of Trigonomteric Functions

Because trigonometric functions have periodic oscillating behavior, and their slopes also have periodic oscillating behavior, it would make sense if the derivatives of trigonometric func- tions were trigonometric. For example, the two graphs below show the function f(x) = sin x and its derivative f !(x)=cosx. At each value of x, it turns out that the slope of the graph of f(x) = sinx is given by the height of the graph of f !(x)=cosx. Check this for the values x = 5.2, x = π ,andx =4: − 2

Slopes of f(x)=sinx at three points Heights of f !(x)=cosx at three points

1 1

−5.2 π 4 −5.2 π 4 2 2

−1 −1

The six trigonometric functions have the following derivatives:

Theorem 2.17 Derivatives of the Trigonometric Functions For all values of x at which the functions below are defined, we have:

(a) d (sin x)=cosx (c) d (tan x)=sec2 x (e) d (cotx)= csc2 x dx dx dx − (b) d (cos x)= sin x (d) d (sec x)=secx tan x (f) d (csc x)= csc x cotx dx − dx dx −

It is important to note that these derivative formulas are only true if are measured in radians; see Exercise 5.

Proof. We will prove the formulas for sin x and tan x from parts (a) and (c) and leave the proofs of the remaining four formulas to Exercises 81–84. (a) The proof of the first formula is nothing more than an annotated calculation using the definition of derivative. To simplify the limit we obtain we will rewrite sin(x + h) with a trigonometric . Our goal after that will be to rewrite the limit so that we can apply the 2.6 Derivatives of Trigonometric and Hyperbolic Functions 223

two trigonometric limits from Theorem 1.34 in Section 1.6.

sin(x + h) sin x d (sin x) = lim − definition of derivative dx h 0 h ← → (sin x cos h + sin h cosx) sin x = lim − sum identity for h 0 h ← → sin x(cos h 1) + sinh cosx = lim − algebra h 0 h ← → cosh 1 sin h = lim sin x − +cosx algebra h 0 h h ← → ! cos h 1 " sin h = sinx lim − +cosx lim limit rules h 0 h h 0 h ← ! → " ! → " = (sinx)(0) + (cos x)(1) = cos x. trigonometric limits ← (c) We do not have to resort to the definition of derivative in order to prove the formula for sin x differentiating tan x. Instead we can use the quotient rule, the fact that tan x = cos x , and the formulas for differentiating sin x and cos x:

d (sinx) (cos x) (sin x) d (cos x) d (tan x)= d sin x = dx · − · dx quotient rule dx dx cos x (cos x)2 ← (cos# x)(cos$ x) (sin x)( sin x) = − − derivatives of sin x and cos x cos2 x ← cos2 x + sin2 x 1 = = =sec2 x. algebra and identities cos2 x cos2 x ←

Derivatives of Trigonometric Functions

We can use the formulas for the derivatives of the trigonometric functions to prove formulas for the derivatives of the inverse trigonometric functions. Interestingly, although inverse trigonometric functions are transcendental, their derivatives are algebraic:

Theorem 2.18 Derivatives of Inverse Trigonometric Functions For all values of x at which the functions below are defined, we have:

d 1 1 d 1 1 d 1 1 (a) (sin− x)= (b) (tan− x)= (c) (sec− x)= dx √1 x2 dx 1+x2 dx x √x2 1 − | | −

These derivative formulas are particularly useful for finding certain antiderivatives, and in Chapter xxx they will be part of our arsenal of integration techniques. Of course, all of these rules can be used in combination with the sum, product, quotient, and chain rules. For exam- ple, d 1 2 1 6x (sin− (3x +1))= (6x)= . dx 1 (3x2 +1)2 √1 x2 − − % 1 Proof. We will prove the rule for sin− x and leave the remaining two rules to Exercises 85 and 86. We could apply Theorem 2.13 here, but it is just as easy to do the implicit differentia- 2.6 Derivatives of Trigonometric and Hyperbolic Functions 224

1 1 tion by hand. Since sin(sin− x)=x for all x in the domain of sin− x,wehave:

1 1 sin(sin− x)=x sin− x is the inverse of sin x ← d 1 d (sin(sin− x)) = (x) differentiate both sides dx dx ← 1 d 1 cos(sin− x) (sin− x)=1 chain rule · dx ← d 1 1 dx (sin− x)= 1 algebra cos(sin− x) ←

d 1 1 2 2 dx (sin− x)= since sin x +cos x =1 2 1 ← 1 sin (sin− x) − d 1 & 1 1 (sin− x)= . sin x is the inverse of sin− x dx √1 x2 ← − 1 We could also have used triangles and the unit to show that the composition cos(sin− x) is equal to the √1 x2, as we did in Example 4 of Section 0.4. − An interesting fact about the derivatives of inverse sine and inverse secant is that their domains are slightly smaller than the domains of the original functions. Below are the graphs of the inverse trigonometric functions and their domains.

1 1 1 f(x)=sin− x g(x)=tan− x h(x)=sec− x has domain [ 1, 1] has domain ( , ) has domain ( , 1] [1, ) − −∞ ∞ −∞ − ∪ ∞ " " "

" " " 2 2 2

-1 1 -1 1 -1 1

!" - !" !" 2 2 2

!" !" !"

If you look closely at the first and third graphs above you should notice that at the ends of the domains the tangent lines will be vertical. Since a vertical line has undefined slope, the 1 1 derivative does not exist at these points. This means that the derivatives of sin− x and sec− x are not defined at x =1or x = 1; see the first and third graphs below. − 1 1 1 f !(x)= g!(x)= h!(x)= √1 x2 1+x2 x √x2 1 has domain ( −1, 1) has domain ( , ) has domain ( | |, 1)− (1, ) 3 − 3 −∞ ∞ −∞3 − ∪ ∞

2 2 2

1 1 1

-1 1 -1 1 -1 1

-1 -1 -1

Hyperbolic Functions and Their Derivatives*

The trigonometric functions sine and cosine are circular functions in the sense that they are defined to be the coordinates of a parameterization of the . This means that the circle defined by x2 + y2 =1is the path traced out by the coordinates (x, y)=(cost, sin t) as t varies; see the figure below left. 2.6 Derivatives of Trigonometric and Hyperbolic Functions 225

Points on the circle x2 + y2 =1 Points on the x2 y2 =1 − y y 2 2

1 (x,y) = (cos t, sin t) 1 (x,y) = (cosh t, sinh t)

x -2 -1 1 2 x -2 -1 1 2

-1 -1

-2 -2

Now let’s consider the path traced out by the hyperbola x2 y2 =1as shown above right. − One parameterization of the right half of this hyperbola is traced out by the hyperbolic func- tions (cosh t, sinht) that we will spend the rest of this section investigating. The hyperbolic functions are nothing more than simple combinations of the exponential x x functions e and e− :

Definition 2.19 Hypberbolic Sine and Hyperbolic Cosine For any x, the hyperbolic sine function and the hyperbolic cosine function are defined as the following combinations of exponential functions:

x x x x e e− e + e− sinh x = − cosh x = 2 2

The hyperbolic sine function is pronounced “sinch” and the hyperbolic cosine function is pronounced “cosh.” The “h” is for “hyperbolic.” As we will soon see, the properties and interrelationships of the hyperbolic functions are similar to the properties and interrelation- ships of the trigonometric functions. These properties will be particularly useful in Chapter ?? when we are attempting to solve certain forms of integrals. It is a simple matter to use the definition above to verify that for any value of t, the point (x, y)=(cosht, sinht) lies on the hyperbola x2 y2 =1; see Exercise 87. We will usually think − of this fact with the variable x, as this identity:

cosh2 x sinh2 x =1. − Here we are using the familiar convention that, for example, sinh2 x is shorthand for (sinh x)2. Note the similarity between the hyperbolic identity cosh2 t sinh2 t =1and the Pythagorean − identity for sine and cosine. Hyperbolic functions also satisfy many other algebraic iden- tities that are reminiscent of those that hold for trigonometric functions, as you will see in Exercises 88–90. Just as we can define four additional trigonometric functionsfromsineandcosine,we can define four additional hyperbolic functions from hyperbolic sine and hyperbolic cosine. We will be primarily interested in the hyperbolic tangent function:

x x sinhx e e− tanh x = = x − x . cosh x e + e− We can also define csch x,sechx, and coth x as the reciprocals of sinh x, cosh x,andtanh x, respectively. The graphs of sinh x, cosh x,andtanh x are shown below. In Exercises 13–16 you will investigate various properties of these graphs. 2.6 Derivatives of Trigonometric and Hyperbolic Functions 226

y =sinhxy=coshxy=tanhx

8 8 1

4 6

4 -3 -2 -1 1 2 3 -3 -2 -1 1 2 3

2 -4

-1 -8 -3 -2 -1 1 2 3

In Chapter 4 we will see that the middle graph of y =coshx is an example of a catenary curve, which is the shape formed by a hanging chain or cable. As with any functions that we study, we are interested in finding formulas for the deriva- tives of sinh x, cosh x,andtanh x. The similarity between hyperbolic functions and trigono- metric functions continues here. These derivatives follow a very familiar pattern, differing from the pattern for trigonometric functions only by a sign change.

Theorem 2.20 Derivatives of Hyperbolic Functions For all real numbers x,wehave:

d d d 2 (a) dx (sinh x)=coshx (b) dx (cosh x) = sinhx (c) dx (tanhx)=sech x

If you prefer to stay away from the hyperbolic secant functionsechx, you can write the third 1 derivative above as cosh2 x .

Proof. The proofs of these differentiation formulas follow immediately from the definitions of the hyperbolic functions as simple combinations of exponential functions. For example, d d 1 x x 1 x x (sinhx)= ( (e e− )) = (e + e− )=coshx. dx dx 2 − 2 The remaining proofs are left to Exercises 91–92.

Although hyperbolic functions may seem somewhat exotic, they work with the other just like any other functions. For example, with the product and chain rules we can calculate: d 3 2 3 2 2 2 2 2 dx (5x sinh x ) = 5 sinh x +5x(3 sinh x )(cosh x )(2x). The derivatives of the remaining three hyperbolic functions are also very similar to those of their trigonometric cousins, but at the moment we will be focusing only on hyperbolic sine, cosine, and tangent.

Inverse Hyperbolic Functions and Their Derivatives*

For a function to have an inverse, it must be one-to-one. Looking back at the graphs of sinh x, cosh x,andtanh x, we see that only cosh x fails to be one-to-one. Just as when we defined the trigonometric inverses, we will restrict the domain of cosh x to a smaller domain on which it is one-to-one. We will choose the restricted domain of cosh x to be x 0. The notation we will ≥ 1 1 use for the inverses of these three functions is what you would expect: sinh− x, cosh− x and 1 tanh− x. Since the hyperbolic functions are defined as combinations of exponential functions, it would seem reasonable to expect that their inverses could be expressed in terms of logarith- mic functions. This is in fact the case, as you will see in Exercises 95–97. However, our main 2.6 Derivatives of Trigonometric and Hyperbolic Functions 227

concern here is to find formulas for the derivatives of the inverse hyperbolic functions, which we can do directly from identities and properties of inverses.

Theorem 2.21 Derivatives of Inverse Hyperbolic Functions For all x at which the following are defined, we have:

d 1 1 d 1 1 d 1 1 (a) (sinh− x)= (b) (cosh− x)= (c) (tanh− x)= dx √x2 +1 dx √x2 1 dx 1 x2 − −

Similar formulas can be developed for the remaining three inverse hyperbolic functions. Notice the strong similarities between these derivatives and the derivatives of the inverse trigonometric functions.

1 Proof. We will prove the rule for the derivative of sinh− x and leave the remaining two 1 rules to Exercises 93 and 94. Starting from the fact that sinh(sinh− x) for all x,wecanapply implicit differentiation: 1 sinh(sinh− x)=x sinh 1x is the inverse of sinh x ← − d 1 d (sinh(sinh− x)) = (x) differentiate both sides dx dx ← 1 d 1 cosh(sinh− x) (sinh− x)=1 chain rule, derivative of sinh x · dx ← d 1 1 dx (sinh− x)= 1 . algebra cosh(sinh− x) ←

d 1 1 2 2 dx (sinh− x)= since cosh x sinh x =1 2 1 ← − 1 + sinh (sinh− x)

d 1 & 1 1 (sinh− x)= . sinh x is the inverse of sinh− x dx √1+x2 ← 1 Compare this proof with our proof earlier in this section for the derivative of sin− x; the two are very similar.

Examples and Explorations

Example 1 Differentiating combinations of trigonometric functions Find the derivatives of each of the following functions.

tan x 1 2 x (a) f(x)= (b) f(x)=x sin− (3x+1) (c) f(x)=sec e x3 2 −

Solution. (a) By the quotient rule and the rule for differentiating tangent, we have: tan x d (tanx) (x3 2) (tan x) d (x3 2) (sec2 x)(x3 2) (tan x)(3x2) d = dx · − − · dx − = − − . dx x3 2 (x3 2)2 (x3 2)2 ! − " − − (b) This is a product of functions, and thus we begin with the product rule. We will also need 1 the chain rule to differentiate the composition sin− (3x +1):

1 1 1 3x f !(x)=(1) sin− (3x +1)+x (3) = sin− (3x +1)+ . · · 1 (3x +1)2 1 (3x +1)2 − − % % 2.6 Derivatives of Trigonometric and Hyperbolic Functions 228

(c) This is a composition of three functions, and thus we need to apply the chain rule twice:

d (sec2 ex)= d ((sec(ex))2) rewrite so compositions are clear dx dx ← =2(secex)1 d (sec ex) first application of chain rule · dx ← =2(secex)(sec ex)(tan ex) d (ex) second application of chain rule · dx ← =2(secex)(sec ex)(tan ex)ex derivative of ex ← Perhaps the trickiest part of this calculation is that the derivative of sec x has two instances of d the independent variable: dx (sec x)=secx tan x. This means that in the calculation above, we needed to put the “inside” function ex into both of these variable slots.

Example 2 Differentiating combinations of hyperbolic functions Find the derivatives of each of the following functions.

2 3 1 x (a) f(x) = ln(tanh (x +2x +1)) (b) f(x)= cosh− (e3 ) &

Solution. (a) This is a nested chain rule problem, since f(x) is a composition of multiple functions. We will work from the outside to the inside, one step at a time:

1 d 2 3 f !(x)= (tanh (x +2x +1)) tanh2(x3 +2x +1)dx 1 = (2 tanh(x3 +2x +1)) d (tanh(x3 +2x +1)) tanh2(x3 +2x +1) dx 1 = (2 tanh(x3 +2x +1))(sech2(x3 +2x +1))(3x2 +2). tanh2(x3 +2x +1)

(b) Once again we have a nested chain rule situation. Notice in particular how the e3x works with the derivative of inverse hyperbolic cosine:

1 1 1 3x 2 d 1 3x f !(x)= 2 (cosh− (e ))− dx (cosh− (e ))

1 1 3x 1 1 3x = (cosh− (e ))− 2 (3e ). 2 (e3x)2 1 ' − ( % Example 3 Finding antiderivatives that involve inverse trigonometric functions 1 Find a function f whose derivative is f (x)= . ! 1+4x2

1 1 Solution. Since the derivative of tan− x is 1+x2 , we might suspect that the function f we are looking for is related to inverse tangent. We will use an intelligent guess-and-check method 1 to find f.Clearlyf(x)=tan− x isn’t exactly right, since its derivative is missing the “4.”A 1 good guess might be f(x)=tan− (4x); let’s try that:

d 1 1 4 (tan− (4x)) = (4) = . dx 1+(4x)2 1+16x2 Obviously that wasn’t quite right either; but by examining the results we can make a new 1 guess. We might try tan− (2x), since the “2x” will be squared in the derivative and become 2.6 Derivatives of Trigonometric and Hyperbolic Functions 229

the “4x2” we are looking for in the denominator:

d 1 1 2 (tan− (2x)) = (2) = . dx 1+(2x)2 1+4x2

Now we are getting somewhere; this differs by a multiplicative constant from the derivative f !(x) we are looking for, and that is easy to fix. We need only divide our guess by that 1 1 constant. Try the function f(x)= 2 tan− (2x):

d 1 1 1 1 1 ( tan− (2x)) = ( ) (2) = . dx 2 2 1+(2x)2 1+4x2

1 1 1 We now know that f(x)= 2 tan− (2x) is a function whose derivative is f !(x)= 1+4x2 .Of course, we could also add any constant to f(x) and not change its derivative; for example, 1 1 1 1 f(x)= 2 tan− (2x)+5would also work. In fact, any function of the form f(x)= 2 tan− (2x)+ 1 C will have f !(x)= 1+4x2 .

Example 4 Finding antiderivatives that involve hyperbolic functions ex Find a function f whose derivative is f !(x)= . √e2x 1 −

Solution. Until we learn more specific anti-differentiation techniques in Chapter ??,aprob- lem like this is best done by an intelligent guess-and-check procedure. Given that we have the inverse hyperbolic functions in mind, the best match of the three is the derivative of 1 x cosh− x. Since the expression for f !(x) also involves an e , let’s revise that guess right away 1 x to cosh− e . Now we check by differentiating with the chain rule:

x d 1 x 1 x e (cosh− e )= e = . dx (ex)2 1 · √e2x 1 − − % 1 x We guessed it on the first try! We have just shown that f(x)=cosh− e has the desired derivative.

? Questions. Test your understanding of the reading by answering these questions:

! What trigonometric limits were used to find the derivative of sin x? ! How can we obtain the derivative of sec x from the derivative of cos x?

1 1 ! What is the graphical reason that the domains of the derivatives of sin− x and sec− x are slightly smaller than the domains of the functions themselves? ! How are hyperbolic functions similar to trigonometric functions? How are they differ- ent?

1 ! How can we obtain the derivative of sinh− x from the derivative of sinhx? Exercises 2.6

Thinking Back

Trigonometric and Inverse Trigonometric Values: Find the ex- 1 1 2 ! k(x)= ! k(x)=sin− (cos x) act values of each of the quantities below by hand, without sin(x3) using a calculator. ! k(x)=tan2(3x +1) ! k(x)=sec(x3)tan(x3) ! sin( π ) ! tan( π ) − 3 − 4 5π 1 Writing trigonometric compositions algebraically: Prove each ! sec( ) ! sin− 1 6 of the following equalities, which rewrite compositions of 1 1 ! tan− (√3) ! sec− ( 2) trigonometric and inverse trigonometric functions as alge- − braic functions. Compositions: For each function k below, find functions f, 1 1 ! cos(sin− x)=√1 x2 ! sin(cos− x)=√1 x2 g,andh so that k = f g h. There may be more then one − − ◦ ◦ 2 1 2 1 1 possible answer. ! sec (tan− x)=1+x ! tan(sec− x)= x 1 | | − x2 q Concepts

0. Problem Zero: Read the section and make your own 4.Sketchgraphsofsin x and cos x on [ 2π, 2π]. − summary of the material. (a) Use the graph of sin x to determine where sin x 1. True/False: Determine whether each of the following is increasing and decreasing. statements is true or false. If a statement is true, ex- (b) Use the graph of cos x to determine where cos x plain why. If a statement is false, provide a coun- is positive and negative. terexample. (c) Explain why your answers to parts (a) and (b) (a) True or False: To find the derivative of sin x we suggest that cos x is the derivative of sin x. had to use the definition of derivative. 5. The differentiation formula d (sin x)=cosx is valid (b) True or False: To find the derivative of tan x we dx x have to use the definition of derivative. only if is measured in radians. In this problem you will explore why this derivative relationship does not x4 4x3 (c) True or False: The derivative of is . hold if x is measured in degrees. sin x cos x (d) True or False: If a function is algebraic, then so (a) Set your calculator to degree mode and sketch is its derivative. agraphofsin x that shows at least two peri- (e) True or False: If a function is transcendental, ods. If the derivative of sine is cosine, then the then so is its derivative. slope of your graph at x =0should be equal to (f) True or False: If f is a trigonometric function, cos 0 = 1. Use your graph to explain why this is not the case when using degrees. (Hint: Think then f ! is also a trigonometric function. about your graphing window scale.) (g) True or False: If f is an inverse trigonometric (b) Now set your calculator back to radians mode! function, then f ! is also an inverse trigonomet- ric function. 6. Suppose you wish to differentiate g(x)=sin2(x)+ (h) True or False: If f is a hyperbolic function, then cos2(x).Whatisthefastestwaytodothis,andwhy? f ! is also a hyperbolic function. 7. The following derivatives of the function f(x)= 2. Examples: Give examplesof each of the following. Try cos(3x2) are incorrect. What misconception occurs in to find examples that are different than any in the each case? reading. 2 (a) Incorrect: f !(x)=( sin x)(3x )+(cosx)(6x) (a) A function that is its own fourth derivative. − (b) Incorrect: f !(x)= sin(6x) − (b) A function whose domain is larger than the do- 8. The following derivatives of the function f(x)= main of its derivative. cos(3x2) are incorrect. What misconception occurs in (c) Three non-logarithmic functions that are tran- each case? scendental, but whose derivatives are algebraic. 2 (a) Incorrect: f !(x)= sin(3x ) − 3. What limit facts and trigonometric identities are used 2 d (b) Incorrect: f !(x)= sin(3x )(6x)(6) in the proof that dx (sin x)=cosx? − 2.6 Derivatives of Trigonometric and Hyperbolic Functions 231

d 1 1 1 x 9.Intheproofthat (sin− x)= , we used 14.Thegraphaboverightshowsy =coshx, y = e , dx 2 2 √1 x 1 x 1 − and y = e− .Foreachfactbelow,(a) explain graph- the fact that sin(sin− x)=x. It is also true that 2 1 ically why the fact is true. Then (b) prove the fact sin− (sin x)=x; could we have started with that in- algebraically using the definitions of the hyperbolic equality instead? Why or why not? functions. 10. Both of the following equations are true: 1 x 1 x 1 1 (a) cosh x = e + e− tan(tan− x)=x and tan− (tan x)=x.Wecan 2 2 1 cosh x find the derivative of tan− x by differentiating (b) lim =1 x 1 x both sides of one of these equations and solving for →−∞ 2 e− d 1 dx (tan− x).Whichone,andwhy? 1 x 15.Thegraphbelowleftshowsy =sinhx, y = 2 e ,and 11. The following derivatives of the function f(x)= 1 x y = 2 e− .Foreachfactbelow,(a) explain graph- 2 − cos(3x ) are incorrect. What misconception occurs in ically why the fact is true. Then (b) prove the fact each case? algebraically using the definitions of the hyperbolic 2 (a) Incorrect: f !(x)=( sin x)(3x )+(cosx)(6x) functions. − 1 x 1 x (b) Incorrect: f !(x)= sin(6x) (a) sinh x = 2 e 2 e− − − sinh x (b) lim =1 12. Suppose you wish to differentiate g(x)=sin2(x)+ x 1 e x →−∞ − 2 − cos2(x).Whatisthefastestwaytodothis,andwhy? Graph for Exercise 15 Graph for Exercise 16

13.Thegraphbelowleftshowsy =sinhx, y =coshx, 4 and y = 1 ex.Foreachfactbelow,(a) explain graph- 3 1 2 2 ically why the fact is true. Then (b) prove the fact 1 -2 -1 1 2 -3 -2 -1 1 2 3 algebraically using the definitions of the hyperbolic -1 functions. -2 -3 -1 -4 (a) sinh x 1 ex cosh x for all x ≤ 2 ≤ sinh x cosh x (b) lim =1and lim =1 16.Thegraphaboverightshowsy =tanhx, y =1,and x 1 x x 1 x →∞ 2 e →∞ 2 e y = 1.Foreachfactbelow,(a) explain graphically − Graph for Exercise 13 Graph for Exercise 14 why the fact is true. Then (b) prove the fact alge-

4 4 braically using the definitions of the hyperbolic func- 3 3 2 2 tions. 1 1 (a) 1 tanh x 1 -2 -1 1 2 -2 -1 1 2 -1 -1 − ≤ ≤ -2 -2 (b) lim tanh x =1and lim tanh x = 1 x x -3 -3 →∞ →−∞ − -4 -4

Skills

Find the derivatives of each of the functions in Exer- 3x2 ln x ln(3x2) 33. f(x)= 34. f(x)= cises 17–50. In some cases it may be convenient to do some tan x tan x preliminary algebra. 35. f(x)=sin(lnx)36. f(x)=ln(x sin x) 2 x +1 3 17. f(x)= 18. f(x)=2cos(x ) 1 2 1 2 cos x 37. f(x)=sin− (3x )38. f(x)=3(sin− x) 2 2 2 1 19. f(x)=cotx csc x 20. f(x)=tan (3x +1) 39. f(x)=x arctan x 40. f(x)=tan− (ln x) − 2 2 2 1 1 2 1 21. f(x)=4sin x+4cos x 22. f(x)=sec x− 41. f(x)=sec− x 42. f(x)=sin(sin− x)

x 1 2 2 1 23. f(x)=3secx tan x 24. f(x)=3 sec x +17 43. f(x)=sin− (sec x)44. f(x)=sin (sec− x) 25. f(x)=sin(cos(sec(x))) 1 1 26. f(x)=csc2(ex) sin− x sin− x 45. f(x)= 1 46. f(x)= 1 tan− x cos− x csc2 x x 2 2 27. f(x)=e 28. f(x)=e csc x 47. f(x)=ln(arcsec(sin x)) 2 4x 1 48. f(x)=x− e sin− x x x 2 log3(3 ) 29. f(x)= 30. f(x)= 1 − 2 2 49. f(x)=sec(1+tan− x) sin(arcsin x) 5x sin x sin x +cos x 50. f(x)= arctan x sin x csc x 31. f(x)=x√sin x cos x 32. f(x)= cot x cos x 2.6 Derivatives of Trigonometric and Hyperbolic Functions 232

Find the derivatives of each of the functions in Exer- In Exercises 66–??, find a function f that has the given cises 51–62. In some cases it may be convenient to do some derivative f !.Ineachcaseyoucanfindtheanswerwith preliminary algebra. These problems involve hyperbolic an educated “guess-and-check” process. functions and their inverses. 2x 2 3 3 66. f !(x)= 67. f !(x)= 51. f(x)=x sinh x 52. f(x)=x sinh x √1 4x2 √1 4x2 − − 2 53. f(x)=cosh(ln(x +1)) 2 x 1 3x 54. f(x)=3tanh e 68. f !(x)= 69. f !(x)= 1+9x2 1+9x2

2 tanh √x 1 3 55. f(x)= cosh x +1 56. f(x)= 70. f !(x)= 71. f !(x)= √sinh x 9+x2 √4 9x2 − p 1 3 1 2 57 f(x)=sinh− (x )58f(x)=tanh− (tan x ) . . In Exercises 72–??, find a function f that has the given 1 derivative f !.Ineachcaseyoucanfindtheanswerwith sinh− x √ 1 59. f(x)= 1 60. f(x)=x tanh− x an educated “guess-and-check” process. Some of these ex- cosh− x ercises involve hyperbolic functions. 1 1 1 62. f(x)=cosh− (cosh− x) 61. f(x)=sin(esinh− x) 2x 2 72. f !(x)= 73. f !(x)= √1+4x2 √1+4x2 Use logarithmic differentiation to find the derivatives of 1 3x each of the functions in Exercises 63–65. 74. f !(x)= 75. f !(x)= 1 9x2 1 9x2 63. (sin x)x 64. (sec x)x 65. (sin x)cos x − − 1 3 76. f !(x)= 77. f !(x)= 9 x2 √4+9x2 −

Applications

78.InProblem83fromSection1.6wesawthattheos- 79.InProblem84fromSection1.6welearnedthattheos- cillating position of a mass hanging from the end of cillating position of a mass hanging from the end of a aspring,neglectingairresistance,isgivenbyfollow- spring, taking air resistance into account, is given by ing equation, where A, B, k,andm are constants: the following equation, where A, B, k, f,andm are constants: s(t)=A sin k t +B cos k t , m m f t √4km f 2 √4km f 2 s(t)=e 2−m A sin − t +B cos − t , `q ´ `q ´ 2m 2m (a) Show that this function s(t) has the property ` ` ´ ` ´´ k s(t) !! (a) Show that this function has the property that s (t)+ m s(t)=0.Thisisthedifferential a k s!!(t)+ s!(t)+ s(t)=0 equation for the spring motion, which means that m m for some con- it is an equation involving derivatives that de- stant a. This is the for scribes the motion of the bob on the end of the spring motion, taking air resistance into ac- spring. count. (Hint: Find the first and second derivatives of s(t) first and then show that s(t), s!(t),ands!!(t) (b) Suppose the spring is released from an initial have the given relationship.) position of s0,andwithaninitialvelocityofv0. m (b) Suppose the spring is released from an initial Show that A = v0 k and B = s0. position of s0,andwithaninitialvelocityofv0. 2mv0 +fs0 p Show that A = and B = s0. √4km f 2 − 80. SupposeyourfriendMaxdropsapenny fromthe top floor of the Empire State Building, 1250 feet from the ground. You are standing about a block away, 250 feet from the base of the building. (a) Find a formula for the of elevation α(t) from the ground at your feet to the height of the penny t seconds after Max drops it. Multiply by an appropriate constant so that α(t) is measured in degrees. (b) Find a formula for the rate at which the angle of elevation α(t) is changing at time t, and use it to determine the rate of change of the angle of elevation at the time the penny hits the ground. 2.6 Derivatives of Trigonometric and Hyperbolic Functions 233

Proofs

81. Use the definition of derivative, a trigonometriciden- 88. (a) sinh( x)= sinh x,and(b) cosh( x)=coshx − − − tity, and known trigonometric limits to prove that 89. sinh(x + y)=sinhx cosh y +coshx sinh y d (cos x)= sin x. dx − 90. cosh(x + y)=coshx cosh y +sinhx sinh y 82. Use the quotient rule and the derivative of cosine to d prove that dx (sec x)=secx tanx. Prove each of the differentiation formulas in Exercises 91– 83. Use the quotient rule and the derivative of sine to 94. d d prove that dx (csc x)= csc x cot x. − 91. dx (cosh x)=sinhx 84. Use the quotient rule and the derivatives of sine and d 2 d 2 92. dx (tanh x)=sech x cosine to prove that dx (cot x)= csc x. − d 1 1 85 93. (cosh− x)= . Use implicit differentiation and the fact that dx 2 1 1 √x 1 tan(tan− x)=x for all x in the domain of tan− x to − d 1 1 d 1 1 prove that dx (tan− x)= 2 . 94. (tanh− x) 1+x dx 1 x2 86. Use implicit differentiation and the fact that − 1 1 sec(sec− x)=x for all x in the domain of sec− x to Prove that the inverse hyperbolic functions can be writ- d 1 1 prove that (sec− x)= .Youwillhaveto ten in terms of logarithms as in Exercises 95–97. (Hint for dx x √x2 1 | | − sinh y = x y consider the cases x>1 and x< 1 separately. the first problem: Solve for , by using algebra to − get an expression that is quadratic in ey, that is, of the form 87. Prove that for any value of t,thepoint(x, y)= ae2y + bey + c, and then applying the quadratic formula.) (cosh t, sinh t) lies on the hyperbola x2 y2 =1. − 1 Bonus question: In fact, these points will always lie 95. sinh− x =ln(x + √x2 +1),foranyx. 1 on the right hand side of the hyperbola; why? 96. cosh− x =ln(x + √x2 1),forx 1. − ≥ 1 1 1+x Use the definitions of the hyperbolic functions to prove 97. tanh− x = 2 ln 1 x ,for 1

Thinking Forward

Local extrema and inflection points: In the problems below ! If f is a differentiable function, then the values x = c you will investigate how derivatives can help us find the at which the sign of the derivative f !(x) changes are locations of the maxima and minima of a function. the locations of the local extrema of f.Usethisin- ! Suppose f has a maximum or minimum value at formation to find the local extrema of the function x = c.Iff is differentiable at x = c, what must be f(x)=sinx. Illustrate your answer on a graph of true of f !(c),andwhy? y =sinx. ! If f is a differentiable function, then the values x = c at which the sign of the second derivative f !!(x) changes are the locations of the inflection points of f. Use this information to find the inflection points of the function f(x)=sinx. Illustrate your answer on a graph of y =sinx. Appendix A Answers To Odd Problems ( 1)ex (1 x)ex − − − 21. f !(x)= e2x 23. ex(x2 +3x 1) + ex(2x +3) 2− 25. f !(x)=3x ,withx>0 1 (ex) x 27. f !(x)=e e ex+1 −3 1 29. f !(x)=e −1 31. f !(x)=0 4 2x 3 2x 33. f !(x)= 3x− e + x− (2e ). − x 2 35. f !(x)=2x log x + +3x 79. If Linda sells magazines at a rate of dm =12 2 ln 2 dt 1 √x 1 1 37. f !(x)= (2x + e ( x− 2 )) magazine subscriptions per week, and she x2+e√x 2 dD 1 makes dm =4dollars per magazine, then 39. f !(x)= 2 (log2(3x by the chain rule, the amount of money she 1 − 2 1 1 x dD dD dm 5))− ( ln 2 3x 5 ((ln 3)3 ) makes each week is = =4(12)= − dt dm dt 2 1 1 48 41. f !(x)=2x ln(ln x)+x dollars per week. ln x · x dA dA x2 81. (a) dr =2πr. (b) No; Yes. (c) dt = 43. f !(x)=(ln2)2 (2x) d 2 dr x dt (π(r(t)) )=2πr(t)r!(t)=2πr dt .(d)Yes; (ln 2)2 , if x< 2 dA Yes. (e) r=24 =2π(24)(2) = 96π. − dt | 45. f !(x)= DNE, if x = 2 f(x) 8 2 − d d 1 3 , if x> 2 83. Proof: dx g(x) = dx (f(x)(g(x))− )= < − x − d 1 d 1 2x, if x<1 dx (f(x)) (g“(x))−” + f(x) dx ((g(x))− )= : · 1 · 2 f !(x)= , x =1 f !(x) (g(x))− + f(x) ( g(x))− g!(x)= 47. DNE if 8 1 f (x) · f(x)g (x) f (x)g·(x)− f(x)g (x) , if x 1 " " " − " < x g(x) (g(x))2 = (g(x))2 . ≥ − 1 x 1 x 49. f !(x)= (x ln 2 +1)− 2 (ln 2 +1 + 85. Mimic the proof in Example 5(a). :2 (ln 2)x2x | | | | k x ) 87. Let y = x− ,where k is a negative integer. 2 +1 k − 2x√x3 1 2 Then x y =1, so by implicit differentiation − 3x 1 k 1 51. f !(x)= √x(2x 1) (ln 2 + 2(x3 1) 2x and the product rule, we have kx − y + 2 − − − − k kxk 1x k 2x 1 ) x y! =0,andthereforey! = − − − = − xk ln x 1 k 1 53. f !(x)=x (2)(ln x)( ) kx− − . x − x x x 55. f !(x)=(x 1 ) (ln x ln(x 1) + 1 x 1 ) Section 2.5 − − − − − ln x ln(ln x) 1 1. T, T, F, F, T, T, F, T. 57. f !(x)=(lnx) ( x + x ) e4x 3. No, since the base is a variable. No, since 59. f(x)= 3x5 1 − the exponent is a variable. 1 2 61. f(x)= 2 ln x +3 + C d x d 1x | x | 5. When k =1we have dx (e )= dx (e )= 63. f(x)=ln(1+e )+C 1e1x = ex.Whenb = e we have d (bx)= dx 65. (a) A(t)=1000e0.077t ;(b)A(30) d (ex)=(lne)ex =(1)ex = ex. ≈ dx $10,074.42;(c)t 18 years. 7. ln x is of the form log x with b = e. ≈ b 66. (a) 70 degrees; (b) 350 degrees; (c) 21 min- x 9. The graph passing through (0, 2) is 2(2 ); utes. (d) Find T !(t) and show that it is al- the graph passing through (0, 1) and (1, 4) ways positive; this means that the temper- x x is 4 ; the graph passing through (2, 4) is 2 . ature of the yam increases over time. Find 9 2 11. f(3) = 2 =512and g(3) = 8 =64.The T !!(t) and show that it is always negative; 2 solutions to 2(x ) =(2x)2 are x =0and x = this means that the rate of change of the 2. temperature of the yam decreases over time. 13. Consider that logarithmic functions are the 69. d (ekx)=ekx d (kx)=ekx k = kekx. dx · dx · inverses of exponential functions, and use kx 71. If f(x)=Ae is exponential, then f !(x)= the definition of one-to-one. kx kx Ake = k(Ae )=kf(x),sof !(x) is pro- 15. Logarithmic differentiation is the process of portional to f(x). applying ln x to both sides of an equation | | 73. For x>0 we have x = x and therefore y = f(x) and then differentiating both sides | | d (ln x )= d (ln x)= 1 .Forx<0 we have in order to solve for f !(x). It is useful for dx | | dx x finding derivatives of functions that involve x = x and therefore by the chain rule we | | −d d 1 multiple products or quotients, and func- have dx (ln x )= dx (ln( x)) = x ( 1) = 1 | | − − − tions that have variables in both a base and x . an exponent. Section 2.6 5x 2 5x f !(x)= (2 e )− ( 5e ) 17. 1. T, F, F, T, F, T, F, T. − −4x 2− 4x 19. f !(x)=6xe− 12x e− − 1 1 3. See the proof in the reading. 49. f !(x)=sec(1+tan− x)tan(1+tan− x) 1 × 5. (a) If x is in degrees, then the slope of the ( 1+x2 ) 3 3 3 graph of sin x at x =0is very small, and in 51. f !(x)=sinhx +3x cosh x particular not equal to cos 0 = 1.Tocon- 2 1 53. f !(x)=sinh(ln(x +1))(x2+1 )(2x) vince yourself of this, graph sin x (in de- 1 1 2 2 grees) together with the line y = x (which 55. f !(x)= 2 (cosh x +1)− (2 cosh x sinh x) has slope 1 at x =0). 3x2 57. f !(x)= √x6+1 7. (a) cos(3x2) is a composition, not a prod- 1 1 1 1 (cosh− x) sinh− x( ) uct, but the product rule was applied; (b) x2+1 − x2 1 √ √ − 59. f !(x)= (cosh 1x)2 the chain rule was applied incorrectly, with − 2 1 1 the derivative of 3x written on the inside sinh− x sinh− x 1 61. f !(x)=cos(e )e x2+1 instead of the outside. x x cos x 1 63. f !(x)=(sinx) (ln(sin x)+ ) 9. No, because to differentiate sin− (sin x)=x sin x cos x cos2 x we would first need to know how to dif- 65. f !(x)=(sinx) ( sinx ln(sin x)+ sin x ) 1 1 − ferentiate sin− x,whichisexactlywhatwe 67. f(x)=sin− 2x would be trying to prove. 69. f(x)= 1 ln(1 + 9x2) 2 6 11. (a) cos(3x ) is a composition, not a prod- 1 3x 71. f(x)=sin− ( 2 ) uct, but the product rule was applied; (b) 1 73. f(x)=sinh− 2x the chain rule was applied incorrectly, with 2 1 2 the derivative of 3x written on the inside 75. f(x)= 6 ln(1 9x ) − 1 3−x instead of the outside. 77. f(x)=sinh− ( 2 ) 1 x 13. (a) Use the fact that e− 0 for all x,and √4km f 2 2 ≥ 79. (a) To simplify things, let C = − ; split the expressions in the definitions of 2m k m f C cosh x and sinh x into sums. (b) Calculate since , ,and are all constants, so is . s(0) = s the two limits by dividing top and bottom Then follow the given hint. (b) Set 0 x s!(0) = v A B by e and show they are both equal to 1. and 0 and solve for and . d 15. (a) Think about the graph of the sum 81. Mimic the proof in the reading for dx (sin x), 1 x 1 x except using a sum identity for cosine in the of 2 e and 2 e− . (b) Calculate 1 x −x second step. 2 (e e− ) lim − by dividing top and d d 1 (0)(sin x) (1)(cos x) x 1 x 83. (csc x)= = − 2 = →−∞ 2 e− dx dx sin x (sin x) x cos x 1 cos x bottom by e− , and Show that this limit is − 2 = = csc x cot x. sin x − sin`x sin´ x − equal to 1. 1 85. Differentiating` both´` sides´ of tan(tan− x)= 2 2 1 d 1 2x cos x+(x +1) sin x x gives us sec (tan− x) (tan− x)=1, 17. f !(x)= 2 dx cos x d 1 1 2 and therefore (tan− x)= 2 1 . 19. f !(x)= csc x +cscx cot x dx sec (tan− x) − By one of the Thinking Back problems in 21. f !(x)=0 2 1 2 sec (tan− x)=1+x 2 2 this section, we have , 23. f !(x)=3secx sec x +3secx tan x d 1 1 and therefore dx (tan− x)= 1+x2 . 25. f !(x)=cos(cos(secx))( sin(sec x))(secx tan x) x2 y2 =cosh2 t sinh2 t = 2 − 87. csc x et e− t 2 et+e−t 2 27. f !(x)=e (2 csc x)( csc x cot x) ( − − ) ( − ) = x − x 2 2 (ln 2)2 (5x sin x)+2 (5 sin x+5x cos x) 2t t t 2t − 2t t t 2t 29. f !(x)= − e 2e e− +e− e 2e e− +e− 25x2 sin2 x − −2 − =1. 31. f !(x)=√sin x cosx + For the bonus question, consider whether 1 1 2 2 cosh t can ever be negative. x(sin x cos x)− 2 (cos x sin x) 2 − (6x ln x+3x) tan x 3x2 ln x sec2 x 89. Expand the right hand side using the defini- − 33. f !(x)= tan2 x tions and simplify to get the left hand side. 1 35. f !(x)=cos(lnx)( x ) 91. Mimic the proof in the reading that was 6x 37. f !(x)= given for the derivative of sinh x. √1 9x4 − 2 2 2x 93. Mimic the proof in the reading that was 39. f !(x)=2x arctan x + x ( 4 ) 1 1+x given for the derivative of sinh− x. 2x y y 2y 41. f !(x)= e e− y 1 e 1 x2 √x4 1 95. − = x = e y =2x = y− = | | − 2 e e 1 2y ⇒ y − ⇒ 43. f !(x)= (2 sec x)(sec x tanx) 2x = e 2xe 1=0. This is quadratic √1 sec4 x y⇒ − − y − in e , and the quadratic formula gives e = 1 1 tan− x sin− x 2 x2 2x √4x +4 2 1 x2 − 1+ ± , and thus y =ln(x √x +1). √ − 2 45. 1 2 ± (tan− x) Since logarithms are only defined for posi- 1 1 2 47. f !(x)= 2 (2 sin x cos x) tive numbers we have y =ln(x + √x +1). arcsec(sin x) sin2 x√sin4 x 1 − sinh x 97. Start with y =tanhx = cosh x and use the 37. From the graph, f appears to be continu- problems above. ous on [ 3, 1] and differentiable on ( 3, 1), − − and moreover f( 3) = f(1) = 0,soRolle’s − Chapter 3 Theorem applies. Therefore there is some c ( 3, 1) such that f !(c)=0. In this exam- ∈ − Section 3.1 ple there are three such values of c, namely c 2.3, c = 1,andc =0.3. 1. T, T, T, F, F, T, F, F. ≈− − 39. From the graph, f appears to be contin- 3. f !(1) is either 0 or does not exist. If f is dif- uous on [0, 4] and differentiable on (0, 4), ferentiable at x =1then f !(1) must equal 0. and moreover f(0) = f(4) = 0,soRolle’s 5. x = 2, x =0, x =4, x =5. − Theorem applies. Therefore there is some 7. f ! has at least two zeros in the interval c (0, 4) such that f !(c)=0. In this exam- ∈ [ 4, 2]. ple there are three such values of c, namely − 1 9. There is some c ( 2, 4) with f !(c)= . c 0.5, c 2,andc 3.5. ∈ − − 3 ≈ ≈ ≈ 11. If f is continuous on [a, b],differentiableon 41. f is continuous and differentiable every- (a, b),andiff(a)=f(b)=0,thenthereex- where, and f(0) = f(3) = 0,soRolle’sThe- 1 √ 1 ists at least one value c (a, b) for which the orem applies; c = 3 (4 7) and c = 3 (4 + ∈ − tangent line to f at x = c is horizontal. √7). 13. The graph of f(x)=(x 2)(x 6) is one 43. f is continuous and differentiable every- − − example. where, and f( 2) = f(2) = 0,soRolle’s − Theorem applies; c 1.27279, c 0,and 15. Your graph should have roots at x = 2 and ≈− ≈ − c 1.27279. x =2and horizontal tangent lines at three ≈ places between these roots. 45. f is continuous and differentiable every- where, and cos( π )=cos(3π )=0,so 17. One example is an “upside-down V” with − 2 2 Rolle’s Theorem applies; c =0,c= π. roots at x = 2 and x =2where the top − point of the V occurs at x = 1. 47. f is continuous and differentiable every- − where, and f(0) = f(2) = 0,soRolle’sThe- 19. One example is the function f that is equal orem applies; c = √2. to x +3for 3 x< 1 and equal to 0 for − ≤ − x = 1. 49. f appears continuous on [0, 2] and differen- − 21. Draw a graph that happens to have a slight tiable on (0, 2); there is one value x = c that “cusp” just at the place where its tangent satisfies the conclusion of the Mean Value Theorem, rougly at x 1.2. line would have been equal to the average ≈ 51. f appears continuous on [ 3, 0] and dif- rate of change. − 3 ferentiable on ( 3, 0); there are two values 23. f !(x)=0at x = 2 and f !(x) does not exist − 3 x = c at x =3. f has a local maximum at x = that satisfy the conclusion of the Mean 2 Value Theorem, at c 2.8 and c 0.9. and a local minimum at x =3. ≈− ≈− 53. f is not continuous or differentiable on 25. f !(x)=0at x 0.5, x 2,andx 3.5. f ≈ ≈ ≈ has a local minimum at x 0.5 and a local [ 3, 2], so the Mean Value Theoremdoes not ≈ − minimum at x =3.5. There is neither a max- apply. 55. f is continuous and differentiable on [ 2, 3]; imum nor a minimum at x 2. − 27. One critical point at x = 0≈.65, a local min- c 0.5275 and c 2.5275. − ≈− ≈ imum. 57. f is continuous on [0, 1] and differentiable 29. Critical points x = 3, x =0, x =1,alo- on (0, 1), so the Mean Value Theorem ap- − cal minimum, maximum, and minimum, re- plies; c 0.4028. ≈ spectively. 59. f is continuous and differentiable every- 3 where, so the Mean Value Theorem applies; 31. One critical point at x =ln(2 ), a local maxi- 1 2 mum. c = cos− ( ) 0.88. π ≈ 33. Undefined at x =0.Onecriticalpointatx = 61. C(h) is a differentiable function, and e 2 , a local maximum. C!(4) = 0.6 =0,soC(h) cannot have a lo- & 35. Critical points at points of the form x = πk cal minimum at h =4. where k is an integer; local minima at the odd multiples x = π(2k +1), local maxima at the even multiples x = π(2k).