# Riemann sums, summation notation, definite integral notation

> AP Calculus BC · Integration and Accumulation of Change
> Source: https://www.owlsprep.com/study/ap-calculus-bc-u6-riemann-sums-summation-notation-definite/

This module covers sigma notation rules, construction of common Riemann sum types for area approximation, conversion of Riemann sum limits to definite integrals, and standard notation conventions for AP Calculus BC.

**Prerequisites:** Limits of functions and sequences; Algebraic manipulation of polynomials and binomials; Basic function evaluation

## Learning objectives

- Manipulate summation notation using core algebraic rules and power sum formulas
- Construct left, right, midpoint, and trapezoidal Riemann sums to approximate net area
- Convert limits of Riemann sums to correct definite integral notation
- Interpret definite integral notation and distinguish net vs total area

## Summation Notation and Algebraic Rules

**Summation (Sigma) Notation** — Compact notation for the sum of terms $a_i$, where $i$ is the incrementing index that runs from the lower limit $k$ to the upper limit $n$.

*Notation:* \sum_{i=k}^{n} a_i

*Example:* For $n=3$, $\sum_{i=1}^3 i^2 = 1^2 + 2^2 + 3^2 = 14$

To simplify summations for evaluation or limit-taking for Riemann sums, you need to memorize these core algebraic rules and power sum formulas:

- Constant multiple rule: $\sum_{i=1}^n c a_i = c \sum_{i=1}^n a_i$ for any constant $c$
- Sum/difference rule: $\sum_{i=1}^n (a_i \pm b_i) = \sum_{i=1}^n a_i \pm \sum_{i=1}^n b_i$
- Constant summation: $\sum_{i=1}^n c = nc$
- Power sums: $\sum_{i=1}^n i = \frac{n(n+1)}{2}$, $\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}$

**Worked example:** Simplify the summation $\sum_{i=1}^{8} (2i^2 - 4i + 3)$ to a single numerical value.

1. Split the summation using the sum/difference and constant multiple rules:
2. $$2\sum_{i=1}^{8}i^2 - 4\sum_{i=1}^{8}i + \sum_{i=1}^{8}3$$
3. Substitute the relevant formulas for $n=8$: $\sum i^2 = \frac{8(9)(17)}{6} = 204$, $\sum i = \frac{8(9)}{2} = 36$, $\sum 3 = 8(3) = 24$
4. Substitute back and calculate the final result: $2(204) - 4(36) + 24 = 408 - 144 + 24 = 288$

> **Exam tip:** If you are evaluating a finite summation for a MCQ, cross-check your result by expanding the first 2-3 terms and last 2-3 terms to confirm you did not misapply a rule, since the index range is small enough to verify quickly.

## Riemann Sum Approximation

To construct any Riemann sum for a function $f(x)$ over the interval $[a,b]$ with $n$ equal-width subintervals, first calculate the width of each slice:

$$\Delta x = \frac{b-a}{n}$$

The right endpoint of the $i$-th subinterval is $x_i = a + i\Delta x$, the left endpoint is $x_{i-1} = a + (i-1)\Delta x$, and the midpoint is $a + (i - 0.5)\Delta x$. Four common types tested on the AP exam are:

- Left Riemann Sum (LRAM): Uses left endpoints for heights: $A \approx \sum_{i=1}^n f(x_{i-1})\Delta x$
- Right Riemann Sum (RRAM): Uses right endpoints for heights: $A \approx \sum_{i=1}^n f(x_i)\Delta x$
- Midpoint Riemann Sum (MRAM): Uses midpoints for heights: $A \approx \sum_{i=1}^n f\left(a + (i-0.5)\Delta x\right)\Delta x$
- Trapezoidal Riemann Sum: Averages left and right heights for equal widths: $A \approx \frac{\Delta x}{2}\left[f(x_0) + 2f(x_1) + ... + 2f(x_{n-1}) + f(x_n)\right]$

**Worked example:** Approximate the net area under $f(x) = \sqrt{x}$ over $[1, 5]$ using $n=4$ equal subintervals and a trapezoidal Riemann sum.

