Tutorials › Calculus I › Constructing Right-Endpoint Sums

Accumulation from Sums · Tutorial 911 of 1495

Constructing Right-Endpoint Sums

Build a right-endpoint estimate by matching each subinterval’s width with the rate sampled at its right boundary.

Beginner 10 min read

What You'll Learn

  • Identify the right endpoint of each subinterval in a partition
  • Match each right-endpoint rate value with its corresponding width
  • Write a right-endpoint sum using consistent indices
  • Interpret the units and signed meaning of the sum
  • Check a sum for endpoint and arithmetic errors

From Endpoint Samples to an Accumulation Estimate

When a rate varies over time, knowing a few of its values does not usually tell us the exact accumulated change. We can still build an estimate by dividing the time interval into smaller pieces, sampling the rate at a chosen location in each piece, and multiplying that sampled rate by the piece’s duration.

This tutorial focuses on the choice of sampling location at the right endpoint of each subinterval. The essential bookkeeping is to match each sampled rate with the width of the subinterval that ends at that sample. A mismatch between the sample and the width changes the calculation.

Partitions and Right Endpoints

A partition of an interval \([a,b]\) is a finite increasing list of points that includes its endpoints:

$$ a=x_0<x_1<x_2<\cdots<x_n=b. $$

The partition creates \(n\) subintervals. The \(i\)-th subinterval runs from \(x_{i-1}\) to \(x_i\), so its width is

$$ \Delta x_i=x_i-x_{i-1},\qquad i=1,2,\ldots,n. $$

Because the partition points are strictly increasing, every width is positive. The right endpoint of the \(i\)-th subinterval is \(x_i\), not \(x_{i-1}\). If a rate is represented by a function \(r\), the right-endpoint sample on that subinterval is therefore \(r(x_i)\).

Definition: Given a partition \(a=x_0<x_1<\cdots<x_n=b\) and a rate function \(r\) defined at the right endpoints, the right-endpoint sum is $$ \sum_{i=1}^{n} r(x_i)\,\Delta x_i = \sum_{i=1}^{n} r(x_i)(x_i-x_{i-1}). $$ Each term uses the rate at the right endpoint \(x_i\) multiplied by the width of the subinterval ending there.

The index is important. The \(i\)-th width is \(x_i-x_{i-1}\), and the right-endpoint rate that belongs with it is \(r(x_i)\). The same pairing applies whether the partition has equal or unequal widths.

Why the Product Uses Rate Times Width

A rate describes change per unit of the input variable. If \(r\) is measured in liters per minute and a subinterval lasts \(\Delta t_i\) minutes, then a rate value multiplied by that duration has units of liters. More generally, a rate sampled on a subinterval gives a simple estimate of the change over that subinterval when multiplied by its width.

For the right-endpoint construction, we use the sampled value \(r(x_i)\) as a representative rate on the subinterval from \(x_{i-1}\) to \(x_i\). The estimated contribution from that subinterval is \(r(x_i)\Delta x_i\). Adding these contributions gives an estimate over the whole partition.

$$ \text{estimated contribution on subinterval }i = r(x_i)(x_i-x_{i-1}). $$

The subintervals cover \([a,b]\) without gaps and have disjoint interiors. Adjacent closed subintervals share their boundary point: for instance, \([x_0,x_1]\) and \([x_1,x_2]\) both contain \(x_1\). That shared point does not represent a duration or width, so it is not counted twice in the sum of the subinterval contributions.

Why the construction works: On each subinterval, replace the varying rate by its right-endpoint sample \(r(x_i)\). Multiplying that constant representative rate by the subinterval width estimates the change there. Since the subintervals cover the full interval and meet only at their boundaries, adding their estimated changes gives the right-endpoint estimate for the full interval.

This explains how to construct the estimate; it does not claim that the estimate is exact. The sampled rate may differ from the rate at other points in the same subinterval. The right-endpoint sum is built from the information specified by the partition and its right-endpoint samples.

A Reliable Construction Process

1
Write the partition in order.
List \(x_0,x_1,\ldots,x_n\) from the start of the interval to the end.
2
Find each width.
For subinterval \(i\), calculate \(\Delta x_i=x_i-x_{i-1}\).
3
Choose the right-endpoint sample.
Use the rate at \(x_i\), the endpoint on the right of subinterval \(i\).
4
Multiply and add.
Form \(r(x_i)\Delta x_i\) for each subinterval and add all \(n\) terms.
5
Check meaning and units.
Confirm that each term has the units of the accumulated quantity and that negative rates contribute negative terms.

Worked Examples

Worked Example: Estimating a Flow Accumulation

Water flows into a tank over the time interval from \(t=0\) to \(t=6\) minutes. Use the partition \(0,1,4,6\) and the flow rates at the right endpoints shown below to construct a right-endpoint estimate.

Right endpoint \(t_i\) (min)Flow rate \(q(t_i)\) (L/min)
12
43.5
61.5

