Skip to content

Mathematics · Ch 3 — Trigonometry

Sum and difference identities or compound angles formulas

3.5.1

Sum and difference identities or compound angles formulas

Identity 3.1 — cos⁡(α+β)=cos⁡αcos⁡β−sin⁡αsin⁡β\cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta.

This is proved first; every other identity in this sub-section is then a short substitution away from it. Work on the unit circle centred at OO, fix P=(1,0)P=(1,0), and mark three more points at the standard positions given by the angles α\alpha, α+β\alpha+\beta, and −β-\beta (all measured from OPOP):

Q=(cos⁡α,sin⁡α),R=(cos⁡(α+β),sin⁡(α+β)),S=(cos⁡(−β),sin⁡(−β)).Q=(\cos\alpha,\sin\alpha),\qquad R=(\cos(\alpha+\beta),\sin(\alpha+\beta)),\qquad S=(\cos(-\beta),\sin(-\beta)).

The angle ∠QOS=α−(−β)=α+β\angle QOS=\alpha-(-\beta)=\alpha+\beta is exactly the same central angle as ∠POR=α+β\angle POR=\alpha+\beta. Since triangles PORPOR and SOQSOQ share two radii of equal length and the same included angle (SAS), they are congruent, so the chord PRPR equals the chord SQSQ in length — i.e. PR2=SQ2PR^2=SQ^2.

Compute both squared distances with the ordinary distance formula:

[cos⁡(α+β)−1]2+sin⁡2(α+β)=[cos⁡α−cos⁡(−β)]2+[sin⁡α−sin⁡(−β)]2.[\cos(\alpha+\beta)-1]^2+\sin^2(\alpha+\beta) = [\cos\alpha-\cos(-\beta)]^2+[\sin\alpha-\sin(-\beta)]^2.

Expand every square and repeatedly use cos⁡2θ+sin⁡2θ=1\cos^2\theta+\sin^2\theta=1; all the squared single-ratio terms collapse to 11's, the 22's cancel, and (using cos⁡(−β)=cos⁡β, sin⁡(−β)=−sin⁡β\cos(-\beta)=\cos\beta,\ \sin(-\beta)=-\sin\beta) what remains is

−2cos⁡(α+β)+2=2−2cos⁡αcos⁡β+2sin⁡αsin⁡β ⟹ cos⁡(α+β)=cos⁡αcos⁡β−sin⁡αsin⁡β.-2\cos(\alpha+\beta)+2 = 2-2\cos\alpha\cos\beta+2\sin\alpha\sin\beta \ \Longrightarrow\ \cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta.

The underlying geometric fact is simply that the straight-line distance between two points on a circle depends only on the radius and the central angle between them — that is exactly why PR=SQPR=SQ once the two central angles agree. The argument is carried out for 0≤α,β<2π0\le\alpha,\beta<2\pi, but periodicity of sine/cosine then extends the identity to every real α,β\alpha,\beta.

Identity 3.2 — cos⁡(α−β)=cos⁡αcos⁡β+sin⁡αsin⁡β\cos(\alpha-\beta)=\cos\alpha\cos\beta+\sin\alpha\sin\beta.

Rather than repeat the geometric argument, write α−β=α+(−β)\alpha-\beta=\alpha+(-\beta) and reuse Identity 3.1:

cos⁡(α−β)=cos⁡[α+(−β)]=cos⁡αcos⁡(−β)−sin⁡αsin⁡(−β)=cos⁡αcos⁡β+sin⁡αsin⁡β.\cos(\alpha-\beta)=\cos[\alpha+(-\beta)]=\cos\alpha\cos(-\beta)-\sin\alpha\sin(-\beta)=\cos\alpha\cos\beta+\sin\alpha\sin\beta.

Two quick special cases: setting β=α\beta=\alpha collapses this to cos⁡2α+sin⁡2α=1\cos^2\alpha+\sin^2\alpha=1 (a consistency check, not new information); setting α=0,β=x\alpha=0,\beta=x gives cos⁡(−x)=cos⁡x\cos(-x)=\cos x — i.e. cosine is an even function.

Identity 3.3 — sin⁡(α+β)=sin⁡αcos⁡β+cos⁡αsin⁡β\sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta.

Write sine as a shifted cosine, sin⁡θ=cos⁡ ⁣(π2−θ)\sin\theta=\cos\!\left(\tfrac\pi2-\theta\right), applied at θ=α+β\theta=\alpha+\beta:

