Fiveable

♾️AP Calculus AB/BC Unit 6 Review

QR code for AP Calculus AB/BC practice questions

6.3 Riemann Sums, Summation Notation, and Definite Integral Notation

6.3 Riemann Sums, Summation Notation, and Definite Integral Notation

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
♾️AP Calculus AB/BC
Unit & Topic Study Guides

AP Cram Sessions 2021

Pep mascot

TLDR

A definite integral is the exact limit of a Riemann sum as the rectangle widths shrink to zero. In AP Calculus, this topic is about writing a Riemann sum in summation notation, recognizing the limit of that sum as abf(x)dx\int_a^b f(x)\, dx, and translating back and forth between the two forms.

Riemann Sums and Definite Integral Notation Summary

Riemann sums approximate accumulated area or change by adding products of function values and subinterval widths. A definite integral represents the limiting case of those Riemann sums as the subinterval widths approach zero.

For AP Calculus, you need to translate both directions: from a Riemann sum or summation notation into a definite integral, and from a definite integral into the related limiting Riemann sum. Track the interval, subinterval width, sample point, integrand, and limits of integration carefully.

Why This Matters for the AP Calculus Exam

Unit 6 carries a lot of weight on the AP Calculus exam, and this topic is the bridge that turns approximation into exact area. Once you see that a definite integral is just a Riemann sum pushed to the limit, the Fundamental Theorem of Calculus in later topics makes much more sense.

On the exam you may be asked to:

  • Match a given limit of a Riemann sum to the correct definite integral, or vice versa.
  • Set up a Riemann sum from a function, interval, and number of subintervals.
  • Interpret the sum of products (function value times subinterval width) as accumulated change or signed area.

Being precise with notation matters for clear exam work, especially the integrand, the limits of integration, and the differential dxdx.

Key Takeaways

  • A Riemann sum splits an interval into subintervals and adds up products of a function value times a subinterval width: i=1nf(xi)Δxi\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i.
  • The definite integral is the limit of those sums as the widths shrink: abf(x)dx=limmaxΔxi0i=1nf(xi)Δxi\int_a^b f(x)\, dx = \lim_{\max \Delta x_i \to 0} \sum_{i=1}^{n} f(x_i^*)\,\Delta x_i.
  • With equal subintervals, Δx=ban\Delta x = \frac{b-a}{n}, and the limit can be written as nn \to \infty.
  • For a right Riemann sum with equal widths, xi=a+Δxix_i = a + \Delta x \cdot i.
  • You should be able to go both directions: turn a definite integral into the limit of a Riemann sum, and read a limit of a sum as a definite integral.
  • The result is exact, not an approximation, once you take the limit.

Summation Notation

Before connecting to integrals, you need a faster way to write a Riemann sum. Summation notation lets you use algebra instead of adding each rectangle by hand.

Consider f(x)=x2f(x) = x^2 over the interval from 0 to 5.

Desmos graph of f(x) = x^2 with shaded area
Desmos graph of f(x)=x2f(x) = x^2 with area under the curve from [0,5][0,5] shaded.

Use a left Riemann sum with 5 subintervals to approximate the area.

Same graph with 5 left-endpoint rectangles
The same Desmos graph with 5 left-endpoint Riemann rectangles.

To convert this to summation notation, build a function that gives the area of each rectangle. Call it AA, so $A(i)$ gives the area of the iith rectangle:

i=04A(i)\sum_{i=0}^{4}A(i)

The area of each rectangle is bhb\cdot h, where bb is the base width and hh is the height.

The base width is constant. Divide the whole interval by the number of subintervals:

505=1\frac{5-0}{5}=1

The height is the value of ff at each left endpoint. To find the iith x-value, start at 0 and add 1 (the subinterval width) repeatedly.

Graph showing subinterval length and x_i
A graph showing the relationship between the subinterval length and xix_i.

The x-value is 1i1i, or just ii. Plug it into the function to get the height: yi=(i)2y_i=(i)^2. Combine these in the area formula:

A(i)=1i2A(i)=1\cdot i^2

which simplifies to

A(i)=i2A(i)=i^2

Plug that into the summation:

i=15i2\sum_{i=1}^{5}i^2

General Form of a Riemann Sum

The general form in summation notation is:

i=0n1Δxf(xi)\sum_{i=0}^{n-1} {\Delta x}\cdot{f({x_i})}

for left endpoints, and

i=1nΔxf(xi)\sum_{i=1}^{n} {\Delta x}\cdot{f({x_i})}

for right endpoints.

Here is what each symbol means:

  • nn: the number of subintervals, usually given in the problem.
  • aa: the lower bound of the interval.
  • bb: the upper bound of the interval.
  • Δx\Delta x: the width of each subinterval, found with ban\frac{b-a}{n}.
  • xix_i: the right endpoint of each rectangle, xi=a+Δxix_i=a+\Delta x\cdot i.
  • f(xi)f(x_i): the original function with xix_i plugged in.
  • \sum: add up the values from 0n10\rightarrow n-1 for left Riemann sums or 1n1\rightarrow n for right Riemann sums.