1. Calculate the subinterval width: $\Delta x = \frac{5-1}{4} = 1$, so the endpoints are $x_0=1, x_1=2, x_2=3, x_3=4, x_4=5$.
2. Evaluate $f(x)$ at each endpoint: $f(1)=1, f(2)\approx1.414, f(3)\approx1.732, f(4)=2, f(5)\approx2.236$.
3. Substitute into the trapezoidal sum formula:
4. $$A \approx \frac{1}{2}\left[ f(1) + 2f(2) + 2f(3) + 2f(4) + f(5) \right]$$
5. Simplify to get the final approximation: $0.5\left[ 1 + 2(1.414) + 2(1.732) + 2(2) + 2.236 \right] = 0.5[13.528] = 6.764$. The approximate net area is ~6.76.

> **Exam tip:** For table-based Riemann sum problems, always confirm if subintervals are equal width. If they are not, you cannot use the equal-width trapezoid or rectangle formula—you must calculate the area of each slice individually with its own width.

## Definite Integral as the Limit of a Riemann Sum

**Definite Integral** — The exact net area between $f(x)$ and the $x$-axis over $[a,b]$, defined as the limit of a Riemann sum as the number of subintervals approaches infinity.

*Notation:* \int_a^b f(x) dx

The formal definition of the definite integral is:

$$\int_a^b f(x) dx = \lim_{n \to \infty} \sum_{i=1}^n f(x_i^*) \Delta x$$

where $\Delta x = \frac{b-a}{n}$, $x_i^*$ is any sample point in the $i$-th subinterval, and the limit exists for all continuous functions on $[a,b]$ (the only case you will see on the AP exam). The notation intentionally mirrors Riemann sum notation: the elongated $\int$ symbol is a historical "S" standing for summation, and $dx$ represents the infinitely small width of the subintervals.

**Worked example:** Convert the following limit to a definite integral: $\lim_{n \to \infty} \sum_{i=1}^n \left(2 + \frac{5i}{n}\right)^3 \cdot \frac{5}{n}$

1. Identify $\Delta x = \frac{5}{n}$, which means $b - a = 5$.
2. Match the sample point $x_i = a + i\Delta x$ to the expression inside the function: $x_i = 2 + \frac{5i}{n}$, so $a = 2$ and $f(x_i) = x_i^3$, meaning $f(x) = x^3$.
3. Calculate $b = a + (b-a) = 2 + 5 = 7$.
4. Substitute into definite integral notation to get the final result:
5. $$\int_2^7 x^3 dx$$

> **Exam tip:** When converting a Riemann sum to a definite integral, always confirm $a$ by checking the value of $x_i$ when $i=1$—common wrong answers come from incorrectly assuming $a=0$ by default, leading to a shifted interval.

## AP Style Concept Check

**Check your understanding**

Test your understanding with this AP-style multiple choice question:

1. Which of the following definite integrals is equivalent to $\lim_{n \to \infty} \sum_{i=1}^n \sqrt{2 + \left(3 + \frac{4i}{n}\right)} \cdot \frac{4}{n}$?

   - $\int_0^4 \sqrt{2 + x} dx$
   - $\int_3^7 \sqrt{2 + x} dx$
   - $\int_0^4 \sqrt{2 + (x + 3)} dx$
   - $\int_3^7 \sqrt{2 + \sqrt{x}} dx$

   *Answer:* $\int_3^7 \sqrt{2 + x} dx$

   *Why:* Match components: $\Delta x = 4/n$ so $b-a=4$, $a=3$ from the expression for $x_i$, so $b=7$, and $f(x) = \sqrt{2+x}$. This matches option B.

## Common pitfalls

- **Wrong:** When converting $\lim_{n \to \infty} \sum_{i=1}^n \left(1 + \frac{2i}{n}\right)^3 \frac{2}{n}$, write the integral as $\int_0^2 (1+x)^3 dx$.
  - Why it fails: You assumed $a=0$ by default instead of solving for $a$ from the expression for $x_i$.
  - Correct: Always match $x_i = a + i \Delta x$: here $x_i = 1 + \frac{2i}{n}$ so $a=1$, $\Delta x = 2/n$ so $b-a=2$, so the correct integral is $\int_1^3 x^3 dx$.