sin⁡(α+β)=cos⁡ ⁣(π2−α−β)=cos⁡ ⁣[(π2−α)−β].\sin(\alpha+\beta)=\cos\!\left(\frac\pi2-\alpha-\beta\right)=\cos\!\left[\left(\frac\pi2-\alpha\right)-\beta\right].

Expand the right side as a difference of the angles π2−α\tfrac\pi2-\alpha and β\beta using Identity 3.2:

=cos⁡ ⁣(π2−α)cos⁡β+sin⁡ ⁣(π2−α)sin⁡β=sin⁡αcos⁡β+cos⁡αsin⁡β,=\cos\!\left(\frac\pi2-\alpha\right)\cos\beta+\sin\!\left(\frac\pi2-\alpha\right)\sin\beta=\sin\alpha\cos\beta+\cos\alpha\sin\beta,

using the co-function identities cos⁡(π2−α)=sin⁡α\cos(\tfrac\pi2-\alpha)=\sin\alpha, sin⁡(π2−α)=cos⁡α\sin(\tfrac\pi2-\alpha)=\cos\alpha. As a check, if α+β=π2\alpha+\beta=\tfrac\pi2 the identity again reduces to cos⁡2α+sin⁡2α=1\cos^2\alpha+\sin^2\alpha=1.

Identity 3.4 — sin⁡(α−β)=sin⁡αcos⁡β−cos⁡αsin⁡β\sin(\alpha-\beta)=\sin\alpha\cos\beta-\cos\alpha\sin\beta.

Write α−β=α+(−β)\alpha-\beta=\alpha+(-\beta) and apply Identity 3.3:

sin⁡(α−β)=sin⁡[α+(−β)]=sin⁡αcos⁡(−β)+cos⁡αsin⁡(−β)=sin⁡αcos⁡β−cos⁡αsin⁡β.\sin(\alpha-\beta)=\sin[\alpha+(-\beta)]=\sin\alpha\cos(-\beta)+\cos\alpha\sin(-\beta)=\sin\alpha\cos\beta-\cos\alpha\sin\beta.

Note

The four sum/difference formulas for sine and cosine package neatly into a single matrix statement:

(cos⁡α−sin⁡αsin⁡αcos⁡α)(cos⁡β−sin⁡βsin⁡βcos⁡β)=(cos⁡(α+β)−sin⁡(α+β)sin⁡(α+β)cos⁡(α+β)).\begin{pmatrix}\cos\alpha & -\sin\alpha\\ \sin\alpha & \cos\alpha\end{pmatrix}\begin{pmatrix}\cos\beta & -\sin\beta\\ \sin\beta & \cos\beta\end{pmatrix}=\begin{pmatrix}\cos(\alpha+\beta) & -\sin(\alpha+\beta)\\ \sin(\alpha+\beta) & \cos(\alpha+\beta)\end{pmatrix}.

Composing the rotation matrix for angle α\alpha with the rotation matrix for angle β\beta produces exactly the rotation matrix for α+β\alpha+\beta — matrix multiplication here literally is angle addition.

Identity 3.5 — tan⁡(α+β)=tan⁡α+tan⁡β1−tan⁡αtan⁡β\tan(\alpha+\beta)=\dfrac{\tan\alpha+\tan\beta}{1-\tan\alpha\tan\beta}.

Write tangent as sine over cosine and substitute the sum formulas:

tan⁡(α+β)=sin⁡(α+β)cos⁡(α+β)=sin⁡αcos⁡β+cos⁡αsin⁡βcos⁡αcos⁡β−sin⁡αsin⁡β.\tan(\alpha+\beta)=\frac{\sin(\alpha+\beta)}{\cos(\alpha+\beta)}=\frac{\sin\alpha\cos\beta+\cos\alpha\sin\beta}{\cos\alpha\cos\beta-\sin\alpha\sin\beta}.

Divide every term, top and bottom, by cos⁡αcos⁡β\cos\alpha\cos\beta (valid when cos⁡α,cos⁡β≠0\cos\alpha,\cos\beta\ne0):

=tan⁡α+tan⁡β1−tan⁡αtan⁡β.=\frac{\tan\alpha+\tan\beta}{1-\tan\alpha\tan\beta}.

Identity 3.6 — tan⁡(α−β)=tan⁡α−tan⁡β1+tan⁡αtan⁡β\tan(\alpha-\beta)=\dfrac{\tan\alpha-\tan\beta}{1+\tan\alpha\tan\beta}.

Write α−β=α+(−β)\alpha-\beta=\alpha+(-\beta), substitute into Identity 3.5, and use tan⁡(−β)=−tan⁡β\tan(-\beta)=-\tan\beta:

