WordGPT

Taylor series of eˣ up to degree 8

The Taylor polynomial of degree 8 for eˣ about 0 (the Maclaurin polynomial) is 1 + x + x²/2 + x³/6 + x⁴/24 + x⁵/120 + x⁶/720 + x⁷/5040 + x⁸/40320. The full series converges for every x.

eˣ and its degree 8 Taylor polynomial-3-2-11235101520eˣdegree 8
eˣ and its degree 8 Taylor polynomial. The polynomial follows the curve closely near 0 and drifts away further out; more terms stretch the good region.

How to work it out

  1. 1

    The Taylor series of f about 0 uses the derivatives of f at 0:

    f(x)=∑k=0∞f(k)(0)k! xkf(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k
  2. 2

    For f(x) = eˣ the first derivatives at 0 are:

    f(0)(0)=1,f(1)(0)=1,f(2)(0)=1,f(3)(0)=1,f(4)(0)=1,f(5)(0)=1,f(6)(0)=1f^{(0)}(0) = 1,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = 1,\quad f^{(3)}(0) = 1,\quad f^{(4)}(0) = 1,\quad f^{(5)}(0) = 1,\quad f^{(6)}(0) = 1
  3. 3

    Divide each by k! and keep the terms up to degree 8:

    ex≈1+x+12x2+16x3+124x4+1120x5+1720x6+15040x7+140320x8e^{x} \approx 1 + x + \frac{1}{2}x^{2} + \frac{1}{6}x^{3} + \frac{1}{24}x^{4} + \frac{1}{120}x^{5} + \frac{1}{720}x^{6} + \frac{1}{5040}x^{7} + \frac{1}{40320}x^{8}
  4. 4

    Euler's formula comes from putting x = iθ into this series: the even powers give cos θ, the odd powers give i sin θ.

    eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta
  5. 5

    Radius of convergence: ∞ (it converges for every x). Inside it, more terms give a better approximation; outside, the series does not settle.

LaTeX source of the formulas on this page
\[ e^{x} \approx 1 + x + \frac{1}{2}x^{2} + \frac{1}{6}x^{3} + \frac{1}{24}x^{4} + \frac{1}{120}x^{5} + \frac{1}{720}x^{6} + \frac{1}{5040}x^{7} + \frac{1}{40320}x^{8} \]
\[ f(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k \]
\[ f^{(0)}(0) = 1,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = 1,\quad f^{(3)}(0) = 1,\quad f^{(4)}(0) = 1,\quad f^{(5)}(0) = 1,\quad f^{(6)}(0) = 1 \]
\[ e^{i\theta} = \cos\theta + i\sin\theta \]

Degree 8 polynomial against the real eˣ

xPolynomialExactError
0.11.10517091.10517093.11e-15
0.51.64872131.64872135.66e-9
0.92.45960192.45960311.17e-6
27.38730167.38905611.75e-3

Questions

What is the Taylor series of eˣ?

1 + x + x²/2 + x³/6 + x⁴/24 + x⁵/120 + x⁶/720 + x⁷/5040 + x⁸/40320 + …

What is the degree 8 Taylor polynomial of eˣ?

1 + x + x²/2 + x³/6 + x⁴/24 + x⁵/120 + x⁶/720 + x⁷/5040 + x⁸/40320

What is the radius of convergence of the series of eˣ?

∞ (it converges for every x)

What is the Maclaurin series?

A Taylor series centred at 0.

Other degrees of eˣ

Degree 8 of other functions

    Taylor series of eˣ: degree 8 polynomial and error | WordGPT