From a Rate Table to an Accumulation Estimate
A rate table records values at selected inputs, but an accumulation depends on the rate throughout an interval. When the rate is known only at sample points, rectangles provide a way to estimate the accumulated change.
Let \(r(t)\) be a rate and fix a starting input \(a\). The accumulation at an endpoint \(x\), with \(x\ge a\), is
The value \(A(x)\) is a signed accumulation: intervals where \(r(t)\) is positive contribute positively, and intervals where it is negative contribute negatively. To estimate it from a table, divide \([a,x]\) into subintervals and approximate the rate on each subinterval by one sampled value.
Left, Right, and Midpoint Sums
Suppose the interval is partitioned at \(a=t_0<t_1<\cdots<t_n=x\). The \(i\)-th subinterval is \([t_{i-1},t_i]\), and its width is \(\Delta t_i=t_i-t_{i-1}\). The three common choices are:
- Left sum: use \(r(t_{i-1})\), the rate at the left endpoint.
- Right sum: use \(r(t_i)\), the rate at the right endpoint.
- Midpoint sum: use \(r\bigl((t_{i-1}+t_i)/2\bigr)\), the rate at the midpoint.
Each rectangle’s signed contribution is its width multiplied by its sampled rate. The width is positive, while the rate may be positive, zero, or negative. Thus a negative rate produces a negative rectangle contribution; it is not replaced by its absolute value.
The midpoint sum can be computed only when the midpoint rate values are available in the table or supplied by other information. Endpoint values alone do not determine the midpoint values.
Why the Rectangle Sum Approximates Accumulation
On a subinterval of width \(\Delta t_i\), imagine replacing the varying rate by the constant sampled value \(c_i\). A constant rate \(c_i\) acting over a width \(\Delta t_i\) contributes \(c_i\Delta t_i\). Adding these contributions over the partition gives the rectangle sum. The approximation comes from treating the rate as nearly constant on each small interval.
This also explains why the signs must be retained. If the rate is negative on part of the interval, that part represents a decrease in the accumulated quantity. Replacing its contribution by a positive area would estimate total amount rather than net accumulation.
Worked Example: Signed Contributions from Endpoint Data
Worked Example: Signed Contributions from Endpoint Data
Suppose a rate \(r(t)\), measured in litres per minute, is sampled at the following times. Estimate the accumulation from \(t=0\) to \(t=3\) minutes using left and right sums.
| \(t\) (minutes) | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| \(r(t)\) (litres per minute) | 3 | 1 | -2 | -1 |
There are three intervals, each of width \(1\) minute. For the left sum, use the rates at \(t=0,1,2\):
The three signed contributions are \(3\), \(1\), and \(-2\) litres. For the right sum, use the rates at \(t=1,2,3\):
The check is to list the chosen endpoint rates again: the left endpoints give \(3,1,-2\), summing to \(2\); the right endpoints give \(1,-2,-1\), summing to \(-2\). Both estimates include negative contributions with their signs intact. The table by itself does not tell us which estimate is closer to the actual accumulation.
When Left and Right Sums Bound the Integral
A left or right sum is not automatically an upper or lower bound. A direction can be guaranteed when the rate is known to be monotone over the interval. Here is the reason for an increasing rate.
For an increasing rate, on each subinterval \([t_{i-1},t_i]\), its values satisfy \(r(t_{i-1})\le r(t)\le r(t_i)\). Integrating these inequalities over that subinterval and adding the results proves the bounds.
and hence, after summing over all subintervals,
For a decreasing rate, \(r(t_{i-1})\ge r(t)\ge r(t_i)\), so the same argument gives \(R\le\int_a^x r(t)\,dt\le L\). These comparisons remain valid even when some or all of the rates are negative.
Worked Example: Bounds for a Decreasing Rate
A rate \(r(t)\), measured in millilitres per hour, is known to be decreasing from \(t=0\) to \(t=6\) hours. The table gives:
| \(t\) (hours) | 0 | 2 | 4 | 6 |
|---|---|---|---|---|
| \(r(t)\) (millilitres per hour) | 8 | 6 | 4 | 2 |
The three widths are \(2\) hours. The left estimate is
The right estimate is
Because the rate is known to be decreasing, the left sum is an upper bound and the right sum is a lower bound:
The direction follows from the stated decreasing behavior, not merely from the four listed values. The arithmetic checks: the left endpoint rates are \(8,6,4\), giving \(36\), and the right endpoint rates are \(6,4,2\), giving \(24\).
Midpoint Estimates and Approximation Direction
A midpoint sum uses a sample from the middle of each subinterval. It can be useful even when the rate is not monotone, but the midpoint value alone does not usually show whether the rectangle lies above or below the graph throughout the interval.
There is a direction guarantee when the rate is known to be convex or concave on each subinterval. A function \(r\) is convex if, for inputs \(u,v\) in its domain and \(0\le\lambda\le1\),
For a convex rate on an interval with midpoint \(m\), symmetry around \(m\) gives \(r(m-s)+r(m+s)\ge2r(m)\). Integrating for \(s\) from \(0\) to half the interval width shows that the integral over the interval is at least the midpoint rectangle. Thus, for a convex rate, the midpoint sum is a lower bound; for a concave rate, the inequality reverses and it is an upper bound. Without such shape information, a midpoint estimate has no guaranteed direction.
Worked Example: Midpoint Rectangles on Unequal Intervals
Suppose a rate \(r(t)\), measured in kilograms per day, is sampled at the midpoints of the intervals \([0,2]\), \([2,5]\), and \([5,6]\):
| Interval (days) | \([0,2]\) | \([2,5]\) | \([5,6]\) |
|---|---|---|---|
| Midpoint (days) | 1 | 3.5 | 5.5 |
| Rate at midpoint (kilograms per day) | 4 | -2 | 3 |
The widths are \(2\), \(3\), and \(1\) day. The midpoint estimate from \(0\) to \(6\) is
The positive midpoint rectangles contribute \(8\) and \(3\) kilograms; the negative rectangle contributes \(-6\) kilograms. The total is \(8-6+3=5\) kilograms, which checks the displayed estimate. Since no convexity or concavity information is given, this value is an estimate but is not guaranteed to be above or below the true accumulation.
What a Table Can—and Cannot—Tell You
A table determines the rectangle sums once the partition and the required sampled values are specified. It does not, by itself, determine the exact accumulation: between sample points, the rate could vary in different ways while keeping the same tabulated values. Nor do increasing or decreasing entries in a table alone prove that the rate is monotone between those entries.
Use a direction claim only when the needed behavior is known on the full intervals. Monotonicity gives left- and right-sum bounds. Convexity or concavity can give a midpoint bound. If none of these conditions is known, report the rectangle result as an estimate without calling it an upper or lower bound.
Common Mistake: Ignoring the Sign or Width
A frequent error is to turn every contribution positive, as if the goal were total accumulated amount rather than net accumulation. For example, the middle midpoint contribution in the last example is
not \(+6\). Replacing it by \(+6\) would give \(8+6+3=17\) kilograms, a different quantity. The correction is to keep the rate’s sign and multiply by the interval width.
Another error is to use the number of intervals as the width. In the midpoint example, the second interval has width \(5-2=3\), not \(1\). Its contribution is \((-2)(3)=-6\), not \(-2\). For unequal partitions, calculate each width separately before summing.
A Reliable Procedure
Read the starting input and the requested upper endpoint, then list the subintervals between them.
For each interval, subtract its left endpoint from its right endpoint.
Use left endpoints, right endpoints, or midpoints as requested; check that the necessary table values are available.
Form each rate-times-width contribution, preserve negative values, and sum the contributions.
Include units and call it a bound only if the relevant monotonicity or shape condition is known.
These estimates connect sampled rate data to variable-limit accumulation: each rectangle represents an approximate signed change over one short interval, and the sum estimates the net change over the full interval.
Check Your Understanding
Use the definitions and conditions in this tutorial to answer the following questions.
- For a right sum, which rate value is used on a subinterval, and how is its contribution calculated?
- A rate is known to be increasing on the full interval. Which endpoint sum is a lower bound, and which is an upper bound?
- Why should a negative rate produce a negative contribution in a net accumulation estimate?
- A table has rate values only at interval endpoints. What additional information is needed to compute a midpoint sum?
- Do increasing entries in a table alone guarantee that the rate is increasing between sample points? Explain.
- What additional shape condition can guarantee that a midpoint sum is a lower bound?