To measure accumulation, divide an interval into small pieces, approximate the contribution from each piece, and let the largest piece shrink. Signed area is positive above the axis and negative below it; it is not automatically the same as geometric area.
The real-line compactness theorem supplies convergent subsequences for the Heine–Cantor proof below. The continuous-image and extreme-value theorem supplies boundedness on a compact interval before Darboux sums are formed. These are the precise continuity prerequisites; the integral construction itself is proved here.
Uniform continuity
Definition 5.2.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 5.2.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 5.2.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 .
Counterexample mode
Bounded is not the same as integrable
Since boundedness makes every Darboux sum finite, one might expect every bounded function to be integrable. Let at the rational points of and at the irrational points. Every cell of positive length contains points of both kinds, so on every cell and . Hence and for every partition: the gap never drops below , and the criterion fails. Boundedness only makes the lower and upper integrals finite; integrability needs them to agree, which continuity guarantees.
A complete lower-and-upper-sum calculation
For on , take the equal partition with points , where is any positive integer. The function is increasing, so its minimum and maximum on the ith closed cell are and . Including the width gives
These formulas use the finite square-sum identity. One way to derive that identity is to sum , then use . Thus the estimate comes from finite algebra, without assuming an antiderivative formula for the integral.
Every tagged sum on this partition lies between and , even when different cells use different choices of tags. Given , choose ; the Darboux gap is then below . The criterion proves integrability. Both displayed bounds tend to , so they also determine the integral's value. A few computed rectangles illustrate this conclusion; the formula proves it for arbitrarily large n.
At , the lower and upper sums are and . Midpoint tags instead give . This finite sum differs from . In general the midpoint sum is .
Refinement has its own precise condition: every old division point must remain. Changing two equal pieces to four is a refinement; changing two to three loses . The estimate above still proves convergence without treating every change in n as a refinement.
Bounded proper Riemann integrals: mesh equivalence and elementary properties
Let be finite, and let be bounded. For a partition , write for the lower and upper Darboux sums. We use real completeness and the proved Darboux criterion: equality of lower and upper integrals is equivalent to arbitrarily small . This subsection does not assume continuity of .
Darboux implies every fine tagged sum converges. Let the Darboux integral be . Given , choose a fixed partition with gap below . Choose with , and let be the number of interior partition points of . For any other partition , mark as bad every cell whose closure contains one of those points. Their total length is at most , because each point belongs to at most two cells. Every remaining cell lies within a single cell. The contribution of all good cells to the oscillation sum is at most the gap for ; the bad cells contribute at most . Thus
Take . Every tagged sum and lie between and , so , independently of tags.
The converse. Suppose all sufficiently fine tagged sums are within of a common finite . Fix one such fine partition. Each cell supremum and infimum can be approximated by actual function values with error below . The resulting upper-approximating tagged sum exceeds , and the lower-approximating sum is below . Therefore and . Since can be arbitrarily small, the Darboux criterion gives integrability. Lower and upper bounds on tagged sums then identify its integral as . Suprema need not be attained for this argument.
Linearity, constants and order. For integrable and real , on any common tagged partition the exact finite identity is . Its limit exists, so the equivalence just proved gives integrability and the corresponding linear integral identity. The constant function has every sum equal to . If , their tagged sums with the same tags obey the same order; their limits do too. Consequently whenever .
Absolute values. The reverse triangle inequality gives on every cell : apply and approximate the suprema/infima. Thus every Darboux gap for is at most the gap for , and is integrable. Since , order and linearity give .
Restriction and interval addition. For , refine any small-gap partition by . The nonnegative gaps on and sum to the refined whole gap; each can therefore be arbitrarily small. Both restrictions are integrable. Join partitions of the two pieces with meshes tending to zero. The exact sum on the joined partition is the sum of the two tagged sums, so passage to their three limits gives . Conversely, if both restrictions are bounded integrable, join two partitions with gaps below ; the resulting whole gap is below , proving whole integrability and the same identity. At a shared endpoint both restrictions use the same value of ; no endpoint term has positive interval length. Set equal-bound integrals to zero and reversed-bound integrals to the negative. Splitting a finite interval and cancellation now extend addition to every ordering of its three endpoints.
These proofs justify the estimates used in accumulation, continuous FTC, integration by parts and proper substitution. They assert bounded proper Riemann statements only, and do not replace the separate convergence definitions at singularities or infinite endpoints.
Proof X-ray
Comparing any fine partition with one fixed good partition
The proof that Darboux integrability controls every fine tagged sum never refines anything: the fine partition need not contain the points of . Instead the proof sorts the cells of . A cell lying inside one cell of has oscillation at most that of the larger cell, so all such cells together cost no more than the gap of . Only the cells touching one of the interior points of escape this control; there are at most of them, each no longer than the mesh. Boundedness by caps their cost, and a small mesh makes it small.
Proof
(Why continuity suffices)
A continuous function on a compact interval is uniformly continuous. Given and , choose so that points less than apart have output difference less than . A partition with mesh below has oscillation on every subinterval at most that bound, hence . The Darboux criterion yields integrability. For the integral is zero by convention.
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.
Integrals as accumulated change
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.
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 .
For example, , and . The indefinite integral denotes a family of antiderivatives; a definite integral is a number. Negative rate values contribute negatively to a net accumulation.
Reverse bounds change the sign, and equal bounds give zero.
Definite substitution: the fundamental-theorem prerequisite
The indefinite reverse-chain rule in the preceding antiderivatives lesson assumes an existing primitive. We now use the fundamental theorem proved above to establish the definite identity, including its interval, endpoint and orientation conditions.
Precisely, let , and let be continuous on an interval containing the whole range . If is constant, both integrals below are zero, so no derivative on a singleton image is needed. Otherwise and hence are nondegenerate. Choose an antiderivative of on , whose existence follows from the accumulation part of the fundamental theorem. The chain rule gives , and the evaluation part gives
At a range endpoint the corresponding one-sided derivative suffices; the same chain identity there follows from the one-sided error formula. No division by and no one-to-one assumption are needed. If the endpoint values are reversed the last integral has reversed orientation; if they coincide it is zero. This does not mean that was constant. For example, on and give , also confirmed by oddness.
Worked example 5.2.4
(A definite substitution with reversed bounds)
Consider . Set , so and the new bounds are and . Thus the integral is . Reversing the bounds accounts for the negative sign.
A definite-substitution exercise with full solution
This exercise continues the substitution exercises of Section 5.1; it is placed here because its solution uses the fundamental theorem.
Exercise. Compute .
Full solution.
With , the limits become and . The integral is .
Worked example 5.2.5
(A sum becomes an integral)
For , the points are right endpoints of equal pieces of . The limit is . Identifying both the interval and the width prevents a missing factor.
Worked example 5.2.6
(Variable limits)
Let . The fundamental theorem and chain rule give . The integration variable is a dummy variable; it should not be confused with the outside variable .
Linearity and interval additivity hold for integrable functions. If throughout , then . In particular . The actual area between a continuous graph and the axis is , so split at zeros when needed.
Bounds and averages
Let be Riemann integrable on , with . If there, order preservation yields . Dividing by defines the average value . If is continuous, the extreme value theorem supplies actual attained bounds and . The integral bound places between these two attained values. If they agree, is constant and any point works; otherwise apply the intermediate value theorem on the interval joining a minimum point and a maximum point. It gives with . Thus the conclusion uses attained extrema, not just arbitrary upper and lower bounds. The point need not be unique or the midpoint. An equal-bound interval has integral zero but no average defined by this quotient.
Worked example 5.2.7
(Average value)
The average value of on is . The value occurs at , which is inside the interval. It differs from the midpoint value .
Choosing a method
Recognise a Riemann sum by its sample points, interval and widths. Apply the fundamental theorem after finding an antiderivative, not to a function merely because it resembles one. For a variable bound, differentiate the accumulation function and then apply the chain rule. For area, identify sign changes before integrating.
Exercises
- Evaluate and the geometric area between the graph and axis on that interval.
- Differentiate .
- Evaluate .
Full solutions
- An antiderivative is , so the signed integral equals . The integrand is nonpositive on and nonnegative on ; the two signed pieces are and . Thus the geometric area is .
- Write . The chain rule gives .
- This is the right-endpoint sum for , hence the limit is .
Further practice
Quick check
(Let be increasing on (not necessarily continuous) and let be the equal partition of into cells. Show that and conclude that is integrable.)
On each cell of an increasing function, the infimum and supremum sit at the endpoints of the cell.
Solution · Answer
Since , the function is bounded, so the Darboux sums are defined. With , monotonicity gives and , and every width is . Therefore , because the sum telescopes. Given , choose (any works if ). The gap is then below , and the Darboux criterion proves integrability. Continuity was never used, so, for example, the step function is integrable on .
Quick check
(Find the average value of on and every point at which equals that average.)
The intermediate value argument guarantees at least one such point; it does not promise only one.
Solution · Answer
The average is . Since , the equation has exactly two solutions in : and . Neither is the midpoint , where takes its maximum value .
Quick check
(Using for all real , prove .)
Apply the inequality once with and once with , then use order preservation.
Solution · Answer
The inequality is the inequality of Section 4.1 with . Taking gives . Taking gives , hence . All three functions are continuous on , so order preservation yields . The outer integrals are and . Numerically the bounds are about and ; the integral itself is about .
Connection
The fundamental theorem joins the derivative methods of earlier chapters to substitution and the integration techniques that follow. These ideas also model physical accumulation when a rate is known.
Proofs supporting the methods used in this note
Finite real limit laws and geometric sequences: proofs develops this prerequisite with its hypotheses, proof and examples.
Differentiability and linear error develops this prerequisite with its hypotheses, proof and examples.
A chain-rule proof that handles zero inner changes develops this prerequisite with its hypotheses, proof and examples.
Proof
(Related sections with full statements and proofs)
The following links lead to the full statements and proofs of the prerequisite results used in this note.
Compactness prerequisite: Real-line compactness.
Real closed sets: the sequence criterion and the open complement.
Compactness prerequisite: Appendix exercises on finite-dimensional compactness.
Compactness prerequisite: Solutions to the appendix exercises.