- **Wrong:** For a trapezoidal sum with unequal subinterval widths, use the formula $\frac{\Delta x}{2} [f(x0) + 2f(x1) + ... + f(xn)]$ with the first $\Delta x$ for all terms.
  - Why it fails: You memorized the equal-width formula and forgot it only applies when all $\Delta x$ are the same.
  - Correct: For unequal widths, calculate the area of each trapezoid individually as $\frac{w_i}{2}(f(x_{i-1}) + f(x_i))$, then sum all areas.
- **Wrong:** When simplifying $\sum_{i=1}^n (i + c)^2$ for constant $c$, expand it as $\sum_{i=1}^n i^2 + \sum_{i=1}^n c^2$ and leave out the cross term $2c \sum i$.
  - Why it fails: You forgot to expand the binomial fully before splitting the summation.
  - Correct: Always expand all products before applying summation rules, so $(i + c)^2 = i^2 + 2ci + c^2$, then split into three separate sums.
- **Wrong:** When asked for a left Riemann sum with $n$ subintervals, you include the right endpoint $b$ as a sample point.
  - Why it fails: You confused left and right sum index conventions.
  - Correct: Left sums use all left endpoints, so they include $a$ and exclude $b$; right sums include $b$ and exclude $a$—confirm the endpoints included before writing your sum.
- **Wrong:** You interpret the definite integral $\int_a^b f(x) dx$ as always equal to the total area between $f(x)$ and the x-axis.
  - Why it fails: You confused net area with total area.
  - Correct: The definite integral gives *net area*, where area below the x-axis is subtracted from area above. For total area, you need to integrate $|f(x)|$ instead of $f(x)$.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| Constant Multiple Rule | $\sum_{i=1}^n c a_i = c \sum_{i=1}^n a_i$ | Pull constant factors outside the summation |
| Constant Summation | $\sum_{i=1}^n c = n c$ | Sum of $n$ copies of $c$ is $n$ times $c$ |
| Sum of First $n$ Integers | $\sum_{i=1}^n i = \frac{n(n+1)}{2}$ | Used for linear terms in Riemann sums |
| Sum of First $n$ Squares | $\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}$ | Used for quadratic terms in Riemann sums |
| Equal Subinterval Width | $\Delta x = \frac{b - a}{n}$ | Only for equal-width subintervals |
| Left Riemann Sum | $\sum_{i=1}^n f(a + (i-1)\Delta x) \Delta x$ | Includes $a$, excludes $b$ |
| Right Riemann Sum | $\sum_{i=1}^n f(a + i\Delta x) \Delta x$ | Excludes $a$, includes $b$ |
| Midpoint Riemann Sum | $\sum_{i=1}^n f(a + (i - 0.5)\Delta x) \Delta x$ | More accurate than LRAM/RRAM for most functions |
| Equal-Width Trapezoidal Sum | $\frac{\Delta x}{2}\left[f(x_0) + 2\sum_{i=1}^{n-1}f(x_i) + f(x_n)\right]$ | Only for equal-width subintervals |
| Definite Integral Definition | $\int_a^b f(x) dx = \lim_{n \to \infty} \sum_{i=1}^n f(x_i^*) \Delta x$ | $x_i^*$ is any sample point in the $i$-th subinterval |

## What's next

This topic is the foundational definition of integration, and is a prerequisite for every integration topic that follows in AP Calculus BC's Unit 6: Integration and Accumulation of Change. Immediately after mastering this topic, you will learn the Fundamental Theorem of Calculus (FTC), which connects definite integrals to antiderivatives and lets you calculate exact integral values without computing Riemann sum limits every time. Without understanding how Riemann sums relate to definite integrals, you will struggle to interpret accumulation functions from the FTC or solve context problems involving rates of change. This core idea of slicing a region into small pieces and summing their contributions also underpins later topics like numerical integration, area between curves, and volumes of revolution.

- [Fundamental Theorem of Calculus and accumulation functions](https://www.owlsprep.com/study/ap-calculus-bc-u6-fundamental-theorem-of-calculus-and/)
- [Interpreting behavior of accumulation functions](https://www.owlsprep.com/study/ap-calculus-bc-u6-interpreting-behavior-of-accumulation-functions/)
- [Properties of definite integrals](https://www.owlsprep.com/study/ap-calculus-bc-u6-properties-of-definite-integrals/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-bc-u6-riemann-sums-summation-notation-definite/
