Why Unequal Widths Matter
A partition does not have to divide an interval into equally spaced pieces. One subinterval may be short, another longer, and a third longer still. When we use rectangles to represent accumulation over such a partition, their widths must reflect the actual pieces of the interval.
The height of each rectangle comes from a function value chosen within its subinterval. Its signed contribution is therefore the sampled function value multiplied by that subinterval’s width. Using a different width can change the contribution, even when the sample value itself is unchanged.
Partitions and Their Widths
Let \(a<b\). A partition of \([a,b]\) is a finite, strictly increasing list of points that starts at \(a\) and ends at \(b\):
The points \(x_0,\ldots,x_n\) divide the interval into \(n\) subintervals, \([x_{i-1},x_i]\), for \(i=1,\ldots,n\). The width of the \(i\)th subinterval is defined by subtracting its left endpoint from its right endpoint:
Each width is positive. In a uniform partition, all widths are equal. In a nonuniform partition, at least two widths differ. For a nonuniform partition, there is no single common subinterval width to use in every rectangle.
To form a tagged partition, choose one sample point \(\xi_i\) in each subinterval, so that \(x_{i-1}\le \xi_i\le x_i\). The sample point determines the rectangle’s height through the function value \(f(\xi_i)\).
The factor paired with \(f(\xi_i)\) is the width of the same interval from which \(\xi_i\) was chosen. The widths may differ from one term to the next.
Why Each Value Gets Its Own Width
Over the \(i\)th subinterval, the rectangle has horizontal width \(\Delta x_i\) and signed height \(f(\xi_i)\). Its signed area is height times width, \(f(\xi_i)\Delta x_i\). Adding the rectangles gives the total signed rectangle sum.
This pairing is also required by the structure of the partition. Each subinterval represents a different portion of the original interval, and its contribution must account for how much horizontal distance that portion covers. A sample value from a wide interval is multiplied by a wider amount than the same value from a narrow interval.
The widths themselves add to the length of the whole interval. Indeed, writing out the differences gives a telescoping sum:
Every interior endpoint appears once with a positive sign and once with a negative sign, so those terms cancel. This confirms that the subinterval widths together cover exactly the original interval. Weighting each sample by its own width respects this decomposition.
Worked Sums with Unequal Widths
Worked Example: A Linear Function on Unequal Subintervals
Find the tagged Riemann sum for \(f(x)=x\) on \([0,4]\), using the partition \(0,1,3,4\) and the right endpoint of each subinterval as its tag.
There are three subintervals. Their widths are:
The right-endpoint tags are \(\xi_1=1\), \(\xi_2=3\), and \(\xi_3=4\). The corresponding function values are:
Multiply each value by its own subinterval width, then add:
Check the widths: \(1+2+1=4\), the length of \([0,4]\). The three contributions \(1\), \(6\), and \(4\) use the matching widths, and their sum is \(11\).
Worked Example: Accumulated Flow over Unequal Time Intervals
Suppose a flow rate is represented by \(4\) litres per hour on the interval from \(0\) to \(2\) hours, and by \(7\) litres per hour on the interval from \(2\) to \(5\) hours. Estimate the accumulated volume using these representative rates for their respective intervals.
The first interval has width \(2-0=2\) hours. The second has width \(5-2=3\) hours. Multiply each rate by the duration it represents:
The units check: in each product, hours cancel against hours in the denominator of the rate, leaving litres. The interval widths also check, since \(2+3=5\) hours, the full elapsed time. Using the first rate for all \(5\) hours, for example, would ignore the rate assigned to the second interval and would not be the sum for these data.
Worked Example: A Quadratic Function with Chosen Tags
Compute a tagged Riemann sum for \(f(x)=x^2\) on \([0,1]\), using the partition \(0,\frac14,1\) and the tags \(\frac18\) and \(\frac58\), respectively.
The widths are:
Evaluate the function at the specified tags:
Use each value with its own width:
As a check, the widths add to \(\frac14+\frac34=1\), the length of \([0,1]\). The arithmetic also reduces correctly because \(\frac{76}{256}=\frac{19}{64}\).
A Common Shortcut That Can Fail
When a partition has \(n\) subintervals, its average width is \((b-a)/n\). It can be tempting to replace every actual width by that average. This can change the rectangle sum and can give a wrong result: the average width is not generally the width of any particular subinterval.
Return to the first example. The widths were \(1,2,1\), and the sampled values were \(1,3,4\). Their average width is \((4-0)/3=\frac43\). The incorrect substitution would give:
But the required sum is \(1(1)+3(2)+4(1)=11\), not \(\frac{32}{3}\). The difference is that the middle value \(3\) belongs to a width of \(2\), while each other value belongs to a width of \(1\). The average-width calculation assigns all three values the same width instead.
There are cases in which the two calculations coincide. For example, if every sampled value is a constant \(c\), then the original sum is \(c\sum_{i=1}^n\Delta x_i=c(b-a)\). Replacing all widths by the average gives \(c\frac{b-a}{n}n=c(b-a)\) as well. This special agreement does not make average widths valid in general; it occurs because all the sampled values are equal.
A Reliable Setup and Check
For a nonuniform tagged partition, a short setup routine helps prevent misplaced widths and arithmetic errors:
Record \(x_0,\ldots,x_n\), starting at the left endpoint and ending at the right endpoint.
Calculate \(\Delta x_i=x_i-x_{i-1}\) for every interval; do not assume the answers are equal.
Evaluate \(f(\xi_i)\) and place it beside the width \(\Delta x_i\) from that same interval.
Compute each product \(f(\xi_i)\Delta x_i\), then sum the products, preserving negative signs when a sampled value is negative.
Verify that \(\sum_i\Delta x_i=b-a\). When the quantities have units, verify that function-value units multiplied by interval units give the units of the accumulated quantity.
Why This Construction Is Useful
Unequal partitions let a calculation use shorter intervals in portions where more detail is wanted and longer intervals elsewhere. Whatever the choice of partition, the sum still has one consistent meaning: each sampled height represents its own interval, so its signed rectangle contribution is height times that interval’s width.
This construction is the basic way to write rectangle estimates when interval widths differ. A correct sum must preserve the pairing between each sample point and its subinterval. Once the partition points, tags, and widths are written clearly, the calculation is a finite sum of explicit products.
Check Your Understanding
For each question, keep the sample values paired with the intervals that produced them.
- For the partition \(0,2,5\) of \([0,5]\), what are the two subinterval widths, and what is their sum?
- For \(f(x)=2x\) on the partition \(0,1,4\), use the right endpoints as tags and compute the tagged Riemann sum.
- A rate is \(3\) units per minute on an interval of \(4\) minutes and \(5\) units per minute on the next interval of \(2\) minutes. Write the sum and state its units.
- Explain why the average width cannot generally replace each \(\Delta x_i\) when sampled values differ.
- If all sampled values equal the constant \(c\), show that the sum is \(c(b-a)\), even when the widths are unequal.