The exponential
The exponent law \(e^{a + b} = e^ae^b\) and Euler's formula leave only one sensible definition:
Definition
For \(z = x + iy\),
\[ e^z = e^x e^{iy} = e^x(\cos y + i\sin y). \]So the real part of \(z\) controls the length of \(e^z\), and the imaginary part controls its angle: \(|e^z| = e^x\) and \(\arg e^z = y\). Key properties follow at once:
- \(e^{z + w} = e^ze^w\), and \(e^z\) is never 0 (its length \(e^x\) is positive).
- \(e^z\) is periodic with period \(2\pi i\): \(e^{z + 2\pi i} = e^z\). On the real line the exponential never repeats; in the plane it repeats forever in the vertical direction.
- It is entire, with \((e^z)' = e^z\). Check Cauchy–Riemann: \(u = e^x\cos y\), \(v = e^x\sin y\), so \(u_x = e^x\cos y = v_y\) and \(u_y = -e^x\sin y = -v_x\).
- It equals its power series \(1 + z + \frac{z^2}{2!} + \cdots\) for every \(z\).
The exponential as a map
Since \(e^{x + iy}\) has length \(e^x\) and angle \(y\), the exponential turns the Cartesian grid into a polar grid.
Vertical lines (fixed \(x\)) become circles of radius \(e^x\); horizontal lines (fixed \(y\)) become rays at angle \(y\). Any horizontal strip of height \(2\pi\) wraps once around 0 and covers every nonzero complex number exactly once. The next strip up covers it all again. The exponential is infinitely many to one.
Look again at the right angles: circles and rays cross perpendicularly, just as the grid lines did. And small squares in the strip become small "polar squares", bigger further out. The local scale factor is \(|e^z| = e^x\).
The logarithm
To invert \(w = e^z\), write \(w = |w|e^{i\theta}\). We need \(e^x = |w|\) and \(y = \theta\) up to multiples of \(2\pi\). So:
Definition
For \(w \neq 0\), the logarithms of \(w\) are the numbers
\[ \log w = \ln|w| + i\arg w = \ln|w| + i(\theta + 2\pi k), \quad k \in \mathbb Z. \]Choosing \(\operatorname{Arg} w \in (-\pi, \pi]\) gives the principal logarithm \(\operatorname{Log} w\).
Examples
\(\log(-1) = i\pi + 2\pi ik\), so \(\operatorname{Log}(-1) = i\pi\). (Negative numbers do have logarithms; they just aren't real.)
\(\log i = i\left(\frac\pi2 + 2\pi k\right)\). \(\operatorname{Log}(1 + i) = \ln\sqrt2 + \frac{i\pi}4\).
The logarithm is not a function in the usual sense: every nonzero number has infinitely many logarithms, spaced \(2\pi i\) apart, one in each strip of the picture above. Familiar rules need care. \(\operatorname{Log}((-1)(-1)) = \operatorname{Log} 1 = 0\), but \(\operatorname{Log}(-1) + \operatorname{Log}(-1) = 2\pi i\). The rule \(\log(zw) = \log z + \log w\) holds only as an equation between sets of values.
Branch points and branch cuts
Why can't we just pick one value of \(\log z\) for each \(z\) and get a nice function? Follow the logarithm continuously around a loop that circles 0:
Start at \(z = 1.5\) with \(\log z = \ln 1.5\). As \(z\) goes once round, \(|z|\) stays fixed and \(\arg z\) increases steadily by \(2\pi\). When \(z\) is back where it started, its logarithm has gained \(2\pi i\). There is no way to choose values continuously all the way around. The point 0, where this happens, is called a branch point.
The standard remedy is to forbid going around. Cut the plane along a ray from 0, usually the negative real axis, and on what remains, \(\operatorname{Log}\) is a perfectly good analytic function, called a branch of the logarithm. Its derivative is what you'd expect:
\[ \frac{d}{dz}\operatorname{Log} z = \frac1z \qquad (z \text{ not on the cut}). \]This is the derivative of an inverse function: \(\frac{1}{e^w} = \frac1z\) at \(w = \operatorname{Log} z\). The cut is a convention, not a feature of the logarithm: any ray from 0 would do. The branch point at 0 is the real feature.
Going deeper: Riemann surfaces
Riemann's solution, in 1851, was more radical than cutting. Take infinitely many copies of the cut plane, and glue the top edge of each cut to the bottom edge of the next copy up. The result is an infinite spiral staircase around 0. On this surface, the logarithm is a genuine, single-valued function: walking round 0 takes you up one floor, and the logarithm increases by \(2\pi i\).
For \(\sqrt z\), two copies glued crosswise suffice: going round 0 twice brings you back. These Riemann surfaces turned out to be one of the great ideas of nineteenth-century mathematics, the starting point of modern geometry and topology.
Complex powers
For real numbers, \(a^b = e^{b\ln a}\). Copy this:
Definition
For \(z \neq 0\) and any complex \(c\), \(z^c = e^{c\log z}\). Using \(\operatorname{Log}\) gives the principal value.
Since \(\log z\) has many values, so may \(z^c\). Changing \(\log z\) by \(2\pi ik\) multiplies \(z^c\) by \(e^{2\pi ikc}\):
- If \(c\) is an integer, \(e^{2\pi ikc} = 1\): one value, the usual power.
- If \(c = \frac1n\), there are exactly \(n\) values: the \(n\)th roots of Unit 2. Branch point at 0.
- If \(c\) is irrational or not real, there are infinitely many values.
Example: \(i^i\)
\(\log i = i\left(\frac\pi2 + 2\pi k\right)\), so
\[ i^i = e^{i\log i} = e^{-\pi/2 - 2\pi k}. \]Every value of \(i\) to the power \(i\) is a real number. The principal value is \(e^{-\pi/2} = 0.2078\ldots\)
Sine and cosine
Unit 2's formulas \(\cos\theta = \frac{e^{i\theta} + e^{-i\theta}}2\) and \(\sin\theta = \frac{e^{i\theta} - e^{-i\theta}}{2i}\) make sense for every complex \(\theta\). So we define
\[ \cos z = \frac{e^{iz} + e^{-iz}}2, \qquad \sin z = \frac{e^{iz} - e^{-iz}}{2i}. \]These are entire, \((\sin z)' = \cos z\), and the familiar identities (\(\sin^2 z + \cos^2 z = 1\), the addition formulas) all survive, because they follow from the algebra of exponentials. But one familiar fact dies: on the imaginary axis,
\[ \cos(iy) = \frac{e^{-y} + e^{y}}2 = \cosh y, \]which grows without bound. Complex sine and cosine are unbounded. In fact \(\cos(2i) \approx 3.76\), so \(\cos z = 3.76\) has solutions. Unit 9 will show this is no accident: a bounded entire function must be constant.
The sine maps the vertical strip \(-\frac\pi2 \le x \le \frac\pi2\) onto the whole plane. Horizontal lines become ellipses and vertical lines become hyperbolas, all sharing the foci \(\pm1\). The segment \([-\frac\pi2, \frac\pi2]\) of the real axis is squashed onto \([-1, 1]\), the only part of the picture real analysis can see.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Solve \(e^z = -2\).
Show answer
\(z = \log(-2) = \ln2 + i(\pi + 2\pi k)\), for every integer \(k\).
2. Find \(|e^{3 + 4i}|\) and \(\arg e^{3 + 4i}\).
Show answer
\(|e^{3 + 4i}| = e^3\) and \(\arg = 4\) (plus multiples of \(2\pi\)). The principal argument is \(4 - 2\pi \approx -2.28\).
3. Compute \(\operatorname{Log}(-1 + i)\).
Show answer
\(|-1 + i| = \sqrt2\) and \(\operatorname{Arg} = \frac{3\pi}4\), so \(\operatorname{Log}(-1 + i) = \frac12\ln2 + \frac{3\pi i}4\).
4. Find all values of \(1^i\).
Show answer
\(\log 1 = 2\pi ik\), so \(1^i = e^{i\cdot2\pi ik} = e^{-2\pi k}\): infinitely many positive real numbers, with principal value 1.
5. Solve \(\cos z = 2\).
Show answer
Let \(w = e^{iz}\): \(w + \frac1w = 4\), so \(w = 2 \pm \sqrt3\). Then \(iz = \ln(2 \pm \sqrt3) + 2\pi ik\), giving \(z = 2\pi k \mp i\ln(2 + \sqrt3)\) (note \(\ln(2 - \sqrt3) = -\ln(2 + \sqrt3)\)).
6. Show that \(\sin z = 0\) only for real \(z = k\pi\).
Show answer
\(\sin z = 0\) means \(e^{iz} = e^{-iz}\), so \(e^{2iz} = 1\). Write \(z = x + iy\): \(|e^{2iz}| = e^{-2y} = 1\) forces \(y = 0\), and then \(e^{2ix} = 1\) forces \(x = k\pi\).
Summary and glossary
- \(e^{x + iy} = e^xe^{iy}\): the real part sets the length, the imaginary part the angle. It is entire, never 0, and has period \(2\pi i\).
- As a map, \(e^z\) wraps each horizontal strip of height \(2\pi\) once around 0, turning grids into polar grids.
- \(\log w = \ln|w| + i\arg w\) has infinitely many values; \(\operatorname{Log}\) uses \(\operatorname{Arg} \in (-\pi, \pi]\).
- Circling the branch point 0 adds \(2\pi i\) to the logarithm; a branch cut makes \(\operatorname{Log}\) analytic, with derivative \(\frac1z\).
- \(z^c = e^{c\log z}\) can have one, finitely many, or infinitely many values; \(\sin\) and \(\cos\) are entire but unbounded.
- Principal logarithm
- \(\operatorname{Log} w = \ln|w| + i\operatorname{Arg} w\).
- Branch point
- A point where going around a small loop changes the value of a function continued continuously.
- Branch cut
- A curve removed from the plane so that a single-valued branch can be chosen.
- Branch
- A continuous (here analytic) choice of one value on a region.
- Riemann surface
- A surface on which a many-valued function becomes single-valued.