ver wonder how the calculator seems to know the numeric value of ? How could it possibly know? is an Irrational Number which means its decimals don’t repeat! (Specifically is a Transcendental Number but it falls under the category of an irrational number). So how can you fit an infinitely large number in a small box? Or for that matter, how did Leonhard Euler manage to calculate to 23 decimal places **without** a calculator?

* It was witchcraft! Sorcery!* Just kidding! 🙂 But seriously, what’s the trick?

Skip the explanation, show me the trick!

It all starts with something called a Power Series. A power series is an infinite series of the form:

where is a variable, are the coefficients (constants), and is the “center of convergence”. Fortunately for us, it doesn’t matter where the center of convergence is, for our purposes, since the series converges for all real numbers of .

To save time while investigating the constant coefficients of the power series, we find that each coefficient can be determined as:

where is the nth derivative. This gives us a bit more direction with a refined formula called a Taylor Series:

Since we’re trying to find the value of we set . When we take the derivative of it becomes every time. To make things easier, we’ll set . This is a Maclaurin Series of . A Maclaurin Series is a special type of Taylor Series where . This means:

.

We now take this information and apply it to the power series:

which simplifies to:

.

Now that we have the Maclaurin Series for , let’s find the value of .

If we let then:

.

Of course we can’t evaluate something that goes on forever, **but** we can find out what the approximate sums are with increasing accuracy. The Partial Sum or Taylor Polynomial below:

shows us how to calculate the value of . As a matter of fact, depending on a calculator’s limitations, this partial sum is how your calculator calculates the value of to display onscreen.

Let’s watch!

$latex {\displaystyle \begin{array}{rllcc}

S_{0}= & 1 & =1 & \text{when} & k=0\\

S_{1}= & 1+\frac{1}{1!} & =2 & \text{when} & k=1\\

S_{2}= & 1+\frac{1}{1!}+\frac{1}{2!} & =2.5 & \text{when} & k=2\\

S_{3}= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!} & =2.66666666667 & \text{when} & k=3\\

S_{4}= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!} & =2.70833333333 & \text{when} & k=4\\

S_{5}= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!}+\frac{1}{5!} & =2.71666666667 & \text{when} & k=5\\

S_{6}= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!}+\frac{1}{5!}+\frac{1}{6!} & =2.71805555556 & \text{when} & k=6\\

S_{7}= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!}+\frac{1}{5!}+\frac{1}{6!}+\frac{1}{7!} & =2.71825396825 & \text{when} & k=7\\

\vdots & \vdots & \vdots & \vdots & \vdots\\

e= & 1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+\frac{1}{4!}+\frac{1}{5!}+\frac{1}{6!}+\frac{1}{7!}+\cdots & =2.71828182846\ldots & \text{as} & k\rightarrow\infty

\end{array}}$

**It’s Mathemagic!**

## Leave a Reply