Chapter VIII · The convergence of infinite series and infinite integrals

Absolutely and conditionally convergent integrals

§203 30 min

The theory of absolute and conditional convergence for integrals over an infinite range, and integration by parts as the integral version of Dirichlet’s test, with ∫sin⁡x/xs dx\int \sin x / x^s\,dx as the main example.

Why this matters

Infinite integrals (§§184–189) were studied in the first part of this chapter for positive integrands, where the only question is whether the area is finite. But integrals such as ∫0∞(sin⁡x)/x dx\int_0^\infty (\sin x)/x\,dx, which turns out to equal π/2\pi/2 and is one of the most famous integrals in analysis, have integrands that change sign for ever. §203 transfers the whole theory of the last few lessons to integrals: absolute and conditional convergence, and a test in the spirit of Dirichlet’s, with integration by parts playing the role of summation by parts.

The idea

Picture ∫1X(sin⁡x)/x dx\int_1^X (\sin x)/x\,dx as signed area: the arches of the curve above the axis count positively, those below negatively. Each arch spans an interval of length π\pi, and their heights shrink like 1/x1/x. So the arches have areas roughly 2/π,−2/(2π),2/(3π),…2/\pi, -2/(2\pi), 2/(3\pi), \dots: in effect an alternating series with terms decreasing to 00, which converges. But the total unsigned area is like ∑2/(kπ)\sum 2/(k\pi), a harmonic series, which diverges.

Explore Arches of shrinking height

Try this. Keep s=1s = 1 and push XX out to 200200. Watch the two curves in the lower plot. Then raise ss above 11, and lower it towards 0.10.1. Finally switch the lower limit to 00 and take ss close to 22.

∫1Xsin⁡xx dx\int_{1}^{X} \frac{\sin x}{x}\,dx
xsin x / xˢ
Xrunning integrals
  • top: positive area · bottom: F(X) = ∫ₐˣ f
  • top: negative area · bottom: ∫ₐˣ |f|, total unsigned area
  • value of the integral
Lower limit
Up to X=60X = 60: ∫1Xf=0.64066\int_1^X f = 0.64066 and ∫1X∣f∣=2.7709\int_1^X |f| = 2.7709. The lobes shrink and alternate, so F(X)F(X) settles, but their sizes are like 2/(kπ)s2/(k\pi)^s, whose sum diverges: ∫∣f∣\int |f| grows without bound. The integral converges only conditionally. Its value is π/2−Si⁡(1)\pi/2 - \operatorname{Si}(1) ≈0.62471\approx 0.62471.
What to notice

For s=1s = 1 the blue curve F(X)F(X) wobbles around a limit and settles, while the ochre curve, the total unsigned area, keeps climbing like log⁡X\log X: conditional convergence. For s>1s > 1 both level off: absolute convergence. Smaller ss makes the arches shrink more slowly, but F(X)F(X) still settles for every s>0s > 0. From 00, the integrand behaves like x1−sx^{1-s} near 00, so the area there becomes infinite as ss reaches 22.

Precise statements

Definition Absolute and conditional convergence of integrals Hardy: §203

The integral ∫a∞f(x) dx\int_a^\infty f(x)\,dx is absolutely convergent if ∫a∞∣f(x)∣ dx\int_a^\infty |f(x)|\,dx converges. If ∫a∞f(x) dx\int_a^\infty f(x)\,dx converges but ∫a∞∣f(x)∣ dx\int_a^\infty |f(x)|\,dx does not, it is conditionally convergent.

As for series, split ff into its positive and negative parts, g(x)=12(∣f(x)∣+f(x))g(x) = \tfrac12\big(|f(x)| + f(x)\big) and h(x)=12(∣f(x)∣−f(x))h(x) = \tfrac12\big(|f(x)| - f(x)\big). Then g,h≥0g, h \ge 0, f=g−hf = g - h, ∣f∣=g+h|f| = g + h, and gg, hh are continuous where ff is.

Theorem Absolute convergence implies convergence Hardy: §203

If ∫a∞∣f∣\int_a^\infty |f| converges, then ∫a∞g\int_a^\infty g and ∫a∞h\int_a^\infty h both converge, and so does ∫a∞f=∫a∞g−∫a∞h\int_a^\infty f = \int_a^\infty g - \int_a^\infty h. If ∫a∞f\int_a^\infty f converges only conditionally, then ∫a∞g\int_a^\infty g and ∫a∞h\int_a^\infty h both diverge. In particular, if ∣f(x)∣≤ϕ(x)|f(x)| \le \phi(x) and ∫a∞ϕ\int_a^\infty \phi converges, then ∫a∞f\int_a^\infty f is absolutely convergent.