Connecting to Definite Integrals

In the last topic you saw that a Riemann sum gets more precise as you use more rectangles, meaning a larger nn. What if you had infinitely many rectangles with infinitely tiny widths?

GIF of left Riemann sum as n grows
GIF illustrating the left Riemann sum as nn grows. GIF courtesy of Maplesoft

As nn\rightarrow \infty, the approximation gets closer and closer to the exact area. That connects the Riemann sum to the definite integral:

limni=1nΔxf(xi)=abf(x) dx\lim_{n\to \infty}\sum_{i=1}^{n} {\Delta x}\cdot{f({x_i})}=\int_a^bf(x)\ dx

where Δx=ban\Delta x=\frac{b-a}{n} and xi=a+Δxix_i=a+\Delta x\cdot i.

This limit gives the exact value of the definite integral, not just an approximation.

Walkthrough

Given f(x)=x2+3f(x)=x^2+3 over [0,5][0,5], write the summation notation for the right Riemann sum with 10 subintervals and find its value. Then write the definite integral as the limit of the right Riemann sum as nn approaches infinity.

1) Summation Notation

Write the general form first:

i=110Δxf(xi)\sum_{i=1}^{10}\Delta x\cdot f(x_i)

Define Δx=ban=5010=0.5\Delta x=\frac{b-a}{n}=\frac{5-0}{10}=0.5. Then xi=a+Δxi=0.5ix_i=a+\Delta x\cdot i=0.5i. Plug into the function: f(xi)=(0.5i)2+3f(x_i)=(0.5i)^2+3. The right Riemann sum with 10 subintervals is:

i=1100.5((0.5i)2+3)\sum_{i=1}^{10}0.5\cdot \big((0.5i)^2+3\big)

To calculate it, plug in i=1i=1 through 1010 and add:

0.5(3.5+5+7.5+11+15.5+21+27.5+35+43.5+53)=111.250.5(3.5+5+7.5+11+15.5+21+27.5+35+43.5+53)=\boxed{111.25}

2) Writing the Definite Integral

First write the definite integral:

05x2+3 dx\int_0^5 x^2+3\ dx

Recall the general form:

limni=1nΔxf(xi)=abf(x) dx\lim_{n\to \infty}\sum_{i=1}^{n} {\Delta x}\cdot{f({x_i})}=\int_a^bf(x)\ dx

Since nn is the limit variable, define every term in terms of nn:

  1. Δx=50n=5n\Delta x=\frac{5-0}{n}=\frac{5}{n}.
  2. xi=a+Δxi=0+5ni=5nix_i=a+\Delta x\cdot i=0+\frac{5}{n}\cdot i=\frac{5}{n}i.
  3. f(xi)=(5ni)2+3f(x_i)=\left(\frac{5}{n}i\right)^2+3.

Put it together:

05x2+3 dx=limni=1n5n[(5ni)2+3]\int_0^5x^2+3\ dx=\lim_{n\to \infty}\sum_{i=1}^{n} \frac{5}{n}\cdot \Bigg[ \Big( \frac{5}{n} i\Big)^2+3\Bigg]

These take practice, but once finding Δx\Delta x and xix_i becomes automatic, they get very doable.

How to Use This on the AP Calculus Exam

Problem Solving

When you convert a definite integral into the limit of a Riemann sum, use the same steps every time:

  1. Find Δx=ban\Delta x = \frac{b-a}{n}.
  2. Find xi=a+Δxix_i = a + \Delta x \cdot i.
  3. Substitute xix_i into the function to get f(xi)f(x_i).
  4. Assemble limni=1nΔxf(xi)\lim_{n\to\infty}\sum_{i=1}^{n} \Delta x \cdot f(x_i).

MCQ

A common multiple-choice task gives you a limit of a sum and asks for the matching definite integral, or the reverse. Read the pieces: the factor that looks like ban\frac{b-a}{n} is your Δx\Delta x, and the expression inside the function tells you xix_i, which reveals aa, bb, and the function. Break the complicated expression into familiar parts instead of trying to read it all at once.

Common Trap

Watch parentheses carefully when you substitute xix_i into a function with a square or other power. Writing 5ni2\frac{5}{n}i^2 when you mean (5ni)2\left(\frac{5}{n}i\right)^2 changes the answer.

Riemann Sum Practice

Try these three, then check the solutions.

Practice Problems

  1. For f(x)=4x2+2x1f(x)=4x^2+2x-1, express 13f(x) dx\int_1^3 f(x)\ dx as the limit of a Riemann sum.
  2. Express 022ex+1 dx\int_0^2 2e^x+1 \ dx as the limit of a Riemann sum.
  3. The velocity function is v(t)=2t+1v(t)=2t+1 on the interval [1,4][1,4]. Express 14v(t) dt\int_1^4 v(t)\ dt as the limit of a Riemann sum.

