The reason that $\int_{-\infty}^{\infty}f(x) \Bbb dx$ may not be the same as $\lim_{b \to \infty} \int_{-b}^{b}f(x) \Bbb dx$

calculusdefinite integralsimproper-integralsintegration

Given question:

Calculus by Thomas, Chp 8, pg 501, No. 66:

$\int_{-\infty}^{\infty}f(x) \Bbb dx$ may not equal $\lim_{b \to \infty} \int_{-b}^{b}f(x) \Bbb dx$ Show that
$$\int_{0}^{\infty} \frac{2x\Bbb dx}{x^2 + 1}$$ diverges and hence
that $$\int_{-\infty}^{\infty} \frac{2x\Bbb dx}{x^2 + 1}$$ diverges.
Then show that $$\lim_{b\to \infty} \int_{-b}^{b} \frac{2x\Bbb dx}{x^2
+ 1} = 0$$

My attempt:

$$\begin{align} \int_{0}^{\infty} \frac{2x\Bbb dx}{x^2 + 1} &=
\ln\left(x^2+1\right)\Bigg|_0^{\infty}\\ &= \ln(\infty)-\ln(1)\\ &=
\infty \quad \text{(Diverges)} \end{align}$$

Since $\int_{0}^{\infty} \frac{2x\Bbb dx}{x^2 + 1}$ diverges, then
$\int_{-\infty}^{\infty} \frac{2x\Bbb dx}{x^2 + 1}$ also diverges.

Regarding to the second question:

$$\begin{align} \lim_{b\to \infty} \int_{-b}^{b} \frac{2x\Bbb dx}{x^2
+ 1} &= \lim_{b\to \infty} \ln\left(x^2+1\right)\Bigg|_{-b}^{b}\\ &= \lim_{b\to \infty} \ln\left(b^2+1\right) – \lim_{b\to \infty}
\ln\left(b^2+1\right)\\ &= 0\quad \text{(Converges)} \end{align}$$

Here i feel confused. Does that mean $f(x) = \frac{2x}{x^2
+ 1}$
is a counterexample of $\int_{-\infty}^{\infty}f(x) \Bbb dx = \lim_{b \to \infty} \int_{-b}^{b}f(x) \Bbb dx$ or what? And does it converge?

Please explain to me. Thanks!

Best Answer

Your questions are the point of the exercise. We define $$\int_{-\infty}^{\infty}f(x) \Bbb dx = \lim_{b \to \infty} \int_{-b}^{0}f(x) \Bbb dx+ \lim_{b \to \infty} \int_{0}^{b}f(x) \Bbb dx$$ which requires that each limit exist separately. You have shown that one of them diverges, which means the left side diverges as well. When you take the symmetric limit $ \lim_{b \to \infty} \int_{-b}^{b}f(x) \Bbb dx$ you are integrating an odd function over an interval symmetric around $0$, so the integral is constantly $0$ and converges nicely. The problem is that this is an artifact of the use of the symmetric interval. You could do a $u$ substitution that makes the interval asymmetric in $x$ and the integral will diverge. This is why we require that the one sided limits converge separately.

In the case where the symmetric limit converges we call the limit the Cauchy principal value. It is sometimes useful.

Related Question