Why Sample-Point Choice Matters
A Riemann sum estimates accumulated change by adding the heights of selected rectangles multiplied by their widths. For a fixed partition, choosing a different point in each subinterval generally changes those heights, so the finite sums need not be equal.
The key fact is that, for a continuous function on a closed interval, this difference becomes small as the subintervals become narrow. Left endpoints, right endpoints, midpoints, and other valid sample points therefore lead to the same definite-integral limit.
Partitions, Tags, and Riemann Sums
A partition \(P\) of \([a,b]\) is a list of points \(a=x_0<x_1<\cdots<x_m=b\). Its \(i\)th subinterval is \([x_{i-1},x_i]\), with width \(\Delta x_i=x_i-x_{i-1}\). The mesh of the partition is its largest subinterval width.
A tag \(\xi_i\) for the \(i\)th subinterval is any point in that subinterval. Given a function \(f\) defined on \([a,b]\), the tagged Riemann sum is the sum of each function value at a tag multiplied by its subinterval width.
For an equal-width partition, left-endpoint sums use each subinterval's left endpoint as its tag, right-endpoint sums use the right endpoint, and midpoint sums use the midpoint. A different valid tag may be chosen independently in each subinterval.
In the Riemann-sum definition of the definite integral, the mesh tends to zero. The result we need to understand is that, for a continuous function, the limiting value does not depend on how the tags are chosen.
Why Continuity Controls the Difference
A function is uniformly continuous on \([a,b]\) if, for every \(\varepsilon>0\), there exists \(\delta>0\) such that whenever \(x,y\in[a,b]\) and \(|x-y|<\delta\), then \(|f(x)-f(y)|<\varepsilon\). The same \(\delta\) works throughout the interval, not just near one particular point.
Every function continuous on a closed, bounded interval is uniformly continuous there. One way to see why is by contradiction. If uniform continuity failed, there would be some fixed \(\varepsilon_0>0\) and pairs \(x_n,y_n\in[a,b]\) such that \(|x_n-y_n|<1/n\) but \(|f(x_n)-f(y_n)|\ge\varepsilon_0\) for every \(n\). Since \([a,b]\) is bounded and closed, the sequence \(x_n\) has a convergent subsequence with limit \(c\in[a,b]\). Along that subsequence, \(|x_n-y_n|\) tends to zero, so \(y_n\) tends to \(c\) as well. Continuity at \(c\) then makes both function values tend to \(f(c)\), contradicting their separation by at least \(\varepsilon_0\).
For a uniform-continuity bound, consider any two tags \(\xi_i,\eta_i\) in the same subinterval. Their distance cannot exceed that subinterval's width. As the mesh gets smaller, uniform continuity guarantees that the corresponding function values get closer.
The Same-Partition Bound
Take two tagged sums using the same partition \(P\), with tags \(\xi_i\) in one sum and \(\eta_i\) in the other. Subtract the sums, apply the triangle inequality, and use uniform continuity. If the mesh is small enough that function values at points within a subinterval differ by less than \(\varepsilon\), then:
The last equality follows because the subinterval widths add to the full interval length. Thus all tag choices on the same sufficiently fine partition produce sums that are close to one another. Since \(\varepsilon\) can be made arbitrarily small, their difference tends to zero as the mesh tends to zero.
Worked Example: Left, Right, and Midpoint Sums
Compare three sums for \(f(x)=x^2\) on \([0,1]\), using four equal subintervals. Each width is \(\Delta x=1/4\).
The left endpoints are \(0,1/4,1/2,3/4\). Thus:
The right endpoints are \(1/4,1/2,3/4,1\). Hence:
The midpoint tags are \(1/8,3/8,5/8,7/8\). Therefore:
Check the difference between the right and left sums: \(R_4-L_4=30/64-14/64=16/64=1/4\). The sums are not equal for this partition. The calculation illustrates why the theorem concerns their limits, not equality at a fixed number of rectangles.
Why All Fine Tagged Sums Have One Limit
The same-partition bound explains why tag choices become unimportant when the partition is fixed. We can also show that sums formed from different fine partitions approach one common value. This establishes that the limiting value exists and is independent of the partitions and tags.
Because \(f\) is uniformly continuous, for each \(\varepsilon>0\) there is a mesh size \(\delta>0\) such that any two function values at points less than \(\delta\) apart differ by less than \(\varepsilon\). Take any two tagged sums whose partitions have mesh less than \(\delta\). Combine the partition points to form a common refinement. Choose one tag in each subinterval of this refinement, and use these same refinement tags to form a refined sum.
Compare the first original sum with the refined sum. In each original subinterval, its original tag and every refinement tag lie in that subinterval, so their function values differ by less than \(\varepsilon\). Weighting by widths and adding shows that the original sum differs from the refined sum by at most \(\varepsilon(b-a)\). The same reasoning applies to the second original sum. By the triangle inequality, the two original sums differ by at most \(2\varepsilon(b-a)\).
To complete the argument, the bound \(2\varepsilon(b-a)\) can be made arbitrarily small by choosing the uniform-continuity tolerance \(\varepsilon\) small and the partitions fine enough. Thus the family of fine tagged sums is Cauchy: for any desired closeness, all sufficiently fine sums differ from one another by less than that amount. Completeness of the real numbers guarantees a common limit. Since the bound did not depend on the tag-selection rule, no valid rule can produce a different limit.
Worked Example: Different Tags on a Two-Subinterval Partition
Let \(f(x)=3x+1\) on \([0,2]\), partitioned at \(0,1,2\). Both widths equal \(1\). The left-endpoint tags are \(0\) and \(1\), so \(f(0)=1\), \(f(1)=4\), and:
The right-endpoint tags are \(1\) and \(2\). Since \(f(1)=4\) and \(f(2)=7\):
For midpoint tags \(1/2\) and \(3/2\), the values are \(f(1/2)=5/2\) and \(f(3/2)=11/2\), so:
As another valid choice, use tags \(1/4\) and \(7/4\). Their function values are \(f(1/4)=7/4\) and \(f(7/4)=25/4\), giving:
Each tag lies in its assigned subinterval, and each sum uses the correct width of \(1\). The results differ at this coarse partition, exactly as the theorem allows.
Worked Example: Unequal Widths and Arbitrary Valid Tags
Use \(f(x)=x^2\) on \([0,1]\), with partition points \(0,1/4,1\). The widths are \(1/4\) and \(3/4\). The left tags \(0\) and \(1/4\) give:
The right tags \(1/4\) and \(1\) give:
Now choose the valid tags \(1/8\) and \(1/2\). The sum is:
The checks are direct: \(1/8\) lies in \([0,1/4]\), \(1/2\) lies in \([1/4,1]\), and the widths \(1/4\) and \(3/4\) add to \(1\). The three sums differ, but all use the same partition and function.
What the Result Does—and Does Not—Say
The result matters because it tells us the definite integral is not tied to a special rectangle-placement rule. A convenient choice of tags may be used to calculate or estimate a sum; for a continuous function, refining the partition makes the choice immaterial to the limit.
A common mistake is to conclude that different sample-point rules give equal sums for every fixed partition. The first example disproves that: \(L_4=14/64\), while \(R_4=30/64\), so \(R_4-L_4=16/64=1/4\). The correction is to distinguish a finite approximation from its limit. The theorem says that the difference tends to zero as the mesh tends to zero, not that it is already zero.
The continuity condition is important. The argument depends on function values becoming uniformly close when their input points are close. If a function has a discontinuity, that guarantee may fail, so one cannot apply this theorem without checking its condition.
Check Your Understanding
Use the definitions and result above to answer these questions.
- What is the mesh of a partition, and why does it matter for the sample-point choice?
- For a fixed partition, what does the same-partition bound say about sums formed with different tags?
- Why does continuity on a closed interval allow the theorem to apply?
- Does the theorem claim that left and right sums are equal for each finite partition? Explain.
- For \(f(x)=x^2\) on \([0,1]\), why are all valid sample-point rules guaranteed to have the same limit as the mesh tends to zero?