Solutions

Practice Problem 1

Define Δx=31n=2n\Delta x=\frac{3-1}{n}=\frac{2}{n}. Then xi=a+Δxi=1+2nix_i=a+\Delta x\cdot i=1+\frac{2}{n}i. Plug into f(x)f(x):

f(xi)=4(1+2ni)2+2(1+2ni)1f(x_i)=4\left(1+\frac{2}{n}i\right)^2+2\left(1+\frac{2}{n}i\right)-1

Assemble:

13f(x) dx=limni=1n2n(4(1+2ni)2+2(1+2ni)1)\int_1^3f(x)\ dx=\lim_{n\to \infty}\sum_{i=1}^n \frac{2}{n}\cdot \Bigg(4\left(1+\frac{2}{n}i\right)^2+2\left(1+\frac{2}{n}i\right)-1\Bigg)

Practice Problem 2

Define Δx=20n=2n\Delta x=\frac{2-0}{n}=\frac{2}{n}. Then xi=a+Δxi=2nix_i=a+\Delta x\cdot i=\frac{2}{n}i. Plug into f(x)f(x):

f(xi)=2e2i/n+1f(x_i)=2e^{2i/n}+1

Assemble:

02f(x) dx=limni=1n2n(2e2i/n+1)\int_0^2f(x)\ dx=\lim_{n\to \infty}\sum_{i=1}^n \frac{2}{n}\cdot (2e^{2i/n}+1)

Practice Problem 3

Define Δt=41n=3n\Delta t=\frac{4-1}{n}=\frac{3}{n}. Then ti=a+Δti=1+3nit_i=a+\Delta t\cdot i=1+\frac{3}{n}i. Plug into v(t)v(t):

v(ti)=2(1+3ni)+1=2+6ni+1=6ni+3v(t_i)=2\left(1+\frac{3}{n}i\right)+1=2+\frac{6}{n}i+1=\frac{6}{n}i+3

Assemble:

14v(t) dt=limni=1n3n(6ni+3)\int_1^4v(t)\ dt=\lim_{n\to \infty}\sum_{i=1}^n \frac{3}{n}\cdot \left(\frac{6}{n}i+3\right)

Common Misconceptions

  • The definite integral is not an approximation. A Riemann sum with a fixed nn approximates, but once you take the limit, the value is exact.
  • A Riemann sum is not just "the area." It is a sum of products of function value times subinterval width, and it gives signed area, so regions below the x-axis count as negative.
  • xix_i^* does not have to be a left or right endpoint. The sample point can be anywhere in the subinterval, including the midpoint. For continuous functions on [a,b][a,b], the limit comes out the same.
  • Δx=ban\Delta x = \frac{b-a}{n} only when the subintervals are equal in width. With a nonuniform partition, each Δxi\Delta x_i can differ, which is why the general definition uses maxΔxi0\max \Delta x_i \to 0.
  • Do not drop the dxdx when writing a definite integral. The differential shows the variable of integration and is part of correct notation.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

continuous

A function that has no breaks, jumps, or holes in its graph over a given interval.

definite integral

The integral of a function over a specific interval [a, b], representing the net signed area between the curve and the x-axis.

limit

The value that a function approaches as the input approaches some value, which may or may not equal the function's value at that point.

limiting case

The value or behavior that a mathematical expression approaches as a parameter (such as the width of subintervals) approaches zero.

partition

A division of an interval into subintervals used to construct a Riemann sum.

Riemann sum

A sum of the form ∑f(x_i*)Δx_i used to approximate the area under a curve by dividing the interval into subintervals and summing the areas of rectangles.

subinterval

One of the smaller intervals created by dividing a larger interval [a,b] into n parts.

Frequently Asked Questions

What is a Riemann sum in AP Calculus?

A Riemann sum approximates accumulated area or change by partitioning an interval into subintervals and adding products of a function value and a subinterval width.

How does a Riemann sum become a definite integral?

A definite integral is the limiting case of Riemann sums as the subinterval widths approach zero. In that limit, the approximation becomes exact for a continuous function on the interval.

What does summation notation mean in a Riemann sum?

Summation notation is a compact way to add all the rectangle areas in a Riemann sum. The index tracks each subinterval, while the expression inside the sum gives the function value times the width.

How do you translate a Riemann sum into a definite integral?

Identify the interval, the subinterval width, the sample point expression, and the function being evaluated. Then use those pieces to determine the limits of integration and the integrand.

What should students track in definite integral notation?

Track the lower and upper limits, the integrand, and the differential. The differential tells the variable of integration, while the limits show the interval over which accumulation is measured.

What is a common mistake on Riemann sum notation questions?

A common mistake is matching the function correctly but missing the interval or subinterval width. Always identify the width, sample point, and limits before writing the definite integral.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot