So far ∫abfdx was defined only if [a,b] is closed and bounded and f is bounded. We want to integrate also
on unbounded intervals [a,+∞[ or ]−∞,a];
functions unbounded near an endpoint: f:]a,b]→R with, e.g., limx→a+f=+∞, or f:[a,b[→R with limx→b−f=+∞.
Idea (for f≥0). In case 1 the trapezoid T has an unbounded base; in case 2 an unbounded height. Compute the area of a bounded piece Tx with a definite integral, then let x tend to the "problematic" endpoint:
∣T∣=x→+∞lim∫axf(t)dt,∣T∣=x→a+lim∫xbf(t)dt.
Definition
Definition (improper integral, or generalised integral).1(a)f:[a,+∞[→R integrable on [a,x] for all x>a: ∫a+∞f(t)dt=x→+∞lim∫axf(t)dt.
1(b)f:]−∞,a]→R integrable on [x,a] for all x<a: ∫−∞af(t)dt=x→−∞lim∫xaf(t)dt.
2(a)f:]a,b]→R integrable on [x,b] for all a<x<b: ∫abf(t)dt=x→a+lim∫xbf(t)dt.
2(b)f:[a,b[→R integrable on [a,x] for all a<x<b: ∫abf(t)dt=x→b−lim∫axf(t)dt.
Example.∫1+∞x2dx=limx→+∞(1−x1)=1: it converges.
Let I be the limit:
if Iexists and is finite, f is integrable in the generalised sense and the integral converges to I;
if I=±∞, the integral diverges;
if the limit does not exist, f is not generalised-integrable.
It is the same scheme as numerical series: limit of partial sums there, limit of integrals over bounded intervals here.
How to compute
Three steps (case 1(a)):
Antiderivative: find G;
Definite integral:Ix=∫axf=G(x)−G(a) (FTC 1);
Limit:I=limx→+∞Ix.
Example.∫1+∞x2dx: Ix=[−t1]1x=1−x1→1. The region is unbounded but has finite area. Example.∫1+∞xdx: Ix=logx→+∞, diverges.
Frequent mistake: taking directly limx→+∞G(x) without subtracting G(a).
When no antiderivative can be found, criteria tell whether an improper integral converges without computing it.
Why they matter: integral functions
Improper integrals are limits of the integral function Fa(x)=∫axf(t)dt:
∫a+∞f=limx→+∞Fa(x): if a number I, the line y=I is a horizontal asymptote of Fa; if +∞, Fa→+∞;
∫abf (improper at b) =limx→b−Fa(x): if a number I, Fa extends continuously to b with Fa(b)=I; if +∞, x=b is a vertical asymptote.
Some important functions exist only as integral functions, since their antiderivatives are not elementary: ∫1xe−t2dt (statistics), ∫1xcos(t2)dt (optics).
General criteria (for f≥0)
We consider f≥0 (at least near the problematic endpoint).
Fundamental property
Property. If f≥0 on its interval (in any case 1(a), 1(b), 2(a), 2(b)), the improper integral always exists, finite or +∞.
Proof (case 1(a), f continuous). I=limx→+∞Fa(x). By FTC 2, Fa′=f≥0, so Fa is increasing; an increasing function always has a limit at +∞ (finite if bounded above, +∞ otherwise). ■
Comparison theorem
Criterion. Let f,g be integrable on bounded [a,x] (case 1(a); similarly in the other cases), with 0≤f≤g.
If g is generalised-integrable, so is f.
If f is not, neither is g.
Example.0≤1+x21≤x21 and ∫1+∞x2dx converges, hence so does ∫1+∞1+x2dx.
Proof. By monotonicity ∫axf≤∫axg for every x. By the fundamental property both limits exist (finite or +∞) and I1≤I2. If I2 is finite so is I1; if I1=+∞ then I2=+∞. ■
Only "eventually" matters
For any fixed M>a, ∫axf=∫aMf+∫Mxf with the first term constant. So ∫a+∞f converges (diverges) iff ∫M+∞f does: only the behaviour near the problematic endpoint matters. Hence the fundamental property and the comparison hold even if f≥0 and 0≤f≤g only eventually.
Asymptotic comparison
Criterion. Let f,g be eventually >0 near the problematic endpoint.
(A) If f∼Lg, L=0: f is generalised-integrable iffg is.
(B) If f=o(g): if g is integrable so is f; if f is not, neither is g.
Example.x3+2x+1∼x21 as x→+∞: converges.
Proof of (A) (x→+∞). gf→L>0; for 0<ε<L and x>M, (L−ε)g<f<(L+ε)g. If g is not integrable neither is f (left inequality); if it is, so is f (right). ■ For (B), f≤εg eventually.
Test functions xα1
On [1,+∞[. An antiderivative of tα1 is logt if α=1, 1−αt1−α otherwise:
∫1xtαdt={logx1−αx1−α−1−α1α=1α=1x→+∞⎩⎨⎧+∞α−11+∞α=1α>1α<1.
On ]0,1].∫x1tαdt={−logx1−α1−1−αx1−αα=1α=1x→0+⎩⎨⎧+∞+∞1−α1α=1α>1α<1.
The two results are opposite: near +∞ we need xα1 to vanish quickly (α large); near 0 it must blow up slowly (α small). For α=1 both diverge. Keep the two cases always separate.
Criteria on [a,+∞[
A necessary condition
Property. If f≥0 eventually, f is generalised-integrable on [a,+∞[ and limx→+∞fexists, then this limit is 0.
Example.∫1+∞x+1xdx diverges: the integrand tends to 1.
Proof (by contradiction). Suppose L>0 finite (similar if +∞). For 0<ε<L there is M with f>L−ε for x>M, so ∫axf≥∫aMf+(L−ε)(x−M)→+∞. ■
It is only necessary: x1→0 but ∫1+∞xdx=+∞. (If the limit of f does not exist, the integral may converge anyway.)
Corollary: asymptotic comparison with xα1
Let f be eventually ≥0 as x→+∞ and integrable on every [a,x].
(A) If f∼xαL (L=0): integrable ⟺α>1.
(B) If limxαf(x)=0 for some α>1: integrable.
(C) If limxαf(x)=+∞ for some α≤1: not integrable.
Example.f=x3/2logx: with α=45, x5/4f=x1/4logx→0, so it converges.
Second family of test functions: xαlogβx1
Sometimes the corollary does not decide. For ∫2+∞xlogxdx: xα⋅xlogx1=logxxα−1 tends to +∞ for α>1 and to 0 for α≤1: exactly the cases where (B), (C) say nothing. The logarithm sits "between" the powers. Compute directly: with y=logt, dy=tdt,
∫2xtlogβtdt={log(logx)−log(log2)1−β(logx)1−β−(log2)1−ββ=1β=1x→+∞⎩⎨⎧+∞β−1(log2)1−β+∞β=1β>1β<1.
Property.∫2+∞xαlogβxdx converges ⟺α>1 (∀β), or α=1 and β>1.
Examples.∫2+∞xlog2xdx converges; ∫2+∞xlogxdx diverges. Hence (A'): if f∼xαlogβxL, integrable iff α>1, or α=1 and β>1.
Extensions
]−∞,a]. With y=−x: ∫−∞af(x)dx=∫−a+∞f(−x)dx; use the criteria above.
On all of R. Fix any a and split: ∫−∞+∞f=∫−∞af+∫a+∞f. It converges iff both converge, as two independent limits. It is notlimx→+∞∫−xxf: for f(x)=x the symmetric limit is 0, but ∫0+∞xdx=+∞, ∫−∞0xdx=−∞, and +∞−∞ is undefined.
f≤0 eventually.∫a+∞f=−∫a+∞(−f): apply the criteria to −f.
Excluded:f that oscillates in sign up to infinity, e.g. ∫1+∞xsinxdx (while ∫1+∞x∣sinx∣dx can be treated, being ≥0).
Integral test for series
Criterion. Let f:[1,+∞[→[0,+∞[ be decreasing. Then
n=1∑+∞f(n) converges⟺∫1+∞f(x)dx converges.
Example.x21: the integral converges, hence ∑n21 converges; with x1 both diverge.
Idea. Draw rectangles of base [n,n+1]. With height f(n) they lie above the graph (since f is decreasing), total area ∑n≥1f(n); with height f(n+1) they lie below, total area ∑n≥2f(n). So
n=2∑+∞f(n)≤∫1+∞f(x)dx≤n=1∑+∞f(n),
and the series at the ends have the same character.
Application:∑nα1 converges iff α>1; ∑n≥2nαlogβn1 converges iff α>1, or α=1 and β>1.
Criteria on ]a,b] and [a,b[
Let f:]a,b]→R, f≥0.
If limx→a+f=ℓ∈R: f extends continuously and ∫abf is an ordinary definite integral.
If limx→a+f=+∞: the truly improper case.
Test functions near 0
∫01xαdx converges ⟺α<1;
∫01/2xα∣logx∣βdx converges ⟺α<1 (∀β), or α=1 and β>1.
Proof of the second (α=1; for α=1 compare with powers). With y=t1 (dt=−y2dy; ∣logt∣=logy for y≥2):
∫x1/2tα∣logt∣βdt=∫21/xy2−αlogβydy→∫2+∞y2−αlogβydy,
which converges iff 2−α>1 (α<1), or α=1 and β>1. ■
Corollary of asymptotic comparison in ]0,b]
Let f be eventually ≥0 as x→0+.
(A)f∼xαL: integrable ⟺α<1.
(A')f∼xα∣logx∣βL: integrable ⟺α<1 (∀β), or α=1 and β>1.
(B)limx→0+xαf=0 for some α<1: converges.
(C)limx→0+xαf=+∞ for some α≥1: diverges.
The inequalities on α are reversed with respect to +∞. Example.x3/2sinx∼x1 as x→0+: converges on ]0,1].
Examples on ]0,1]:
∫01xa3+cosxdx: 3+cosx→4 as x→0+ (unlike +∞), so f∼xa4 and it converges ⟺a<1.
∫01e1/xdx: with y=x1, xαe1/x=y2αey→+∞ for every α; by (C), diverges.
∫01log4xdx: form (A') with α=0<1: converges (the logarithm blows up more slowly than any power).
General endpoints
Reduce to 0+ with y=x−a (as x→a+) or y=b−x (as x→b−): the criteria hold with (x−a) or (b−x) in place of x. If the integrand is improper at both endpoints (or at an interior point), split: the integral converges iff all pieces converge.
Summary: test functions
Near
Test function
Converges iff
+∞
xα1
α>1
+∞
xαlogβx1
α>1, or α=1 and β>1
0+
xα1
α<1
0+
xα∣logx∣β1
α<1, or α=1 and β>1
Common mistakes
Taking the limit of the antiderivative alone, forgetting −G(a).
Treating ∫a+∞ as an ordinary definite integral: it is a limit and may not exist or be infinite.
Using the thresholds of +∞ near a finite endpoint (or vice versa): they are reversed.
Thinking f→0 suffices for convergence at +∞: it is only necessary.
Computing ∫−∞+∞ with the symmetric limit.
Applying comparison criteria to functions that change sign infinitely often near the endpoint.
Versione ripasso
Definition. Unbounded interval: ∫a+∞f=limx→+∞∫axf (similarly −∞). Unbounded function: ∫abf=limx→a+∫xbf (singularity at a) or limx→b−∫axf. Converges if the limit is finite, diverges if ±∞, otherwise no integral.
Computation. Antiderivative G; Ix=G(x)−G(a); limit. Do not forget −G(a). ∫1+∞x−2=1; ∫1+∞xdx=+∞. For the integral function Fa: ∫a+∞f=L gives the horizontal asymptote y=L; ∫abf=L (singular at b) gives a continuous extension Fa(b)=L.
Criteria (f≥0, eventually).
The integral always exists (finite or +∞): Fa is increasing.
Comparison: 0≤f≤g; g converges implies f converges; f diverges implies g diverges.
Asymptotic comparison: f∼Lg (L=0) same character; f=o(g) with g convergent implies f convergent.
Only the behaviour near the problematic endpoint matters.
Necessary condition: if limf exists at +∞ and the integral converges, the limit is 0 (not sufficient: x1).
Test functions.
Near
Function
Converges iff
+∞
xα1
α>1
+∞
xαlogβx1
α>1, or α=1, β>1
0+
xα1
α<1
0+
xα∣logx∣β1
α<1, or α=1, β>1
Corollaries at +∞.f∼xαL: converges iff α>1. xαf→0 with α>1: converges. xαf→+∞ with α≤1: diverges. Example: x3/2logx converges (α=45). Use the log family when these fail (xlogx1 diverges, xlog2x1 converges).
Corollaries at 0+.f∼xαL converges iff α<1; xαf→0 with α<1 converges; xαf→+∞ with α≥1 diverges. Examples: xa3+cosx converges iff a<1; e1/x diverges; log4x converges. For endpoints a, b use (x−a), (b−x). If improper at several points, split: all pieces must converge. If lima+f is finite, the integral is not improper.
Extensions.]−∞,a]: ∫−∞af(x)dx=∫−a+∞f(−x)dx. On R: two independent limits (f=x: symmetric limit 0 but no integral). f≤0: use −f. Sign-oscillating f (e.g. xsinx) excluded.
Integral test.f≥0 decreasing: ∑f(n) and ∫1+∞f have the same character, because ∑n≥2f(n)≤∫1+∞f≤∑n≥1f(n). So ∑nα1 converges iff α>1, and ∑nαlogβn1 iff α>1 or (α=1, β>1).
Typical mistakes. Missing −G(a); thresholds of α swapped between +∞ and 0; f→0 taken as sufficient; symmetric limit on R; comparison on sign-changing functions.