Problem 287
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/2}\frac{\arctan x}x\,dx$ with accuracy $10^{-2}$.

Explanation of Method

Dividing the $\arctan x$ series by $x$ and integrating over $[0,\frac12]$ gives an alternating series with an extra factor of $2^{-(2n+1)}$, which converges rapidly enough that only a few terms are needed.

  1. Divide the $\arctan x$ series by $x$.
  2. Integrate term by term over $[0,\frac12]$.
  3. Sum until the error bound meets the tolerance.

Step 1 · Divide by $x$

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

Step 2 · Integrate over $[0,\frac12]$

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

Step 3 · Sum the terms

$$ \begin{aligned} n=0:&\ 0.500000 \\ n=1:&\ -0.013889 \\ n=2:&\ 0.001250 \end{aligned} $$ Sum through $n=2$: $0.5-0.013889+0.001250=0.487361$, with next-term error $\approx0.000159<10^{-2}$.


Summary Table

PropertyValue
Series$\sum(-1)^n/[(2n+1)^2\cdot2^{2n+1}]$
Result$0.49$
Terms needed$3$

Additional Notes

Result

$$ \int_0^{1/2}\frac{\arctan x}x\,dx \approx 0.49, \quad \text{error} < 10^{-2}. $$