⚠️ Warning! If you can see this message is because your screen is too small. Hence, some applets won't be displayed correctly. You can rotate your device to landscape. Or resize your window so it's more wide than tall.



The Logarithmic Function


Consider z any nonzero complex number. We would like to solve for w, the equation (1)ew=z. If Θ=Arg(z) with π<Θπ, then z and w can be written as follows z=reiΘandw=u+iv. Then equation (1) becomes eueiv=reiΘ. Thus, we have eu=randv=Θ+2nπ where nZ. Since eu=r is the same as u=lnr, it follows that equation (1) is satisfied if and only if w has one of the values

w=lnr+i(Θ+2nπ)(nZ).

Therefore, the (multiple-valued) logarithmic function of a nonzero complex variable z=reiΘ is defined by the formula

(2)logz=lnr+i(Θ+2nπ)(nZ).

Example 1: Calculate logz for z=13i.

Solution: If z=13i, then r=2 and Θ=2π3. Hence

log(13i)=ln2+i(2π3+2nπ)=ln2+2(n13)πi
with nZ.

The principal value of logz is the value obtained from equation (2) when n=0 and is denoted by Logz. Thus Logz=lnr+iΘ. The function Logz is well defined and single-valued when z0 and that logz=Logz+2nπi(nZ) This is reduced to the usual logarithm in calculus when z is a positive real number.

Example 2: Calculate log(1) and log(1).

Solution: From expression (2) log(1)=ln1+i(0+2nπ)=2nπi(nZ) and log(1)=ln1+i(π+2nπ)=(2n+1)πi(nZ) Notice that Log(1)=0 and Log(1)=πi.

Expression (2) is also equivalent to the following: logz=ln|z|+iarg(z)=ln|z|+iArg(z)+2niπ(nZ)

Some basic properties of the function logz are the following:

  1. log(z1z2)=logz1+logz2
  2. log(z1z2)=logz1logz2
  3. There may hold Log(z1z2)Logz1+Logz2


Branches of logarithms

From definition (2) let θ=Θ+2nπ (nZ), so we can write (3)logz=lnr+iθ.

Now, let α be any real number. If we restrict the value of θ so that α<θ<α+2nπ , then the function

(4)logz=lnr+iθ(r>0,α<θ<α+2π),
with components u(r,θ)=lnr,v(r,θ)=θ, is a single-value and continuous function in the stated domain.

A branch of a multiple-valued function f is any single-valued function F that is analytic in some domain at each point z of which the value F(z) is one of the values of f. The requirement of analyticity, of course, prevents F from taking on a random selection of the values of f. Observe that for each fixed α, the single-valued function (4) is a branch of the multiple-valued function (3). The function

(5)Log z=lnr+iΘ(r>0,π<θ<π),
is called the principal branch.

A branch cut is a portion of a line or curve that is introduced in order to define a branch F of a multiple-valued function f. Points on the branch cut for F are singular points of F, and any point that is common to all branch cuts of f is called a branch point. The origin and the ray θ=α make up the branch cut for the branch (4) of the logarithmic function. The branch cut for the principal branch (5) consists of the origin and the ray =π. The origin is evidently a branch point for branches of the multiple-valued logarithmic function.

We can visualize the multiple-valued nature of logz by using Riemann surfaces. The following interactive images show the real and imaginary components of log(z).


Real component of logz


Imaginary component of logz: Each branch is identified with a different color.

Special care must be taken in using branches of the logarithmic function, especially since expected identities involving logarithms do not always carry over from calculus.


Final remark

Notice that for z0, we have

(6)elogz=zandlog(ez)=z+2nπi
with nZ.

Example 3: Calculate elogz, and log(ez) for z=4i.

Solution: If z=4i, then ez=e4i. Hence log(e4i)=4i+2nπi with nZ. On the other hand, we have elog(4i)=4i.


Riemann Surfaces