Professional Documents
Culture Documents
Euler’s Formula
The Most Beautiful Mathematical Equation
z_ai Follow
Euler’s Formula
As we can see, we have our precious number e on the left, the cosine and
sine trigonometrical functions on the right, and our imaginary
correspondent i on both sides.
Before we dive into what this formula is telling us, both from a calculus and
a geometric perspective, lets first see where this crazy relationship comes
from.
Twenty years later, Leonhard Euler reached the same formula but using
exponential functions instead of logarithms. Cote’s formula is the
following:
Roger Cotes Formula
Before that, you should know that if we particularise Euler’s formula to the
value of θ= π we get the famous Euler’s Identity. Lets quickly see it.
Euler’s Identity
As mentioned before, if we set the value of θ the probably most famous
number of all times, π, Euler’s Formula becomes Euler’s Identity.
Euler’s Identity
If you want to see why Euler’s Identity is so intriguing, check out the
following post where I explain all about it.
Euler’s Identity
The Most Beautiful Mathematical Formula
medium.com
Awesome, now that we know what Euler’s Formula and Euler’s Identity are,
lets break the former into its individual elements and explore why it is
such an amazing equation.
If we look at a triangle with 90º on one of their angles, the sine and the
cosine of the angle θ can be calculated using the lengths of the sizes of the
sides of such triangle, like shown in the following figure:
Calculating the values of the sine and cosine of θ using the lengths of the sides of a right angle triangle
Imaginary numbers
Initially, numbers were invented to keep track of the count of entire objects.
This is how natural numbers were conceived. Then, a mechanism was
needed to keep track of when somebody owed someone else an entire
object. Integer numbers were born, which were an extension of the
previous natural numbers to the negative side.
After this, the need to keep track of fractions, or parts of entire objects
arose, giving birth to the rational numbers. Finally, numbers that describe
fractions whose decimals go on forever (like π) were found in mathematics,
and thus irrational numbers were born. All of the previous kind of
numbers fall under the category of real numbers.
It wasn’t until our beloved Euler showed up, that the square root of -1
was given this letter as a representation, and started being considered
useful. After this, it naturally appeared in all kinds of problems from physics
like the laws of electricity and magnetism, or wave dynamics.
Calculation of number e
where this limit converges and takes the value we all know for this number
of 2,71828.
Despite of this constant being very important, the magic of Euler’s Formula
does not come from this precise value, but from the function that this
letter’s name has come to steal: the exponential function. Lets check it
out.
The value of 2,71828 that we know number e for, is the value we get when
we input x = 1 into this exponential function, so, for now, we will say
exp(1) = e.
exp(3) = 20.0855
epx(4) = 54.5981
exp(3)exp(4) = 1096.6331
Cool right? Adding the inputs of the exponential functions (3 and 4) is the
same as multiplying the individual outputs (exp(3) and exp(4)).
This is not at all trivial, and is probably something nobody would have
guessed by just looking at the polynomial Taylor Series. However, it is an
awesome property which allows us to answer some of the previous
questions.
Exponential fraction
Now, what happens when we take the exp function and insert an
imaginary number in it?
Euler’s Formula
Lets pick an specific value for θ and see what comes out of there. If we take
θ = 1, and calculate the first 20 elements of exp(i) we get the complex
number 0.5403 + 0.8414i. This is the same value that we get from Euler’s
Formula, using the cosine and the sine.
Cool right? Now, lets see something even cooler. The following figure
shows the plots of the values of exp(i) as we increase the number of
elements considered in the Taylor Series. Each yellow line ends at the value
of the complex number calculated with that many elements, and represents
an extra addition to the previous one.
The complex plane and the values of exp(i) as we add more and more elements of the polynomial series. In the
end, after adding 5 elements we can see that we are really close to the real value, which is on top of the unit
circle.
As we can see, a kind of spiral is formed, that gets closer and closer to
the final value of the exponential that we can verify with Euler’s Formula.
This is awesome, and it tells us something really beautiful about
exponentials.
This is shown in the following figures, where the same plot as before has
been created for different values of θ.
As we can see from the previous figures, exp(iθ) always ends up in the unit
circle if enough elements from the series are used. For any value of theta
that we use, if we take enough elements of the polynomial series this
always happens, just by adding, rotating and multiplying these yellow
lines that represent an additional element of the series.
Also, you might have noticed already, but in the last figure (θ = π) what
we are plotting is Euler’s Identity. Lets recover the formula, because this
last plot also contains some beautiful insights:
Euler’s Identity
Euler’s Identity
One of the main reasons that this comes to be, is what happens in the
complex plane when we multiply a number by i. Multiplying by i implies a
90º rotation from the origin around the unit circle, like shown in the
following figure.
exp(i) and exp(i)*i, which leads to a rotation of 90º around the unit circle.
Conclusion
Euler’s formula is one of the most beautiful formulas of our days. It beautifully
connects many different elements, and its geometrical interpretation and
origin are something completely wonderful.
I hope this post has made you learn and taught you the fascinating insights
behind Euler’s Formula.
Feel free to follow me on Twitter at @jaimezorno. Also, you can take a look
at my posts on Data Science, Maths and Machine Learning here. Have a
good read!
For more posts like this one follow me on Medium, and stay tuned!
If you wish to learn more, the following Channel has some awesome videos
on Euler’s Formula, Euler’s Equation and the intuition behind complex
numbers.
3Blue1Brown
3blue1brown, by Grant Sanderson, is some combination of math
and entertainment, depending on your disposition. The goal…
www.youtube.com
Get smarter at building your thing. Subscribe to receive The Startup's top 10 most read
stories — delivered straight into your inbox, twice a month. Take a look.
By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information
about our privacy practices.