Tutorials › Calculus I › Constructing Midpoint Sums

Accumulation from Sums · Tutorial 912 of 1495

Constructing Midpoint Sums

You will build midpoint estimates from formulas or rate data, including partitions with unequal widths, and interpret the units and signs of the result.

Beginner 10 min read

What You'll Learn

  • Identify the midpoint and width of each subinterval in a partition.
  • Construct a midpoint sum for equal- or unequal-width subintervals.
  • Use rate samples and widths to estimate accumulated change.
  • Keep track of units and interpret positive and negative contributions.
  • Check calculations by verifying each sampled rate, width, and product.

Why Sample at the Midpoints?

A rate describes how quickly a quantity changes. If the rate varies over an interval, knowing its value at just one point does not tell us the exact change across the whole interval. A practical estimate is to use a sampled rate as a representative rate for a short subinterval, multiply by the subinterval’s width, and add the estimated changes.

A midpoint sum follows this plan, with one specific choice: on each subinterval, sample the rate at the point halfway between its endpoints. The method works for equal-width and unequal-width partitions. The width of each subinterval must be matched with the rate sampled at that subinterval’s midpoint.

Definition of a Midpoint Sum

Partition an interval from \(a\) to \(b\) using increasing endpoints \(x_0,x_1,\ldots,x_n\), where \(x_0=a\) and \(x_n=b\). The \(i\)th subinterval is \([x_{i-1},x_i]\). Its width is \(x_i-x_{i-1}\), and its midpoint is halfway between its endpoints.

Definition: For a function \(f\) defined at the midpoint of every subinterval, the midpoint sum for this partition is
$$ M=\sum_{i=1}^{n} f(m_i)(x_i-x_{i-1}), \qquad m_i=\frac{x_{i-1}+x_i}{2}. $$

Here, \(m_i\) is the midpoint of the \(i\)th subinterval, and \(x_i-x_{i-1}\) is its width. Each term \(f(m_i)(x_i-x_{i-1})\) is one estimated contribution. The sum \(M\) is the total of those contributions.

If \(f\) is a rate, the product of a rate and a time width estimates the change in the quantity over that time interval. For example, a rate in metres per second multiplied by a time width in seconds gives an estimated change in metres. The units of the total are therefore the units of the accumulated quantity.

How to Build the Sum

Work through the subintervals one at a time. For each one, find its width and midpoint, evaluate the rate at that midpoint, and multiply the two values. Add the resulting products, retaining any negative signs. A midpoint sum can be written out term by term before being compressed into sigma notation.

1
List the subintervals.
Record their endpoints in increasing order, including any unequal widths.
2
Find each midpoint and width.
For \([x_{i-1},x_i]\), use \(m_i=(x_{i-1}+x_i)/2\) and \(\Delta x_i=x_i-x_{i-1}\).
3
Evaluate and multiply.
Find \(f(m_i)\), then calculate \(f(m_i)\Delta x_i\) for that same subinterval.
4
Add the contributions.
Sum all products, keeping their signs and stating the units when the quantities have units.

Worked Examples

Worked Example: A Formula on Unequal Subintervals

Estimate the accumulation of the rate \(f(t)=t^2+2\) from \(t=0\) to \(t=4\), using the partition with endpoints \(0,1,3,4\).

The subintervals are \([0,1]\), \([1,3]\), and \([3,4]\). Their widths are \(1-0=1\), \(3-1=2\), and \(4-3=1\).

Their midpoints are \((0+1)/2=0.5\), \((1+3)/2=2\), and \((3+4)/2=3.5\). Evaluate the rate at each midpoint:

$$ f(0.5)=0.5^2+2=0.25+2=2.25, \qquad f(2)=2^2+2=4+2=6, \qquad f(3.5)=3.5^2+2=12.25+2=14.25. $$

Multiply each sampled rate by the width of its own subinterval. The midpoint sum is

$$ M=2.25(1)+6(2)+14.25(1) =2.25+12+14.25 =28.5. $$

Check: The three contributions are \(2.25\), \(12\), and \(14.25\); adding them gives \(28.5\). In particular, the middle rate is multiplied by width \(2\), not width \(1\). This estimate uses unequal widths and is expressed in rate-units multiplied by \(t\)-units.

Worked Example: Estimating Distance from Speed Samples

A vehicle’s speed is sampled at the midpoint of each of three time intervals. The intervals are \([0,2]\), \([2,5]\), and \([5,7]\) seconds. The sampled speeds are \(12\), \(10\), and \(14\) metres per second, respectively. Construct the midpoint estimate of the distance travelled.

The widths are \(2-0=2\) seconds, \(5-2=3\) seconds, and \(7-5=2\) seconds. Each sampled speed is already given at the corresponding interval’s midpoint, so multiply each speed by its matching width:

$$ M=12(2)+10(3)+14(2) =24+30+28 =82\text{ metres}. $$

Check: The contributions are \(24\), \(30\), and \(28\) metres, since \((\text{metres per second})(\text{seconds})=\text{metres}\). Their sum is \(24+30+28=82\) metres. The three widths add to \(2+3+2=7\) seconds, matching the full time interval from \(0\) to \(7\).

Worked Example: Keeping a Negative Rate Contribution

Estimate the net accumulation of \(f(t)=1-t\) from \(t=0\) to \(t=3\), using the partition with endpoints \(0,1,3\).

The subintervals are \([0,1]\) and \([1,3]\), with widths \(1-0=1\) and \(3-1=2\). Their midpoints are \((0+1)/2=0.5\) and \((1+3)/2=2\). The sampled rates are

$$ f(0.5)=1-0.5=0.5, \qquad f(2)=1-2=-1. $$

Now multiply each rate by its matching width and add the signed contributions:

$$ M=0.5(1)+(-1)(2) =0.5-2 =-1.5. $$

Check: The first contribution is \(0.5\), and the second is \(-2\); together they give \(-1.5\). The negative sign is retained because the sampled rate on the second subinterval is negative. The result estimates net accumulation, not total change without regard to direction.

Why the Products Are Added

The construction follows from the meaning of a rate. If a rate were constant at value \(c\) throughout a subinterval of width \(\Delta x\), its change over that subinterval would be \(c\Delta x\). When a rate varies, a midpoint sum uses the sampled value \(f(m_i)\) as an estimate of a representative rate on the \(i\)th subinterval. The estimated change there is consequently \(f(m_i)\Delta x_i\).

Derivation: Estimate the change on subinterval \(i\) by replacing its varying rate with the constant value \(f(m_i)\). The estimated change on that subinterval is therefore \(f(m_i)(x_i-x_{i-1})\). Because the subintervals together cover the full interval without gaps or overlap, the estimated total change is the sum of their estimated changes:
$$ \text{estimated total change} = \sum_{i=1}^{n}\text{estimated change on subinterval }i = \sum_{i=1}^{n}f(m_i)(x_i-x_{i-1}). $$

This justifies the midpoint-sum formula. It does not guarantee that the estimate equals the actual accumulated change: within a subinterval, the rate may differ from its midpoint value. Shorter subintervals can give more detailed sampling, but the sum remains an estimate unless additional information establishes exactness.

A Common Midpoint-Sum Error

A frequent mistake is to calculate a midpoint correctly but multiply its rate by the wrong width. In the first worked example, the midpoint of \([1,3]\) is \(2\), and \(f(2)=6\). The interval’s width is \(3-1=2\), so its contribution is \(6(2)=12\).

An incorrect calculation might use \(6(1)=6\), perhaps because the other subintervals each have width \(1\). That substitutes a width belonging to a different interval. The correction is to pair each midpoint rate with the width of the subinterval whose midpoint it is:

$$ [1,3]:\qquad f(2)(3-1)=6(2)=12. $$

Another error is to multiply by the midpoint itself rather than the subinterval width. The midpoint determines where to sample; the width determines how long that sampled rate is used in the estimate. These are different roles. For \([1,3]\), the sample location is \(2\), while the width is \(2\); they happen to have the same numerical value here, but that coincidence does not make them interchangeable. On \([0,1]\), for instance, the midpoint is \(0.5\), while the width is \(1\).

Interpreting and Checking a Midpoint Sum

Before accepting a result, check the construction rather than only the final arithmetic. Each subinterval should appear once; each midpoint should lie halfway between its endpoints; each width should be the right endpoint minus the left endpoint; and each sampled rate must be multiplied by the width from that same subinterval. If the rate can be negative, preserve its sign when forming the product.

Units provide a useful independent check. A rate in litres per minute multiplied by a width in minutes contributes litres. If the products do not have the units of the accumulated quantity, either the rate units or the interval-width units have been mishandled. For signed rates, the resulting sum represents an estimate of net change, consistent with the distinction between net change and total change.

Midpoint sums are useful whenever information about a changing rate is available at representative times or positions. They turn a collection of local rate samples into one estimate of overall accumulation. The essential discipline is to keep three items paired for every subinterval: its midpoint, its width, and the rate evaluated at that midpoint.

Check Your Understanding

For each question, identify the sample location and width separately before calculating a contribution.

  1. For the subinterval \([2,6]\), what are its midpoint and width?
  2. A rate is \(5\) units per second at the midpoint of a \(3\)-second subinterval. What contribution does this subinterval make to a midpoint sum, and what are its units?
  3. For \(f(t)=t+1\) on the partition with endpoints \(0,2,5\), write the midpoint sum without simplifying it.
  4. Why must a negative sampled rate produce a negative contribution when the subinterval width is positive?
  5. Describe one check that can reveal whether a rate has been multiplied by the wrong subinterval width.

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