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

Expanding x/(eˣ − 1)

#Taylor expansion#quotient#Bernoulli numbers#undetermined coefficients

Statement

Compute the expansion of φ(x)=xex−1\varphi(x)=\dfrac x{e^x-1} at 00 up to order 22, by writing φ(x)=1+ax+bx2+o(x2)\varphi(x)=1+ax+bx^2+o(x^2) and finding a,ba,b.

Hint

Use ex−1x=1+x2+x26+o(x2)\dfrac{e^x-1}x=1+\dfrac x2+\dfrac{x^2}6+o(x^2) and the identity φ(x)⋅ex−1x=1\varphi(x)\cdot\dfrac{e^x-1}x=1.

Show solutionHide solution

Solution

Identity. (1+ax+bx2)(1+x2+x26)=1+o(x2)\left(1+ax+bx^2\right)\left(1+\frac x2+\frac{x^2}6\right)=1+o(x^2).

Expanding. The coefficient of xx is a+12a+\frac12 and the coefficient of x2x^2 is b+a2+16b+\frac a2+\frac16. Both must vanish:
a=−12,b=−a2−16=14−16=112.a=-\frac12,\qquad b=-\frac a2-\frac16=\frac14-\frac16=\frac1{12}.

Result.
xex−1=1−x2+x212+o(x2).\frac x{e^x-1}=1-\frac x2+\frac{x^2}{12}+o(x^2).

Remark. The coefficients 1,−12,16,0,−130,…1,-\frac12,\frac16,0,-\frac1{30},\dots (after multiplying by n!n!) are the Bernoulli numbers. Here x212=B22!x2\frac{x^2}{12}=\frac{B_2}{2!}x^2 with B2=16B_2=\frac16. Since φ(x)+x2\varphi(x)+\frac x2 is even, all the odd coefficients after the first vanish.