Series: ln(1 + x) Equation Solver with Worked Examples

The series for the logarithm is for . Type “taylor series of ln(1+x)” to see the terms.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Series: ln(1 + x) means

Differentiating gives , and integrating term by term gives the series.

The series only converges for . At it gives , the alternating harmonic series.

Replace by to get the series for . It is a Maclaurin series, related to the binomial series, and gives the sum of the alternating harmonic series.

This page is part of Series and convergence in Calculus. Topics that work alongside it: Maclaurin series, Alternating harmonic series, Binomial series (any real n, |x| < 1), Series: cos x, Series: sinh x and cosh x, Harmonic series growth and Series: arctan x.

What is it used for?

The series for ln(1 + x) is x − x²/2 + x³/3 − …, valid for −1 < x ≤ 1.

How to use series: ln(1 + x)

  1. Write terms .
  2. Check that is in the interval of convergence.
  3. Add enough terms.
  4. Estimate the error.

Graph

ln(1 + x) and its series up to x³-0.8-0.6-0.4-0.200.20.40.60.811.21.4-2.5-2-1.5-1-0.500.51ln(1 + x) and its series up to x³xyln(1 + x)x − x²/2 + x³/3Graph with x from -0.8 to 1.5 and y from -2.5 to 1.2. Shows the curve ln(1 + x); the curve x − x²/2 + x³/3.

The approximation is excellent near 0 and gets worse towards x = −1, where the series stops converging.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: the first terms

Write the first three terms of the series for .

Maclaurin series Answer checked
Answer
ln⁡(x+1)≈x−12x2+13x3−14x4+15x5+⋯\ln\left(x+1\right) \approx x - \dfrac{1}{2}x^{2} + \dfrac{1}{3}x^{3} - \dfrac{1}{4}x^{4} + \dfrac{1}{5}x^{5} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Example 2: ln(1 − x)

Find the series of ln(1 − x).

Maclaurin series Answer checked
Answer
ln⁡(−x+1)≈−x−12x2−13x3−14x4−15x5+⋯\ln\left(-x+1\right) \approx -x - \dfrac{1}{2}x^{2} - \dfrac{1}{3}x^{3} - \dfrac{1}{4}x^{4} - \dfrac{1}{5}x^{5} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Example 3: ln(1 + 2x)

Find the series of ln(1 + 2x).

Maclaurin series Answer checked
Answer
ln⁡(2x+1)≈2x−2x2+83x3−4x4+325x5+⋯\ln\left(2 x+1\right) \approx 2x - 2x^{2} + \dfrac{8}{3}x^{3} - 4x^{4} + \dfrac{32}{5}x^{5} + \cdots
  1. Maclaurin series: f(x) = f(0) + f’(0)x + f’’(0)x²/2! + …
  2. Differentiate repeatedly and put x = 0
  3. Divide each by k! and assemble
  4. Check: compare with the real value at x = 0.1

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

The series

ln(1 + x) = x − x²/2 + x³/3 − …

Valid for −1 < x ≤ 1.

x = 0.5

Four terms: 0.40104

True value 0.40547.

Small x

ln(1.1) ≈ 0.0953

Three terms.

Negative x

ln(1 − x) = −x − x²/2 − x³/3 − …

Replace x by −x.

Word problems

ln(1 + x) = x − x²/2 + x³/3 − x⁴/4 + … for −1 < x ≤ 1.

x = 0.5

Estimate ln 1.5 using four terms to 5 decimal places.

  1. Terms0.5 − 0.125 + 0.041667 − 0.015625
  2. Sum0.40104
  3. Check: ln 1.5 = 0.40547 ✓0.40104.

x = 0.1

Estimate ln 1.1 using three terms to 5 decimal places.

  1. Terms0.1 − 0.005 + 0.000333
  2. Check: 0.09531 ✓0.09533.

ln(1 − x) Higher

Estimate ln 0.9 using three terms to 5 decimal places.

  1. Series−x − x²/2 − x³/3
  2. Terms−0.1 − 0.005 − 0.000333
  3. Check: ln 0.9 = −0.10536 ✓−0.10533.

Convergence Higher

Why can the series not be used at x = 2?

  1. Condition−1 < x ≤ 1
  2. Check: terms 2, 2, 2.67, 4, … grow ✓It diverges.

Common mistakes

Missing alternating signs

x + x²/2 + x³/3 ✗

x − x²/2 + x³/3 ✓

Signs alternate.

Factorials in the denominator

x²/2! x³/3! ✗

x²/2, x³/3 ✓

No factorials here.

Using it for large x

x = 3 ✗

|x| < 1 ✓

It diverges.

Series for ln x

ln x = x − x²/2 + … ✗

ln(1 + x) ✓

ln x has no Maclaurin series.

Exam tips

  1. x − x²/2 + x³/3.
  2. No factorials.
  3. |x| ≤ 1.
  4. Replace x by −x for ln(1 − x).
  5. Small x is best.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Estimate ln 1.2 using x − x²/2 + x³/3 to 4 decimal places Foundation

0.1827

2. Estimate ln 1.1 using x − x²/2 to 4 decimal places Foundation

0.0950

3. Find the x³ coefficient of ln(1 + x) Foundation

1/3

4. Estimate ln 1.3 using three terms to 4 decimal places Higher

0.2640

5. Find the x² coefficient of ln(1 + 2x) Higher

−2

6. Estimate ln 0.8 using −x − x²/2 − x³/3 with x = 0.2 to 4 decimal places Higher

-0.2227

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Logarithmic series
x − x²/2 + x³/3 − …
Convergence
Approaching a value.
Interval of validity
−1 < x ≤ 1.
Maclaurin series
Series about 0.
Natural logarithm
ln.
Truncation
Stopping early.

Frequently asked questions

What is the series for ln(1 + x)?

x − x²/2 + x³/3 − …

For which x is it valid?

−1 < x ≤ 1.

What is the series for ln(1 − x)?

−x − x²/2 − x³/3 − …

Why no factorials?

The derivatives are (n − 1)! so n! cancels.

Which page covers the limit ln(1 + x) ÷ x?

standard limit ln(1 + x) ÷ x.

Which page covers the general formula?

Maclaurin series.

More in Calculus and the formula sheets.