Now, I have been given this integral. And need to approximate it. My first idea was to use a Taylor series, but this series explodes, as x reaches infinity.
Does anyone know how to approximate improper integrals, (and this one in particular)?
I know I can use contour-integration to evaluate it exact, but I want to estimate it. Someone mentioned something about a Taylor expansion at infinity, but alas I have not learned about this.
$$ \int_{0}^{\infty} \frac{\text{d} x}{1 + x^4} $$
One way is to split integration range at $x=1$ and use geometric series approximation: $$\begin{eqnarray} \int_0^\infty \frac{\mathrm{d} x}{1+x^4} &=& \int_0^1 \frac{\mathrm{d} x}{1+x^4} +\int_1^\infty \frac{\mathrm{d} x}{1+x^4} \stackrel{x -> 1/x \text{ in second}}{=} \\ &=& \int_0^1 \frac{\mathrm{d} x}{1+x^4} +\int_0^1 \frac{x^2 \mathrm{d} x}{1+x^4} = \int_0^1 \frac{1+x^2}{1+x^4}\mathrm{d} x \\ &=& \int_0^1 \left( 1+ x^2-x^4 - x^6+x^8 + \cdots\right) \mathrm{d}x \\ &=& 1 + \frac{1}{3}-\frac{1}{5} - \frac{1}{7} + \frac{1}{9} + \cdots = \frac{347}{315} + \cdots \end{eqnarray} $$ Now $347/315$ is approximately $1.10159$, while the exact answer is $\frac{\pi}{2\sqrt{2}} \approx 1.11072$.