Skip to content

Complex Logarithm

Definition

A complex logarithm of a nonzero complex number zz is any complex number ww for which ew=z\mathrm{e}^{w}=z. Such a number ww is denoted by log⁡z\log z. If zz is given in polar form as z=reiφz=r\mathrm{e}^{\mathrm{i}\varphi}, where r>0r>0 and φ\varphi are real numbers, then ln⁡r+iφ\ln r+\mathrm{i} \varphi is one logarithm of zz, and all the complex logarithms of zz are exactly the numbers of the form ln⁡r+i(φ+2πk)\ln r+\mathrm{i}\left(\varphi +2\pi k\right) for integers k.k. For each nonzero complex number zz, the principal value of the complex logarithm Log⁡z\operatorname{Log} z is the logarithm whose imaginary part lies in the interval (−π,π].(-\pi ,\pi].


Interpretation

A logarithm of zz answers the question: to which power must e\mathrm{e} be raised to give zz? For a real x>0x>0 there is exactly one answer, the natural logarithm ln⁡x\ln x. For a complex z≠0z\ne0 there are infinitely many, because the complex exponential function is 2πi2\pi\mathrm{i}-periodic, ew+2πi=ew\mathrm{e}^{w+2\pi\mathrm{i}}=\mathrm{e}^{w}, and therefore not injective.

A complex number z at angle phi in the z-plane, mapped by the logarithm to a vertical line of values in the w-plane at real part ln r, spaced 2 pi apart; the middle one is the principal value.

For z=reiφz=r\mathrm{e}^{\mathrm{i}\varphi} one has eln⁡r+iφ=reiφ=z\mathrm{e}^{\ln r+\mathrm{i}\varphi}=r\mathrm{e}^{\mathrm{i}\varphi}=z: the real part ln⁡r\ln r of a logarithm records the modulus of zz, the imaginary part an argument. In the figure all logarithms of zz lie on the vertical line with real part ln⁡r\ln r in the ww-plane, spaced 2π2\pi apart, one for each argument φ+2πk\varphi+2\pi k. The drawn angle φ\varphi lies in (−π,π](-\pi,\pi], so the marked middle value ln⁡r+iφ\ln r+\mathrm{i}\varphi is Log⁡z\operatorname{Log}z; with another choice of argument, Log⁡z\operatorname{Log}z is the value whose imaginary part lies in (−π,π](-\pi,\pi].

So Log⁡z=ln⁡∣z∣+iArg⁡z\operatorname{Log}z=\ln|z|+\mathrm{i}\operatorname{Arg}z is a function, and for a positive real zz it is the real ln⁡z\ln z. It inherits the jump of Arg⁡\operatorname{Arg}: crossing the negative real axis from above to below changes its imaginary part from nearly π\pi to nearly −π-\pi. For the same reason, the real rule ln⁡(xy)=ln⁡x+ln⁡y\ln(xy)=\ln x+\ln y holds for the multivalued log⁡\log only as an equality of sets of values; for Log⁡\operatorname{Log} it can fail by 2πi2\pi\mathrm{i}, as the Key Results show.

The logarithm is what defines complex powers, zw=ewlog⁡zz^w=\mathrm{e}^{w\log z}, and its many values are the source of the many values of zwz^w.


Key Results

  • For nonzero z,wz,w, the identity Log⁡(zw)=Log⁡z+Log⁡w\operatorname{Log}(zw)=\operatorname{Log}z+\operatorname{Log}w is not valid in general: the sum of principal arguments may lie outside (−π,π](-\pi,\pi]. For example, taking z=w=−1z=w=-1 gives Log⁡(zw)=0\operatorname{Log}(zw)=0, whereas Log⁡z+Log⁡w=2πi\operatorname{Log}z+\operatorname{Log}w=2\pi\mathrm{i}. For positive real z,wz,w, the identity does hold.

Examples

  • log⁡1=2πik\log 1=2\pi\mathrm{i} k while Log⁡1=0.\operatorname{Log} 1=0.
  • log⁡(−1)=i(π+2πk)\log (-1)=\mathrm{i} (\pi+2\pi k) while Log⁡(−1)=iπ.\operatorname{Log} (-1)=\mathrm{i}\pi.

Prerequisites

Sources

Aliases: logarithm of a complex number Symbols: phi, pi

Last updated: 27 October 2026 11:52