Lesson Video: Differentiation of Trigonometric Functions | Nagwa Lesson Video: Differentiation of Trigonometric Functions | Nagwa

Lesson Video: Differentiation of Trigonometric Functions Mathematics

In this video, we will learn how to find the derivatives of trigonometric functions and how to apply the differentiation rules on them.

16:32

Video Transcript

In this video, we’ll learn how to differentiate the trigonometric functions sine, cosine, and tangent. We’ll begin by considering how we might find the derivative of the sine and cosine functions by using differentiation from first principles before using the quotient rule to find the derivative of the tangent function. We’ll then look at a few examples of the application of these derivatives and the patterns they form.

By this point, you should feel comfortable in differentiating polynomial functions and applying the differentiation from first principles process. Remember, this says that the derivative of a function 𝑓 is defined as 𝑓 prime of π‘₯ is equal to the limit as β„Ž approaches zero of 𝑓 of π‘₯ plus β„Ž minus 𝑓 of π‘₯ all over β„Ž at points where the limit exists. So we’re going to use this definition to help us find the derivative of sin of π‘₯. But we’ll also need to know some standard limits. It is possible to derive these, but for the purposes of this video, we will simply recall them.

We must also note that for these limits to be true, we require any angles to be given in radiant measure. We’re going to use that the limit as β„Ž approaches zero of sin of β„Ž over β„Ž is equal to one and the limit as β„Ž approaches zero of cos of β„Ž minus one over β„Ž is equal to zero. And now that we’ve recalled the information required for this process, let’s see what it looks like.

Differentiate 𝑓 of π‘₯ equals sin π‘₯ from first principles.

We’re given that 𝑓 of π‘₯ is equal to sin of π‘₯. And we know that to differentiate from first principles, we apply the formula the limit as β„Ž approaches zero of 𝑓 of π‘₯ plus β„Ž minus 𝑓 of π‘₯ all over β„Ž. So since 𝑓 of π‘₯ is sin π‘₯, we need to define 𝑓 of π‘₯ plus β„Ž. And that’s sin of π‘₯ plus β„Ž. And so to differentiate sin π‘₯ from first principles, we apply the limit as β„Ž approaches zero of sin π‘₯ plus β„Ž minus sin of π‘₯ all over β„Ž. Notice that we can’t really evaluate anything yet. And so we’re going to need to find a way to simplify the expression sin π‘₯ plus β„Ž minus sin π‘₯ over β„Ž. And so we recall the sum formula for sin.

This says that sin of 𝐴 plus 𝐡 is equal to sin 𝐴 cos 𝐡 plus cos 𝐴 sin 𝐡. And so we see that sin of π‘₯ plus β„Ž is the same as sin π‘₯ cos β„Ž plus cos π‘₯ sin β„Ž. And so we’re able to rewrite the limit representing our derivative of 𝑓 of π‘₯ as shown. This still isn’t particularly useful, but what we can do is factor sin of π‘₯. We identify our two expressions that contain sin of π‘₯. And we see that sin π‘₯ cos β„Ž minus sin π‘₯ can now be written as sin of π‘₯ times cos of β„Ž minus one.

Let’s just split this up a little. We separate the fraction and then recall that the limit of the sum of two functions is equal to the sum of their respective limits. And then we notice that sin of π‘₯ and cos of π‘₯ are actually independent of β„Ž. And so we can take both sin of π‘₯ and cos of π‘₯ outside of our limit. Next, we recall that for radiant measures, the limit as β„Ž approaches zero of sin of β„Ž over β„Ž is one. And the limit as β„Ž approaches zero of cos of β„Ž minus one over β„Ž is equal to zero. And so we see that we can replace one of our limits with zero and one of our limits with one. sin of π‘₯ times zero is zero. So this entire term disappears. cos of π‘₯ times one is simply equal to cos of π‘₯.

And so we’ve demonstrated by differentiation from first principles that 𝑓 prime of π‘₯ is equal to cos of π‘₯. The derivative of sin π‘₯ is cos π‘₯. Now this is a result that should be learned by heart. But it’s also important that you’re able to follow the process for differentiating sin of π‘₯ by first principles.

