by nlitened · 3y ago · 0 comments
If we defined a function sin to take not an angle in radians, but in degrees (with a period of 360.0), and used that definition of sin in our math, then our complex e^ix would have a period of exactly 360, and the entire complex math would still work — for example, Euler's formula below would still hold:
e^ix = cos x + i sin x
And people in comments would rave about how magic number 360 is, and its magic properties were discovered by Romans two thousand years ago.exp(x) for complex x is simply defined to be the infinite sum from k = 0 to infinity of x^k/k!. That is, exp(x) = 1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120 ...
(BTW, the motivation for this definition is that exp'(x) = exp(x), which shouldn't be too hard to see because it's already a Tailor series.)
Purely from this you can prove that exp(ix) with real x is periodic with period 6.28...
It just so happens that this number is also the circumference of the unit circle.
The Pi thing feels now less of a coincidence than the fact that exp is a power. That probably falls out of expanding the polynomials but it so ingrained as taken for granted that it is wonderous when you think about it.