Maths WorkshopMaths problems with full solutions
Exercise 772Calculus › Single-variable calculus › Series › Power seriesL2Added 2 Nov 2026

Power series of ln(1+x) and arctan x

#integration term by term#Leibniz series#ln 2

Statement

  1. Find the power series of ln⁡(1+x)\ln(1+x) and of arctan⁡x\arctan x for ∣x∣<1|x|<1.
  2. Deduce ln⁡2=∑n≥1(−1)n+1n\ln2=\sum_{n\ge1}\frac{(-1)^{n+1}}n and π4=∑k≥0(−1)k2k+1\frac\pi4=\sum_{k\ge0}\frac{(-1)^k}{2k+1}, assuming the series are valid at x=1x=1.
Hint

Integrate term by term the geometric series 11+x=∑(−x)n\frac1{1+x}=\sum(-x)^n and 11+x2=∑(−1)nx2n\frac1{1+x^2}=\sum(-1)^nx^{2n}.

Show solutionHide solution

Solution

1. For ∣t∣<1|t|<1, 11+t=∑n≥0(−1)ntn\frac1{1+t}=\sum_{n\ge0}(-1)^nt^n. Integrating from 00 to xx (allowed inside the radius of convergence):
ln⁡(1+x)=∑n≥0(−1)nxn+1n+1=x−x22+x33−⋯\ln(1+x)=\sum_{n\ge0}\frac{(-1)^nx^{n+1}}{n+1}=x-\frac{x^2}2+\frac{x^3}3-\cdots
Likewise 11+t2=∑(−1)nt2n\frac1{1+t^2}=\sum(-1)^nt^{2n} gives
arctan⁡x=∑k≥0(−1)kx2k+12k+1=x−x33+x55−⋯\arctan x=\sum_{k\ge0}\frac{(-1)^kx^{2k+1}}{2k+1}=x-\frac{x^3}3+\frac{x^5}5-\cdots
Both have radius of convergence 11.

2. At x=1x=1. The two series at x=1x=1 converge by the alternating series test, and by Abel's theorem (if a power series converges at an endpoint of its interval, its sum is continuous up to that endpoint), their sums equal the left limits ln⁡2\ln2 and arctan⁡1=π4\arctan1=\frac\pi4:
ln⁡2=1−12+13−⋯ ,π4=1−13+15−⋯\ln2=1-\frac12+\frac13-\cdots,\qquad\frac\pi4=1-\frac13+\frac15-\cdots

Remark. Leibniz's series for π4\frac\pi4 is beautiful but converges very slowly: after 10001000 terms the error is still about 12000\frac1{2000}. Machin-type formulas use arctan⁡15\arctan\frac15 and arctan⁡1239\arctan\frac1{239} instead.