Skip to content

Complex exponentials and trig identities

5 min read

Short answer

From Euler's formula, cos⁡θ=eiθ+e−iθ2\cos\theta=\dfrac{e^{i\theta}+e^{-i\theta}}2 and sin⁡θ=eiθ−e−iθ2i\sin\theta=\dfrac{e^{i\theta}-e^{-i\theta}}{2i}. Trig identities then become exponent rules, and products of sines and cosines turn into sums.

Steps1Replace cos and sin with exponentials2Expand using the rules of exponents3Collect terms and recognize cos(kθ) or sin(kθ)4Simplify to the identityAddition formulas follow from e^{i(a+b)} = e^{ia}e^{ib}.
One exponent rule replaces a whole table of identities.

Addition formulas for free

ei(a+b)=eiaeibe^{i(a+b)}=e^{ia}e^{ib} gives cos⁡(a+b)+isin⁡(a+b)=(cos⁡a+isin⁡a)(cos⁡b+isin⁡b)\cos(a+b)+i\sin(a+b)=(\cos a+i\sin a)(\cos b+i\sin b). Comparing real and imaginary parts yields cos⁡(a+b)=cos⁡acos⁡b−sin⁡asin⁡b\cos(a+b)=\cos a\cos b-\sin a\sin b and the sine formula.

Integrating powers of trig functions

Writing cos⁡nθ\cos^n\theta with exponentials and expanding gives a sum of cos⁡kθ\cos k\theta terms, which are easy to integrate. This is how Fourier series coefficients are often computed.

Worked example

Show that cos⁡2θ=1+cos⁡2θ2\cos^2\theta=\dfrac{1+\cos2\theta}2.

cos⁡2θ=(eiθ+e−iθ2)2=e2iθ+2+e−2iθ4=2+2cos⁡2θ4=1+cos⁡2θ2\cos^2\theta=\left(\dfrac{e^{i\theta}+e^{-i\theta}}2\right)^2=\dfrac{e^{2i\theta}+2+e^{-2i\theta}}4=\dfrac{2+2\cos2\theta}4=\dfrac{1+\cos2\theta}2, since e2iθ+e−2iθ=2cos⁡2θe^{2i\theta}+e^{-2i\theta}=2\cos2\theta.

Try it yourself

Use exponentials to find sin⁡2θ\sin^2\theta in terms of cos⁡2θ\cos2\theta.

Show the answer

sin⁡2θ=(eiθ−e−iθ2i)2=e2iθ−2+e−2iθ−4=1−cos⁡2θ2\sin^2\theta=\left(\dfrac{e^{i\theta}-e^{-i\theta}}{2i}\right)^2=\dfrac{e^{2i\theta}-2+e^{-2i\theta}}{-4}=\dfrac{1-\cos2\theta}2.

Keep going with practice

Vidi's Fourier lessons use this exponential form throughout.