Complex numbers can be exponentiated. Let us begin by defining \(e^{bi}\) where \(b\) is a real number. Recall from basic calculus that if \(y\) is any real number then \(e^y\) has a Taylor series based at \(y=0\text{,}\)
although the series on the right hand side isn’t very explicit. In the next section we make it so.
SubsectionA.3.2Euler’s Formula
The series on the right in (A.3.2) can be made more explicit by noting that \(i^2=-1\text{,}\)\(i^3=-i\text{,}\)\(i^4=1\text{,}\)\(i^5=i\text{,}\) and so on. In short, the powers of \(i\) run through the sequence \(1\text{,}\)\(i\text{,}\)\(-1\text{,}\)\(-i\text{,}\) and then repeat with a cycle of length four. Based on this the series in (A.3.2) can be written as
The series that defines the real part of \(e^{bi}\) on the right in (A.3.3) is just the Taylor series for \(\cos(b)\) from elementary calculus, and the series that defines the imaginary part is \(\sin(b)\text{.}\) We then have
for any real number. This is known as Euler’s formula.
More generally we define \(e^z\) for any complex number \(z=a+bi\) by imposing the property \(e^{a+bi}=e^ae^{bi}\) (analogous to \(e^{x+y}=e^xe^y\) for real numbers \(x\) and \(y\)) to obtain
That is, the real part of \(e^{a+bi}\) is \(e^a\cos(b)\) and the imaginary part is \(e^a\sin(b)\text{.}\) With this definition complex exponentiation has many of the same algebraic properties as exponentiation for real numbers. In particular \(e^0=1\text{,}\)\(e^{w+z}=e^w e^z\text{,}\) and \(e^{-z}=1/e^z\text{.}\)
Reading ExerciseA.3.1.
Compute \(e^{i\pi}\text{,}\)\(e^{i\pi/2}\text{,}\) and \(e^{i\pi/4}\text{.}\)
Answer.
\(e^{i\pi} = -1\text{,}\)\(e^{i\pi/2} = i\text{,}\) and \(e^{i\pi/4}=\sqrt{2}/2+i\sqrt{2}/2\text{.}\)
SubsectionA.3.3Sine and Cosine
From (A.3.4) with \(-b\) in place of \(b\) it follows that