WordGPT

Taylor series of eˣ up to degree 7

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

eˣ and its degree 7 Taylor polynomial-3-2-11235101520eˣdegree 7
eˣ and its degree 7 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 7:

    ex≈1+x+12x2+16x3+124x4+1120x5+1720x6+15040x7e^{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}
  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} \]
\[ 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 7 polynomial against the real eˣ

xPolynomialExactError
0.11.10517091.10517092.51e-13
0.51.64872121.64872131.03e-7
0.92.45959132.45960311.18e-5
27.38095247.38905618.10e-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 7 Taylor polynomial of eˣ?

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

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 7 of other functions

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