Mathematics Exam  >  Mathematics Notes  >  Calculus  >  Derivatives of Trig Functions

Derivatives of Trig Functions | Calculus - Mathematics PDF Download

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 you 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
Derivatives of Trig Functions | Calculus - Mathematics
See the Proof of Trig Limits section of the Extras chapter to see the proof of these two limits.
Before proceeding a quick note. Students often ask why we always use radians in a Calculus class. This is the reason why! The proof of the formula involving sine above requires the angles to be in radians. If the angles are in degrees the limit involving sine is not 1 and so the formulas we will derive below would also change. The formulas below would pick up an extra constant that would just get in the way of our work and so we use radians to avoid that. So, remember to always use radians in a Calculus class!
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.
Derivatives of Trig Functions | Calculus - Mathematics
Solution:
Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics

Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics
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 θ=6x and then notice that as x→0 we also have θ→6(0)=0. 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,
Derivatives of Trig Functions | Calculus - Mathematics
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.

Derivatives of Trig Functions | Calculus - Mathematics
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,
Derivatives of Trig Functions | Calculus - Mathematics
and then all we need to do is recall a nice property of limits that allows us to do,
Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics

Derivatives of Trig Functions | Calculus - Mathematics
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,
Derivatives of Trig Functions | Calculus - Mathematics
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 t/t (which is just one after all and so won’t change the problem) and then do a little rearranging as follows,
Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics

Derivatives of Trig Functions | Calculus - Mathematics
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 θ=x−4 and then notice that as x→4 we have θ→0. Therefore, after doing the change of variable the limit becomes,
Derivatives of Trig Functions | Calculus - Mathematics

Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics
All that is required to use the fact is that the argument of the cosine is the same as the denominator.
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.
Derivatives of Trig Functions | Calculus - Mathematics
Since we can’t just plug in h=0 to evaluate the limit we will need to use the following trig formula on the first sine in the numerator.
sin(x+h) = sin(x)cos(h) + cos(x)sin(h)
Doing this gives us,
Derivatives of Trig Functions | Calculus - Mathematics
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 effect 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,
Derivatives of Trig Functions | Calculus - Mathematics
At this point all we need to do is use the limits in the fact above to finish out this problem.
Derivatives of Trig Functions | Calculus - Mathematics
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,
Derivatives of Trig Functions | Calculus - Mathematics
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,
Derivatives of Trig Functions | Calculus - Mathematics
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.
Derivatives of Trig Functions | Calculus - Mathematics
Now, recall that cos2(x) + sin2(x) = 1 and if we also recall the definition of secant in terms of cosine we arrive at,
Derivatives of Trig Functions | Calculus - Mathematics
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
Derivatives of Trig Functions | Calculus - Mathematics
At this point we should work some examples.

Example 2 Differentiate each of the following functions.
Derivatives of Trig Functions | Calculus - Mathematics
Solution:
(a) g(x) = 3sec(x) − 10cot(x)
There really isn’t a whole lot to this problem. We’ll just differentiate each term using the formulas from above.
g′(x)=3sec(x)tan(x)−10(−csc2(x))
=3sec(x)tan(x)+10csc2(x)

(b) h(w) = 3w−4 − w2 tan(w)
In this part we will need to use the product rule on the second term and note that we really will need the product rule here. There is no other way to do this derivative unlike what we saw when we first looked at the product rule. When we first looked at the product rule the only functions we knew how to differentiate were polynomials and in those cases all we really needed to do was multiply them out and we could take the derivative without the product rule. We are now getting into the point where we will be forced to do the product rule at times regardless of whether or not we want to.
We will also need to be careful with the minus sign in front of the second term and make sure that it gets dealt with properly. There are two ways to deal with this. One way it to make sure that you use a set of parentheses as follows,
h′(w)=−12w−5 − (2wtan(w) + w2sec2(w))
=−12w−5 − 2wtan(w)−w2sec2(w)
Because the second term is being subtracted off of the first term then the whole derivative of the second term must also be subtracted off of the derivative of the first term. The parenthesis make this idea clear.
A potentially easier way to do this is to think of the minus sign as part of the first function in the product. Or, in other words the two functions in the product, using this idea, are −w2 and tan(w). Doing this gives,
h′(w)=−12w−5−2wtan(w)−w2sec2(w)
So, regardless of how you approach this problem you will get the same derivative.

(c) y = 5 sin(x)cos(x) + 4csc(x)
As with the previous part we’ll need to use the product rule on the first term. We will also think of the 5 as part of the first function in the product to make sure we deal with it correctly. Alternatively, you could make use of a set of parentheses to make sure the 5 gets dealt with properly. Either way will work, but we’ll stick with thinking of the 5 as part of the first term in the product. Here’s the derivative of this function.
y′=5cos(x)cos(x)+5sin(x)(−sin(x))−4csc(x)cot(x)
=5cos2(x)−5sin2(x)−4csc(x)cot(x)

Derivatives of Trig Functions | Calculus - Mathematics
In this part we’ll need to use the quotient rule to take the derivative.
Derivatives of Trig Functions | Calculus - Mathematics
Be careful with the signs when differentiating the denominator. The negative sign we get from differentiating the cosine will cancel against the negative sign that is already there.
This appears to be done, but there is actually a fair amount of simplification that can yet be done. To do this we need to factor out a “-2” from the last two terms in the numerator and the make use of the fact that cos 2(θ) + sin2(θ) = 1.
Derivatives of Trig Functions | Calculus - Mathematics
As a final problem here let’s not forget that we still have our standard interpretations to derivatives.

Example 3 Suppose that the amount of money in a bank account is given by
P(t)=500+100cos(t)−150sin(t)
where t is in years. During the first 10 years in which the account is open when is the amount of money in the account increasing?
To determine when the amount of money is increasing we need to determine when the rate of change is positive. Since we know that the rate of change is given by the derivative that is the first thing that we need to find.
P′(t)=−100sin(t)−150cos(t)
Now, we need to determine where in the first 10 years this will be positive. This is equivalent to asking where in the interval [0,10] is the derivative positive. Recall that both sine and cosine are continuous functions and so the derivative is also a continuous function. The Intermediate Value Theorem then tells us that the derivative can only change sign if it first goes through zero.
So, we need to solve the following equation.
Derivatives of Trig Functions | Calculus - Mathematics
The solution to this equation is,
Derivatives of Trig Functions | Calculus - Mathematics
If you don’t recall how to solve trig equations go back and take a look at the sections on solving trig equations in the Review chapter.
We are only interested in those solutions that fall in the range [0,10]. Plugging in values of n into the solutions above we see that the values we need are,
Derivatives of Trig Functions | Calculus - Mathematics
So, much like solving polynomial inequalities all that we need to do is sketch in a number line and add in these points. These points will divide the number line into regions in which the derivative must always be the same sign. All that we need to do then is choose a test point from each region to determine the sign of the derivative in that region.
Here is the number line with all the information on it.
Derivatives of Trig Functions | Calculus - Mathematics
So, it looks like the amount of money in the bank account will be increasing during the following intervals.
Derivatives of Trig Functions | Calculus - Mathematics
Note that we can’t say anything about what is happening after t=10 since we haven’t done any work for t’s after that point.
In this section we saw how to differentiate trig functions. We also saw in the last example that our interpretations of the derivative are still valid so we can’t forget those.
Also, it is important that we be able to solve trig equations as this is something that will arise off and on in this course. It is also important that we can do the kinds of number lines that we used in the last example to determine where a function is positive and where a function is negative. This is something that we will be doing on occasion in both this chapter and the next.

Practice problems: Derivatives Of Trig Functions

For problems 1 – 3 evaluate the given limit.

1. Evaluate  Derivatives of Trig Functions | Calculus - Mathematics
Solution:
All we need to do is set this up to allow us to use the fact from the notes in this section.
Derivatives of Trig Functions | Calculus - Mathematics
2. Evaluate Derivatives of Trig Functions | Calculus - Mathematics
Solution:
All we need to do is set this up to allow us to use the fact from the notes in this section.
Derivatives of Trig Functions | Calculus - Mathematics

3. Evaluate Derivatives of Trig Functions | Calculus - Mathematics
Solution:
All we need to do is set this up to allow us to use the fact from the notes in this section.
Derivatives of Trig Functions | Calculus - Mathematics

For problems 4 – 10 differentiate the given function.
4. Differentiate f(x) = 2 cos(x) − 6sec(x) + 3.
Solution:
Not much to do here other than take the derivative.
f′(x) = −2 sin(x) − 6sec(x) tan(x)

5. Differentiate g(z) = 10 tan(z) − 2 cot(z).
Solution:
Not much to do here other than take the derivative.
g′(z)=10sec2(z)+2csc2(z)

6. Differentiate f(w) = tan(w) sec(w).
Solution:
Not much to do here other than take the derivative, which will require the product rule.
Derivatives of Trig Functions | Calculus - Mathematics

7. Differentiate h(t) = t3 − t2 sin(t).
Solution:

Not much to do here other than take the derivative, which will require the product rule for the second term.
You’ll need to be careful with the minus sign on the second term. You can either use a set of parentheses around the derivative of the second term or you can think of the minus sign as part of the “first” function. We’ll think of the minus sign as part of the first function for this problem.
Derivatives of Trig Functions | Calculus - Mathematics

8. Differentiate y = 6 + 4√x csc(x).
Solution:
Not much to do here other than take the derivative, which will require the product rule for the second term.
Derivatives of Trig Functions | Calculus - Mathematics

9. Differentiate Derivatives of Trig Functions | Calculus - Mathematics
Solution:
Not much to do here other than take the derivative, which will require the quotient rule.
Derivatives of Trig Functions | Calculus - Mathematics

10. Differentiate Derivatives of Trig Functions | Calculus - Mathematics
Solution:
Not much to do here other than take the derivative, which will require the quotient rule.
Derivatives of Trig Functions | Calculus - Mathematics

11. Find the tangent line to f(x) = tan(x) + 9cos(x) at x = π .
Solution:
Step 1
We know that the derivative of the function will give us the slope of the tangent line so we’ll need the derivative of the function.
f′(x)=sec2(x)−9sin(x)

Step 2
Now all we need to do is evaluate the function and the derivative at the point in question.
f(π)=tan(π)+9cos(π)=−9   f′(π)=sec2(π)−9sin(π)=1

Step 3
Now all that we need to do is write down the equation of the tangent line.
Derivatives of Trig Functions | Calculus - Mathematics
Don’t get excited about the presence of the π in the answer. It is just a number like the 9 is and so is nothing to worry about.

12. The position of an object is given by s(t) = 2 + 7 cos(t) determine all the points where the object is not moving.
Solution:
We know that the object will not be moving if its velocity, which is simply the derivative of the position function, is not zero. So, all we need to do is take the derivative, set it equal to zero and solve.
Derivatives of Trig Functions | Calculus - Mathematics
So, for this problem the object will not be moving anywhere that sine is zero. From our recollection of the unit circle we know that will be at,
Derivatives of Trig Functions | Calculus - Mathematics

13. Where in the range [−2, 7] is the function f(x) = 4 cos(x) − x is increasing and decreasing.
Solution:
Step 1
We’ll first need the derivative because we know that the derivative will give us the rate of change of the function. Here is the derivative.
Derivatives of Trig Functions | Calculus - Mathematics

Step 2
Next, we need to know where the function is not changing and so all we need to do is set the derivative equal to zero and solve.
Derivatives of Trig Functions | Calculus - Mathematics
A quick calculator computation tells us that,
Derivatives of Trig Functions | Calculus - Mathematics
Recalling our work in the Review chapter on solving trig equations we know that a positive angle corresponding to this solution is: x = 2π − 0.2527 = 6.0305. Either can be used, but we will use the positive angle.
Also, from a quick check on a unit circle we can see that x = π + 0.2527 = 3.3943 will be a second solution.
Putting all of this together and we can see that the derivative will be zero at,
x = 6.0305 + 2πn  and  x = 3.3943 + 2πn  n = 0, ± 1, ± 2, ± 3, …
Finally, all we need to so is plug in some n ’s to determine which solutions fall in the interval we are working on, [−2, 7].
So, in the interval [−2, 7] the function will stop changing at the following three points.
x = −0.2527,   3.3943,   6.0305

Step 3
To get the answer to this problem all we need to know is where the derivative is positive (and hence the function is increasing) or negative (and hence the function is decreasing). Because the derivative is continuous we know that the only place it can change sign is where the derivative is zero. So, as we did in this section a quick number line will give us the sign of the derivative for the various intervals.
Here is the number line for this problem.
Derivatives of Trig Functions | Calculus - Mathematics
From this we get the following increasing/decreasing information.
Derivatives of Trig Functions | Calculus - Mathematics
Note that because we’ve only looked at what is happening in the interval [−2,7] we can’t say anything about the increasing/decreasing nature of the function outside of this interval.

The document Derivatives of Trig Functions | Calculus - Mathematics is a part of the Mathematics Course Calculus.
All you need of Mathematics at this link: Mathematics
112 videos|65 docs|3 tests

FAQs on Derivatives of Trig Functions - Calculus - Mathematics

1. What are the derivatives of the sine and cosine functions?
Ans. The derivative of the sine function is the cosine function, and the derivative of the cosine function is the negative sine function. In other words, if we have a function f(x) = sin(x), its derivative f'(x) is equal to cos(x). Similarly, if we have a function g(x) = cos(x), its derivative g'(x) is equal to -sin(x).
2. How do you find the derivative of tangent function?
Ans. To find the derivative of the tangent function, we can use the quotient rule. Let y = tan(x), where tan(x) = sin(x)/cos(x). Applying the quotient rule, the derivative of y with respect to x (dy/dx) is equal to (cos(x) * d(sin(x))/dx - sin(x) * d(cos(x))/dx) / (cos(x))^2. Simplifying further, we get dy/dx = sec^2(x).
3. What is the derivative of the secant function?
Ans. The derivative of the secant function is equal to the secant function multiplied by the tangent function. In other words, if we have a function f(x) = sec(x), its derivative f'(x) is equal to sec(x) * tan(x).
4. How do you find the derivative of the cosecant function?
Ans. To find the derivative of the cosecant function, we can use the chain rule. Let y = csc(x), where csc(x) = 1/sin(x). Applying the chain rule, the derivative of y with respect to x (dy/dx) is equal to -cot(x) * csc(x). Simplifying further, we get dy/dx = -cot(x) * csc(x).
5. How do you find the derivative of the cotangent function?
Ans. To find the derivative of the cotangent function, we can use the quotient rule. Let y = cot(x), where cot(x) = cos(x)/sin(x). Applying the quotient rule, the derivative of y with respect to x (dy/dx) is equal to (sin(x) * d(cos(x))/dx - cos(x) * d(sin(x))/dx) / (sin(x))^2. Simplifying further, we get dy/dx = -csc^2(x).
112 videos|65 docs|3 tests
Download as PDF
Explore Courses for Mathematics exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Free

,

past year papers

,

Extra Questions

,

Exam

,

video lectures

,

mock tests for examination

,

ppt

,

shortcuts and tricks

,

Objective type Questions

,

pdf

,

Sample Paper

,

study material

,

Derivatives of Trig Functions | Calculus - Mathematics

,

Viva Questions

,

Previous Year Questions with Solutions

,

Derivatives of Trig Functions | Calculus - Mathematics

,

Semester Notes

,

Important questions

,

MCQs

,

Derivatives of Trig Functions | Calculus - Mathematics

,

Summary

,

practice quizzes

;