WordGPT

Taylor series of ln(1 + x) up to degree 5

The Taylor polynomial of degree 5 for ln(1 + x) about 0 (the Maclaurin polynomial) is x - x²/2 + x³/3 - x⁴/4 + x⁵/5. The full series converges for |x| < 1.

ln(1 + x) and its degree 5 Taylor polynomial-1.5-1-0.50.511.5-2.5-2-1.5-1-0.50.51ln(1 + x)degree 5
ln(1 + x) and its degree 5 Taylor polynomial. The polynomial hugs the curve inside the radius of convergence (1) and leaves it outside.

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) = ln(1 + x) the first derivatives at 0 are:

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

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

    ln⁡(1+x)≈x−12x2+13x3−14x4+15x5\ln\left(1 + x\right) \approx x - \frac{1}{2}x^{2} + \frac{1}{3}x^{3} - \frac{1}{4}x^{4} + \frac{1}{5}x^{5}
  4. 4

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

LaTeX source of the formulas on this page
\[ \ln\left(1 + x\right) \approx x - \frac{1}{2}x^{2} + \frac{1}{3}x^{3} - \frac{1}{4}x^{4} + \frac{1}{5}x^{5} \]
\[ f(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k \]
\[ f^{(0)}(0) = 0,\quad f^{(1)}(0) = 1,\quad f^{(2)}(0) = -1,\quad f^{(3)}(0) = 2,\quad f^{(4)}(0) = -6,\quad f^{(5)}(0) = 24 \]

Degree 5 polynomial against the real ln(1 + x)

xPolynomialExactError
0.10.0953103330.0953101801.54e-7
0.50.407291670.405465111.83e-3
0.90.692073000.641853895.02e-2
25.06666671.09861233.97e+0

Questions

What is the Taylor series of ln(1 + x)?

x - x²/2 + x³/3 - x⁴/4 + x⁵/5 - x⁶/6 + x⁷/7 - x⁸/8 + …

What is the degree 5 Taylor polynomial of ln(1 + x)?

x - x²/2 + x³/3 - x⁴/4 + x⁵/5

What is the radius of convergence of the series of ln(1 + x)?

1 (converges for −1 < x ≤ 1)

What is the Maclaurin series?

A Taylor series centred at 0.

Other degrees of ln(1 + x)

Degree 5 of other functions

    Taylor series of ln(1 + x): degree 5 polynomial and error | WordGPT