The subintervals are \([0,1]\), \([1,4]\), and \([4,6]\). Their widths are

$$ \Delta t_1=1-0=1,\qquad \Delta t_2=4-1=3,\qquad \Delta t_3=6-4=2\text{ minutes}. $$

Pair each width with the flow rate at the subinterval’s right endpoint:

$$ R =2(1)+3.5(3)+1.5(2) =2+10.5+3 =15.5\text{ L}. $$

The estimated accumulation is \(15.5\) liters. Check the products and units: \(2\text{ L/min}\cdot1\text{ min}=2\text{ L}\), \(3.5\text{ L/min}\cdot3\text{ min}=10.5\text{ L}\), and \(1.5\text{ L/min}\cdot2\text{ min}=3\text{ L}\). Their sum is \(2+10.5+3=15.5\text{ L}\), as stated.

Worked Example: Displacement from Signed Velocity Samples

A moving object has velocity samples \(v(2)=6\) meters per second and \(v(5)=-1\) meter per second. Use the partition \(0,2,5\) to estimate its displacement from \(t=0\) to \(t=5\) seconds with a right-endpoint sum.

There are two subintervals. The first has width \(2-0=2\) seconds and right endpoint \(2\); the second has width \(5-2=3\) seconds and right endpoint \(5\). Thus,

$$ R =v(2)(2-0)+v(5)(5-2) =6(2)+(-1)(3) =12-3 =9\text{ m}. $$

The estimate is \(9\) meters of displacement. The negative velocity on the second subinterval produces a negative contribution, as required for signed change. Check the units and arithmetic: \((6\text{ m/s})(2\text{ s})=12\text{ m}\) and \((-1\text{ m/s})(3\text{ s})=-3\text{ m}\), so \(12+(-3)=9\text{ m}\).

Worked Example: Using an Unequal Partition for Production

A machine’s production rate is recorded at times \(t=3,7,8\) hours. Use the interval from \(t=2\) to \(t=8\), partitioned as \(2,3,7,8\). Suppose the recorded rates at those right endpoints are \(4\), \(2\), and \(5\) items per hour, respectively.

First determine the three widths:

$$ \Delta t_1=3-2=1,\qquad \Delta t_2=7-3=4,\qquad \Delta t_3=8-7=1\text{ hour}. $$

The right-endpoint samples are \(4\) items per hour at \(t=3\), \(2\) items per hour at \(t=7\), and \(5\) items per hour at \(t=8\). The estimate is

$$ R =4(1)+2(4)+5(1) =4+8+5 =17\text{ items}. $$

The estimate is \(17\) items. To check, the three contributions are \(4\) items, \(8\) items, and \(5\) items; \(4+8+5=17\). Each rate in items per hour was multiplied by a width in hours, leaving items.

A Common Indexing Mistake

A frequent error is to use the right endpoint for one subinterval but multiply it by the width of a neighboring subinterval. Consider the partition \(0,2,5\), with rates \(r(0)=1\), \(r(2)=3\), and \(r(5)=7\). The first width is \(2-0=2\), and its right-endpoint sample is \(r(2)=3\). The second width is \(5-2=3\), and its right-endpoint sample is \(r(5)=7\).

The right-endpoint sum is therefore

$$ R=3(2)+7(3)=6+21=27. $$

A wrong calculation would be \(3(3)+7(2)=9+14=23\). Although it uses both right-endpoint rates, it pairs each with the other subinterval’s width. The correction is to keep the endpoint and width together: \(r(2)\) goes with \(2-0\), and \(r(5)\) goes with \(5-2\). Checking each term against its own subinterval catches this error.

What to Check Before Finishing

Before accepting a right-endpoint sum, check the construction rather than only the final arithmetic.

  • Does the partition begin at \(a\), end at \(b\), and list all points in increasing order?
  • For each subinterval, is the width calculated as right boundary minus left boundary?
  • Is the sample taken at the boundary on the right of that same subinterval?
  • Do the units of rate multiplied by width produce the units of accumulation?
  • If a rate is negative, does its contribution retain the negative sign?

A right-endpoint sum is a finite estimate assembled from one sampled rate and one width per subinterval. Its defining feature is the consistent pairing \(r(x_i)\) with \(x_i-x_{i-1}\). Once that pairing is clear, the construction works for equal or unequal partitions, positive or signed rates, and many kinds of accumulated quantities.

Check Your Understanding

For each question, identify the subintervals and match every right-endpoint sample with its corresponding width before calculating.

  1. For the partition \(1,3,6\), write the widths of the two subintervals and identify their right endpoints.
  2. A rate has values \(r(2)=4\) and \(r(5)=1\). For the partition \(0,2,5\), write the right-endpoint sum without simplifying it.
  3. If a rate is measured in kilograms per minute and the width is measured in minutes, what are the units of their product?
  4. For a signed rate, explain why a negative sampled value contributes a negative term to the right-endpoint sum.
  5. In the partition \(0,1,4\), which width must be paired with the sample at \(t=4\)?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon