Trigonometric Addition Formulas
mathtrigonometryhighschoollecture
1Introduction
The addition formulas express in coordinates the fact that composing two plane rotations gives one rotation through the sum of their angles. This lecture derives them rigorously from rotation matrices and organizes the difference-angle, double-angle, and half-angle formulas as consequences.
data/lecture/math/trigonometry/trigonometric-functions.lecture.n.md
2Rotation Matrices
For a 2\times2 matrix A=(a_{ij}) and a column vector (x,y)^\mathsf T, define
A\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}a_{11}x+a_{12}y\\a_{21}x+a_{22}y\end{pmatrix}.
For two matrices A,B, define (AB)_{ij}=\sum_{k=1}^2a_{ik}b_{kj}. This product represents composition: first apply B, then apply A. Write a point at distance r\geq0 and with argument t as rP_t, and define rotation by Q_\theta(rP_t)=rP_{t+\theta}. Addition of signed arc lengths gives Q_\alpha\circ Q_\beta=Q_{\alpha+\beta}. A rotation fixes the origin and preserves both parallelograms spanned by vectors and directed distances along lines; hence it preserves vector addition and real scalar multiplication. Thus Q_\theta is linear.
Let e_1=(1,0)^\mathsf T and e_2=(0,1)^\mathsf T be the standard basis. The map Q_\theta is linear and preserves lengths, orthogonality, and orientation. It sends e_1 to u=(\cos\theta,\sin\theta)^\mathsf T. The image of e_2 must be the unique unit vector perpendicular to u for which (u,v) has positive orientation, namely v=(-\sin\theta,\cos\theta)^\mathsf T. Hence the matrix of Q_\theta is
R_\theta=\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix}
Applying R_\beta and then R_\alpha geometrically rotates every vector through a total angle \alpha+\beta. Thus, without using the addition formulas,
R_\alpha R_\beta=R_{\alpha+\beta}.
Direct multiplication gives
R_\alpha R_\beta=
\begin{pmatrix}
\cos\alpha\cos\beta-\sin\alpha\sin\beta&-(\cos\alpha\sin\beta+\sin\alpha\cos\beta)\\
\sin\alpha\cos\beta+\cos\alpha\sin\beta&\cos\alpha\cos\beta-\sin\alpha\sin\beta
\end{pmatrix}.
Comparison with R_{\alpha+\beta} proves, for all real \alpha,\beta,
\boxed{\cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta}
\boxed{\sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta}.
3Difference-Angle Formulas
Replace \beta by -\beta and use \cos(-\beta)=\cos\beta and \sin(-\beta)=-\sin\beta:
\boxed{\cos(\alpha-\beta)=\cos\alpha\cos\beta+\sin\alpha\sin\beta}
\boxed{\sin(\alpha-\beta)=\sin\alpha\cos\beta-\cos\alpha\sin\beta}.
4Double-Angle Formulas
Setting \beta=\alpha=\theta gives
\boxed{\sin2\theta=2\sin\theta\cos\theta}
\boxed{\cos2\theta=\cos^2\theta-\sin^2\theta=2\cos^2\theta-1=1-2\sin^2\theta}.
The last two forms use \sin^2\theta+\cos^2\theta=1.
5Addition Formulas for Tangent
If \cos\alpha\cos\beta\ne0 and 1-\tan\alpha\tan\beta\ne0, divide the sine addition formula by the cosine addition formula to obtain
\boxed{\tan(\alpha+\beta)=\frac{\tan\alpha+\tan\beta}{1-\tan\alpha\tan\beta}}.
Similarly, if \cos\alpha\cos\beta\ne0 and 1+\tan\alpha\tan\beta\ne0, then
\boxed{\tan(\alpha-\beta)=\frac{\tan\alpha-\tan\beta}{1+\tan\alpha\tan\beta}}.
6Half-Angle Formulas and Signs
Replacing \theta by \theta/2 in the double-angle formulas gives
\sin^2\frac\theta2=\frac{1-\cos\theta}{2},\qquad
\cos^2\frac\theta2=\frac{1+\cos\theta}{2}.
Taking square roots yields
\sin\frac\theta2=\pm\sqrt{\frac{1-\cos\theta}{2}},\qquad
\cos\frac\theta2=\pm\sqrt{\frac{1+\cos\theta}{2}},
where the sign is determined by the position of \theta/2, including both quadrants and coordinate axes. Formulas involving tangent apply only where their denominators are nonzero.
7An Alternative Proof Using Complex Numbers
This section is an alternative proof to be used only after complex numbers and Euler's formula have been introduced; it is not a prerequisite for the rotation-matrix proof.
Substitute e^{i\theta}=\cos\theta+i\sin\theta into
e^{i(\alpha+\beta)}=e^{i\alpha}e^{i\beta}
and compare real and imaginary parts to obtain the same addition formulas.
8Scope
The sine and cosine formulas for sums, differences, and double angles hold for all real angles. The tangent formulas hold under the nonzero conditions stated above; every transformation involving a quotient requires a nonzero denominator. When square roots are taken in the half-angle formulas, the signs must be selected from the position of the half-angle, including both quadrants and coordinate axes.
9Related Lectures
data/lecture/math/vector/geometric-vectors-and-dot-products.lecture.n.md
data/lecture/math/algebra/complex-numbers-and-complex-plane.lecture.n.md