The general (multivalued) logarithm is defined as with the integration path not intersecting the origin.
Its principal value is defined as with the integration path not intersecting . The principal value is extended to include the branch cut such that it is continuous on the upper half plane .
The logarithm to a general base is defined as
The general logarithm can be defined as the inverse of the exponential function, The imaginary part of the principal value satisfies The principal value is obtained by restricting the general logarithm to this region. Conversely, the general logarithm is obtained from the principal value via where is the number of times the integration path in crosses the negative real axis from above, minus the number of times it crosses from below.
The real and imaginary parts of are where is the argument of satisfying .
For complex numbers and integer the following holds:
The logarithm of Euler's number is equal to one:
Real value of .