# Video: Finding the Derivative of a Trigonometric Function Using the Chain Rule

Find the derivative of the function 𝐽(𝜃) = tan² 𝑛𝜃.

02:43

### Video Transcript

Find the derivative of the function 𝐽 of 𝜃 is equal to the tan squared of 𝑛 times 𝜃.

The question gives us a function 𝐽 in terms of 𝜃. And it wants us to find the derivative of this function. Since our function is given in terms of 𝜃, we want to find the derivative of 𝐽 with respect to 𝜃. So we want to find the derivative with respect to 𝜃 of the tangent squared of 𝑛𝜃. There’s a few different ways of doing this. We’re going to do this by realizing that the tan squared of 𝑛𝜃 is just equal to the tan of 𝑛𝜃 multiplied by the tan of 𝑛𝜃. Now, we can see the derivative that we need to evaluate is the derivative of the product of two functions. So we can do this by using the product rule. We recall the product rule tells us, for two functions 𝑢 and 𝑣, the derivative of 𝑢 times 𝑣 with respect to 𝜃 is equal to 𝑣 times d𝑢 by d𝜃 plus 𝑢 times d𝑣 by d𝜃.

So to apply this rule, we’ll set both 𝑢 and 𝑣 equal to the tan of 𝑛 times 𝜃. So to use the product rule, we’re going to need to find expressions for d𝑢 by d𝜃 and d𝑣 by d𝜃. Both of these are equal to the derivative of the tan of 𝑛𝜃 with respect to 𝜃. And we know, for any constant 𝑎, the derivative of the tan of 𝑎 times 𝜃 with respect to 𝜃 is equal to 𝑎 times the sec squared of 𝑎 times 𝜃. And we can then use this to evaluate both of our derivatives. We get that d𝑢 by d𝜃 and d𝑣 by d𝜃 are both equal to 𝑛 times the sec squared of 𝑛 times 𝜃.

We’re now ready to evaluate the derivative of the tan squared of 𝑛 times 𝜃 with respect to 𝜃 by using the product rule. We get that it’s equal to 𝑣 times d𝑢 by d𝜃 plus 𝑢 times d𝑣 by d𝜃. Substituting our expressions for 𝑢, 𝑣, d𝑢 by d𝜃, and d𝑣 by d𝜃, we get the d𝐽 by d𝜃 is equal to the tan of 𝑛 times 𝜃 multiplied by 𝑛 times the sec squared of 𝑛𝜃 plus the tan of 𝑛𝜃 times 𝑛 times the sec squared of 𝑛𝜃. And we can see that both of the expressions here which we’re adding together are equal.

So to add these two terms together, we can just multiply one of the terms by two. And we can rearrange this to give two 𝑛 times the sec squared of 𝑛𝜃 multiplied by the tan of 𝑛𝜃. And remember, this was an expression for the first derivative of our function 𝐽 of 𝜃. So this is equal to 𝐽 prime of 𝜃. Therefore, we’ve shown that 𝐽 of 𝜃 is equal to the tan squared of 𝑛𝜃. Then 𝐽 prime of 𝜃 is equal to two 𝑛 times the sec squared of 𝑛𝜃 times the tan of 𝑛𝜃.