L5.5.3: Complete scalar tail identity for an infinite right endpoint.
Proposition5.5.3.
Let f:[a,∞)→R be a function that is Riemann integrable on [a,b] for all b>a. For every b>a, the integral ∫b∞f converges if and only if ∫a∞f converges, in which case
∫a∞f=∫abf+∫b∞f.
Proof.
Let c>b. Then
∫acf=∫abf+∫bcf.
Taking the limit c→∞ finishes the proof.
L5.5.4: Complete nonnegative-supremum and divergent-endpoint subsequence proof.
Proposition5.5.4.
Suppose f:[a,∞)→R is nonnegative (f(x)≥0 for all x) and f is Riemann integrable on [a,b] for all b>a.
∫a∞f=sup{∫axf:x≥a}.
Suppose {xn}n=1∞ is a sequence with limn→∞xn=∞. Then ∫a∞f converges if and only if limn→∞∫axnf exists, in which case
∫a∞f=n→∞lim∫axnf.
Proof.
We start with the first item. As f is nonnegative, ∫axf is increasing as a function of x. If the supremum is infinite, then for every M∈R we find N such that ∫aNf≥M. As ∫axf is increasing, ∫axf≥M for all x≥N. So ∫a∞f diverges to infinity.
Next suppose the supremum is finite, say A:=sup{∫axf:x≥a}. For every ϵ>0, we find an N such that A−∫aNf<ϵ. As ∫axf is increasing, then A−∫axf<ϵ for all x≥N and hence ∫a∞f converges to A.
Let us look at the second item. If ∫a∞f converges, then every sequence {xn}n=1∞ going to infinity works. The trick is proving the other direction. Suppose {xn}n=1∞ is such that limn→∞xn=∞ and
n→∞lim∫axnf=A
converges. Given ϵ>0, pick N such that for all n≥N, we have A−ϵ<∫axnf<A+ϵ. Because ∫axf is increasing as a function of x, we have that for all x≥xN
A−ϵ<∫axNf≤∫axf.
As {xn}n=1∞ goes to ∞, we have that for any x, there is an xm such that m≥N and x≤xm. Then
∫axf≤∫axmf<A+ϵ.
In particular, for all x≥xN, we have ∫axf−A<ϵ.
L5.5.5: Full scalar comparison proof, with Cauchy-to-arbitrary-endpoint passage explicitly supplied in P18.1.
Proposition5.5.5.Comparison test for improper integrals.
Let f:[a,∞)→R and g:[a,∞)→R be functions that are Riemann integrable on [a,b] for all b>a. Suppose that for all x≥a,
f(x)≤g(x).
If ∫a∞g converges, then ∫a∞f converges, and in this case ∫a∞f≤∫a∞g.
If ∫a∞f diverges, then ∫a∞g diverges.
Proof.
We start with the first item. For every b and c, such that a≤b≤c, we have −g(x)≤f(x)≤g(x), and so
As ∫abg goes to ∫a∞g as b goes to infinity, ∫b∞g goes to 0 as b goes to infinity. Choose B such that
∫B∞g<ϵ.
As g is nonnegative, if B≤b<c, then ∫bcg<ϵ as well. Let {xn}n=1∞ be a sequence going to infinity. Let M be such that xn≥B for all n≥M. Take n,m≥M, with xn≤xm,
∫axmf−∫axnf=∫xnxmf≤∫xnxmg<ϵ.
Therefore, the sequence {∫axnf}n=1∞ is Cauchy and hence converges.
We need to show that the limit is unique. Suppose {xn}n=1∞ is a sequence converging to infinity such that {∫axnf}n=1∞ converges to L1, and {yn}n=1∞ is a sequence converging to infinity such that {∫aynf}n=1∞ converges to L2. Then there must be some n such that ∫axnf−L1<ϵ and ∫aynf−L2<ϵ. We can also suppose xn≥B and yn≥B. Then
As ϵ>0 was arbitrary, L1=L2, and hence ∫a∞f converges. Above we have shown that ∫acf≤∫acg for all c>a. By taking the limit c→∞, the first item is proved.
The second item is simply a contrapositive of the first item.
L5.5.2-gt1: The actually written p>1 infinite-right-endpoint case only; other p-test cases excluded.
Proposition5.5.2.p-test for integrals.
The improper integral
∫1∞xp1dx
converges to p−11 if p>1 and diverges if 0<p≤1.
The improper integral
∫01xp1dx
converges to 1−p1 if 0<p<1 and diverges if p≥1.
Proof.
The proof follows by application of the fundamental theorem of calculus. Let us do the proof for p>1 for the infinite right endpoint and leave the rest to the reader. Hint: You should handle p=1 separately.