University Mathematics — Year 2 · Bachelor Year 2
9Integration
The Year 1 volume built the integral on a segment. This chapter extends it to arbitrary intervals (improper integrals, with the full comparison toolkit), then studies integrals depending on a parameter — continuity and differentiation under the integral sign — powered by the dominated convergence theorem, the one result of this chapter taken on trust. The function serves as the running example, and as the gateway to half of the special functions of mathematics.
9.1 Integrals on an arbitrary interval
Definition 9.1
Let be piecewise continuous on ( or ). The integral converges when exists; one then writes for the limit. (Similarly on , and on by splitting at an interior point — the choice does not matter, by Chasles.) The integral converges absolutely when converges; absolute convergence implies convergence, by the Cauchy criterion:
and completeness of (the primitive has the Cauchy property). In detail: let and . If converges, has a limit at , so for every there is with whenever ; the display transfers this Cauchy property to . For any sequence the values then form a Cauchy sequence of reals, convergent by completeness, and interlacing two such sequences shows the limit is the same for all of them: has a limit at .
Theorem 9.2 (Positive comparison toolkit)
For piecewise continuous on :
Proof. (1) The primitive is nondecreasing (). If it is bounded, is finite and : given , some , and monotonicity traps for . If it is unbounded, : divergence.
(2) From : for all ; if converges, the right side is bounded, hence so is the left, and (1) concludes. Contraposition transfers divergence the other way.
(3) at provides with
by (2) applied both ways on , the two integrals have the same nature; the initial piece is a proper integral and changes nothing.
(4) Explicit primitives: for and ,
with logarithms in the excluded cases: bounded as exactly when , resp. . At a finite endpoint, the substitution reduces to the scale , bounded iff . Apply (1) each time. ∎
Example 9.3 (Two warm-ups, worked to the end)
(a) : the integrand blows up at , but there (logarithms lose to powers), and converges: absolute convergence. The value, by parts on :
(b) : trouble at both ends, so split at . Near : integrable as in (a); near : : absolutely convergent. The substitution maps onto and
the two halves cancel, and the integral is . Closing insight: symmetry under is worth a page of computation — the same trick already powered Exercise 9.3.
Example 9.4 (One value, three integrals)
Study . At : , so the integrand extends continuously by the value — no singularity at all. At : : absolute convergence (Theorem 9.2). Value: integrate by parts on with , :
The bracket vanishes at both ends (; bounded numerator at ), and the integral tends to the Dirichlet value (Exercise 9.10): . Closing insight: with and ,
the three classics , (Exercise 9.11) and all share the value , passed around by parts and substitution — and only the first is semi-convergent: integration by parts traded away the absolute convergence for a simpler integrand.
Example 9.5 (A semi-convergent integral)
converges: integrate by parts,
where the bracket has a limit and the last integral converges absolutely (). But not absolutely: from ,
where the last integral converges by the same integration by parts as above (with in the bracket): a divergent piece minus a convergent one diverges. So converges without converging absolutely — the integral analogue of the alternating series, with integration by parts playing the role of the alternating test.
9.2 The convergence theorem
Theorem 9.6 (Dominated convergence)
Let be piecewise continuous on an interval , converging pointwise to a piecewise continuous , and suppose there is a fixed integrable () with
Then all and converge absolutely, and
Proof. Admitted at this level. ∎
Remark 9.7
The honest proof belongs to the Lebesgue integration theory of Year 3; the statement, however, is used constantly from now on. The domination hypothesis is the whole point: pointwise convergence alone does not suffice (, sliding bumps: ). The theorem also holds for a continuous parameter (, ), by the sequential characterization of limits.
Example 9.8 (A Gaussian limit, by domination)
Compute where . Pointwise, (compound-interest limit), so the integrands tend to . Domination: the sequence is nondecreasing for (AM–GM on the factors gives ), so for :
an integrable dominator ( at infinity). Dominated convergence:
(the Gaussian integral of Exercise 9.8). Closing check: the substitution computes exactly, , and the Wallis asymptotics (Lemma 6.11) give again: the two pillars of this chapter and the last agree.
Example 9.9 (Dominated convergence, continuous parameter)
Compute
For each , as ; and the domination
holds for all . By the continuous-parameter form of Theorem 9.6 (sequential characterization: test along every ),
Closing insight: the single point , where the pointwise limit is rather than , changes nothing — the limit function only enters through its integral, one of the quiet mercies of the theorem.
9.3 Integrals with a parameter
Theorem 9.10 (Continuity under the integral sign)
Let ( a metric space, an interval) with: piecewise continuous for each ; continuous for each ; and a domination ( integrable on , independent of ). Then
is defined and continuous on .
Proof. Definedness: domination gives absolute convergence. Continuity at : for any sequence , the functions converge pointwise to (continuity in ) under the fixed domination : dominated convergence gives ; conclude by the sequential characterization of continuity (Definition 4.5). ∎
Theorem 9.11 (Differentiation under the integral sign)
Let ( an interval of parameters) with: integrable on for each ; of class for each , the partial derivative being piecewise continuous in and dominated: with integrable. Then is on and
Proof. Fix and . The difference quotients
have integrands converging pointwise to , and dominated by : by the mean value inequality applied in at fixed ,
Dominated convergence gives the limit of the quotients: is differentiable with the announced derivative, which is continuous by Theorem 9.10 applied to . ∎
Example 9.12 (A parameter integral checked against a formula)
Let for . On every , the integrand is dominated by , integrable and independent of : is continuous (Theorem 9.10). Here the theorem can be checked against an explicit value:
visibly continuous. Now differentiate under the integral: the -derivative is dominated on by , integrable: Theorem 9.11 gives
so we have computed a new integral for free: . Closing insight: differentiating a known parameter integral is a factory of new formulas — iterating gives for every , with no trigonometric substitutions.
Method 9.13 (Studying an improper integral)
Given :
- Locate the trouble: list the endpoints (or interior points) where is unbounded or the interval is infinite, and split so that each piece has exactly one troublesome end.
- If has constant sign near that end, find an equivalent and compare with the reference scales of Theorem 9.2.
- If oscillates, test first (absolute convergence). If diverges, try integration by parts to trade the oscillation for decay, as in Example 9.5; minorations like detect genuine semi-convergence.
- For a value, not just the nature: parts, substitution, or a parameter (differentiate a simpler integral, as in Example 9.12 and Example 9.21).
- Sanity checks on any computed value: sign and rough size against a crude bound (, so is plausible); and dimensional consistency under scaling ( must rescale both sides the same way — the fastest detector of a lost factor).
Remark 9.14 (Common pitfalls)
Three recurring errors. (i) Parameter-dependent dominators: the domination must be uniform in on the set considered; it usually holds on segments but not globally — for there is no integrable dominator valid for all , yet dominating on is enough to work on the whole open half-line, since continuity and derivatives are local notions. (ii) Comparing signed integrands: the comparison toolkit is for nonnegative functions; from with divergent one may conclude nothing — converges although every comparison with fails. (iii) Forgetting half the trouble: on always study both ends separately; diverges at both, and a convergent-looking split can silently cancel two infinities. The safe reflex is the checklist of Method 9.13.
Example 9.15 (A Bertrand boundary case, to the digit)
The scale of Theorem 9.2 sits exactly on the edge of the power scales; its boundary cases deserve one full computation. For :
a convergent integral with a pleasantly exact value; while for ,
divergent — but so slowly that reaching requires . Closing insight: between “every power converges” and “ diverges” lives an infinite ladder of logarithmic scales, each refining the last; the substitution collapses each rung onto the previous one, which is why the Bertrand criteria echo the Riemann ones one level up.
Remark 9.16 (Perspectives within this volume)
This chapter’s tools are about to be everywhere. Dominated convergence is the engine behind the approximate identities of the next chapter (sliding kernels, Bernstein and Fejér alike); continuity and differentiation under the integral sign produce the Fourier coefficients’ calculus in the Fourier chapter, where every is a parameter integral in disguise. The function returns twice: in the chapter on multiple integrals, where a double integral finally proves Euler’s Beta–Gamma formula in full, and in the probability chapters, where -type integrals normalize the standard densities and compute their moments. And the semi-convergent resurfaces as the Gibbs constant of the Fourier chapter — the same integral, measuring the overshoot of partial sums at a jump.
Definition 9.17 (The function)
For :
convergent at both ends ( integrable at for ; exponential decay at ).
Theorem 9.18
is continuous on , satisfies the functional equation
and is of class (indeed ) with .
Proof. Functional equation: integrate by parts on and let the ends go: , boundary terms vanishing — indeed as because , and as because the exponential beats every power; both truncated integrals converge to their improper values by the convergence established in Definition 9.17. ; induction gives the factorial.
Continuity on : dominate by , integrable and independent of : Theorem 9.10 applies on every such segment, hence on the whole half-line. Differentiability: the -derivative is dominated on by , still integrable: Theorem 9.11; iterating gives all derivatives (each adds a power of , harmless). ∎
Example 9.19 (Half-integer factorials)
The functional equation and (a substitution away from Exercise 9.8: set in the defining integral) generate all half-integer values:
Since , it is fair to say “”: the factorial has been interpolated, and the interpolating curve dips below between and (its minimum at matches the convexity picture of the weekend problem’s Part I). Closing insight: nothing in the integral privileges integers — the factorial’s discreteness was an accident of counting, and is what lives between and .
Remark 9.20 (Where goes from here)
The weekend problem of this chapter builds the whole Euler calculus around : the Beta function, its integration-by-parts recursions, the Wallis integrals as Beta values, and Gauss’s limit formula. The chapter on multiple integrals proves Euler’s Beta–Gamma formula for all arguments by a double integral; the probability chapters meet again in the normalization of the most common densities and in the moments of waiting times. The Year 3 volume rebuilds on Lebesgue foundations, proves the Bohr–Mollerup uniqueness theorem, and extends Stirling’s formula from integers to the real half-line by dominated convergence.
Example 9.21 (A classical computation by differentiation)
For , let (absolutely convergent, dominated by ). By Theorem 9.11 (domination of the -derivative by , integrable):
(parts with ). The differential equation integrates to : the Gaussian-type integral reproduces itself. The constant is computed in Exercise 9.8 — and again, by double integration, in Chapter 20.
9.4 Exercises
Exercise 9.1 ★
Nature of: ; ; (compare with the divergent harmonic-type behavior near ).
Exercise 9.2 ★
Compute () via , and via the substitution .
Solution
Solution of Exercise 9.2.
Substitute :
With ():
Exercise 9.3 ★
Prove that is well defined for every and independent of . (Substitute and average the two expressions.) What is its value?
Solution
Solution of Exercise 9.3.
Convergence: the integrand is near and bounded near (both factors bounded below away from ): absolutely convergent, for every . Substituting ():
Adding the two expressions of :
, independent of .
Exercise 9.4 ★★
(Bertrand integrals at a finite endpoint) For which does converge?
Solution
Solution of Exercise 9.4.
Near , with . If : convergence regardless of (compare with for : the log factor is beaten). If : divergence regardless of (compare with , ). If : substitute :
convergent iff . Summary: convergence iff , or ( and ) — the mirror of the Bertrand series.
Exercise 9.5 ★★
Let for . Prove that is continuous on , on , satisfies there, and that as .
Solution
Solution of Exercise 9.5.
Continuity on : domination , integrable, uniform in : Theorem 9.10.
on : on , the first two -derivatives and are dominated by and : two applications of Theorem 9.11. Then
Limit: .
Exercise 9.6 ★★
(Frullani) Let be continuous on with a finite limit at . Prove that for :
(On , substitute in each piece and regroup into of ; squeeze using the continuity at and the limit at .) Compute .
Solution
Solution of Exercise 9.6.
On , substitute and in the two halves:
First piece: near , and : the piece tends to . Second piece: , same computation: tends to . Hence the improper integral converges to .
With (, ), , :
Exercise 9.7 ★★
Justify and compute for (dominated convergence with , using ; the limit is ).
Solution
Solution of Exercise 9.7.
Extend the integrand by beyond : . Pointwise, (the compound-interest limit, Year 1 volume). Domination: gives on , so , integrable. Dominated convergence:
(Computing the left side by repeated parts gives Euler’s product form .)
Exercise 9.8 ★★★
(The Gaussian integral by a parameter trick) For set
Prove that (differentiate under the integral and substitute in the resulting integral), deduce for all , and conclude
Solution
Solution of Exercise 9.8.
is differentiable in (integrand in , derivative , continuous and bounded on compacts of , domination over trivial):
since (chain rule on the square, fundamental theorem of calculus). So is constant, equal to .
As : , so :
(Consequently , by the substitution .)
Exercise 9.9 ★★★
Prove that is log-convex: is convex on . (Cauchy–Schwarz for integrals applied to gives ; combine with continuity and Exercise 8.8.)
Solution
Solution of Exercise 9.9.
Cauchy–Schwarz (Year 1 volume, valid on and passed to the limit) applied to the factorization :
is midpoint convex; being continuous (Theorem 9.18), it is convex (Exercise 8.8). (Log-convexity pins down uniquely among interpolations of the factorial — the Bohr–Mollerup theorem, a Year 3 pearl.)
Exercise 9.10 ★★★
(Dirichlet integral) Set for .
- Justify (differentiate under the integral; compute by two integrations by parts).
- Prove as and deduce .
Admitting the continuity of at (an Abel-type theorem), conclude the value of the semi-convergent integral:
Solution
Solution of Exercise 9.10.
On : the -derivative of the integrand is , dominated by : Theorem 9.11 gives . Two integrations by parts (or the complex exponential):
- . Integrating from to : , so .
- Letting with the admitted continuity: , and (the semi-convergent Dirichlet integral, Example 9.5): its value is .
Exercise 9.11 ★★
Justify the convergence of , then compute it by one integration by parts and Exercise 9.10:
(The same value as — but this time the convergence is absolute.)
Solution
Solution of Exercise 9.11.
Convergence: near the integrand extends continuously by the value (); at infinity it is : absolute convergence. On , integrate by parts with , :
( in the last integral). The bracket tends to at both ends (; ), and the last integral tends to (Exercise 9.10). Hence
Exercise 9.12 ★★★
(The Gaussian tail) For set .
Writing , integrate by parts twice to obtain
Bound the remainder: , and deduce the bracketing
- Why can the full alternating series obtained by iterating the parts never converge for fixed ? (Compare the growth of the coefficients with the powers .)
Solution
Solution of Exercise 9.12.
Parts with , (so ):
Same device on the new integral (, ):
whence the announced identity.
One more integration by parts bounds the remainder:
so . Dropping the (positive) remainder in the identity of question 1 gives the lower bound; dropping the (negative) second term of the first parts gives . Dividing the bracketing by : the ratio is squeezed between and , so .
Iterating the parts produces the formal series
whose -th coefficient grows faster than any geometric sequence: for fixed the terms tend to infinity (their ratio is ), so the series diverges for every . It is an asymptotic expansion: truncated at any fixed order, the error is of the order of the first omitted term as — but never a convergent series. (This tail estimate is the standard Gaussian tail bound of the probability chapters.)
9.5 Problem: Euler’s integrals — Beta, Gamma, and Gauss’s limit formula
Problem 9.1
The function of Definition 9.17 is one half of Euler’s calculus of integrals; the other half is the Beta function
This problem develops the pair with the tools of this chapter only — integration by parts, substitution, dominated convergence — and culminates in Euler’s Beta–Gamma formula on the half-integers and in Gauss’s limit formula for . Along the way the Wallis integrals of Lemma 6.11 reappear as Beta values, and Legendre’s duplication formula drops out.
Part I — Fine structure of .
Recall why converges exactly for , and show
(functional equation plus continuity of at ).
- Prove (substitute and invoke Exercise 9.8), and deduce .
Show by induction, for :
- Justify , and deduce that is strictly convex, attains a unique minimum at some ( and Rolle), decreases on and increases on .
- Show that beats every power: for each , as (squeeze between integers and use with the monotonicity of question 4).
Part II — The Beta function, by parts.
- Show that converges exactly for and , and that .
Compute , and prove by integration by parts, for :
From the splitting deduce , and combine with question 7 into the descent relations
Deduce, for integers:
Prove Euler’s formula for one integer argument: for every and ,
(induction on : both sides equal at and obey the same descent relation).
Part III — Wallis integrals as Beta values.
Substitute to obtain the trigonometric form
- Deduce for the Wallis integral , and recover the recurrence of Lemma 6.11 from the descent relations of question 8 alone.
- Compute and check it against : Euler’s formula holds at .
Derive the closed form from the recurrence, and verify
Conclude, by induction with the descent relations, that Euler’s formula holds whenever and are positive integers.
Substitute to obtain the third classical form
and check the case directly ( reduces it to ).
Part IV — Gauss’s limit formula.
For and , prove by successive integrations by parts:
Conclude with Exercise 9.7 (dominated convergence) Gauss’s limit formula:
Taking logarithms, show that for :
where is Euler’s constant (Example 6.7); justify the convergence of the series (the general term is ).
- Use Gauss’s formula at and the central binomial asymptotics (Example 6.14) to recompute : Stirling’s constant and the Gaussian integral are the same number in two disguises.
Check that Gauss’s formula reproves the functional equation: from the exact identity
conclude again. (Gauss’s formula determines outright; the Year 3 volume proves the sharper Bohr–Mollerup theorem: the functional equation plus log-convexity already pin down.)
Part V — Dividends.
- For show , and compute the limit as by dominated convergence (pointwise limit ; dominate by on and by beyond, for ). Check the answer against the continuity of .
For show
and recover the values () and (). (For this is the lemniscate constant, which has no elementary closed form; its story belongs to the theory of elliptic integrals.)
(Moments) For and , show
the rising factorial; check that gives . (In the probability chapters this is the -th moment of a standard waiting-time density.)
Prove the Beta identity, valid for all :
(substitute , exploit the symmetry in , then set ). Deduce, for , Legendre’s duplication formula
and verify it directly at via question 3. (For general it follows from the same identity once Euler’s formula is known for all arguments — the double-integral proof in the chapter on multiple integrals.)
- Synthesis. In one sentence each: (i) where integration by parts carried the whole of Part II; (ii) where dominated convergence entered Parts IV and V; (iii) which asymptotic inputs were imported from the comparison chapter; (iv) what is now proved of Euler’s formula , and what remains for the double integral to settle.
Solution
Solution of Problem 9.1.
1. At the integrand is : the finite-endpoint scale converges iff , i.e. (and for , diverges); at , converges for every . Then and as (continuity, Theorem 9.18): .
2. With , :
by Exercise 9.8. With :
3. True for (both sides ). If , the functional equation gives
the last step because and .
4. Theorem 9.18 gives (two applications of the Leibniz rule, dominations as in the theorem’s proof); the integrand is and not identically zero, so : is strictly convex and is strictly increasing. Since , Rolle provides with ; strict monotonicity of makes its unique zero, with before and after: decreases on , increases on , and is the unique minimum.
5. Let and ; choose the integer with (so ). By the monotonicity of question 4 (valid from on): , while . Since (factorials beat powers, Year 1 volume), as : .
6. Near the integrand is (convergent iff ), near it is (iff ); both comparisons are between positive functions, so converges exactly for . The substitution swaps the two factors: .
7. . Parts on with , :
the bracket vanishes at both ends as ( at , at ), leaving .
8. Since :
so . Question 7 reads ; substituting,
i.e. ; the twin relation follows by the symmetry of question 6.
9. Induction on at fixed : , and if the formula holds at ,
Rewriting: .
10. Both sides of equal at (, ). If they agree at , then by the descent relation and the functional equation:
the two sequences obey the same recursion from the same seed, hence agree for all and all .
11. With (, ), and :
12. Take (killing the cosine factor) and : , i.e. . The descent relation in the first variable gives
the Wallis recurrence, this time with no integration by parts on sines — Part II did the work once and for all.
13. , while : Euler’s formula holds at .
14. Iterating from :
since and . Hence, using question 3:
Now fix . Euler’s formula holds at : for integer this is question 10 (with symmetry), for it is the display above. Both sides of Euler’s formula obey the descent recursion (question 8 on the left, the functional equation on the right, as in question 10): induction propagates the formula from and to every . Euler’s formula therefore holds whenever .
15. With , i.e. , , :
At , with :
16. One integration by parts, for and (, ; the boundary terms vanish):
Starting from , and iterating times:
which is .
17. By Exercise 9.7 the left side tends to (dominated convergence with dominator ); the right side is Gauss’s quotient:
18. Taking logarithms in question 16’s quotient and splitting for :
For , , so the general term lies in : the series converges (comparison with ). Since (Example 6.7) and (question 17 and continuity of ):
19. At , the denominator is (multiply out the halves), so
With (Example 6.14):
The central binomial coefficient’s (which came from Wallis, hence from Stirling’s constant) and the Gaussian integral’s are the same number.
20. The identity is direct algebra: multiply by and absorb into the product, into . Letting : the left side tends to (Gauss at ), the right side to since : — recovered without a single integration by parts.
21. With , , :
As (along any sequence): for , at , for ; for dominate by ( for ), integrable. Dominated convergence: the integral tends to — as it must, since by continuity.
22. With , :
: , matching . : . For the value is the lemniscate constant: no elementary closed form.
23. Iterating the functional equation:
the rising factorial with factors. At : , the moments of from Exercise 9.2.
24. Substitute (, , ):
(the integrand is even). Then ():
For every argument in sight lies in , so Euler’s formula (question 14) applies to both sides:
Direct check at : the left side is , the right side : equal.
25. (i) Integration by parts produced , the single identity from which every descent relation, the integer and half-integer values, and the Wallis recurrence all flow. (ii) Dominated convergence turned the elementary integrals into (Gauss’s formula, question 17) and computed the limit in question 21. (iii) From the comparison chapter we imported Euler’s constant (, question 18) and the central binomial asymptotics (question 19) — i.e. Stirling’s formula in disguise. (iv) Euler’s formula is now proved for with arbitrary (question 10) and for all half-integer pairs (question 14); the general case awaits the double-integral computation of the chapter on multiple integrals, which factorizes over a quarter-plane.