Passage: The formula is important because it connects complex numbers and trigonometry. By expanding the left hand side and then comparing the real and imaginary parts under the assumption that x is real, it is possible to derive useful expressions for cos(nx) and sin(nx) in terms of cos(x) and sin(x).

Question: What does the formula connect together?
complex numbers and trigonometry