In mathematics, a complex logarithm is a generalization of the natural logarithm to nonzero complex numbers. The term refers to one of the following, which are strongly related:
A complex logarithm of a nonzero complex number z, defined to be any complex number w for which ew=z. Such a number w is denoted by logz. If z is given in polar form as z=reiθ, where r and θ are real numbers with r>0, then lnr+iθ is one logarithm of z, and all the complex logarithms of z are exactly the numbers of the form lnr+i(θ+2πk) for integers k. These logarithms are equally spaced along a vertical line in the complex plane. A complex-valued function log:U→ℂ, defined on some subset U of the set ℂ∗ of nonzero complex numbers, satisfying elogz=z for all z in U. Such complex logarithm functions are analogous to the real logarithm function ln:ℝ>0→ℝ, which is the inverse of the real exponential function and hence satisfies eln x = x for all positive real numbers x. Complex logarithm functions can be constructed by explicit formulas involving real-valued functions, by integration of 1/z, or by the process of analytic continuation. There is no continuous complex logarithm function defined on all of ℂ∗. Ways of dealing with this include branches, the associated Riemann surface, and partial inverses of the complex exponential function. The principal value defines a particular complex logarithm function Log:ℂ∗→ℂ that is continuous except along the negative real axis; on the complex plane with the negative real numbers and 0 removed, it is the analytic continuation of the (real) natural logarithm.
Problems with inverting the complex exponential function
For a function to have an inverse, it must map distinct values to distinct values; that is, it must be injective. But the complex exponential function is not injective, because ew+2πik=ew for any complex number w and integer k, since adding iθ to z has the effect of rotating ew counterclockwise θ radians. So the points …,w−4πi,w−2πi,w,w+2πi,w+4πi,…, equally spaced along a vertical line, are all mapped to the same number by the exponential function. This means that the exponential function does not have an inverse function in the standard sense. There are two solutions to this problem. One is to restrict the domain of the exponential function to a region that does not contain any two numbers differing by an integer multiple of 2𝜋𝑖: this leads naturally to the definition of branches of logz, which are certain functions that single out one logarithm of each number in their domains. This is analogous to the definition of arcsinx on [−1,1] as the inverse of the restriction of sinθ to the interval [−π/2,π/2]: there are infinitely many real numbers θ with sinθ=x, but one arbitrarily chooses the one in [−π/2,π/2]. Another way to resolve the indeterminacy is to view the logarithm as a function whose domain is not a region in the complex plane, but a Riemann surface that covers the punctured complex plane in an infinite-to-1 way. Branches have the advantage that they can be evaluated at complex numbers. On the other hand, the function on the Riemann surface is elegant in that it packages together all branches of the logarithm and does not require an arbitrary choice as part of its definition.
Principal value
Definition For each nonzero complex number z, the principal value Logz is the logarithm whose imaginary part lies in the interval (−π,π]. The expression Log0 is left undefined since there is no complex number w satisfying ew=0. When the notation logz appears without any particular logarithm having been specified, it is generally best to assume that the principal value is intended. In particular, this gives a value consistent with the real value of lnz when z is a positive real number. The capitalization in the notation Log is used by some authors to distinguish the principal value from other logarithms of z.
Calculating the principal value The polar form of a nonzero complex number z=x+yi is z=reiθ, where r=|z|=x2+y2 is the absolute value of z, and θ is its argument. The absolute value is real and positive. The argument is defined up to addition of an integer multiple of 2π. Its principal value is the value that belongs to the interval (−π,π], which is expressed as atan2(y,x). This leads to the following formula for the principal value of the complex logarithm: Logz=lnr+iθ=ln|z|+iArgz=lnx2+y2+iatan2(y,x). For example, Log(−3i)=ln3−πi/2, and Log(−3)=ln3+πi.
The principal value as an inverse function Another way to describe Logz is as the inverse of a restriction of the complex exponential function, as in the previous section. The horizontal strip S consisting of complex numbers w=x+yi such that −π<y≤π is an example of a region not containing any two numbers differing by an integer multiple of 2πi, so the restriction of the exponential function to S has an inverse. In fact, the exponential function maps S bijectively to the punctured complex plane ℂ∗=ℂ∖{0}, and the inverse of this restriction is Log:ℂ∗→S. The conformal mapping section below explains the geometric properties of this map in more detail.
The principal value as an analytic continuation On the region ℂ−ℝ≤0 consisting of complex numbers that are not negative real numbers or 0, the function Logz is the analytic continuation of the natural logarithm. The values on the negative real line can be obtained as limits of values at nearby complex numbers with positive imaginary parts.
Properties Not all identities satisfied by ln extend to complex numbers. It is true that eLogz=z for all z≠0 (this is what it means for Logz to be a logarithm of z), but the identity Log(ez)=z fails for z outside the strip S. For this reason, one cannot always apply Log to both sides of an identity ez=ew to deduce z=w. Also, the identity Log(z1z2)=Logz1+Logz2 can fail: the two sides can differ by an integer multiple of 2πi; for instance, Log((−1)i)=Log(−i)=ln(1)−πi2=−πi2, but Log(−1)+Log(i)=(ln(1)+πi)+(ln(1)+πi2)=3πi2≠−πi2. The function Logz is discontinuous at each negative real number, but continuous everywhere else in ℂ∗. To explain the discontinuity, consider what happens to argz as z approaches a negative real number a. If z approaches a from above, then argz approaches π, which is also the value of arga itself. But if z approaches a from below, then argz approaches −π. So argz "jumps" by 2π as z crosses the negative real axis, and similarly Logz jumps by 2πi.
… excerpt ends here. Continue reading the full article.





