Use Euler's formula to write
in the form with and real (for real ).
State Euler's formula and note that is in radians.
Here radians - a fixed number, not a variable, so and are just constants (, ).
Expand each exponential. Using and :
The two share the same cosine but opposite sines - that asymmetry is what produces the below.
Substitute and distribute the coefficients.
Group real and imaginary parts. Collecting terms and terms separately:
So the real part carries the sum and the imaginary part carries the difference - note the order, minus .
Check the two special cases. If the imaginary part vanishes and the result is , matching ✓. If the real part vanishes, giving , matching ✓.
Verify numerically. With , : direct evaluation gives , and ✓.
Need to solve a different problem like this? Open the solver →