Maths WorkshopMaths problems with full solutions
Exercise 56Calculus › Single-variable calculus › Differentiation › Taylor expansionsL1Added 3 Nov 2026

Expansions of 1/(1 + x + x²) and ln(1 + x + x²)

#Taylor expansion#geometric series#factorisation trick

Statement

  1. Expand 11+x+x2\dfrac1{1+x+x^2} at 00 up to order 77.
  2. Expand ln⁡(1+x+x2)\ln(1+x+x^2) at 00 up to order 44.
Hint

Notice that (1−x)(1+x+x2)=1−x3(1-x)(1+x+x^2)=1-x^3.

Show solutionHide solution

Solution

1. Since 1+x+x2=1−x31−x1+x+x^2=\dfrac{1-x^3}{1-x},
11+x+x2=1−x1−x3=(1−x)(1+x3+x6+o(x7))=1−x+x3−x4+x6−x7+o(x7).\frac1{1+x+x^2}=\frac{1-x}{1-x^3}=(1-x)\left(1+x^3+x^6+o(x^7)\right)=1-x+x^3-x^4+x^6-x^7+o(x^7).
The coefficients repeat with period 33: 1,−1,0,1,−1,0,…1,-1,0,1,-1,0,\dots

2. Similarly ln⁡(1+x+x2)=ln⁡(1−x3)−ln⁡(1−x)\ln(1+x+x^2)=\ln(1-x^3)-\ln(1-x), with
−ln⁡(1−x)=x+x22+x33+x44+o(x4),ln⁡(1−x3)=−x3+o(x4).-\ln(1-x)=x+\frac{x^2}2+\frac{x^3}3+\frac{x^4}4+o(x^4),\qquad\ln(1-x^3)=-x^3+o(x^4).
Hence
ln⁡(1+x+x2)=x+x22−2x33+x44+o(x4).\ln(1+x+x^2)=x+\frac{x^2}2-\frac{2x^3}3+\frac{x^4}4+o(x^4).

Remark. Dividing a fraction of expansions by hand is painful; here a single algebraic identity turns the problem into two geometric series.