Tutorials › AP Calculus › Sigma Notation for Riemann Sums

Riemann Sums and Definite Integrals · Tutorial 424 of 999

Sigma Notation for Riemann Sums

Translate a finite collection of rectangle areas into sigma notation and unpack sigma notation into its individual Riemann-sum terms.

Beginner 9 min read

What You'll Learn

  • Identify the index, its starting and ending values, and the number of terms in a finite sum.
  • Read the common subinterval width and sample-point formula from a Riemann sum.
  • Match each function value to the rectangle it describes.
  • Translate between a finite list of rectangle areas and sigma notation.
  • Check a Riemann sum by expanding its terms and verifying the rectangle areas.

Why Sigma Notation Is Useful

A Riemann sum adds the areas of a collection of rectangles. Writing every rectangle separately works for a small number of terms, but becomes cumbersome when there are many subintervals. Sigma notation is a compact way to write a finite sum while keeping the pattern of its terms visible.

To interpret a Riemann sum correctly, read more than just the summation symbol. You need to identify the index and its range, the width of each subinterval, the sample point used in each rectangle, and the function value that gives its height.

Key idea: A Riemann sum with equal subinterval widths has one term for each rectangle. Each term is the rectangle's signed area: its width multiplied by the function value at its sample point.

Reading a Finite Sum

The notation \(\sum_{i=m}^{n} a_i\) means to add the terms \(a_i\) as the index \(i\) takes every integer value from \(m\) through \(n\), including both endpoints. The index is a counter: it labels the terms, and its values tell you which terms to include.

$$ \sum_{i=m}^{n} a_i = a_m+a_{m+1}+\cdots+a_n. $$

The number of terms is \(n-m+1\), not simply the upper index \(n\), unless the index starts at \(1\). For example, when \(i\) runs from \(2\) to \(5\), there are \(5-2+1=4\) terms.

For an equal-width partition of \([a,b]\) into \(n\) subintervals, the common width is \(\Delta x=(b-a)/n\). If \(x_i^*\) is the chosen sample point in subinterval \(i\), then the sum of the rectangle areas can be written as follows.

$$ \sum_{i=1}^{n} f(x_i^*)\,\Delta x. $$

Here, \(i\) labels a subinterval and its rectangle; \(x_i^*\) is the sample point for that subinterval; \(f(x_i^*)\) is the rectangle's height, with its sign; and \(\Delta x\) is its width. The product \(f(x_i^*)\Delta x\) is that rectangle's signed area. The sigma symbol instructs us to add one such product for each index value.

Definition: For equal subinterval widths, a Riemann sum using sample points \(x_i^*\), where \(i=1,\ldots,n\), is \(\sum_{i=1}^{n} f(x_i^*)\Delta x\). Each \(x_i^*\) must lie in the subinterval it represents. The sum approximates accumulated signed area by adding the signed areas of the rectangles.

Worked Example: Write Rectangle Areas in Sigma Notation

Worked Example: Write Rectangle Areas in Sigma Notation

On \([0,4]\), divide the interval into four equal subintervals. Use the sample points \(0.5,1.5,2.5,3.5\) for the function \(f(x)=2x+1\). Write the rectangle-area sum in sigma notation and evaluate it.

Step 1: Find the common width. The interval length is \(4-0=4\), and there are \(4\) subintervals, so \(\Delta x=4/4=1\).

Step 2: Match each sample point to its function value.

$$ f(0.5)=2(0.5)+1=2,\quad f(1.5)=2(1.5)+1=4,\quad f(2.5)=2(2.5)+1=6,\quad f(3.5)=2(3.5)+1=8. $$

Step 3: Find the rectangle areas. Multiply each height by the common width \(1\). The areas are \(2(1)=2\), \(4(1)=4\), \(6(1)=6\), and \(8(1)=8\). Thus the finite sum is \(2+4+6+8=20\).

Step 4: Express the pattern compactly. The sample point associated with index \(i\) is \(x_i^*=i-\frac12\), for \(i=1,2,3,4\). Substituting into the function gives \(f(x_i^*)=2(i-\frac12)+1=2i\). Therefore, the sum is

$$ \sum_{i=1}^{4} f\left(i-\frac12\right)(1) = \sum_{i=1}^{4} 2i = 2+4+6+8 = 20. $$

Check: Expanding the sigma expression gives the same four rectangle areas, \(2,4,6,8\), and the total is \(20\).

How to Unpack a Riemann Sum

To translate from sigma notation to individual rectangle areas, substitute each permitted index value into the full term. Do not change the width or omit a factor while expanding. Then identify which part of each term is the width and which part is the function value.

1
Read the index range.
List every integer from the lower index to the upper index, including both ends. This tells you how many rectangles are represented.
2
Separate width from height.
Find the factor \(\Delta x\), and identify the function value \(f(x_i^*)\) in the remaining part of each term.
3
Expand the terms.
Substitute the index values one at a time. Each term should correspond to one rectangle's signed area.
4
Check the sample points.
Confirm that each formula for \(x_i^*\) produces a point in the subinterval labeled by \(i\).

Worked Example: Decode a Sigma Expression

Worked Example: Decode a Sigma Expression

Interpret and evaluate \(\sum_{i=1}^{3}2\big((2i-2)+3\big)\) as a Riemann sum. Identify the width, sample points, and function values.

Step 1: Identify the width and height. The constant factor \(2\) is the common width, so \(\Delta x=2\). The expression \((2i-2)+3\) can be read as \(f(x_i^*)\), with \(x_i^*=2i-2\) and \(f(x)=x+3\).

