Functions and limits · Definition

Complex logarithm

complex analysiscomplex functions

Before you start you need to know

It inverts the complex exponential, which is not injective; so every nonzero number has infinitely many logarithms and a branch must be chosen to work with a function.

Definition

A logarithm of a complex number \(z\neq0\) is a complex number \(w\) whose exponential is \(z\).

\[\log z=\ln|z|+i(\arg z+2\pi k),\quad k\in\mathbb{Z}\]

If \(e^{w}=z\) with \(w=u+iv\), then \(e^{u}=|z|\) and \(v\) is an argument of \(z\). Hence \(u=\ln|z|\) and \(v=\arg z+2\pi k\), which gives \(\log z=\ln|z|+i(\arg z+2\pi k)\). The logarithms of \(z\) thus form a family differing by integer multiples of \(2\pi i\), and \(\log 0\) does not exist because \(e^{w}\neq0\).

To get a function one fixes a branch. The most common is the principal logarithm, \(\operatorname{Log}z=\ln|z|+i\operatorname{Arg}z\), with \(\operatorname{Arg}z\in(-\pi,\pi]\). For instance \(\operatorname{Log}i=\tfrac{\pi}{2}i\), \(\operatorname{Log}(-1)=\pi i\) and \(\operatorname{Log}(1+i)=\tfrac12\ln2+\tfrac{\pi}{4}i\). Every logarithm of \(z\) is \(\operatorname{Log}z+2\pi i k\).

This choice has a price: \(\operatorname{Log}\) is discontinuous on the negative reals, where the argument jumps from \(\pi\) to \(-\pi\), and continuous on the rest, \(\mathbb{C}\) minus \((-\infty,0]\). Also, \(e^{\operatorname{Log}z}=z\) always, but \(\operatorname{Log}e^{z}=z\) only if \(\operatorname{Im}z\in(-\pi,\pi]\); for example \(\operatorname{Log}e^{4i}=(4-2\pi)i\).

The rules of the real logarithm hold only up to multiples of \(2\pi i\): \(\log(zw)=\log z+\log w\) as an equality of sets, but not for the principal logarithm (with \(z=w=-1\) it fails by \(2\pi i\)). It is the most common mistake when moving from the real to the complex case.

Think about it

Why can't \(\operatorname{Log}0\) be defined?

Because the exponential never takes the value zero: there is no \(w\) with \(e^{w}=0\).

If \(w_1\) and \(w_2\) are logarithms of \(z\), how are they related?

Their difference is \(2\pi i k\) for some integer \(k\), since \(e^{w_1-w_2}=1\).

Exercises 10

References

  • Elias M. Stein, Rami Shakarchi, Complex Analysis, 1st edition, Princeton University Press, 2003. Cap. 3, §6
  • James Ward Brown, Ruel V. Churchill, Complex Variables and Applications, 9th edition, McGraw-Hill, 2014. §30–31