math

Proof

Euler's formula:

Replace with :

Cosine is an even function and sine is odd:

Subtract the equation above from the original formula. (This is possible because you are taking away equavalent amounts from both sides):