AP Calculus BC · Study guide

Riemann Sums, Summation Notation, and Definite Integral Notation

AP® Calculus BC · Unit 6 · Integration and Accumulation of Change

From Sums to the Definite Integral

Riemann sums get closer to the true area as the strips get thinner. The number they approach is the definite integral. This guide covers sigma notation, the integral sign, and moving between limits of sums and integrals.

The idea in one paragraph

A Riemann sum can be written compactly as \(\displaystyle\sum_{i = 1}^{n} f(x_i)\,\Delta x\). As the number of strips \(n\) grows, the sums approach a single number, written \(\displaystyle\int_a^b f(x)\,dx\): the definite integral of \(f\) from \(a\) to \(b\). It equals the signed area between the graph and the x-axis. To match a limit of sums to an integral, read off \(\Delta x\) and \(x_i\): they give the interval and the function.

1Sigma notation

\(\displaystyle\sum_{i = 1}^{n} a_i\) means “add \(a_1 + a_2 + \dots + a_n\).” The letter \(i\) counts the terms; the numbers below and above the sigma say where the count starts and stops.

Worked Example 1 Sigma notation

Write a left sum compactly

Write the left Riemann sum for \(f(x) = x^2\) on \([0, 4]\) with four equal strips in sigma notation, and evaluate it.

  1. 1
    \(\Delta x = 1\), and the left edges are \(x_0, x_1, x_2, x_3 = 0, 1, 2, 3\), so \(x_i = i\).
  2. 2
    \(\displaystyle\sum_{i = 0}^{3} f(x_i)\,\Delta x = \sum_{i = 0}^{3} i^2 \cdot 1\).
  3. 3
    Add: \(0 + 1 + 4 + 9 = 14\).
Answer: \(\displaystyle\sum_{i = 0}^{3} i^2 = 14\)

2The definite integral

Figure 1. Right Riemann sums for x² on [2, 5]. Each time the strips get thinner, the overshoot shrinks. The definite integral is the number the sums approach: 39.
\[ \int_a^b f(x)\,dx = \lim_{n \rightarrow \infty} \sum_{i = 1}^{n} f(x_i)\,\Delta x, \qquad \Delta x = \frac{b - a}{n},\; x_i = a + i\,\Delta x \]
PartMeaning
\(\int\)A long S, for “sum”
a, bLower and upper limits: where the interval starts and ends
\(f(x)\)The integrand: the height of each strip
\(dx\)The width of the strips, shrinking to 0; also names the variable

3Limits of sums ↔ integrals

Worked Example 2 From a limit of sums to an integral

\(\displaystyle\lim_{n \rightarrow \infty} \sum_{i = 1}^{n} \left(2 + \frac{3i}{n}\right)^2 \frac{3}{n}\)

  1. 1
    Match the pattern \(\displaystyle\sum f(x_i)\,\Delta x\) with right endpoints \(x_i = a + i\,\Delta x\).
  2. 2
    \(\Delta x = \frac{3}{n}\) and \(x_i = 2 + \frac{3i}{n}\), so \(a = 2\) and the interval has length 3: \(b = 5\). The function is \(f(x) = x^2\).
  3. 3
    So the limit is \(\displaystyle\int_2^5 x^2\,dx\), which equals 39.
Answer: \(\displaystyle\int_2^5 x^2\,dx = 39\) (also correct: \(\displaystyle\int_0^3 (2 + x)^2\,dx\), the same area shifted).
Write it like this

“With \(\Delta x = \frac3n\) and \(x_i = 2 + \frac{3i}{n}\), the limit is a right Riemann sum for \(f(x) = x^2\) on \([2, 5]\), so it equals \(\displaystyle\int_2^5 x^2\,dx\).”

Common Mistake 1 · Reading b from the number in Δx

\(\Delta x = \frac3n\) tells you the length of the interval, \(b - a = 3\). It does not say \(b = 3\). Find \(a\) from \(x_i\), then \(b = a + 3\).

Worked Example 3 From an integral to a limit of sums

\(\displaystyle\int_1^4 \sqrt{x}\,dx\) as a right Riemann sum

  1. 1
    \(\Delta x = \frac{4 - 1}{n} = \frac3n\), right endpoints \(x_i = 1 + \frac{3i}{n}\).
Answer: \(\displaystyle\lim_{n \rightarrow \infty} \sum_{i = 1}^{n} \sqrt{1 + \frac{3i}{n}}\cdot\frac{3}{n}\)
Worked Example 4 A limit you can compute

\(\displaystyle\lim_{n \rightarrow \infty}\sum_{i = 1}^{n} \frac{i}{n}\cdot\frac{1}{n}\)

  1. 1
    This is a right sum for \(f(x) = x\) on \([0, 1]\). Using \(1 + 2 + \dots + n = \frac{n(n + 1)}{2}\): the sum is \(\dfrac{1}{n^2}\cdot\dfrac{n(n + 1)}{2} = \dfrac{n + 1}{2n}\).
  2. 2
    As \(n \rightarrow \infty\), \(\dfrac{n + 1}{2n} \rightarrow \dfrac12\), the area of the triangle under \(y = x\) from 0 to 1.
Answer: \(\dfrac12 = \displaystyle\int_0^1 x\,dx\)

4Integrals from geometry

Figure 2. When the region is a familiar shape, use its area formula. Regions below the x-axis count as negative.
Worked Example 5 Geometry

\(\displaystyle\int_{-2}^{2}\sqrt{4 - x^2}\,dx\) and \(\displaystyle\int_0^5 (x - 2)\,dx\)

  1. 1
    \(y = \sqrt{4 - x^2}\) is the top half of a circle of radius 2: area \(\frac12\pi(2)^2 = 2\pi\).
  2. 2
    \(y = x - 2\) is below the axis on \([0, 2]\) (triangle of area \(\frac12 \cdot 2 \cdot 2 = 2\)) and above on \([2, 5]\) (area \(\frac12 \cdot 3 \cdot 3 = 4.5\)).
Answer: \(2\pi\), and \(4.5 - 2 = 2.5\).
Common Mistake 2 · Treating every integral as positive area

\(\displaystyle\int_0^5 (x - 2)\,dx\) is 2.5, not 6.5. The part of the region below the x-axis subtracts. An integral is a signed area.

Common Mistake 3 · Dropping the dx

\(dx\) is part of the notation: it says which variable the strips are measured along. With other letters, write \(dt\), \(du\), and so on.

Quick reference

ItemFormula
Right Riemann sum\(\sum_{i = 1}^{n} f(a + i\,\Delta x)\,\Delta x\)
Left Riemann sum\(\sum_{i = 0}^{n - 1} f(a + i\,\Delta x)\,\Delta x\)
Strip width\(\Delta x = \frac{b - a}{n}\)
Definite integralLimit of Riemann sums as \(n \rightarrow \infty\)
MeaningSigned area between f and the x-axis