The proof is that of §191 and §193 with integrals in place of sums (0≤g,h≤∣f∣0 \le g, h \le |f|, and comparison for positive integrands, §185). The interesting theorem is the analogue of Dirichlet’s test.

Theorem Integrals with an oscillating factor Hardy: §203

Suppose that ϕ′(x)\phi'(x) is continuous for x≥ax \ge a, that ϕ(x)≥0\phi(x) \ge 0 and ϕ′(x)≤0\phi'(x) \le 0, and that ϕ(x)→0\phi(x) \to 0 as x→∞x \to \infty. Then for every real t≠0t \neq 0 the integrals

∫a∞ϕ(x)cos⁡tx dx,∫a∞ϕ(x)sin⁡tx dx\int_a^\infty \phi(x)\cos tx\,dx, \qquad \int_a^\infty \phi(x)\sin tx\,dx

are convergent.

Corollary The integrals of cos⁡tx/xs\cos tx/x^s and sin⁡tx/xs\sin tx/x^s Hardy: §203

For a>0a > 0 and t≠0t \ne 0, ∫a∞x−scos⁡tx dx\int_a^\infty x^{-s}\cos tx\,dx and ∫a∞x−ssin⁡tx dx\int_a^\infty x^{-s}\sin tx\,dx are absolutely convergent if s>1s > 1 and conditionally convergent if 0<s≤10 < s \le 1.

(Hardy’s text says “absolutely convergent when s>0s > 0”; the context and the companion clause show that s>1s > 1 is meant.)

Proofs

Proof Integrals with an oscillating factor
Strategy

Integrate by parts to move the oscillating factor onto ϕ\phi: the derivative ϕ′\phi' is of one sign and has a finite integral, so the new integral converges absolutely, and the boundary term tends to 00. This is summation by parts in continuous form.

∫a∞∣ϕ′∣\int_a^\infty |\phi'| converges

Since ϕ′≤0\phi' \le 0, ∣ϕ′∣=−ϕ′|\phi'| = -\phi', and ∫aX∣ϕ′(x)∣ dx=ϕ(a)−ϕ(X)→ϕ(a)\int_a^X |\phi'(x)|\,dx = \phi(a) - \phi(X) \to \phi(a). (This plays the part of ∑(φk−φk+1)=φ0\sum(\varphi_k - \varphi_{k+1}) = \varphi_0 in Dirichlet’s test.)

Integrate by parts

We may take t>0t > 0 (replace tt by −t-t otherwise). On [a,X][a, X], with ddxsin⁡txt=cos⁡tx\frac{d}{dx}\frac{\sin tx}{t} = \cos tx,

∫aXϕ(x)cos⁡tx dx=sin⁡tXtϕ(X)−sin⁡tatϕ(a)−1t∫aXϕ′(x)sin⁡tx dx.\int_a^X \phi(x)\cos tx\,dx = \frac{\sin tX}{t}\phi(X) - \frac{\sin ta}{t}\phi(a) - \frac1t\int_a^X \phi'(x)\sin tx\,dx .

The boundary term tends to 00

∣sin⁡(tX) ϕ(X)/t∣≤ϕ(X)/t→0\big|\sin(tX)\,\phi(X)/t\big| \le \phi(X)/t \to 0 as X→∞X \to \infty. The middle term does not depend on XX.

The last integral converges

∣ϕ′(x)sin⁡tx∣≤∣ϕ′(x)∣|\phi'(x)\sin tx| \le |\phi'(x)|, so by the first step and comparison, ∫a∞ϕ′(x)sin⁡tx dx\int_a^\infty \phi'(x)\sin tx\,dx is absolutely convergent, hence convergent.

Conclude

Every term on the right has a limit as X→∞X \to \infty, so the left-hand side does: ∫a∞ϕ(x)cos⁡tx dx\int_a^\infty \phi(x)\cos tx\,dx converges. The sine integral is the same with ddx(−cos⁡txt)=sin⁡tx\frac{d}{dx}\big(-\frac{\cos tx}{t}\big) = \sin tx.

Proof The corollary: when is the convergence absolute?
Strategy

For s>1s > 1 dominate by x−sx^{-s}. For 0<s≤10 < s \le 1, convergence comes from the theorem, and non-absolute convergence from ∣sin⁡tx∣≥sin⁡2tx=12(1−cos⁡2tx)|\sin tx| \ge \sin^2 tx = \tfrac12(1 - \cos 2tx), exactly as in Examples LXXIX, 6 for series.

s>1s > 1

∣x−ssin⁡tx∣≤x−s|x^{-s}\sin tx| \le x^{-s}, and ∫a∞x−s dx\int_a^\infty x^{-s}\,dx converges for s>1s > 1.

0<s≤10 < s \le 1: convergence

ϕ(x)=x−s\phi(x) = x^{-s} satisfies the hypotheses: ϕ′=−sx−s−1\phi' = -sx^{-s-1} is continuous and negative, and ϕ→0\phi \to 0.

0<s≤10 < s \le 1: not absolutely

∫aX∣sin⁡tx∣xs dx≥∫aXsin⁡2txxs dx=12∫aXdxxs−12∫aXcos⁡2txxs dx\displaystyle\int_a^X \frac{|\sin tx|}{x^s}\,dx \ge \int_a^X \frac{\sin^2 tx}{x^s}\,dx = \frac12\int_a^X \frac{dx}{x^s} - \frac12\int_a^X\frac{\cos 2tx}{x^s}\,dx. The last integral converges by the theorem, while ∫aXx−s dx→∞\int_a^X x^{-s}\,dx \to \infty for s≤1s \le 1. The same works for ∣cos⁡tx∣≥cos⁡2tx=12(1+cos⁡2tx)|\cos tx| \ge \cos^2 tx = \tfrac12(1 + \cos 2tx).

Worked examples and exercises

Exercise From zero to infinity ●●○ Hardy: Examples LXXXII, 1

Let t>0t > 0. Show that ∫0∞sin⁡txxs dx\displaystyle\int_0^\infty \frac{\sin tx}{x^s}\,dx is convergent if 0<s<20 < s < 2, and absolutely convergent if 1<s<21 < s < 2.

Hint
Consider (0,1)(0, 1) and (1,∞)(1, \infty) separately, as Hardy suggests.
Hint
Near 00, sin⁡tx\sin tx is close to txtx.

Solution

Near 00. The integrand is positive on (0,π/t)(0, \pi/t) and sin⁡tx/xs∼tx1−s\sin tx / x^s \sim t x^{1-s} as x→0x \to 0. Since 12tx≤sin⁡tx≤tx\tfrac12 tx \le \sin tx \le tx for small x>0x > 0, and ∫01x1−s dx\int_0^1 x^{1-s}\,dx converges exactly when 1−s>−11 - s > -1, that is s<2s < 2, the integral near 00 converges (absolutely) for s<2s < 2 and diverges for s≥2s \ge 2. On the rest of (0,1](0, 1] the integrand is continuous.

On [1,∞)[1, \infty). By the corollary: convergent for s>0s > 0, absolutely for s>1s > 1, and for s≤0s \le 0 not convergent (the integral over each interval [2kπ/t,(2k+1)π/t][2k\pi/t, (2k+1)\pi/t] is at least 2/t2/t in size when s≤0s \le 0, so Cauchy’s principle fails).

Together: convergent for 0<s<20 < s < 2, absolutely for 1<s<21 < s < 2. In the figure, switch the lower limit to 00.

Exercise A positive integrand ●●○ Hardy: Examples LXXXII, 3

Let t≠0t \ne 0. Show that ∫0∞1−cos⁡txxs dx\displaystyle\int_0^\infty \frac{1 - \cos tx}{x^s}\,dx converges if and only if 1<s<31 < s < 3, and that it is then absolutely convergent.

Hint
The integrand is never negative. What are its sizes near 00 and near ∞\infty?

Solution

Since 1−cos⁡tx≥01 - \cos tx \ge 0, convergence and absolute convergence are the same thing. Near 00: 1−cos⁡tx∼12t2x21 - \cos tx \sim \tfrac12 t^2x^2, so the integrand behaves like 12t2x2−s\tfrac12 t^2 x^{2-s}, integrable on (0,1)(0, 1) iff 2−s>−12 - s > -1, that is s<3s < 3. Near ∞\infty: ∫1∞1−cos⁡txxsdx=∫1∞x−sdx−∫1∞cos⁡txxsdx\int_1^\infty \frac{1 - \cos tx}{x^s}dx = \int_1^\infty x^{-s}dx - \int_1^\infty \frac{\cos tx}{x^s}dx; for s>1s > 1 both converge, and for 0<s≤10 < s \le 1 the first diverges while the second converges, so the whole diverges; for s≤0s \le 0 it diverges too, since the integrand is at least 1−cos⁡tx1 - \cos tx, whose integral over each period is 2π/∣t∣2\pi/|t|. Hence the condition is 1<s<31 < s < 3.

Exercise A Tripos integral ●●○ Hardy: Examples LXXXII, 4

Show that ∫0∞sin⁡x (1−cos⁡x)xs dx\displaystyle\int_0^\infty \frac{\sin x\,(1 - \cos x)}{x^s}\,dx is convergent if 0<s<40 < s < 4, and absolutely convergent if 1<s<41 < s < 4.

Hint
Near 00 the numerator is about 12x3\tfrac12 x^3. Near ∞\infty write sin⁡x(1−cos⁡x)=sin⁡x−12sin⁡2x\sin x(1 - \cos x) = \sin x - \tfrac12\sin 2x.

Solution

Near 00. sin⁡x(1−cos⁡x)∼x⋅12x2\sin x(1 - \cos x) \sim x \cdot \tfrac12 x^2, and it is positive on (0,π)(0, \pi), so ∫01\int_0^1 converges iff 3−s>−13 - s > -1, that is s<4s < 4.

Near ∞\infty. ∫1∞sin⁡x−12sin⁡2xxs dx\int_1^\infty \frac{\sin x - \frac12\sin 2x}{x^s}\,dx is the difference of two integrals that converge for s>0s > 0 (the theorem), and ∣sin⁡x(1−cos⁡x)∣≤2|\sin x(1 - \cos x)| \le 2 gives absolute convergence for s>1s > 1. For 0<s≤10 < s \le 1 it is not absolute: p(x)=∣sin⁡x(1−cos⁡x)∣p(x) = |\sin x(1 - \cos x)| is continuous, 2π2\pi-periodic and not identically 00, so c=∫02πp>0c = \int_0^{2\pi} p > 0, and ∫2kπ2(k+1)πp(x)x−s dx≥c (2(k+1)π)−s\int_{2k\pi}^{2(k+1)\pi} p(x)x^{-s}\,dx \ge c\,(2(k+1)\pi)^{-s}, whose sum over kk diverges. For s≤0s \le 0 the integral over [2kπ,2kπ+π][2k\pi, 2k\pi + \pi] of the integrand is at least ∫0πsin⁡x(1−cos⁡x) dx=2\int_0^\pi \sin x(1-\cos x)\,dx = 2 in size, so it does not converge.

Exercise An integrand that oscillates near a point ●●○ Hardy: §190, §203

Show that ∫aAsin⁡(1x−a)dxx−a\displaystyle\int_a^A \sin\Big(\frac{1}{x - a}\Big)\frac{dx}{x - a} (with A>aA > a) converges, but not absolutely.

Hint
Substitute y=1/(x−a)y = 1/(x - a).

Solution

With y=1/(x−a)y = 1/(x - a), dx/(x−a)=−dy/ydx/(x - a) = -dy/y, and x→a+x \to a+ corresponds to y→∞y \to \infty. So, for a<ξ<Aa < \xi < A,

∫ξAsin⁡(1x−a)dxx−a=∫1/(A−a)1/(ξ−a)sin⁡yy dy.\int_\xi^A \sin\Big(\frac{1}{x - a}\Big)\frac{dx}{x - a} = \int_{1/(A - a)}^{1/(\xi - a)} \frac{\sin y}{y}\,dy .

As ξ→a\xi \to a the right-hand side tends to ∫1/(A−a)∞(sin⁡y)/y dy\int_{1/(A-a)}^\infty (\sin y)/y\,dy, which converges conditionally by the corollary (s=1s = 1). The same substitution with ∣sin⁡∣|\sin| shows that the integral of the modulus diverges. An integral of the second kind, oscillating near a point, is thus turned into one of the first kind, oscillating at infinity (§186).

Exercise Changing the variable ●●● Hardy: Examples LXXXII, 5

Show that ∫0∞x−αsin⁡x1−β dx\displaystyle\int_0^\infty x^{-\alpha}\sin x^{1-\beta}\,dx converges if and only if α\alpha lies strictly between β\beta and 2−β2 - \beta.

Hint
Put y=x1−βy = x^{1-\beta}, treating β<1\beta < 1 and β>1\beta > 1 separately. You should arrive at ∫0∞y−σsin⁡y dy\int_0^\infty y^{-\sigma}\sin y\,dy times a constant.

Solution

β<1\beta < 1. Then y=x1−βy = x^{1-\beta} increases from 00 to ∞\infty, x=y1/(1−β)x = y^{1/(1-\beta)}, dx=11−βyβ/(1−β)dydx = \frac{1}{1-\beta}y^{\beta/(1-\beta)}dy, and

