In many parts of engineering, you’ll run across something called Euler’s formula, which looks something like this.
(1)
It’s something you can look at, memorize, and then use in the future. But sometimes it’s nice to know that mathematically, the left side and the right side are in fact equivalent, even if it’s not obvious. While reading Hecht’s Optics book, I came across a footnote that quickly shows that the two sides are equal. Here is the gist of that footnote.
First, set the right hand side of the equation equal to a variable .
(2)
Now take the derivative of with respect to
.
(3)
(4)
Now take our initial function and multiply it by
.
(5)
Since we know that , we can write
as the following, and note that it is the same as our derivative we just calculated.
(6)
Now we can move the variables to one side of the equation, and the rest to the other side of the equation. Then we can take the integral. The left hand side will be integrated with respect to
while the right hand side will be integrated with respect to
.
(7)
(8)
Now we can take the exponential of both sides, and we can see the final equality proves that both sides of Euler’s formula are equivalent.
(9)
(10)