Paul's Online Math Notes
     
 
Online Notes / Calculus I / Derivatives / Derivatives of Trig Functions
Calculus I

You can navigate through this E-Book using the menu to the left. For E-Books that have a Chapter/Section organization each option in the menu to the left indicates a chapter and will open a menu showing the sections in that chapter. Alternatively, you can navigate to the next/previous section or chapter by clicking the links in the boxes at the very top and bottom of the material.

Also, depending upon the E-Book, it will be possible to download the complete E-Book, the chapter containing the current section and/or the current section. You can do this be clicking on the E-Book, Chapter, and/or the Section link provided below.

For those pages with mathematics on them you can, in most cases, enlarge the mathematics portion by clicking on the equation. Click the enlarged version to hide it.

With this section we’re going to start looking at the derivatives of functions other than polynomials or roots of polynomials.  We’ll start this process off by taking a look at the derivatives of the six trig functions.  Two of the derivatives will be derived.  The remaining four are left to the reader and will follow similar proofs for the two given here.

 

Before we actually get into the derivatives of the trig functions we need to give a couple of limits that will show up in the derivation of two of the derivatives.

 

Fact

                                    

 

See the Proof of Trig Limits section of the Extras chapter to see the proof of these two limits.

 

Before we start differentiating trig functions let’s work a quick set of limit problems that this fact now allows us to do.

 

Example 1  Evaluate each of the following limits.

(a)    [Solution]

(b)    [Solution]

(c)    [Solution]

(d)    [Solution]

(e)    [Solution]

(f)    [Solution]

Solution

(a)  

There really isn’t a whole lot to this limit.  In fact, it’s only here to contrast with the next example so you can see the difference in how these work.  In this case since there is only a 6 in the denominator we’ll just factor this out and then use the fact.

                                              

[Return to Problems]

 

(b)  

Now, in this case we can’t factor the 6 out of the sine so we’re stuck with it there and we’ll need to figure out a way to deal with it.  To do this problem we need to notice that in the fact the argument of the sine is the same as the denominator (i.e. both  ’s).  So we need to get both of the argument of the sine and the denominator to be the same.  We can do this by multiplying the numerator and the denominator by 6 as follows.

                                      

 

Note that we factored the 6 in the numerator out of the limit.  At this point, while it may not look like it, we can use the fact above to finish the limit. 

 

To see that we can use the fact on this limit let’s do a change of variables.  A change of variables is really just a renaming of portions of the problem to make something look more like something we know how to deal with.  They can’t always be done, but sometimes, such as this case, they can simplify the problem.  The change of variables here is to let  and then notice that as  we also have .  When doing a change of variables in a limit we need to change all the x’s into  ’s and that includes the one in the limit.

 

Doing the change of variables on this limit gives,

                                   

 

And there we are.  Note that we didn’t really need to do a change of variables here.  All we really need to notice is that the argument of the sine is the same as the denominator and then we can use the fact.  A change of variables, in this case, is really only needed to make it clear that the fact does work.

 [Return to Problems]

 

(c)  

In this case we appear to have a small problem in that the function we’re taking the limit of here is upside down compared to that in the fact.  This is not the problem it appears to be once we notice that,

                                                        

and then all we need to do is recall a nice property of limits that allows us to do ,

                                                  

 

With a little rewriting we can see that we do in fact end up needing to do a limit like the one we did in the previous part.  So, let’s do the limit here and this time we won’t bother with a change of variable to help us out.  All we need to do is multiply the numerator and denominator of the fraction in the denominator by 7 to get things set up to use the fact.  Here is the work for this limit.

                                                

[Return to Problems]

 

(d)  

This limit looks nothing like the limit in the fact, however it can be thought of as a combination of the previous two parts by doing a little rewriting.  First, we’ll split the fraction up as follows,

                                               

 

Now, the fact wants a t in the denominator of the first and in the numerator of the second.  This is easy enough to do if we multiply the whole thing by  (which is just one after all and so won’t change the problem) and then do a little rearranging as follows,

 

                                        

 

At this point we can see that this really is two limits that we’ve seen before.  Here is the work for each of these and notice on the second limit that we’re going to work it a little differently than we did in the previous part.  This time we’re going to notice that it doesn’t really matter whether the sine is in the numerator or the denominator as long as the argument of the sine is the same as what’s in the numerator the limit is still one.

 

Here is the work for this limit.

                                      

 [Return to Problems]

(e)  

This limit almost looks the same as that in the fact in the sense that the argument of the sine is the same as what is in the denominator.  However, notice that, in the limit, x is going to 4 and not 0 as the fact requires.  However, with a change of variables we can see that this limit is in fact set to use the fact above regardless.

 

So, let  and then notice that as  we have .  Therefore, after doing the change of variable the limit becomes,

                                                  

[Return to Problems]

 

(f)   

The previous parts of this example all used the sine portion of the fact.  However, we could just have easily used the cosine portion so here is a quick example using the cosine portion to illustrate this.  We’ll not put in much explanation here as this really does work in the same manner as the sine portion.

 

                                            

 

All that is required to use the fact is that the argument of the cosine is the same as the denominator.

[Return to Problems]

 

Okay, now that we’ve gotten this set of limit examples out of the way let’s get back to the main point of this section, differentiating trig functions.

 

We’ll start with finding the derivative of the sine function.  To do this we will need to use the definition of the derivative.  It’s been a while since we’ve had to use this, but sometimes there just isn’t anything we can do about it.  Here is the definition of the derivative for the sine function.

 

 

 

 

Since we can’t just  plug in  to evaluate the limit we will need to use the following trig formula on the first sine in the numerator. 

 

 

 

Doing this gives us,

 

 

 

As you can see upon using the trig formula we can combine the first and third term and then factor a sine out of that.  We can then break up the fraction into two pieces, both of which can be dealt with separately.

 

Now, both of the limits here are limits as h approaches zero.  In the first limit we have a sin(x) and in the second limit we have a cos(x).  Both of these are only functions of x only and as h moves in towards zero this has no affect on the value of x.  Therefore, as far as the limits are concerned, these two functions are constants and can be factored out of their respective limits.  Doing this gives,

 

 

 

At this point all we need to do is use the limits in the fact above to finish out this problem.

 

 

 

Differentiating cosine is done in a similar fashion.  It will require a different trig formula, but other than that is an almost identical proof.  The details will be left to you.  When done with the proof you should get,

 

 

 

With these two out of the way the remaining four are fairly simple to get.  All the remaining four trig functions can be defined in terms of sine and cosine and these definitions, along with appropriate derivative rules, can be used to get their derivatives.

 

Let’s take a look at tangent.  Tangent is defined as,

 

 

 

Now that we have the derivatives of sine and cosine all that we need to do is use the quotient rule on this.  Let’s do that.

 

 

 

 

Now, recall that  and if we also recall the definition of secant in terms of cosine we arrive at,

 

 

The remaining three trig functions are also quotients involving sine and/or cosine and so can be differentiated in a similar manner.  We’ll leave the details to you.  Here are the derivatives of all six of the trig functions.

 

Derivatives of the six trig functions

 

 

At this point we should work some examples.

 

Example 2  Differentiate each of the following functions.

(a)    [Solution]

(b)    [Solution]

(c)    [Solution]

(d)    [Solution]

Solution

(a)  

There really isn’t a whole lot to this problem.  We’ll just differentiate each term using the formulas from above.