Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to explain Euler's identity using triangles and spirals. Parent comment
sqrt(x^2) has two values, +x and -x.
ln(e^x) has an infinite number of values, x + 2nπi (for any integer n).
2πi = 0 + 2nπi for some n. (You can repeat this for, say, e^4πi, e^989781123972πi, e^-091784πi, etc. Those are all equal to 1.)
[1] http://en.wikipedia.org/wiki/Complex_logarithm
There are no comments on this comment yet.
sqrt(x^2) has two values, +x and -x.
ln(e^x) has an infinite number of values, x + 2nπi (for any integer n).
2πi = 0 + 2nπi for some n. (You can repeat this for, say, e^4πi, e^989781123972πi, e^-091784πi, etc. Those are all equal to 1.)
[1] http://en.wikipedia.org/wiki/Complex_logarithm