Calculus · The special functions
The derivatives of sine and cosine
Two waves that differentiate into one another in a circle.
A wave that comes back to itself
Differentiate \sin x four times in a row and you land back on exactly \sin x. No polynomial does that — a polynomial is wiped out to zero after a few differentiations. What is it about a wave that lets it come back?
The power rule says nothing about a wave, and no amount of rewriting will turn one into a power. The two derivatives below have to be learned, but the picture makes them almost impossible to forget.
\frac{d}{dx}\left[\sin x\right] = \cos x \qquad \frac{d}{dx}\left[\cos x\right] = -\sin x
Two worked examples
Example 1 — a wave with a coefficient
- Take y = 4\sin x - 2\cos x.
- The constants come through untouched.
- The sine gives a cosine, the cosine a negative sine.
4\cos x - 2(-\sin x) - The two minus signs make a plus.
y' = 4\cos x + 2\sin x
Example 2 — a wave inside a chain
- Take y = \sin(3x); the inside is 3x.
- The outside gives a cosine, the inside left whole.
\cos(3x) - Multiply by the derivative of the inside.
\times 3 - So a frequency in the argument becomes a factor in front.
3\cos(3x)
- The derivative of \cos x is \sin x — It is -\sin x The cosine falls at the start, so its derivative is negative there.
- The derivative of \sin(3x) is \cos(3x) — It is 3\cos(3x) The chain applies here too, and the inner factor is three.