Why does the graph of y = ln(x) have an imaginary part?

  • Thread starter Thread starter rollcast
  • Start date Start date
  • Tags Tags
    Graph Imaginary
Click For Summary
SUMMARY

The discussion centers on the imaginary part of the natural logarithm function, specifically when applied to negative numbers. The natural logarithm, defined for positive reals, can be extended to complex numbers using Euler's equation, leading to the conclusion that log(-a) = log(a) + iπ for any positive a. This relationship arises from Euler's identity, e^{ix} = cos(x) + i*sin(x), which explains the presence of the imaginary component in the logarithm of negative numbers. The graph produced in WolframAlpha illustrates the principal value of this logarithmic function.

PREREQUISITES
  • Understanding of complex numbers and their properties
  • Familiarity with Euler's identity and its implications
  • Knowledge of the natural logarithm function and its domain
  • Basic graphing skills using tools like WolframAlpha
NEXT STEPS
  • Research "Euler's identity" and its applications in complex analysis
  • Study the properties of logarithms in complex numbers
  • Explore the concept of principal values in complex logarithms
  • Learn how to graph complex functions using software like WolframAlpha
USEFUL FOR

Mathematicians, students studying complex analysis, educators teaching logarithmic functions, and anyone interested in the graphical representation of complex numbers.

rollcast
Messages
403
Reaction score
0
I was messing around with wolframalpha and tried to make this graph.

http://www.wolframalpha.com/input/?i=plot+y+=+log+x

Now I understand why the blue real part exists and has that shape but I don't understand why it has an imaginary part?

Thanks
AL
 
Physics news on Phys.org
In terms of the real numbers, the natural logarithm function maps positive reals to the reals. Given some negative real number x, there is no real number y such that ey=x (i.e., such that y=log(x).) The natural logarithm can be extended to the complex numbers via Euler's equation ex=cos(x)+i*sin(x). This leads to log(-1)=pi*i (And to a host of other values; natural log is no longer unique.)
 
Ok, but where does imaginary pi come into it?

I understand that from a bit of messing around that any value to the left of the y-axis is found by taking the natural log and adding imaginary pi, but I don't understand where imaginary pi comes from.
 
It comes from Euler's identity: e^{\pi i}+1=0.
 
I don't know what math background you have, but the key result here is
e^{ix} = \cos x + i \sin x
If you aren't familar with that, Google for "Euler's identity"

Suppose z = \log(-a) where a > 0. Then e^z = -a. Since e^x > 0 for any real value of x, z must be complex so let z = x + iy.

Then e^{x + iy} = e^x(\cos y + i \sin y) = -a

The imaginary part = 0, so \sin y = 0.

So \cos y = \pm 1 and to make the real parts equal we have to take \cos y = -1 and e^x = a or x = \log a.

Putting it all together

\log(-a) = \log(a) + i \pi + 2k\pi where k is any integer.

The graph shows the "principal value" i.e. \log(a) + i \pi.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K