Linear Rates Produce Arithmetic Sequences
A rate that changes linearly has equally spaced values whenever it is sampled at equally spaced times. That pattern is useful: instead of adding every rectangle height separately, we can add the heights as an arithmetic sequence. Multiplying their sum by the common rectangle width then gives the rectangle total.
For example, if a rate increases by the same amount at each successive sample, the list of sampled rates has a constant difference between consecutive terms. This is precisely an arithmetic sequence. The same idea applies when the rate decreases at a constant amount.
In this tutorial, we use equal-width subintervals on a time interval from \(0\) to \(T\). For \(n\) subintervals, the width of each rectangle is \(\Delta t=T/n\). A left sum uses the rate at each subinterval’s left endpoint; a right sum uses the rate at each right endpoint; a midpoint sum uses the rate at each subinterval’s midpoint. Each rectangle contributes its sampled rate multiplied by \(\Delta t\).
When the rate has units such as litres per minute and time has units of minutes, each rectangle contribution has units of litres. Keep the width in the calculation: adding rates alone does not give an accumulated quantity.
Why the Arithmetic-Sequence Formula Works
Suppose \(n\) terms form an arithmetic sequence. Write their sum in forward order, then write the same sum in reverse order. Each pair of terms in corresponding positions adds to the same value, namely the first term plus the last term. Adding the two written sums therefore gives \(n\) copies of that value. The two sums are equal, so twice the sum is \(n(u_1+u_n)\).
This argument works because the terms are equally spaced: for an arithmetic sequence, terms equally far from opposite ends have the same sum. In particular, it applies to the sampled values of a linear rate on an equally spaced time grid.
Setting Up the Three Sample Lists
Let a linear rate be \(r(t)=c+mt\) on the interval from \(0\) to \(T\). Here \(c\) is the rate at time zero and \(m\) is the constant rate of change. The equal subinterval width is \(\Delta t=T/n\).
The left sample times are \(0,\Delta t,\ldots,(n-1)\Delta t\). The right sample times are \(\Delta t,2\Delta t,\ldots,n\Delta t\). The midpoint sample times are \(\Delta t/2,3\Delta t/2,\ldots,(n-1/2)\Delta t\). Substituting these times into \(r(t)\) gives the corresponding rate lists.
For the left list, the first rate is \(c\) and the last is \(c+m(n-1)\Delta t\). For the right list, the first rate is \(c+m\Delta t\) and the last is \(c+mn\Delta t\). Each list is arithmetic, so the formula above gives its sum. For midpoint samples, it is convenient to add the equally spaced sample times: their average is \(T/2\), so their sum is \(nT/2\). The rate sum is therefore \(nc+mnT/2\).
Using \(\Delta t=T/n\), these expressions can also be written as:
These formulas are a compact way to compare the three calculations for this particular setup: a linear rate on \([0,T]\) divided into \(n\) equal subintervals. The examples below also show how to calculate directly from the sample lists, which helps keep the indexing and units visible.
Worked Examples
Worked Example: Rising Rate on Four Equal Subintervals
A flow rate is \(r(t)=4+3t\) litres per minute, where \(t\) is measured in minutes. Estimate the accumulated volume from \(t=0\) to \(t=4\) using four subintervals and left, right, and midpoint samples.
The width is \(\Delta t=(4-0)/4=1\) minute. The left times are \(0,1,2,3\), giving rates \(4,7,10,13\) litres per minute. Thus:
The right times are \(1,2,3,4\), giving rates \(7,10,13,16\) litres per minute. Thus:
The midpoint times are \(0.5,1.5,2.5,3.5\), giving rates \(5.5,8.5,11.5,14.5\) litres per minute. Thus:
Check the arithmetic sums using the first-and-last formula: the left sum is \(4(4+13)/2=34\), the right sum is \(4(7+16)/2=46\), and the midpoint sum is \(4(5.5+14.5)/2=40\). These match the direct additions. Since the width is one minute, the numerical totals are the same as the rate sums, with the units converted to litres.
Worked Example: Falling Rate on Three Equal Subintervals
A tank drains at a rate \(r(t)=20-2t\) litres per minute over the first six minutes. Calculate the left, right, and midpoint rectangle totals using three equal subintervals.
The width is \(\Delta t=6/3=2\) minutes. Left sample times are \(0,2,4\), and the rates are \(20,16,12\) litres per minute:
Right sample times are \(2,4,6\), and the rates are \(16,12,8\) litres per minute:
Midpoint sample times are \(1,3,5\), and the rates are \(18,14,10\) litres per minute:
Check the rate sums with the arithmetic-sequence formula. They are \(3(20+12)/2=48\), \(3(16+8)/2=36\), and \(3(18+10)/2=42\), respectively. Multiplying each by the two-minute width reproduces \(96\), \(72\), and \(84\) litres.
Worked Example: A Non-Integer Subinterval Width
A process has rate \(r(t)=2+t\) units per hour on the interval from \(0\) to \(3\) hours. Use four equal subintervals to calculate all three rectangle totals.
The width is \(\Delta t=3/4=0.75\) hours. The left sample times are \(0,0.75,1.5,2.25\), so the rates are \(2,2.75,3.5,4.25\) units per hour. Their sum is \(12.5\), and therefore:
The right sample times are \(0.75,1.5,2.25,3\), giving rates \(2.75,3.5,4.25,5\). Their sum is \(15.5\), and therefore:
The midpoint times are \(0.375,1.125,1.875,2.625\), giving rates \(2.375,3.125,3.875,4.625\). Their sum is \(14\), and therefore:
For a check, the arithmetic-sequence formula gives left sum \(4(2+4.25)/2=12.5\), right sum \(4(2.75+5)/2=15.5\), and midpoint sum \(4(2.375+4.625)/2=14\). Multiplication by \(0.75\) gives the displayed totals, with rate-times-time units simplifying to the accumulated units.
Comparing the Totals
The examples show the practical comparison: list the sample times, evaluate the rate at those times, add the resulting arithmetic sequence, and multiply by the width. For a rising rate in the first example, the three totals were \(34\), \(40\), and \(46\) litres. For the falling rate in the second, they were \(96\), \(84\), and \(72\) litres. The direction of change affects which endpoint list begins with the larger sampled rate; the arithmetic calculation itself is unchanged.
There is also a direct relationship between the three formulas for a linear rate. From the expressions above, the midpoint total is the average of the left and right totals:
This algebraic comparison is useful even when you are calculating the sums directly. It provides a check: for the same interval, linear rate, and number of equal subintervals, the midpoint total should equal the average of the left and right totals. It does not replace checking the sample values and widths in an individual problem.
A Common Arithmetic Mistake
A frequent error is to multiply the sum of the first and last terms by the number of terms without dividing by two. For the left rates \(4,7,10,13\) in the first example, that incorrect calculation would be:
But \(68\) is twice the correct rate sum, not the rate sum itself. The correct calculation is \(4(4+13)/2=34\), so the rectangle total is \(1(34)=34\) litres. A second common error is to stop at the rate sum and forget to multiply by \(\Delta t\). That shortcut gives the correct numerical total only when the width happens to be one in the chosen time units.
Check Your Understanding
Use the arithmetic-sequence formula where it is helpful, and include the subinterval width in each rectangle total.
- For \(r(t)=3+2t\) on \(0\le t\le 4\), calculate the left total using four equal subintervals.
- For the same rate and partition, calculate the right total and midpoint total.
- A rate decreases linearly and its left-sample rates are \(15,12,9,6\) units per minute. If the width is \(0.5\) minutes, what is the left rectangle total?
- Explain why the midpoint total for a linear rate on an equal-width partition is the average of the left and right totals.
- What units result when rates in kilograms per hour are multiplied by widths in hours?