WordGPT

Taylor series of eˣ up to degree 4

The Taylor polynomial of degree 4 for eˣ about 0 (the Maclaurin polynomial) is 1 + x + x²/2 + x³/6 + x⁴/24. The full series converges for every x.

eˣ and its degree 4 Taylor polynomial-3-2-11235101520eˣdegree 4
eˣ and its degree 4 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)=1f^{(0)}(0) = 1,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = 1,\quad f^{(3)}(0) = 1,\quad f^{(4)}(0) = 1
  3. 3

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

    ex≈1+x+12x2+16x3+124x4e^{x} \approx 1 + x + \frac{1}{2}x^{2} + \frac{1}{6}x^{3} + \frac{1}{24}x^{4}
  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} \]
\[ 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 \]
\[ e^{i\theta} = \cos\theta + i\sin\theta \]

Degree 4 polynomial against the real eˣ

xPolynomialExactError
0.11.10517081.10517098.47e-8
0.51.64843751.64872132.84e-4
0.92.45383752.45960315.77e-3
27.00000007.38905613.89e-1

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 4 Taylor polynomial of eˣ?

1 + x + x²/2 + x³/6 + x⁴/24

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

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