Problem 300
Medium Remainders and Fourier Series

By expanding the integrand in a power series, calculate

By expanding the integrand in a power series, calculate $\displaystyle\int_0^1\frac{\ln(1+x)}x\,dx$, given that $\sum_{n=1}^{\infty}\dfrac{(-1)^{n-1}}{n^2}=\dfrac{\pi^2}{12}$.

Explanation of Method

Dividing the $\ln(1+x)$ series by $x$ and integrating term by term over $[0,1]$ produces exactly the given series, so the answer follows immediately from the supplied value.

  1. Divide the $\ln(1+x)$ series by $x$.
  2. Integrate term by term over $[0,1]$.
  3. Match the resulting series to the given sum.

Step 1 · Divide by $x$

$$ \frac{\ln(1+x)}x = \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}nx^{n-1} = \sum_{m=0}^{\infty}\frac{(-1)^m}{m+1}x^m. $$

Step 2 · Integrate over $[0,1]$

$$ \int_0^1\frac{\ln(1+x)}x\,dx = \sum_{m=0}^{\infty}\frac{(-1)^m}{(m+1)^2}\int_0^1x^m\cdot(m+1)\,dx\Bigg/(m+1) = \sum_{m=0}^{\infty}\frac{(-1)^m}{(m+1)^2}. $$

Step 3 · Match to the given series

Reindexing with $n=m+1$: $$ \sum_{m=0}^{\infty}\frac{(-1)^m}{(m+1)^2} = \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n^2} = \frac{\pi^2}{12}. $$


Summary Table

PropertyValue
Result$\pi^2/12\approx0.822467$
Related constantDirichlet eta, $\eta(2)$
Related special value$-\operatorname{Li}_2(-1)$

Additional Notes

Result

$$ \int_0^1\frac{\ln(1+x)}x\,dx = \frac{\pi^2}{12}. $$