Tutorials › Calculus I › Comparing Partitions with the Same Samples

Accumulation from Sums · Tutorial 929 of 1495

Comparing Partitions with the Same Samples

Learn to compare accumulation estimates by tracking both the rate sampled on each interval and that interval’s width.

Beginner 9 min read

What You'll Learn

  • Write a rectangle-sum estimate as a sum of sampled rates multiplied by their interval widths.
  • Compare two partitions that use the same sample locations but assign them different widths.
  • Explain why a constant rate gives the same estimate whenever the total interval is unchanged.
  • Identify when changing sample locations can affect an estimate even if the widths stay fixed.
  • Avoid comparing sample values alone when interval widths differ.

Why Sample Locations Alone Do Not Determine an Estimate

A rectangle estimate combines two kinds of information. The sample location tells us which rate value to use, while the interval width tells us how long that rate is counted for. If two estimates use the same sample locations but assign different widths to them, they can give different totals.

This matters whenever a rate varies over time or across another input. A high rate applied across a wide interval contributes more to the estimate than that same rate applied across a narrow interval. Comparing only the sampled rates leaves out part of the calculation.

Writing an Estimate with Its Widths

Suppose an interval from \(a\) to \(b\) is divided into consecutive subintervals. Let the width of subinterval \(i\) be \(w_i\), and let \(c_i\) be the sample location used for that subinterval. The rectangle estimate is found by multiplying each sampled rate by its own width, then adding the products.

$$ S=f(c_1)w_1+f(c_2)w_2+\cdots+f(c_n)w_n. $$

Each width is the right endpoint minus the left endpoint of its subinterval. The widths together cover the whole interval, so \(w_1+w_2+\cdots+w_n=b-a\). If \(f\) is a rate measured in quantity per unit of input, multiplying \(f(c_i)\) by \(w_i\) gives an estimated quantity. The units of the width therefore matter as much as the sampled rate values.

Key idea: A rectangle estimate is a weighted sum. The sampled rates are the values being combined, and the subinterval widths are their weights.

Same Samples, Different Widths

When two estimates use the same sample locations, the rate values at those locations are the same. However, each rate value may be multiplied by a different width. To compare the estimates, list the sample points in order and keep track of the width attached to each one.

For two partitions with the same ordered sample locations \(c_1,\ldots,c_n\), write their widths as \(w_1,\ldots,w_n\) and \(v_1,\ldots,v_n\). Their estimates are

$$ S_1=f(c_1)w_1+\cdots+f(c_n)w_n, \qquad S_2=f(c_1)v_1+\cdots+f(c_n)v_n. $$

Subtracting the second expression from the first gives a direct comparison. The sampled rates stay the same, while the differences in widths determine how the terms change.

$$ S_1-S_2 = f(c_1)(w_1-v_1)+\cdots+f(c_n)(w_n-v_n). $$

This identity is useful because it shows exactly where a difference between the estimates comes from. An interval whose width increases contributes more of its sampled rate; an interval whose width decreases contributes less. The changes can offset one another, so different widths do not guarantee different estimates. Their effects depend on the rates attached to them.

Worked Example: Same Samples, Different Widths

Worked Example: Same Samples, Different Widths

Consider \(f(x)=x^2\) on the interval from \(0\) to \(4\). Both estimates use the sample locations \(0.5\), \(2\), and \(3.5\). In the first partition, the subintervals are \([0,1]\), \([1,3]\), and \([3,4]\), with widths \(1\), \(2\), and \(1\). Each sample lies in its corresponding subinterval.

The sampled rates are

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

Weight each sampled rate by its interval width:

$$ S_1 =0.25(1)+4(2)+12.25(1) =0.25+8+12.25 =20.5. $$

For the second partition, use \([0,1.5]\), \([1.5,2.5]\), and \([2.5,4]\). The same three samples lie in the corresponding subintervals, but the widths are now \(1.5\), \(1\), and \(1.5\). Thus

$$ S_2 =0.25(1.5)+4(1)+12.25(1.5) =0.375+4+18.375 =22.75. $$

The estimates differ by \(22.75-20.5=2.25\), even though the sample locations and sampled rates are unchanged. The first and third sampled rates receive more weight in the second partition; the middle sampled rate receives less. The increased contributions outweigh the decrease. Both sets of widths total \(4\), as required to cover the same interval.

Why a Constant Rate Is a Special Case

If the rate is constant, the location of a sample does not change the value being multiplied by a width. Suppose \(f(x)=k\) at every sample location. Then an estimate over a fixed interval is \(k\) times the sum of its widths. Since the widths cover the whole interval, that sum is \(b-a\). Therefore every such estimate has the same value \(k(b-a)\), even if the widths differ.

Result: For a constant rate \(k\), any rectangle estimate over the same interval \([a,b]\) equals \(k(b-a)\), provided its subintervals cover that interval without gaps or overlap.

The reason is not that the individual widths are equal; they need not be. It is that every width is multiplied by the same rate, so only their total matters.

