Follows from z = re^(iθ) by taking ln of both sides: ln z = ln r + iθ. Since arg(z) is multi-valued, ln z is also multi-valued — the general value is ln|z| + i(Arg(z) + 2nπ). The principal value uses Arg(z) ∈ (−π, π].
Derivation
The logarithm of a complex number is the natural extension of ln to C. It is multi-valued — and understanding why is as important as knowing the formula.
Derivation
Write z in Euler's form:
z=∣z∣eiθ,θ=arg(z)
Express the modulus as an exponential:
z=eln∣z∣⋅eiθ=eln∣z∣+iθ
So z=ew where w=ln∣z∣+iθ. Taking the natural logarithm of both sides:
lnz=ln∣z∣+iarg(z)
Why It Is Multi-Valued
The argument arg(z) is not unique — it is defined up to multiples of 2π. Any value θ+2kπ (k∈Z) is a valid argument, and each gives a different value of lnz:
lnz=ln∣z∣+i(Arg(z)+2kπ),k∈Z
This is the general value of lnz. There are infinitely many values, one for each integer k.
The principal value uses k=0, i.e., Arg(z)∈(−π,π]:
Logz=ln∣z∣+iArg(z)
Consequences
ln of a negative real number: For z=−a (a>0), ∣z∣=a and Arg(z)=π:
Log(−a)=lna+iπ
This is why ln(−1)=iπ — Euler's identity eiπ=−1 read backwards.
ln of i:∣i∣=1, Arg(i)=π/2:
Log(i)=ln1+i2π=2iπ
Check: eiπ/2=cos(π/2)+isin(π/2)=i ✓
Where This Appears in JEE
Problems involving ii, (−1)2, or general complex exponents zw=ewlnz all use this formula. The multi-valuedness means such expressions have infinitely many values — JEE problems typically ask for the principal value.