Let’s now look to repeat the process for cos of π‘₯.

Given that 𝑦 is equal to cos of π‘₯, find d𝑦 by dπ‘₯ from first principles.

To answer this, we can use the definition of a derivative. For some function 𝑓 of π‘₯, the derivative which can be called 𝑓 prime of π‘₯ but can be also defined as d𝑦 by dπ‘₯ is equal to the limit as β„Ž approaches zero of 𝑓 of π‘₯ plus β„Ž minus 𝑓 of π‘₯ over β„Ž where the limit exists. And β„Ž is equal to 𝛿π‘₯. Now we’re going to let 𝑓 of π‘₯ be equal to cos of π‘₯. So 𝑓 of π‘₯ plus β„Ž is cos of π‘₯ plus β„Ž. And so the first line of working in our differentiation process is the limit as β„Ž approaches zero of cos of π‘₯ plus β„Ž minus cos of π‘₯ all over β„Ž. Then we recall the trigonometric identity that says that cos of 𝐴 plus 𝐡 is cos of 𝐴 times cos of 𝐡 minus sin of 𝐴 times sin of 𝐡. And so cos of π‘₯ plus β„Ž is cos π‘₯ cos β„Ž minus sin π‘₯ sin β„Ž. And so we can rewrite our limit as shown.

Our next step is to factor cos of π‘₯. We notice we have cos of π‘₯ here and negative cos of π‘₯ over here. And so the numerator of this expression becomes cos of π‘₯ times cos β„Ž minus one minus sin of π‘₯ times sin β„Ž. We’re going to split this into two fractions and apply the rules for working with limits. That is, the limit of the sum or difference of two functions is equal to the sum or difference of the respective limits. We also know that we can write, for instance, cos of π‘₯ times cos β„Ž minus one over β„Ž as cos of π‘₯ times the fraction cos β„Ž minus one over β„Ž. And so our limits look a little bit like this, but we know that cos of π‘₯ and sin of π‘₯ are independent of β„Ž.

And so we take those outside of the limits. And so d𝑦 by dπ‘₯ is cos of π‘₯ times the limit as β„Ž approaches zero of cos β„Ž minus one over β„Ž minus sin of π‘₯ times the limit as β„Ž approaches zero of sin β„Ž over β„Ž. And then we apply the following limits, sometimes called the small angle approximation, noting again that this only works for radian measure. The limit as β„Ž approaches zero of cos β„Ž minus one over β„Ž is zero. So the first term becomes zero. Then negative sin π‘₯ times the limit as β„Ž approaches zero of sin β„Ž over one is negative sin π‘₯ times one which is just negative sin π‘₯. And so we see that for 𝑦 equals cos of π‘₯, d𝑦 by dπ‘₯, which is the first derivative of 𝑦 with respect to π‘₯, is negative sin π‘₯

So for a real number π‘₯ given in radians, the first derivative of sin π‘₯ with respect to π‘₯ is cos π‘₯ and the first derivative of cos π‘₯ with respect to π‘₯ is negative sin π‘₯. Now, these actually form a pattern such that the derivative of sin π‘₯ is cos π‘₯. Differentiating again gives us negative sin π‘₯. Then when we differentiate that, we get negative cos π‘₯. And then one more derivative takes us back to sin π‘₯. Given that integration is the inverse of differentiation, we can also reverse this pattern when integrating.

Now the formulae for derivatives of sine and cosine can actually be generalized to the derivatives of sin π‘Žπ‘₯ and cos π‘Žπ‘₯. The derivative of sin π‘Žπ‘₯ is π‘Ž cos π‘Žπ‘₯ and the derivative of cos π‘Žπ‘₯ is negative π‘Ž sin π‘Žπ‘₯. We can even consider the general formulas, and these hold for integer values of π‘˜. A similar set of formulae applies for the derivative of cos of π‘₯.

So what about the derivative of the tangent function? Well, we’re going to apply an identity that relates tan of πœƒ to sin of πœƒ and cos of πœƒ. And we’re going to use the quotient rule. Let’s see what that looks like.

