Problem 302
Easy 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\ln\frac{1+x}{1-x}\,dx$.

Explanation of Method

Problem 272 already expanded $\ln\frac{1+x}{1-x}$ as an odd-power series with doubled coefficients; integrating that series term by term over $[0,1]$ produces a telescoping-style combination of odd and even reciprocals that collapses exactly to the alternating harmonic series.

  1. Recall the series $\ln\frac{1+x}{1-x}=2\sum x^{2n+1}/(2n+1)$.
  2. Integrate term by term over $[0,1]$.
  3. Recognize the resulting series as the alternating harmonic series.

Step 1 · The series (from Problem 272)

$$ \ln\frac{1+x}{1-x} = 2\sum_{n=0}^{\infty}\frac{x^{2n+1}}{2n+1}. $$

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

$$ \int_0^1\ln\frac{1+x}{1-x}\,dx = 2\sum_{n=0}^{\infty}\frac1{2n+1}\int_0^1x^{2n+1}\,dx = 2\sum_{n=0}^{\infty}\frac1{(2n+1)(2n+2)}. $$

Step 3 · Recognize the alternating harmonic series

Using $\dfrac1{(2n+1)(2n+2)}=\dfrac1{2n+1}-\dfrac1{2n+2}$: $$ \int_0^1\ln\frac{1+x}{1-x}\,dx = 2\sum_{n=0}^{\infty}\left(\frac1{2n+1}-\frac1{2n+2}\right) = 2\left(1-\frac12+\frac13-\frac14+\cdots\right) = 2\ln2, $$ since the bracketed series is exactly the alternating harmonic series from Problem 289.


Summary Table

PropertyValue
Result$2\ln2\approx1.386294$
Equivalent form$2\int_0^1\operatorname{artanh}(x)\,dx$

Additional Notes

Result

$$ \int_0^1\ln\frac{1+x}{1-x}\,dx = 2\ln2. $$