Are complex logarithm rules the same as real number rules?

Click For Summary
The discussion clarifies that while the logarithm rules for real numbers apply to complex numbers, care must be taken due to branch cut issues. Specifically, the equation log(z) = -log(1/z) holds true, but adjustments involving 2πi may be necessary depending on the chosen branch of the logarithm. Examples illustrate that using different branches can lead to different results, emphasizing the importance of being cautious with complex logarithm calculations. The conversation highlights that familiar rules can lead to unexpected results if not applied carefully in the complex domain. Understanding these nuances is crucial for accurate computations in complex analysis.
daudaudaudau
Messages
297
Reaction score
0
Hi.

I know that for real numbers log(z)=-log(1/z)

is this also true in general for complex numbers?
 
Physics news on Phys.org
yup. no promises about the log of 0 or \infty.
 
But one might need to add 2\pi i somewhere sometimes because of some branch choosing issues.
 
If you choose to use a branch

<br /> \log(z) = \log(|z|) + i\textrm{arg}(z),\quad 0\leq \textrm{arg}(z) &lt; 2\pi<br />

then for example

<br /> \log(-1+i) = \log(\sqrt{2}) + \frac{3\pi i}{4}<br />

and

<br /> \log(\frac{1}{-1+i}) = \log(-\frac{1}{2}(1+i)) = \log(\frac{1}{\sqrt{2}}) + \frac{5\pi i}{4}.<br />

So you've got

<br /> \log(-1+i) + \log(\frac{1}{-1+i}) = 2\pi i,<br />

in contradiction with your equation. But if you choose the branch so that

<br /> -\pi &lt; \textrm{arg}(z) \leq \pi,<br />

then you've got

<br /> \log(-1+i) + \log(\frac{1}{-1+i}) = 0,<br />

as your equation stated. Even with this choice of branch still, for example,

<br /> \log(-1) + \log(\frac{1}{-1}) = 2\pi i,<br />

so actually...

daudaudaudau said:
Hi.

I know that for real numbers log(z)=-log(1/z)

for positive real numbers! :wink:
 
jostpuur said:
But one might need to add 2\pi i somewhere sometimes because of some branch choosing issues.


The essentail point is than ln(1)= 2n\pi i with n being any integer.
 
Thank you for the answers and examples. I understand it much better now.
 
You probably remember the trick where one does something like this:

<br /> 1 = \sqrt{1} = \cdots = -1<br />

with imaginary units. The examples I gave are very similar in nature. Most of the time, a blind use of familiar calculation rules might seem to work, but you never know when something tricky surprises you, if you are not careful.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K