We all know and love it: e[sup]ix[/sup] = cos(x) + i·sin(x). But the usual derivation using the Taylor’s series always felt too convenient and not intuitive enough. Something is missing from the connection between an exponential function and the trig functions. So here is another derivation.
We’ll start simple, by noticing a pattern:
-1[sup]0[/sup] = 1
-1[sup]0.5[/sup] = i
-1[sup]1[/sup] = -1
-1[sup]1.5[/sup] = -i
-1[sup]2[/sup] = 1
Before you ask, I’ve cheated already. You ask why I chose i instead of -i for the square root. Well, because it makes such a nice repeating pattern that it would be inelegant if I chose anything else.
Look how it circles around the complex plane, repeating itself as the exponent goes up by 2. It almost looks like we can fit some trig functions to it–in fact, we most certainly can:
-1[sup]t[/sup] = cos(πt) + i·sin(πt)
Well, that looks familiar. But there are some questions, like how we can justify that our fit works for any number t, not just the ones at half-integers. Well, we can try one thing:
-1[sup]a+b[/sup] =
-1[sup]a[/sup]·-1[sup]b[/sup] =
(cos(πa) + i·sin(πa))(cos(πb) + i·sin(πb)) =
(cos(πa)cos(πb) - sin(πa)sin(πb)) + i(cos(πa)sin(πb) + sin(πa)cos(πb))
Wait–that looks very familiar. Those are just trig identities! In fact, we just get:
(cos(πa)cos(πb) - sin(πa)sin(πb)) + i(cos(πa)sin(πb) + sin(πa)cos(πb)) =
cos(π(a+b)) + i·sin(π(a+b))
That’s exactly what we’d have expected if we’d just substituted the a+b into the trig functions to begin with. What this means is that the relationship follows the normal rules of arithmetic, which basically means it’s true for all real numbers. We can generate solutions for -1[sup]0.25[/sup], -1[sup]0.125[/sup], -1[sup]0.0625[/sup], etc. and then add them together to get whatever number we want.
I’m going to do a little substitution here (x=πt) to finish off the proof:
(-1[sup]1/iπ[/sup])[sup]ix[/sup] = cos(x) + i·sin(x)
Same thing, just massaged a bit. Let’s do the derivative of both sides to see what happens:
d/dx((-1[sup]1/iπ[/sup])[sup]ix[/sup]) = d/dx(cos(x) + i·sin(x)) =>
i·(-1[sup]1/iπ[/sup])[sup]ix[/sup]·log(-1[sup]1/iπ[/sup]) = -sin(x) + i·cos(x)
Multiply by -i:
-i·i·(-1[sup]1/iπ[/sup])[sup]ix[/sup]·log(-1[sup]1/iπ[/sup])= -i(-sin(x) + i·cos(x)) =
(-1[sup]1/iπ[/sup])[sup]ix[/sup]·log(-1[sup]1/iπ[/sup]) = cos(x) + i·sin(x)
Now substitute the original equation back in the left:
(cos(x) + i·sin(x))·log(-1[sup]1/iπ[/sup]) = cos(x) + i·sin(x)
But… we can just divide that out instead, so we have:
log(-1[sup]1/iπ[/sup]) = 1
And so:
-1[sup]1/iπ[/sup] = e[sup]1[/sup]
A little substitution back into this formula from before:
(-1[sup]1/iπ[/sup])[sup]ix[/sup] = cos(x) + i·sin(x)
And we have:
e[sup]ix[/sup] = cos(x) + i·sin(x)
Et voila. With a little playing around, you can find this weird identity:
log(-1) = iπ
Anyway, I hadn’t seen this derivation before, though I certainly doubt I’m the first to come up with it.