Darboux sum Created 2026-09-24 Updated 2026-11-05
For a bounded real function and a partition of an interval , set and . Its lower and upper Darboux sums are
They bracket every tagged Riemann sum on . Partition refinement increases and decreases , because smaller cells have larger infima and smaller suprema. A function is Riemann integrable exactly when these brackets can be made arbitrarily close.[ref]
For on with , the monotonicity of gives and . Subtracting the sums yields
This computes an explicit approximation-error bracket without first knowing an antiderivative.
Definite integral 2026-10-14
A definite integral accumulates an integrand between specified endpoints, retaining the sign of each contribution. For a real-valued function on a finite real interval, a finite definite integral is a scalar; an indefinite integral describes a family of antiderivatives. The lower and upper limits of integration specify where accumulation starts and ends. The integration variable is a placeholder: .
This is useful whenever a varying rate must be converted into a total change. For motion along a straight line with continuous velocity and position satisfying , the fundamental theorem of calculus gives displacement, while accumulating speed gives the distance traveled from velocity:
Negative velocity reduces displacement while adding to the distance traveled from velocity. The physical dimension of a definite integral is the product of the integrand's physical dimension and the integration variable's physical dimension: here . An area on a rate graph need not be a spatial area.[ref]
As an explicitly synthetic motion model, let for , with . Using numerical values in seconds and metres, an antiderivative gives . The velocity changes sign at : the model first moves m in the negative direction, then m in the positive direction. Its displacement is m, and its distance traveled from velocity is m. The initial position fixes the constant of integration, but does not change either accumulated quantity.
Figure 1.
Synthetic variable velocity model with displacement 3 metres and distance traveled 5 metres over three seconds
. Details.
Orientation matters independently of whether the integrand is positive or negative. For a function integrable on the interval containing the endpoints, use the conventions
For the preceding velocity model, accumulation from seconds back to seconds gives m. Reversing the bounds of the speed integral gives m, which is an oriented integral, not a negative distance traveled from velocity; physical elapsed-time totals use the earlier endpoint first. The splitting rule holds even when is outside the interval between and , provided integrability holds on the interval containing all three endpoints.[ref]
Existence needs hypotheses. For a bounded function on with , a finite Riemann integral exists when every tagged Riemann sum approaches the same value as the largest cell width tends to zero:
The limit must be independent of both the partition of an interval and the tags. Merely making the number of cells large can leave a wide cell unresolved. On a finite closed interval, every continuous function, and every bounded function that is continuous except at finitely many points, is Riemann integrable.[ref] Boundedness alone is insufficient: the Dirichlet function on is on the rational numbers and on the irrational numbers. Tags can all be chosen rational or all irrational, giving Riemann sums of or at arbitrarily small cell widths.[ref]
For a finite signed Lebesgue integral, the condition is instead that be a measurable function for Lebesgue measure and . A measurable function for Lebesgue measure that is also a bounded function on a finite interval satisfies this condition since gives . The Dirichlet function therefore has Lebesgue integral zero: the rational numbers form a null set, so it equals zero Lebesgue almost everywhere. The Riemann integral and Lebesgue integral agree for the continuous functions used in the diagrams.[ref] An unbounded integrand or infinite endpoint requires further analysis, for example the limits defining an improper integral; the notation alone does not establish convergence.
Riemann integral Created 2026-09-24 Updated 2026-11-05
For a bounded real function on a closed finite interval, the Riemann integral exists when the supremum of its lower Darboux sums equals the infimum of its upper Darboux sums. Their common value is . Equivalently, for every there is a partition of an interval whose upper-minus-lower sum is less than .[ref]
For on , uniform partitions into pieces give lower and upper sums and , proving that the integral is . The Dirichlet function has lower sums zero and upper sums one on this interval, so it is not Riemann integrable. The definition explains why boundedness alone is insufficient.
Riemann integration Created 2026-09-24 Updated 2026-11-05
Riemann integration defines an integral by requiring that every sufficiently fine tagged Riemann sum approximate the same number. For a bounded function , a partition of an interval and tags give
The mesh of a partition must tend to zero, and the answer must be independent of the tags and the chosen partitions of an interval. The equivalent Darboux sum formulation traps every Riemann sum between a lower Darboux sum and an upper Darboux sum. Their common limiting value, when it exists, is the Riemann integral.[ref]
For on , equal-width partitions of an interval give lower and upper values , so the Riemann integral is . For the Dirichlet function, every nondegenerate subinterval has infimum zero and supremum one: lower and upper values remain zero and one. Refining the partition of an interval cannot resolve that gap. Thus boundedness alone does not ensure Riemann integrability; the oscillation of a function on an interval must become small in the weighted aggregate.