Complex Exponentials

Learn how the Euler formula combines algebra, trigonometry, and complex numbers, enabling geometric interpretations and rotations.

There is one more complex variable situation we want to discuss because it occurs so frequently in quantum mechanics and, hence, in QIS and QC. This is the complex exponential function built with the fundamental exponential number e=2.71828e = 2.71828 \cdots. In particular, the famous Euler formula links the exponential function to sines and cosines: a truly amazing and extremely useful relationship. The Euler formula is

eiϕ=cosϕ+isinϕe^{i\phi} = \cos\phi + i\sin\phi

for any number ϕ\phi. If we use a real number ϕ\phi as the argument, the cosine part of the equation above is the real part of eiϕe^{i\phi}, while the sine term is the imaginary part.

I always found the Euler formula mind-boggling. It combines algebra (sums and exponentials) with trigonometry (sines and cosines) and complex numbers (ii). That’s a lot of math in one package!

You can also turn the formula around to write cosine and sine in terms of the complex exponentials:

cosϕ=(12eiϕ+eiϕ)sinϕ=12i(eiϕeiϕ).\cos\phi = (\frac{1}{2} e^{i\phi} +e^{−i\phi}) \hspace{0.6cm} \sin\phi = \frac{1}{2i} (e^{i\phi} −e^{−i\phi}).

Not only is the Euler formula a useful way to do trigonometry, it also leads to a useful geometric interpretation for complex variables. Multiplying a generic complex variable, for example, our old friend z=u+iυz = u + i υ, by eiθe^{iθ} (with θθ real) is geometrically equivalent to rotating the vector representing zz in the complex plane by the angle θθ without changing its length:

eiθz=(cosθ+isinθ)(u+iυ)=(ucosθυsinθ)+i(usinθ+υcosθ)=z.\begin{aligned} e^{iθ}z & = (\cos θ + i \sin θ) (u + i υ) \\ & = (u \cos θ − υ \sin θ) + i(u \sin θ + υ \cos θ) = z^{\prime}. \end{aligned}

Get hands-on with 1400+ tech skills courses.