Derivatives of the trigonometric functions

Differentiating sin\sin gives cos\cos, and differentiating cos\cos gives sin-\sin1. Four differentiations return the original.

(sinx)=cosx(cosx)=sinx\begin{align*} \left( \sin x \right)' &= \cos x \\ \left( \cos x \right)' &= -\sin x \end{align*}

Checking on the graph

Each differentiation shifts the wave left by π2\dfrac{\pi}{2}.

xxsinx\sin xSlopecosx\cos x
00001111
π2\dfrac{\pi}{2}110000
π\pi001-11-1

The table also shows the slope vanishing where sin\sin attains its maximum.

Back after four

Times differentiatedResult
11cosx\cos x
22sinx-\sin x
33cosx-\cos x
44sinx\sin x

Two differentiations reverse the sign, so the following holds.

y=yy'' = -y

That the vibration of a spring and the swing of a pendulum are written with this equation is because sin\sin and cos\cos have that property.

Proving the formula

The proof uses limh0sinhh=1\lim_{h \to 0} \dfrac{\sin h}{h} = 1. The sum-to-product formula rewrites the difference.

sin(x+h)sinx=2cos(x+h2)sinh2\sin(x + h) - \sin x = 2\cos\left( x + \frac{h}{2} \right)\sin\frac{h}{2}

Dividing by hh and using sin(h/2)h/21\dfrac{\sin(h/2)}{h/2} \to 1 leaves cosx\cos x.

Why radians are used

That limit equals 11 only when the angle is measured in radians. In degrees it becomes π1800.01745\dfrac{\pi}{180} \approx 0.01745, and the factor would multiply in at every differentiation. Radians are used in calculus precisely to make that factor disappear.

The tangent and the inverse functions

The quotient rule gives the derivative of tanx\tan x.

(tanx)=cos2x+sin2xcos2x=1cos2x\left( \tan x \right)' = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x}

It is always positive, so tan\tan increases monotonically on each of its branches. That the slope grows without bound near cosx=0\cos x = 0 matches the way the curve clings to its asymptote.

The inverse trigonometric functions follow too. Writing y=arcsinxy = \arcsin x as siny=x\sin y = x and differentiating both sides gives cosyy=1\cos y \cdot y' = 1, and cosy=1x2\cos y = \sqrt{1 - x^2} leads to the following.

(arcsinx)=11x2\left( \arcsin x \right)' = \frac{1}{\sqrt{1 - x^2}}

The wave through the origin is y=sinxy = \sin x, its derivative is y=cosxy = \cos x, the further derivative is y=sinxy = -\sin x, and the large dots are (0,0)(0, 0), (0,1)(0, 1) and (π2,0)\left( \dfrac{\pi}{2}, 0 \right).

  1. Differentiation of trigonometric functions, Wikipedia