tan⁡(α−β)=tan⁡α+tan⁡(−β)1−tan⁡αtan⁡(−β)=tan⁡α−tan⁡β1+tan⁡αtan⁡β.\tan(\alpha-\beta)=\frac{\tan\alpha+\tan(-\beta)}{1-\tan\alpha\tan(-\beta)}=\frac{\tan\alpha-\tan\beta}{1+\tan\alpha\tan\beta}.

Note

Historical aside. The 2nd-century astronomer Ptolemy worked with the chord of an angle rather than sine/cosine directly, and proved that in a cyclic quadrilateral ABCDABCD the product of the diagonals equals the sum of the products of the two pairs of opposite sides: (AC)(BD)=(AB)(CD)+(AD)(BC)(AC)(BD)=(AB)(CD)+(AD)(BC). Applying this theorem to arcs of length α\alpha and β\beta on a circle reproduces exactly the sum/difference identities above, which is why they are sometimes called Ptolemy's sum and difference formulas.

A few consequences and reading notes worth keeping in mind:

  • cos⁡(α±β)≠cos⁡α±cos⁡β\cos(\alpha\pm\beta)\ne\cos\alpha\pm\cos\beta in general (and likewise for sine/tangent) — the identities above are the actual relationship, never a term-by-term split.
  • Setting α=β\alpha=\beta in Identity 3.4 gives sin⁡(α−α)=sin⁡αcos⁡α−cos⁡αsin⁡α\sin(\alpha-\alpha)=\sin\alpha\cos\alpha-\cos\alpha\sin\alpha, i.e. sin⁡0=0\sin0=0.
  • Setting α=π2,β=θ\alpha=\tfrac\pi2,\beta=\theta in Identity 3.4 gives sin⁡(π2−θ)=cos⁡θ\sin(\tfrac\pi2-\theta)=\cos\theta — the same co-function fact used above to derive Identity 3.3.
  • Practical payoff. Any angle expressible as a sum/difference of the "special" angles (0∘,30∘,45∘,60∘,90∘,…0^\circ,30^\circ,45^\circ,60^\circ,90^\circ,\dots) now has an exact value: e.g. tan⁡75∘=tan⁡(45∘+30∘)\tan75^\circ=\tan(45^\circ+30^\circ), cos⁡135∘=cos⁡(180∘−45∘)\cos135^\circ=\cos(180^\circ-45^\circ). Exercise 3.4 leans heavily on this trick.

Worked applications (the textbook's Examples 3.15–3.20). All six use only the identities above:

  • Splitting 15∘=45∘−30∘15^\circ=45^\circ-30^\circ and 165∘=120∘+45∘165^\circ=120^\circ+45^\circ (with tan⁡120∘=tan⁡(90∘+30∘)=−cot⁡30∘=−3\tan120^\circ=\tan(90^\circ+30^\circ)=-\cot30^\circ=-\sqrt3 found along the way) gives exact values for cos⁡15∘\cos15^\circ and tan⁡165∘\tan165^\circ via Identities 3.2 and 3.5.
  • Given sin⁡x\sin x in one quadrant and cos⁡y\cos y in another, first fix the sign of the missing ratio in each quadrant using the Pythagorean identity, then substitute both pairs into Identities 3.2 and 3.4 to get exact fractions for sin⁡(x−y)\sin(x-y) and cos⁡(x−y)\cos(x-y).
  • An identity like cos⁡ ⁣(3π4+x)−cos⁡ ⁣(3π4−x)=−2sin⁡x\cos\!\left(\tfrac{3\pi}4+x\right)-\cos\!\left(\tfrac{3\pi}4-x\right)=-\sqrt2\sin x is proved by expanding both cosine terms with Identities 3.1/3.2, cancelling the matching cos⁡3π4cos⁡x\cos\tfrac{3\pi}4\cos x pieces, and simplifying what remains — the same pattern that gives the general rule cos⁡(A+x)−cos⁡(A−x)=−2sin⁡Asin⁡x\cos(A+x)-\cos(A-x)=-2\sin A\sin x.
  • A point rotated about the origin through a fixed angle has its new coordinates found by writing the original point as (rcos⁡θ,rsin⁡θ)(r\cos\theta,r\sin\theta) (with rr the distance from the origin), then applying Identities 3.1/3.3 to (rcos⁡(θ+ϕ), rsin⁡(θ+ϕ))(r\cos(\theta+\phi),\,r\sin(\theta+\phi)) for the rotation angle ϕ\phi — a genuine coordinate-geometry application. …