From a Rate Formula to a Rectangle Sum
A rate formula describes how quickly a quantity changes at each input value. To estimate the total change across an interval, divide the interval into smaller pieces, sample the rate once in each piece, and multiply each sampled rate by the piece's width. Adding these products gives a rectangle sum.
The main work in a formula-based problem is often careful bookkeeping: identify the subinterval width, calculate the appropriate sample locations, evaluate the formula at those locations, and include the width in the sum. The same procedure applies whether the samples are at left endpoints, right endpoints, or midpoints.
If \(r(t)\) measures a rate in units of quantity per unit of time, then \(\Delta t\) is measured in units of time. Each product \(r(t)\Delta t\) has units of quantity, as does the resulting sum. A rate formula can also take negative values; the corresponding rectangle contributes a negative product.
Sample Locations on an Equal Partition
Write the partition points as \(x_0,x_1,\ldots,x_n\), where \(x_0=a\) and \(x_n=b\). Because all subintervals have width \(\Delta t\), the partition points are \(x_i=a+i\Delta t\). The \(i\)th subinterval is \([x_{i-1},x_i]\).
Consequently, the left endpoint is \(a+(i-1)\Delta t\), the right endpoint is \(a+i\Delta t\), and the midpoint is halfway between those endpoints. Substituting these locations into \(r\) gives the sample values to use in the sums.
Here \(L_n\), \(R_n\), and \(M_n\) denote the left, right, and midpoint sums, respectively. In each formula, the index \(i\) runs from \(1\) through \(n\), so there is one sample for each subinterval. In particular, a left sum does not sample at \(x_n\), and a right sum does not sample at \(x_0\).
Why the Formulas Have This Form
Each subinterval contributes one rectangle. Its width is \(\Delta t\), and its height is the rate evaluated at the selected sample location. The rectangle's signed area is therefore the sampled rate multiplied by \(\Delta t\). Adding the \(n\) rectangle contributions gives the total estimate.
The sample-location formulas follow directly from the equal spacing. Starting at \(a\), moving \(i\) subinterval widths reaches \(x_i=a+i\Delta t\). The left endpoint of subinterval \(i\) is the preceding point \(x_{i-1}\). Its midpoint is the average of \(x_{i-1}\) and \(x_i\):
Thus the three formulas use the same interval widths and differ only in which point supplies each rectangle's height.
A Reliable Calculation Process
For an interval \([a,b]\) split into \(n\) equal pieces, calculate \(\Delta t=(b-a)/n\).
Use left endpoints, right endpoints, or midpoints as requested. Listing the locations before substituting helps prevent index errors.
Substitute each location into \(r(t)\), keeping exact values where possible.
Multiply every sampled rate by \(\Delta t\), then add the \(n\) contributions. Check that the units are quantity, not quantity per unit of time.
Worked Calculations
Worked Example: All Three Sums for a Linear Rate
A rate is \(r(t)=2t+1\) liters per minute on the interval \([0,4]\). Divide the interval into \(n=4\) equal subintervals. Find the left, right, and midpoint sums.
Step 1: Find the width. The interval length is \(4-0=4\) minutes, so
Left sum. The four left sample locations are \(0,1,2,3\). Evaluating the rate gives \(r(0)=2(0)+1=1\), \(r(1)=2(1)+1=3\), \(r(2)=2(2)+1=5\), and \(r(3)=2(3)+1=7\), in liters per minute. Therefore,
Check: the four rectangle contributions are \(1,3,5,7\) liters, and \(1+3+5+7=16\) liters.
Right sum. The right sample locations are \(1,2,3,4\). The corresponding values are \(r(1)=3\), \(r(2)=5\), \(r(3)=7\), and \(r(4)=9\), in liters per minute. Thus
Check: \(3+5+7+9=24\), so the four width-one contributions total \(24\) liters.
Midpoint sum. The midpoint locations are \(0.5,1.5,2.5,3.5\). Substitution gives \(r(0.5)=2\), \(r(1.5)=4\), \(r(2.5)=6\), and \(r(3.5)=8\), in liters per minute. Hence
Check: the midpoint rate values add to \(2+4+6+8=20\), and multiplying by the one-minute width leaves \(20\) liters.
Worked Example: Include a Width Greater Than One
Let \(r(t)=t^2+1\) be a rate in gallons per hour on \([0,4]\), with \(n=2\) equal subintervals. Calculate all three sums.
Width and partition. The width is
The partition points are \(0,2,4\), so the subintervals are \([0,2]\) and \([2,4]\).
Left sum. The left locations are \(0\) and \(2\). The rate values are \(r(0)=0^2+1=1\) and \(r(2)=2^2+1=5\), in gallons per hour. Multiply their sum by the two-hour width:
Check: the contributions are \(2(1)=2\) gallons and \(2(5)=10\) gallons; \(2+10=12\) gallons.
Right sum. The right locations are \(2\) and \(4\). Their rate values are \(r(2)=5\) and \(r(4)=4^2+1=17\), in gallons per hour. Thus
Check: \(2(5)=10\) gallons and \(2(17)=34\) gallons, and \(10+34=44\) gallons.
Midpoint sum. The midpoints of \([0,2]\) and \([2,4]\) are \(1\) and \(3\). Substitution gives \(r(1)=1^2+1=2\) and \(r(3)=3^2+1=10\), in gallons per hour. Therefore
Check: the two contributions are \(2(2)=4\) gallons and \(2(10)=20\) gallons; their sum is \(24\) gallons. The width factor \(2\) is essential because each rectangle spans two hours.
Worked Example: Substituting Fractional Midpoints
Suppose \(r(t)=\dfrac{12}{t+1}\) liters per minute on \([0,3]\), divided into \(n=3\) equal subintervals. Find the three sums. The interval width is
Left sum. The locations are \(0,1,2\). The rate values are \(r(0)=12/(0+1)=12\), \(r(1)=12/(1+1)=6\), and \(r(2)=12/(2+1)=4\), in liters per minute. Therefore
Check: \(12+6+4=22\), and each contribution is over one minute.
Right sum. The locations are \(1,2,3\). The values are \(r(1)=6\), \(r(2)=4\), and \(r(3)=12/4=3\), in liters per minute. Hence
Check: \(6+4+3=13\) liters for the three width-one rectangles.
Midpoint sum. The subintervals are \([0,1]\), \([1,2]\), and \([2,3]\), so their midpoints are \(1/2,3/2,5/2\). The rate values are
All three values are in liters per minute. Therefore,
Check: \(280+168+120=568\), so the common-denominator sum is \(568/35\). The width is one minute, so the result is in liters.
A Common Indexing Mistake
A midpoint is not the right endpoint of the subinterval. For example, on \([1,3]\) with \(n=2\), the width is \((3-1)/2=1\), and the subintervals are \([1,2]\) and \([2,3]\). Using the right endpoints \(2\) and \(3\) as if they were midpoints for \(r(t)=t^2+1\) gives
That is the right sum, not the midpoint sum. The actual midpoint locations are \(1.5\) and \(2.5\), found by taking the average of each pair of endpoints. Their rate values are \(r(1.5)=1.5^2+1=13/4\) and \(r(2.5)=2.5^2+1=29/4\). Thus the midpoint sum is
The correction is to calculate the requested locations before evaluating the formula. A location error changes which rate values are used, even if every substitution and addition afterward is correct.
What to Keep Track Of
For every rate-formula problem, distinguish three ingredients: the width, the sample locations, and the rate values. The width comes from the interval and the number of equal subintervals. The chosen sum determines the locations. The given formula determines the values at those locations.
Finally, multiply the rate values by the width before interpreting the result. A sum of rate values alone still has rate units; multiplying by time converts each rectangle contribution to units of accumulated quantity. These steps turn the formula into a definite, checkable finite calculation.
Check Your Understanding
For each question, write down the sample locations before evaluating any rate values.
- On \([2,8]\), divide into three equal subintervals. What are the width and the left, right, and midpoint sample locations?
- For \(r(t)=3t-2\) on \([0,2]\) with \(n=2\), calculate the left sum, including the width factor.
- For \(r(t)=t^2\) on \([1,5]\) with \(n=2\), list the midpoint locations and evaluate the rate at each.
- If a rate is measured in liters per minute and the subinterval width is measured in minutes, what units does each rectangle contribution have?
- On \([0,4]\) with \(n=4\), which sample locations belong to the midpoint sum, and why are the interval endpoints not among them?