Differentiating trigonometric functions
In a nutshell
Standard trigonometric derivatives can be derived by applying the differentiation rules you already know to trigonometric identities.
Sine and cosine recap
Recall that there is a cyclic property to the sequence formed by differentiating the sine and cosine functions. In particular, by differentiating each term, you obtain the next in the sequence below:
...→sin(x)→cos(x)→−sin(x)→−cos(x)→sin(x)→...
Using identities
By recognising tan(x) as cos(x)sin(x), the quotient rule can be used. Recall the quotient rule says that for f(x)=v(x)u(x), the first derivative is f′(x)=v(x)2u′(x)v(x)−u(x)v′(x). Hence let:
u(x)=sin(x) and v(x)=cos(x)
Consequently, by differentiating these with respect to x, you have:
u′(x)=cos(x) and v′(x)=−sin(x)
Thus:
f(x)=tan(x)→f′(x)=cos(x)2cos2(x)+sin2(x)→f′(x)=cos2(x)1=sec2(x)
In a very similar way you can show, for a constant k, that tan(kx) differentiates to ksec2(kx).
Example 1
Differentiate f(x)=sec(x) with respect to x.
Again, use the quotient rule with u(x)=1 and v(x)=cos(x). It follows that:
f(x)=sec(x)→f′(x)=cos(x)20+sin(x)→f′(x)=cos2(x)sin(x)=tan(x)sec(x)
Using a similar process, you can show the following:
f(x)=cosec(kx)f(x)=sec(kx)f(x)=cot(kx)→f′(x)=−kcosec(kx)cot(kx)→f′(x)=ksec(kx)tan(kx)→f′(x)=−kcosec2(kx)
Example 2
Differentiate g(x)=3x5cot(4x) with respect to x.
Here, you have a product of the functions u(x)=3x5 and v(x)=cot(4x). The product rule says that for g(x)=u(x)v(x)→g′(x)=u′(x)v(x)+u(x)v′(x).
So first find u′(x) and v′(x):
u′(x)=15x4 and v′(x)=−4cosec2(4x)
Therefore:
g′(x)=15x4cot(4x)−12x5cosec2(4x)