Evaluate the rate of change of 𝑓 of π‘₯ equals tan of five π‘₯ at π‘₯ equals πœ‹.

Remember, when we think about the rate of change of a function, we’re really interested in its derivative. And so we’re actually going to differentiate tan of five π‘₯ and then evaluate that derivative when π‘₯ is equal to πœ‹. We’ll begin by rewriting tan of π‘₯, and we’re going to use the identity tan of π‘₯ equals sin of π‘₯ over cos of π‘₯. And so our 𝑓 of π‘₯, which is tan of five π‘₯, can therefore be written as sin of five π‘₯ over cos of five π‘₯. And then to find the derivative of this rational function, we’re going to recall the quotient rule. This says that the derivative with respect to π‘₯ of the quotient of two differentiable functions 𝑒 over 𝑣 is given by 𝑣 times d𝑒 by dπ‘₯ minus 𝑒 times d𝑣 by dπ‘₯ all over 𝑣 squared.

And so to use this, we let 𝑒 be equal to sin of five π‘₯, that’s the numerator, and 𝑣 be equal to cos of five π‘₯; that’s the denominator. We will, of course, need to find the derivative of each of these functions with respect to π‘₯. And, of course, we know that the derivative of sin π‘Žπ‘₯ is π‘Ž cos π‘Žπ‘₯. So the derivative of sin of five π‘₯ must be five cos of five π‘₯. Then when we differentiate cos of π‘Žπ‘₯ with respect to π‘₯, we get negative π‘Ž sin of π‘Žπ‘₯. And so the derivative of 𝑣 with respect to π‘₯ is negative five sin of five π‘₯. So we substitute all of this into our formula for the quotient rule. We have 𝑣 times d𝑒 by dπ‘₯ minus 𝑒 times d𝑣 by dπ‘₯ all over 𝑣 squared.

But then we see that we can rewrite the numerator as five cos squared five π‘₯ plus five sin squared five π‘₯. And then we factor the five from the numerator. And that’s really useful because we have a trigonometric identity we can use. We know that cos squared π‘₯ plus sin squared π‘₯ is equal to one. And so cos squared five π‘₯ plus sin squared five π‘₯ must also be equal to one. So this becomes five over cos squared five π‘₯. But we use yet another identity to rewrite this. One over cos π‘₯ is sec π‘₯, so one over cos squared π‘₯ must also be sec squared π‘₯. And so five over cos squared five π‘₯ can be written as five sec squared five π‘₯. And so that is the derivative of tan of five π‘₯.

Now, remember, we were wanting to evaluate this at π‘₯ equals πœ‹. So 𝑓 prime of πœ‹ is five sec squared five πœ‹. But sec squared five πœ‹ is one. So we simply get five. And so the rate of change of 𝑓 of π‘₯ equals tan five π‘₯ at π‘₯ equals πœ‹ is five.

Now, in fact, we can generalize the result here from differentiating tan of five π‘₯. The derivative of tan π‘₯ with respect to π‘₯ is sec squared π‘₯. And the derivative of tan π‘Žπ‘₯ for real constants π‘Ž with respect to π‘₯ is π‘Ž sec squared π‘Žπ‘₯. Now, of course, when we differentiated sin π‘₯ and cos π‘₯, we did say those results hold for radian measure. And so since we use those results to differentiate tan of five π‘₯, we know that this only applies for a radian measure too. Now, as with the derivatives of sine and cosine, it’s important to know this result by heart, but also be prepared to derive it when necessary.

We’re now going to have a look at an example of the application of these derivatives.

If 𝑦 is equal to π‘₯ to the fifth power times sin of five π‘₯, determine d𝑦 by dπ‘₯.

