Skip to content

Mathematics · Ch 3 — Trigonometric Functions

Sum and Difference Formulas for Sine and Cosine

6

Sum and Difference Formulas for Sine and Cosine

Theorem. For all real x,yx, y,

cos⁡(x−y)=cos⁡xcos⁡y+sin⁡xsin⁡y.\cos(x-y) = \cos x\cos y + \sin x\sin y.

Proof. Let P(cos⁡x,sin⁡x)P(\cos x,\sin x), Q(cos⁡y,sin⁡y)Q(\cos y,\sin y), P′(cos⁡(x−y),sin⁡(x−y))P'(\cos(x-y),\sin(x-y)) and A(1,0)A(1,0)

all be points on the unit circle, corresponding to the angles xx, yy, x−yx-y and 00

respectively. The angle from OQOQ to OPOP is x−yx-y, and the angle from OAOA to OP′OP' is also

x−yx-y; since equal angles at the centre of a circle of a given radius cut off chords of equal

length, chord PQPQ = chord P′AP'A, i.e. PQ2=P′A2PQ^2=P'A^2.

Compute each side using the distance formula. First,

PQ2=(cos⁡x−cos⁡y)2+(sin⁡x−sin⁡y)2=cos⁡2x−2cos⁡xcos⁡y+cos⁡2y+sin⁡2x−2sin⁡xsin⁡y+sin⁡2y.PQ^2 = (\cos x-\cos y)^2+(\sin x-\sin y)^2 = \cos^2x-2\cos x\cos y+\cos^2y+\sin^2x-2\sin x\sin y+\sin^2y.

Grouping and using the fundamental identity (sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1, and the same for yy):

PQ2=(sin⁡2x+cos⁡2x)+(sin⁡2y+cos⁡2y)−2(cos⁡xcos⁡y+sin⁡xsin⁡y)=2−2(cos⁡xcos⁡y+sin⁡xsin⁡y).PQ^2 = (\sin^2x+\cos^2x) + (\sin^2y+\cos^2y) - 2(\cos x\cos y+\sin x\sin y) = 2 - 2(\cos x\cos y+\sin x\sin y).

Next,

P′A2=(cos⁡(x−y)−1)2+sin⁡2(x−y)=cos⁡2(x−y)−2cos⁡(x−y)+1+sin⁡2(x−y)=2−2cos⁡(x−y),P'A^2 = (\cos(x-y)-1)^2 + \sin^2(x-y) = \cos^2(x-y) - 2\cos(x-y) + 1 + \sin^2(x-y) = 2 - 2\cos(x-y),

again using sin⁡2(x−y)+cos⁡2(x−y)=1\sin^2(x-y)+\cos^2(x-y)=1. Setting PQ2=P′A2PQ^2=P'A^2:

2−2(cos⁡xcos⁡y+sin⁡xsin⁡y)=2−2cos⁡(x−y)⟹cos⁡(x−y)=cos⁡xcos⁡y+sin⁡xsin⁡y.■2-2(\cos x\cos y+\sin x\sin y) = 2-2\cos(x-y) \quad\Longrightarrow\quad \cos(x-y)=\cos x\cos y+\sin x\sin y. \qquad\blacksquare

Deducing cos⁡(x+y)\cos(x+y). Write x+y=x−(−y)x+y=x-(-y) and apply the theorem just proved with yy

replaced by −y-y:

cos⁡(x+y)=cos⁡xcos⁡(−y)+sin⁡xsin⁡(−y).\cos(x+y) = \cos x\cos(-y)+\sin x\sin(-y).

Since cosine is an even function (cos⁡(−y)=cos⁡y\cos(-y)=\cos y) and sine is odd (sin⁡(−y)=−sin⁡y\sin(-y)=-\sin y),

cos⁡(x+y)=cos⁡xcos⁡y−sin⁡xsin⁡y.\cos(x+y) = \cos x\cos y - \sin x\sin y.

Together, cos⁡(x±y)=cos⁡xcos⁡y∓sin⁡xsin⁡y\cos(x\pm y)=\cos x\cos y\mp\sin x\sin y.

Deducing sin⁡(x+y)\sin(x+y). Using the co-function identity sin⁡θ=cos⁡(π2−θ)\sin\theta=\cos\left(\tfrac{\pi}{2}-\theta\right)

(itself an immediate case of cos⁡(x−y)\cos(x-y) with x=π/2, y=θx=\pi/2,\ y=\theta: cos⁡(π/2−θ)=cos⁡π2cos⁡θ+sin⁡π2sin⁡θ=0+sin⁡θ\cos(\pi/2-\theta)= \cos\tfrac\pi2\cos\theta+\sin\tfrac\pi2\sin\theta=0+\sin\theta),

sin⁡(x+y)=cos⁡(π2−(x+y))=cos⁡((π2−x)−y).\sin(x+y) = \cos\left(\frac{\pi}{2}-(x+y)\right) = \cos\left(\left(\frac{\pi}{2}-x\right)-y\right).

Applying the cos⁡(x−y)\cos(x-y) theorem with π2−x\tfrac\pi2-x in place of xx:

sin⁡(x+y)=cos⁡(π2−x)cos⁡y+sin⁡(π2−x)sin⁡y=sin⁡xcos⁡y+cos⁡xsin⁡y,\sin(x+y) = \cos\left(\frac{\pi}{2}-x\right)\cos y + \sin\left(\frac{\pi}{2}-x\right)\sin y = \sin x\cos y + \cos x\sin y,

using cos⁡(π/2−x)=sin⁡x\cos(\pi/2-x)=\sin x and sin⁡(π/2−x)=cos⁡x\sin(\pi/2-x)=\cos x. …