Worked Example: Different Widths at a Constant Rate

Take a constant rate \(f(x)=7\) over the interval from \(2\) to \(8\). One partition has subintervals \([2,3]\), \([3,5]\), and \([5,8]\), with widths \(1\), \(2\), and \(3\). Use sample locations \(2.5\), \(4.5\), and \(6.5\). Its estimate is

$$ S_1=7(1)+7(2)+7(3)=7+14+21=42. $$

A second partition has subintervals \([2,4]\), \([4,5]\), and \([5,8]\), with widths \(2\), \(1\), and \(3\). The same sample locations still lie in the corresponding intervals, and each sampled rate is still \(7\):

$$ S_2=7(2)+7(1)+7(3)=14+7+21=42. $$

In each case the widths total \(1+2+3=6\), the length of the interval from \(2\) to \(8\). Checking the result using the constant-rate formula gives \(7(8-2)=7(6)=42\), matching both estimates.

Sample Placement Also Matters

The width comparison holds the sample locations fixed so that the effect of changing widths is visible. But in other comparisons, the widths may stay fixed while the samples move. Then the sampled rate values can change, particularly when the rate varies across the interval. A fair comparison records both pieces of information: which rate is sampled and the width to which it is applied.

Worked Example: Same Widths, Different Samples

Consider \(f(x)=x^2\) on \([0,3]\), divided into three intervals of width \(1\): \([0,1]\), \([1,2]\), and \([2,3]\). First use sample locations \(0.5\), \(1.5\), and \(2.5\). The sampled rates are \(0.25\), \(2.25\), and \(6.25\), so

$$ S_1=0.25(1)+2.25(1)+6.25(1)=8.75. $$

Now use sample locations \(0.25\), \(1.25\), and \(2.25\), one inside each of the same intervals. The sampled rates are \(0.0625\), \(1.5625\), and \(5.0625\), giving

$$ S_2=0.0625(1)+1.5625(1)+5.0625(1)=6.6875. $$

The widths are unchanged, but the estimates differ because the sampled rates changed. Adding the terms verifies the totals: \(0.25+2.25+6.25=8.75\), while \(0.0625+1.5625+5.0625=6.6875\). This comparison isolates the effect of sample placement rather than the effect of changing widths.

A Complete Comparison Method

When comparing two accumulation estimates, it helps to arrange the information by corresponding interval. The procedure below works directly from the definition of a rectangle estimate: multiply each sampled rate by its interval width and add.

1
List the subintervals.
Record the left and right endpoints, or at least the width, for each rectangle in each estimate.
2
Record the samples.
For each subinterval, identify its sample location and the corresponding rate value.
3
Form the weighted terms.
Multiply each sample value by the width of its own subinterval. Do not attach a width to a neighboring sample by mistake.
4
Add and compare.
Calculate each total separately, then subtract or compare the totals. Check that the widths in each partition add to the full interval length.

This method also helps explain a result. If the sample locations are the same, differences arise from the widths attached to the sampled rates. If the widths are the same, differences arise from the sampled rates. If both change, both effects must be included; looking at only one of them cannot determine the comparison in general.

Common Mistake: Adding Rates Without Weighting Them

A tempting but incorrect shortcut is to add the sampled rates and treat that total as the rectangle estimate. In the first worked example, this would give

$$ 0.25+4+12.25=16.5. $$

One might then claim that both partitions have the same estimate because they use the same samples. But \(16.5\) counts each sampled rate as though its width were \(1\). The first partition actually has widths \(1\), \(2\), and \(1\), and the second has widths \(1.5\), \(1\), and \(1.5\). The correct estimates are \(20.5\) and \(22.75\), respectively.

Correction: Never compare a list of sample values alone when the subinterval widths may differ. Multiply each rate by its own width before adding.

Why This Comparison Matters

Rectangle estimates are designed to represent accumulation across an interval. The sample value describes a rate at one location; the width says how much of the input interval that rate represents in the estimate. Refining or changing intervals can alter the weights, and moving samples can alter the values. Keeping these roles separate makes comparisons more reliable and prevents an estimate from being judged by its sample values alone.

Different partitions of the same interval need not give the same estimate, even when their sample locations match. Nor does a changed estimate by itself tell us which one is closer to the actual accumulation. The calculation here establishes how the estimates are formed and compared; conclusions about their accuracy require additional information about the rate and how it behaves between sample locations.

Check Your Understanding

Use the relationship between sampled rates and interval widths to answer these questions.

  1. Two estimates use identical sample locations but assign different widths to them. What information is needed to calculate and compare the estimates?
  2. Why does a constant rate give the same estimate for different partitions of the same interval?
  3. For a rate \(f\) and widths \(w_1,w_2\), write the rectangle estimate using sample locations \(c_1,c_2\).
  4. Can changing widths leave an estimate unchanged? Explain how that can happen.
  5. If two estimates use equal widths but different sample locations, which part of the calculation may change?

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