Here, we have a function which is the product itself of two differentiable functions. And we’re therefore going to use the product rule to differentiate it. This says that if 𝑒 and 𝑣 are differentiable functions, the derivative of their product is 𝑒 times d𝑣 by dπ‘₯ plus 𝑣 times d𝑒 by dπ‘₯. And so we begin by defining 𝑒 and 𝑣. Now multiplication is commutative, which means it doesn’t really matter which way round we define these. Let’s let 𝑒 be equal to π‘₯ to the fifth power and 𝑣 be equal to sin five π‘₯. Then d𝑒 by dπ‘₯, the derivative of π‘₯ to the fifth power with respect to π‘₯ is five π‘₯ to the fourth power.

And since we know how to differentiate sin of π‘Žπ‘₯, we get π‘Ž cos π‘Žπ‘₯. The derivative of sin of five π‘₯ is five cos of five π‘₯. And so we substitute this into the formula. And we get 𝑒 times d𝑣 by dπ‘₯ to be equal to π‘₯ to the fifth power times five cos five π‘₯ plus 𝑣 times d𝑒 by dπ‘₯. And that’s sin five π‘₯ times five π‘₯ to the fourth power. And so we see d𝑦 by dπ‘₯ is five π‘₯ to the fifth power cos five π‘₯ plus five π‘₯ to the fourth power sin five π‘₯.

We’ll consider one final example which involves a little bit of manipulation.

If 𝑦 equals two sin of seven π‘₯ plus two cos of seven π‘₯ squared, find d𝑦 by dπ‘₯.

There are a number of ways to answer this question. We might, for example, spot that 𝑦 is a composite function and use the chain rule. We could also write it as the product of two functions and use the product rule. Alternatively, we can actually simplify it if we use some trigonometric identities. Let’s just begin by factoring two out of the parentheses, remembering, of course, we need to square it in the process. Next, let’s distribute our parentheses. sin seven π‘₯ plus cos seven π‘₯ squared is the same as sin seven π‘₯ plus cos seven π‘₯ times sin seven π‘₯ plus cos seven π‘₯. And that is equal to sin squared seven π‘₯ plus two sin seven π‘₯ cos seven π‘₯ plus cos squared seven π‘₯. Of course, two squared is also equal to four.

Next, we use the trigonometric identity sin squared π‘₯ plus cos squared π‘₯ equals one. And we apply it to the sum of sin squared seven π‘₯ and cos squared seven π‘₯. That’s also one. And so we rewrite the expression inside our parentheses to get one plus two sin of seven π‘₯ cos of seven π‘₯. Do you spot another identity here? We can actually use the inverse of the double angle identity. sin of two π‘Ž is two sin π‘Ž cos π‘Ž. And so we’re going to let π‘Ž be equal to seven π‘₯. And that tells us that two sin of seven π‘₯ cos of seven π‘₯ is equal to sin of two times seven π‘₯, which is sin of 14π‘₯.

We can now differentiate this fairly easily. We’ll use the fact that the derivative with respect to π‘₯ of sin π‘Žπ‘₯ is π‘Ž cos π‘Žπ‘₯. And we’re going to use the fact that we can take constants outside of a derivative and concentrate on differentiating the function of π‘₯ itself. So d𝑦 by dπ‘₯ will be four times the derivative of one plus sin of 14π‘₯. The derivative of one with respect to π‘₯ is zero and then the derivative of sin of 14π‘₯ is 14 cos of 14π‘₯. And so we end up multiplying four by 14 cos of 14π‘₯ to give us 56 cos of 14π‘₯. If 𝑦 is the function given then, d𝑦 by dπ‘₯ is 56 cos of 14π‘₯.

In this video, we learned that we can apply our understanding of derivatives to trigonometric functions. We saw that the derivative of sin π‘Žπ‘₯ with respect to π‘₯ is π‘Ž cos π‘Žπ‘₯. We saw that the derivative of cos π‘Žπ‘₯ was negative π‘Ž sin π‘Žπ‘₯. And the derivative of tan π‘Žπ‘₯ was π‘Ž sec squared π‘Žπ‘₯. Because of the nature of how these were derived, though, we saw that they only apply when angles are given in radians. We also saw that the derivative of sine and cosine perform a pattern. And we can use this pattern to differentiate and integrate sin of π‘₯ or cos of π‘₯ a number of times.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy