Lemma 2.8.3
The above formulas hold provided \(x\) is measured in radians.
To proceed to the general derivatives of \(\sin x\) and \(\cos x\) we are going to use the above two results and a couple of trig identities. Remember the addition formulae 5 You really should. Look this up in Appendix A.8 if you have forgotten.
To compute the derivative of \(\sin(x)\) we just start from the definition of the derivative:
The computation of the derivative of \(\cos x\) is very similar.
We have now found the derivatives of both \(\sin x\) and \(\cos x\text{,}\) provided \(x\) is measured in radians.
The above formulas hold provided \(x\) is measured in radians.
These formulae are pretty easy to remember — applying \(\diff{}{x}\) to \(\sin x\) and \(\cos x\) just exchanges \(\sin x\) and \(\cos x\text{,}\) except for the minus sign 6 There is a bad pun somewhere in here about sine errors and sign errors. in the derivative of \(\cos x\text{.}\)
We remark that, once one knows that \(\diff{}{x}\sin x =\cos x\text{,}\) it is easy to use it and the trig identity \(\cos(x) = \sin\big(\frac{\pi}{2}-x\big)\) to derive \(\diff{}{x}\cos x =-\sin x\text{.}\) Here is how 7 We thank Serban Raianu for suggesting that we include this..
Note that if \(x\) is measured in degrees, then the formulas of Lemma 2.8.3 are wrong. There are similar formulas, but we need the chain rule to build them — that is the subject of the next section. But first we should find the derivatives of the other trig functions.