Kolton Ndoj

Taylor series: e^x

The exponential is the only function that equals its own slope, so each term must be the slope of the next.

ex=1+x+x22!+x33!+x44!+…e^{x}=1+x+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+\frac{x^{4}}{4!}+\dots

What the symbols mean

xn/n!x^n/n!
the n-th building block
exe^x
the number e raised to x

Why it works — the picture

Take the derivative of the series term by term: 1 disappears, x becomes 1, x squared over 2 becomes x, and so on. Each term turns into the one before it, so the series equals its own derivative. Setting x = 1 gives e = 1 + 1 + 1/2 + 1/6 + 1/24 + ... = 2.71828. Each additional term adds fewer and fewer decimals, because factorials grow so fast.

Graph for Taylor series: e^x -333-3
The error of the polynomial against e^t. Flat near 0 means the polynomial matches there. Switch terms off to see how the error grows. (drawn with the default slider values — move the sliders live)

Try it yourself

Where it’s used in real life

Compound growth, probability (Poisson), and the solution of nearly every differential equation.

Related

Play with it live →

Math · Calculus · Stretch