Step 2: Check the sample points. The index values are \(1,2,3\). Substitution gives \(x_1^*=2(1)-2=0\), \(x_2^*=2(2)-2=2\), and \(x_3^*=2(3)-2=4\). These are sample points in the three width-\(2\) subintervals of \([-1,5]\): \([-1,1]\), \([1,3]\), and \([3,5]\).

Step 3: Find the heights and areas.

$$ f(0)=0+3=3,\quad f(2)=2+3=5,\quad f(4)=4+3=7. $$

Multiplying each height by the width \(2\) gives the areas \(3(2)=6\), \(5(2)=10\), and \(7(2)=14\). The expanded sum is \(6+10+14=30\).

Step 4: Verify by expansion.

$$ \sum_{i=1}^{3}2\big((2i-2)+3\big) = 2(3)+2(5)+2(7) = 6+10+14 = 30. $$

Check: There are three index values, three rectangles, and three area terms. Each term uses width \(2\) and the function value at its listed sample point.

Why the Notation Matches the Rectangle Areas

The meaning of sigma notation follows directly from the definition of a finite sum. For each index \(i\), the rectangle has width \(\Delta x\) and signed height \(f(x_i^*)\). Its signed area is their product. Adding those products over all the rectangle labels adds exactly the areas of the rectangles.

For example, if the index runs from \(1\) to \(n\), the definition of summation gives

$$ \sum_{i=1}^{n} f(x_i^*)\Delta x = f(x_1^*)\Delta x+ f(x_2^*)\Delta x+ \cdots+ f(x_n^*)\Delta x. $$

Every term on the right is the area contribution for one subinterval. There are no missing terms because the index takes every value from \(1\) through \(n\), and no extra terms because it takes no other values. This is why the sigma expression and the finite list of rectangle areas represent the same sum.

Worked Example: Build Sigma Notation from a Finite Sum

Worked Example: Build Sigma Notation from a Finite Sum

On \([0,3]\), use three equal subintervals of width \(1\), sample points \(x_i^*=i-\frac14\), and \(f(x)=2x\). Write and evaluate the Riemann sum in sigma notation.

Step 1: Confirm the width and sample points. The width is \(\Delta x=(3-0)/3=1\). The sample-point formula gives \(x_1^*=\frac34\), \(x_2^*=\frac74\), and \(x_3^*=\frac{11}{4}\). These belong, respectively, to \([0,1]\), \([1,2]\), and \([2,3]\).

Step 2: Find the heights.

$$ f\left(\frac34\right)=\frac32,\quad f\left(\frac74\right)=\frac72,\quad f\left(\frac{11}{4}\right)=\frac{11}{2}. $$

Step 3: Write and evaluate the finite sum. Multiplying each height by the width \(1\) gives \(\frac32\), \(\frac72\), and \(\frac{11}{2}\). Their sum is \(\frac{3+7+11}{2}=\frac{21}{2}\).

$$ \sum_{i=1}^{3} f\left(i-\frac14\right)(1) = \sum_{i=1}^{3} 2\left(i-\frac14\right) = \frac32+\frac72+\frac{11}{2} = \frac{21}{2}. $$

Check: Substituting \(i=1,2,3\) into \(2(i-\frac14)\) gives \(\frac32,\frac72,\frac{11}{2}\), precisely the three rectangle-area terms because the width is \(1\).

A Common Indexing Mistake

A frequent error is to treat the upper index as the number of terms, regardless of where the index begins. For instance, \(\sum_{i=2}^{5}(i+1)\) does not have five terms. Its index values are \(2,3,4,5\), so it has \(5-2+1=4\) terms.

The correct expansion is

$$ \sum_{i=2}^{5}(i+1) = (2+1)+(3+1)+(4+1)+(5+1) = 3+4+5+6 = 18. $$

A mistaken expansion that starts at \(i=1\) adds an extra term: \(2+3+4+5+6=20\). That is not the sum written, because the index value \(1\) is outside the stated range. In a Riemann sum, this error would incorrectly include an extra rectangle or attach the wrong function value to a rectangle.

Check before expanding: Count the index values using upper index minus lower index plus one. Then make sure your expansion has exactly that many terms.

Reading the Sum as a Model of Accumulation

A Riemann sum is useful because it keeps the pieces of an approximation organized. The index tells you which piece you are considering; the sample point specifies where to evaluate the function; the function value supplies the signed height; and the width converts that height into a rectangle's signed area.

When the function value is positive, the rectangle contributes positive signed area. When it is negative, its contribution is negative. The sigma notation adds these contributions, so positive and negative terms can cancel. The result is an accumulated signed-area approximation, not necessarily the sum of the absolute geometric areas.

When translating either direction, use the same checklist: number of terms, width, sample-point rule, function value, and product giving each area. If each expanded term matches one rectangle and the index includes each rectangle exactly once, the notation is consistent.

Check Your Understanding

For each question, identify the terms carefully before evaluating or interpreting the sum.

  1. How many terms are in \(\sum_{i=3}^{7}a_i\)?
  2. Expand and evaluate \(\sum_{i=1}^{3}(2i-1)\).
  3. A Riemann sum is \(\sum_{i=1}^{4} f(x_i^*)\left(\frac12\right)\). What is the width of each rectangle, and how many rectangles are represented?
  4. For \(f(x)=x+1\), width \(\Delta x=2\), and sample points \(x_i^*=i\) for \(i=1,2,3\), write the sum in sigma notation and expand it.
  5. Explain why \(\sum_{i=2}^{5} f(x_i^*)\Delta x\) has four terms rather than five.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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