Learning goals and preparation
We assume limits, continuity, derivatives, the product and chain rules, and elementary trigonometric identities. This chapter develops definite integrals and the main hand-calculation techniques: substitution, integration by parts, trigonometric identities and substitutions, and rational partial fractions. It also explains how an infinite interval changes an integration problem into a limit problem.
The aim is not to force every integrand into one formula. A useful method exploits structure, preserves domains, and leaves an answer that can be verified by differentiation or by a limiting calculation.
3.1 Definite integrals and antiderivatives
The integration argument needs completeness, extrema on closed intervals, and the mean value theorem. Their proofs are already available in suprema and completeness, sequence limits and subsequences, Heine–Borel, and extrema, Rolle and the mean value theorem. In particular, a continuous function on a closed bounded interval is bounded; derivative zero on an interval forces constancy. Below we prove the additional uniform-continuity and sum estimates that turn those prerequisites into integration.
Proof
(Prerequisite checks with full solutions)
Worked example
(Use both halves of a supremum proof)
Let . Every element is less than , so is an upper bound. Given , choose by the Archimedean property. Then . Thus . No element equals , so has no maximum. An upper-bound calculation alone would not prove leastness: is also an upper bound.
Worked example
(An infimum via reflection)
For , every element exceeds . Given , choose to obtain . Therefore is the infimum, but not a minimum. The maximum is , attained at .
Worked example
(Construct an epsilon–N proof)
For , guess . Since
choose . Then every gives . The guess is motivation; the inequality and quantified choice establish the proof.
Worked example
(Which hypothesis fails?)
The continuous function on is bounded but has no maximum or minimum: and are not in the domain. The set is bounded but not closed, hence not compact. On , both endpoints are present and the extrema are attained. Compactness is a sufficient global hypothesis, not a condition required for every individual function to attain extrema.
Uniform continuity
Definition 3.1.1
(One delta for the entire domain)
A function is uniformly continuous on if for every there exists such that for all , implies . The chosen can depend on but not on or .
Theorem 3.1.2
(Heine–Cantor theorem)
Every continuous real-valued function on a compact set is uniformly continuous.
Proof
(Contradiction using compactness)
If uniform continuity failed, some would permit, for every , points with but . Compactness supplies a subsequence . Since the paired distances tend to zero, also . Continuity gives both and , contradicting the output separation.
Worked example 3.1.3
(Pointwise but not uniform on an unbounded domain)
The function is continuous on but not uniformly continuous there. Take and . Then , but . On any closed bounded interval, Heine–Cantor does give uniform continuity. It is also direct: if , then .
Darboux sums and integrability
Develop the proof behind integrability statements and distinguish boundedness from integrability. Let and be bounded on . For a partition , put , , and define , . The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Refining a partition makes lower sums nondecreasing and upper sums nonincreasing.
For any two partitions , their common refinement gives , so . Boundedness ensures these quantities are finite. The function is Riemann integrable when they agree.
Theorem: Darboux criterion
The bounded function is integrable if and only if for every there is a partition with .
Proof. If the two integrals equal , choose a lower sum above and an upper sum below , using supremum and infimum approximation. Their common refinement has gap less than . Conversely the inequalities force the integral gap to be zero when such partitions exist for every positive .
Worked example 3.1.4
(An integral from explicit upper and lower sums)
For on , divide the interval into equal pieces. The minimum and maximum on piece are and . Thus
Their gap is , so the Darboux criterion proves integrability, and squeezing gives . Every tagged sum on this equal partition has error at most from . Choosing guarantees error below for these partitions; the argument below proves the stronger statement for every sufficiently fine partition, including unequal pieces.
Theorem: finitely many discontinuities are permitted
If is bounded and continuous except possibly at finitely many points, it is integrable.
Proof. Let , taking . Surround the exceptional points by finitely many small intervals, with endpoints included in the partition, having total length less than . At endpoints of use one-sided intervals. Their contribution to the upper-lower gap is at most times their total length, hence less than . On the remaining finitely many closed intervals, is continuous and therefore uniformly continuous. Subdivide each sufficiently finely that its oscillation on every resulting subinterval is less than . Their total gap is less than . Combining all partition points gives gap below . If an exceptional interval endpoint would itself be exceptional, move it slightly so all actual exceptional points lie inside the selected intervals or at the domain endpoints. This keeps the remaining closed intervals continuous.
Continuous functions and all tagged meshes
Let be continuous, where . The extreme value theorem makes bounded, and Heine–Cantor makes it uniformly continuous. For a partition , write and for its lower and upper Darboux sums. The proved Darboux integrability theorem for continuous functions supplies the common integral .
Fix . Uniform continuity supplies such that whenever . If the mesh of is less than , every subinterval has oscillation at most . Therefore
For every selection of tags, its tagged sum lies between and ; so does . Thus . The same works for every partition of sufficiently small mesh and every choice of tags. This proves the tagged-mesh definition for continuous functions on the stated closed interval.
For , take a partition , with , tags , and mesh . A finite number is the definite integral if, for every , there is such that every partition with and every choice of tags satisfy . In that case is the common limit. Continuous functions on a closed interval are integrable.
The integral operations used next come from the sums. Linearity holds term by term on a common partition. To split at a point , insert into a tagged partition: only the subinterval containing changes, and if its contribution changes by at most , which tends to zero. The two resulting sums therefore give . Also follows directly by bounding every sum; reversed bounds are defined by a minus sign. In particular, the accumulation function below is continuous, even at the endpoints, because its increment has magnitude at most .
Let be continuous on and . For and nonzero with , the integral estimate gives
Thus in the interior; at the endpoints the same argument gives one-sided derivatives. If is continuous on , differentiable on , and there, the mean value theorem makes constant on . Therefore .
The integral is signed; negative values of contribute negatively.
The notation describes antiderivatives on an interval. Different constants may be required on disconnected domain components. For example, separately on each of and . It is not an integral across the singularity at zero.
A working table. For on a suitable real interval,
Also , , , and . Differentiate these formulas to check coefficients, signs and domains. A definite integral is a number and does not acquire a final .
3.2 Substitution and correct bounds
The chain rule implies
For definite integrals,
A one-variable substitution of this form does not require global injectivity of when justified by an antiderivative composition. More general change-of-variable interpretations do require attention to orientation and multiplicity; do not treat every transformation as an unsigned replacement of intervals.
Definite substitution and parts
Let , , and let be continuous on an interval containing . Define oriented integrals in the usual way if the bounds are reversed. Then
Proof. Extend continuously to an open interval containing by constant continuation at any finite endpoint of that lies in the image. Pick in that open interval and define . By the fundamental theorem throughout that open interval. The chain rule gives on . The fundamental theorem applied to the continuous integrand gives , which is the right-hand side. No monotonicity or injectivity of is required under these hypotheses.
If , then
Proof. Integrate the product rule and rearrange using linearity and the fundamental theorem. Continuity makes all integrals proper Riemann integrals.
Example. With on and , substitution gives even though is not one-to-one. For parts, .
Worked example 1: a missing coefficient. For , set , . The integral is . Differentiation gives , confirming the factor .
Worked example 2: a nonmonotone inner function. Evaluate . The antiderivative is , so the answer is . Transforming both endpoints by gives the same oriented integral from to . This is valid because the factor retains orientation. It does not mean the different integral is zero.
3.3 Integration by parts and repeated use
The product rule yields
For definite integrals replace with and keep both bounds on the remaining integral. Choose so its derivative simplifies, if possible.
Worked example 3: polynomial times exponential. For , choose , . Then
The second integration by parts reduces the polynomial degree again. A derivative check cancels the unwanted lower-degree terms.
Worked example 4: a logarithm without a visible product. Write for . Let , . Then . This method uses the logarithm's domain; it is not an antiderivative formula for a real at negative .
Some products lead back to the original integral. For , integration by parts twice gives . Hence . Treating the repeated integral as an unknown and solving the resulting linear equation is legitimate, with the arbitrary constant absorbed at the end.
3.4 Trigonometric powers and substitutions
For an odd power of sine or cosine, save one factor for a differential and convert the remaining even power using .
Worked example 5: an odd power. For , use , , and . The integral becomes
For even powers, half-angle identities often help: and . Thus .
A radical can suggest a trigonometric substitution. For with , set on . Then the radical equals , not , because cosine is nonnegative on the selected branch. Also .
Worked example 6: a semicircle integral with branch control. Calculate . The substitution gives
The geometric quarter-circle area independently checks the result. Without a branch restriction one would have , not automatically .
The related choices for and for can simplify other radicals, but their intervals and signs must likewise be stated. Choose a substitution because it simplifies the integrand, not just because a square root appears.
3.5 Rational functions and partial fractions
For a rational function , first divide polynomials if the numerator degree is at least the denominator degree. Then factor the denominator over the reals. Distinct linear factors produce terms ; repeated factors need all powers up to their multiplicity; an irreducible quadratic needs a linear numerator.
Worked example 7: distinct factors. Decompose
Equating numerators gives and , so . Therefore the antiderivative is on intervals avoiding .
For a repeated factor, requires . Equating coefficients gives . An antiderivative is . Omitting the first power or repeated power would prevent a general decomposition.
For an irreducible denominator, split a numerator into a multiple of the derivative and a remainder. For example,
The logarithm needs no absolute value because .
3.6 Improper integrals are limits
Define when that limit exists and is finite. Likewise a singular endpoint requires a one-sided limit. An interior singularity must be split into two separately convergent integrals; cancellation across it is not ordinary convergence.
Worked example 8: the power threshold. For ,
As , this converges to exactly when . For , the integral is and diverges. Thus decay to zero of an integrand alone does not imply finite total accumulation.
The integral of across is not zero as an ordinary improper integral: each side diverges. A symmetric cutoff may cancel, but that is a different concept, not justification for evaluating an antiderivative across an undefined point.
3.7 Graded exercises
Foundation
- Evaluate .
- Find and check it by differentiation.
- Evaluate by parts.
Core
- Find .
- Evaluate .
- Evaluate by a trigonometric substitution with a stated branch.
- Decompose and integrate .
- Find .
Synthesis
- Determine whether and converge, calculating the appropriate limits.
- Explain precisely why cannot be evaluated as . Evaluate the one-sided pieces as improper limits and identify the failed fundamental-theorem hypothesis.
3.8 Full solutions
- An antiderivative is . The result is .
- Set , . The answer is . Its derivative is .
- The antiderivative is . Evaluating gives .
- Let , , so . The result is . Differentiating cancels the extra sine terms and leaves .
- With , the bounds change from to , and the integral is .
- Set , . The radical is and , giving .
- Equating , gives . The antiderivative is , on each interval avoiding the two poles.
- Split the numerator: the part is , giving . The remaining integral . Thus the answer is .
- On , the antiderivative is , giving , so the first converges. On , it gives as , so the second diverges.
- The integrand is undefined and unbounded at zero, so it is not continuous on the whole interval and the ordinary fundamental theorem cannot be used across that point. On the integral is . On it is . Both improper pieces diverge positively, consistent with the nonnegative integrand; the claimed negative value is impossible.
Summary and onward map
The fundamental theorem evaluates continuous definite integrals through antiderivatives. Substitution follows the chain rule; parts follows the product rule. Identities simplify trigonometric powers, branch-controlled substitutions simplify radicals, and partial fractions separate rational terms. Every technique must preserve its domain. Improper integrals require limits, and internal singularities must be treated on each side separately.
Further study
Concept lensAlgorithmic
Repeated integration by parts is a recursion with a guaranteed stop
Worked example 3 applied integration by parts twice and the polynomial degree dropped each time. Written once and for all, with for an integer , the choice , gives the reduction formula
Each step lowers the index by one, so exactly steps reach ; this is the termination measure that makes the method an algorithm rather than a hope. Unrolling the recursion gives
For this is , the answer found above, and for it is , whose derivative is because the added terms cancel in pairs. The same reasoning fails for : there no index decreases, the recursion returns to the original integral after two steps, and the method succeeds only because the resulting linear equation for can be solved.