Calculus: An intuitive approach

While the value of an improper integral may be hard to pin down, its convergence is often much easier to decide by comparing the integral with another improper integral whose convergence is known.

We begin with an observation: if the graph of \(f\) never dips below the \(x\) -axis on the interval \([a,b]\text<,>\) the area bounded between the graph of \(f\) and the \(x\) -axis cannot be negative (it can be zero though). Hence,

Proposition 4.10 .

Suppose \(f(x) \ge 0\) on \([a,b]\text<,>\) then \(\int_a^b f(x) dx \ge 0\text<.>\)

Consequently, if \(f \le g\) on \([a,b]\text<,>\) then \(g-f \ge 0\) (which is also integrable) on \([a,b]\) and so

\begin 0 \le \int_a^b g(x)-f(x) dx = \int_a^b g(x)dx - \int_a^b f(x)dx. \end

That is, \(\int_a^b f(x)dx \le \int_a^b g(x)dx\text<.>\) Note also that if \(f \ge 0\text\) the function \(A(t) = \int_a^t f(x)dx\) is an increasing function of \(t\text<.>\) Therefore, if \(A(t)\) is bounded above on \([a,\infty)\text\) then \(\int_a^ <\infty>f(x)dx = \lim_ \int_a^t f(x)dx\) exists. From this we conclude that

Proposition 4.11 . Comparison Test for Improper Integrals.

if \(\int_a^\infty g(x)dx\) converges, so does \(\int_a^ <\infty>f(x) dx\text<.>\) Moreover, \(\int_a^ <\infty>f(x)dx \le \int_a^\infty g(x)dx\text<.>\)

if \(\int_a^ <\infty>f(x)dx\) diverges to \(+\infty\text\) then so does \(\int_a^\infty g(x)dx\text\)

The same results hold for improper integrals with bounded domain of integration (see Exercise 4.3.1).

Let \(f\) be a function on \([a,\infty)\) such that \(\int_a^b f(x)dx\) exists for every \(b \ge a\text<.>\) So, the improper integrals \(\int_a^ <\infty>f(x)dx\) and \(\int_b^ <\infty>f(x)dx\) either both converge, in that case their values differ by the value of the integral \(\int_a^b f(x) dx\text\) or both diverge. Consequently, when deciding convergence of the improper integral \(\int_a^ <\infty>f(x)dx\) one only needs to focus on the eventual behavior of \(f(x)\text<.>\) We say that a function \(f\) is eventually positive (resp. eventually negative), if there exists some real number \(a\) such that \(f(x) \gt 0\) (resp. \(f(x) \lt 0\) ) for all \(x \in [a,\infty)\text<.>\) A polynomial (strictly speaking the function defined by a polynomial on the real line) eventually has the same sign as its leading term.

Now let us put the comparison test into action.

Example 4.12 .

Consider the improper integral \(\int_0^ <\infty>\frac dx\text\) Since \begin \int_1^ <\infty>\frac dx \lt \int_1^ <\infty>\frac dx \end

and the last integral converges according to the p-test, it follows from the comparison test for improper integrals Proposition 4.11 that \(\int_1^ <\infty>\frac dx\) converges. And hence so is the improper integral \(\int_0^ <\infty>\frac dx\text<.>\) Also follows from this observation is the following simple-minded estimation of the integral:

\begin \int_0^ <\infty>\frac \le \int_0^1 \frac dx + \int_1^ <\infty>\frac dx \lt 1 + \frac = \frac. \end

Checkpoint 4.13 .

\begin \int_1^ <\infty>\frac dx \le \frac<\pi> \end

Since \(0 \le \cos^2(x) \le 1\text<,>\) \(0 \le \frac \le \frac\text<,>\) it follows from the comparison test for integrals that

\begin 0 & \le \int_1^ \fracdx \le \int_1^ \fracdx \\ & = \arctan(t)-\frac<\pi> \end

which tends to \(\pi/2 - \pi/4 = \pi/4\) as \(t\) tends to \(\infty\text<.>\) This establishes the inequality.

Let \(f(x)\) and \(g(x)\) be eventually positive functions. Suppose the there exist positive constants \(\alpha\) and \(\beta\) such that for all sufficiently large \(x\text<,>\)

\begin \alpha g(x) \le f(x) \le \beta g(x). \end

Then we say that \(f(x)\) is of \(g(x)\) (written as \(f(x) = \Theta(g(x))\text<.>\) Note that the above inequalities are equivalent to

\begin (1/\beta) f(x) \le g(x) \le (1/\alpha) f(x). \end So \(f(x) = \Theta(g(x))\) if and only if \(g(x) = \Theta(f(x))\text<.>\)

If \(f(x) = \Theta(g(x))\text<,>\) then according to the comparison test for improper integrals Proposition 4.11, \(\ds \int_a^ <\infty>f(x) dx\) converges if and only if \(\ds \int_a^ <\infty>g(x) dx\) converges. We say that \(f\) is \(g\text<,>\) written as \(f \sim g\text<,>\) if

\begin \lim_ \frac = 1. \end Note that if \(f\sim g\text<,>\) then for all sufficient large \(x\text<,>\) \begin \frac \lt \frac \lt \frac. \end Therefore, \(f(x) = \Theta(g(x))\) for \(f \sim g\text<.>\)

It is plain to see that a polynomial with positive leading coefficient is asymptotic to its leading term. Combining this observation with the p-test, we can decide the convergence of \(\ds \int_a^ <\infty>R(x) dx \) where \(R(x)\) is a rational function.

Example 4.14 .

Consider the improper integral \(\int_1^\infty \frac dx.\) It has the same convergence as the integral \(\int_1^\infty \frac dx\text<.>\) Since

\begin \frac \sim \frac = \frac \end

and \(\int_1^\infty \frac<2> dx\) converges according to the p-test, the integral \(\int_1^\infty \fracdx \) converges as well.

Checkpoint 4.15 .

Find the constant \(C\) so that the integral \begin \int_0^ <\infty>\left(\frac - \frac\right) dx \end converges. Evaluate the integral for this value of \(C\text<.>\) The integrand is \begin \frac \end

By degree consideration and Proposition 4.11, we know that \(C\) must be \(3\text<.>\) The integral now can be handled by trigonometric substitutions.