The Riemann integral as you defined it requires both the domain and the function to be bounded. Yet the most important integrals in analysis — total probability, Fourier transforms, the Laplace transform, potential wells in physics — almost always involve either an infinite interval or a function that blows up somewhere. Improper integrals give you a rigorous way to handle both situations by reducing them to a limit of proper Riemann integrals. When that limit exists and is finite the integral converges; otherwise it diverges.
Why extend the integral?
A few canonical problems make the need clear.
Total probability. The standard normal density 2π1e−x2/2 is defined on all of R. Saying that the total probability equals 1 means
2π1∫−∞∞e−x2/2dx=1,
which requires integrating over an unbounded domain.
Fourier transforms. The Fourier transform f^(ξ)=∫−∞∞f(x)e−2πiξxdx is the backbone of signal processing and PDE theory. It lives on R.
Power singularities. The function x−1/2 is not bounded on (0,1] yet its integral from 0 to 1 ought to equal 2 by any reasonable reckoning. Making “any reasonable reckoning” precise is exactly what a Type 2 improper integral does.
Type 1: unbounded interval
Definition. Let f be Riemann integrable on [a,b] for every b>a. The improper integral over [a,∞) is
∫a∞f(x)dx:=b→∞lim∫abf(x)dx.
If this limit exists and is finite, the integral converges to that value. Otherwise it diverges.
Similarly, for an integral extending to −∞:
∫−∞bf(x)dx:=a→−∞lim∫abf(x)dx.
For a doubly infinite integral, pick any convenient intermediate point c and define
∫−∞∞f(x)dx:=∫−∞cf(x)dx+∫c∞f(x)dx,
requiring both halves to converge independently. (If you allow the two limits to be taken simultaneously you get the Cauchy principal value, a weaker notion that we do not use here.)
Worked example: the p-integral on [1,∞)
Consider ∫1∞x−pdx for a real parameter p.
Case p=1. For b>1,
∫1bx−pdx=[1−px1−p]1b=1−pb1−p−1.
As b→∞:
If p>1 then 1−p<0, so b1−p→0, and the limit is 1−p0−1=p−11.
If p<1 then 1−p>0, so b1−p→∞: the integral diverges.
Case p=1.∫1bx−1dx=lnb→∞: diverges.
Conclusion.
∫1∞x−pdx=p−11(p>1),diverges(p≤1).
This single family already explains why the harmonic series diverges while ∑n−2 converges — the integral test connects series to this exact threshold.
Type 2: unbounded function
Definition. Suppose f is Riemann integrable on [a,b−ε] for every ε∈(0,b−a), but is unbounded (or undefined) near b. Define
∫abf(x)dx:=ε→0+lim∫ab−εf(x)dx.
If the limit exists and is finite the integral converges; otherwise it diverges.
If instead f blows up at the left endpoint a, define
∫abf(x)dx:=ε→0+lim∫a+εbf(x)dx.
If the singularity is at an interior point c∈(a,b), split:
∫abf(x)dx:=∫acf(x)dx+∫cbf(x)dx,
requiring both pieces to converge.
Worked example: the p-integral on [0,1]
Consider ∫01x−pdx for p>0. (The singularity is at x=0.)
Case p=1. For ε>0,
∫ε1x−pdx=[1−px1−p]ε1=1−p1−ε1−p.
As ε→0+:
If p<1 then 1−p>0, so ε1−p→0, and the limit is 1−p1.
If p>1 then 1−p<0, so ε1−p→∞: diverges.
Case p=1.∫ε1x−1dx=−lnε→∞: diverges.
Conclusion.
∫01x−pdx=1−p1(0<p<1),diverges(p≥1).
Notice the exact complementarity with the Type 1 result: the threshold flips from p>1 to p<1.
Mixed type: both singularities at once
Sometimes an integral has an unbounded integrand and an unbounded domain simultaneously. In that case you split at a convenient interior point and handle each piece separately. For example, to define ∫0∞x−pdx you would write
∫0∞x−pdx=∫01x−pdx+∫1∞x−pdx.
For p<1 the first piece converges and for p>1 the second piece converges, but there is no p that makes both pieces converge simultaneously — so ∫0∞x−pdx diverges for every p. This is a simple but important case: even if each half separately has a good regime, the regimes may not overlap.
The Gamma function
The most important improper integral in analysis is the Gamma function:
Γ(s):=∫0∞e−xxs−1dx,s>0.
This is a mixed-type integral: near x=0 the factor xs−1 may blow up (when s<1), and the upper limit is ∞. Splitting at x=1, the two pieces are handled by the estimates above together with the rapid decay of e−x.
Convergence near 0. For small x>0, e−x≤1, so e−xxs−1≤xs−1. We just showed ∫01xs−1dx converges for s>0, so the left piece converges absolutely.
Convergence at ∞. For large x, exponential decay dominates any power: e−xxs−1≤Cse−x/2 for a constant Cs depending on s. Since ∫1∞e−x/2dx converges, so does the right piece.
The functional equation
The Gamma function satisfies the functional equation
Γ(s+1)=sΓ(s),s>0.
Proof. Integrate ∫0∞e−xxsdx by parts, taking u=xs and dv=e−xdx:
Γ(s+1)=∫0∞e−xxsdx=[−e−xxs]0∞+s∫0∞e−xxs−1dx.
The boundary term vanishes: at x=0 we have xs=0, and at x→∞ the exponential decay forces e−xxs→0. The remaining integral is exactly Γ(s), giving Γ(s+1)=sΓ(s). □
Base case.Γ(1)=∫0∞e−xdx=1. By the functional equation, Γ(2)=1⋅Γ(1)=1, Γ(3)=2, and by induction Γ(n+1)=n! for every non-negative integer n. The Gamma function is the unique (suitably regular) extension of the factorial to positive real numbers.
Summary
Type 1 improper integral: ∫a∞f:=limb→∞∫abf. It converges when the limit exists and is finite.
Type 2 improper integral: ∫abf:=limε→0+∫ab−εf when f blows up at b. Analogous definitions cover singularities at a or at interior points.
The p-integral ∫1∞x−pdx converges if and only if p>1, with value p−11.
The p-integral ∫01x−pdx converges if and only if p<1, with value 1−p1.
For a doubly infinite integral ∫−∞∞f, both halves must converge independently.
Mixed-type integrals are split into pieces; convergence requires every piece to converge.
The Gamma functionΓ(s)=∫0∞e−xxs−1dx converges for all s>0 and satisfies Γ(s+1)=sΓ(s), extending the factorial.