ln(1 + i)
ln √2 + iπ/4
Real part 0.3466.
The logarithm of a non-zero complex number is , for any integer . The principal value takes with the principal argument.
This page is easier if you are comfortable with:
Writing and taking logs gives . Since the argument is only defined up to multiples of , the logarithm has infinitely many values.
The principal logarithm uses . For a negative real number this gives .
It means that logs of negative numbers exist, but they are complex. It is the inverse of the complex exponential and uses the modulus and argument of the number.
This page is part of Complex numbers in Complex numbers. Topics that work alongside it: Complex exponential, Complex powers, Modulus and argument, Hyperbolic–trigonometric link, Complex sine and cosine and Conjugate product.
The logarithm of a complex number has a real part ln|z| and an imaginary part equal to the argument. Negative numbers have logarithms with imaginary parts.
The real part of ln z is the log of the distance from the origin; the imaginary part is the angle.
These examples are worked by hand, step by step, so you can compare your own working.
Find the principal value of .
Find the principal value of .
Find the principal value of .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
ln √2 + iπ/4
Real part 0.3466.
π/4
0.7854.
iπ
Imaginary part 3.1416.
π/4 + 2π
7.0686.
ln z = ln|z| + i(arg z + 2πk). The principal value takes k = 0. Real parts are single-valued; imaginary parts differ by multiples of 2π.
ln|1 + i| = ln √2.
arg(1 + i).
Imaginary part π.
k = 1: π/4 + 2π.
one value ✗
infinitely many ✓
+2πik.
undefined ✗
iπ + ln|x| ✓
Complex.
same ✗
imaginary part added ✓
Argument.
mixed ✗
radians ✓
Units.
Try each one on paper, then open the answer. Use the solver above to see the full working.
1.6094
0.9273
1.5708
1
3.1416
13.3518
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
ln|z| + i(arg z + 2πk).
k = 0 with principal arg.
iπ.
No, unless a branch is chosen.
complex powers.
hyperbolic–trigonometric link.
More in Complex numbers and the formula sheets.