x−αsin⁡x1−β dx=11−β y(β−α)/(1−β)sin⁡y dy=11−β sin⁡yyσ dy,σ=α−β1−β.x^{-\alpha}\sin x^{1-\beta}\,dx = \frac{1}{1-\beta}\,y^{(\beta - \alpha)/(1-\beta)}\sin y\,dy = \frac{1}{1-\beta}\,\frac{\sin y}{y^\sigma}\,dy, \qquad \sigma = \frac{\alpha - \beta}{1 - \beta} .

By Examples LXXXII, 1 this converges iff 0<σ<20 < \sigma < 2, i.e. 0<α−β<2−2β0 < \alpha - \beta < 2 - 2\beta, i.e. β<α<2−β\beta < \alpha < 2 - \beta.

β>1\beta > 1. Now y=x1−βy = x^{1-\beta} decreases from ∞\infty to 00; the same computation gives a constant times ∫0∞y−σsin⁡y dy\int_0^\infty y^{-\sigma}\sin y\,dy with σ=(β−α)/(β−1)\sigma = (\beta - \alpha)/(\beta - 1), convergent iff 0<β−α<2β−20 < \beta - \alpha < 2\beta - 2, i.e. 2−β<α<β2 - \beta < \alpha < \beta.

β=1\beta = 1. The integrand is x−αsin⁡1x^{-\alpha}\sin 1, and ∫0∞x−α dx\int_0^\infty x^{-\alpha}\,dx never converges; the interval between β\beta and 2−β2 - \beta is then empty. In all cases: convergence iff α\alpha lies strictly between β\beta and 2−β2 - \beta. (The substitution rule for infinite integrals is §186.)

Check yourself

Check yourself True or false?

∫1∞(sin⁡x)/x dx\int_1^\infty (\sin x)/x\,dx is absolutely convergent.

Why

False. It converges, but ∫1X∣sin⁡x∣/x dx≥∫1Xsin⁡2x/x dx\int_1^X |\sin x|/x\,dx \ge \int_1^X \sin^2 x / x\,dx, which grows like 12log⁡X\tfrac12\log X. Convergence is conditional.

Check yourself Choose one

For which ss does ∫0∞(sin⁡x)/xs dx\int_0^\infty (\sin x)/x^s\,dx converge?

Why

At infinity it needs s>0s > 0 (Dirichlet-type theorem); near 00 the integrand is about x1−sx^{1-s}, which needs s<2s < 2. Absolute convergence needs, in addition, s>1s > 1.

Check yourself True or false?

In the proof that ∫a∞ϕ(x)cos⁡tx dx\int_a^\infty \phi(x)\cos tx\,dx converges, the only place where ϕ′≤0\phi' \le 0 is used is to show that ∫a∞∣ϕ′∣\int_a^\infty |\phi'| is finite.

Why

True. The boundary term needs only ϕ→0\phi \to 0; the remaining integral needs ∫∣ϕ′∣<∞\int |\phi'| < \infty, which for a decreasing ϕ\phi is just ϕ(a)−lim⁡ϕ\phi(a) - \lim\phi. (The theorem stays true for any ϕ→0\phi \to 0 of “bounded variation”, ∫∣ϕ′∣<∞\int |\phi'| < \infty.)

Hardy’s language

There is a theory for integrals analogous to that developed for series.

— G. H. Hardy, §203

Summary

Summary
  • ∫a∞f\int_a^\infty f is absolutely convergent if ∫a∞∣f∣\int_a^\infty |f| converges; then it converges, and its positive and negative parts converge separately.
  • If ϕ≥0\phi \ge 0 decreases to 00 (with ϕ′\phi' continuous), then ∫a∞ϕ(x)cos⁡tx dx\int_a^\infty \phi(x)\cos tx\,dx and ∫a∞ϕ(x)sin⁡tx dx\int_a^\infty\phi(x)\sin tx\,dx converge: integrate by parts, as summation by parts proves Dirichlet’s test.
  • ∫a∞x−ssin⁡tx dx\int_a^\infty x^{-s}\sin tx\,dx (a>0a > 0) converges absolutely for s>1s > 1 and conditionally for 0<s≤10 < s \le 1; from 00, convergence also needs s<2s < 2.
  • Non-absolute convergence is shown by ∣sin⁡∣≥sin⁡2=12(1−cos⁡2x)|\sin| \ge \sin^2 = \tfrac12(1 - \cos 2x), which splits off a divergent positive part.