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.
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.
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\(\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\(\displaystyle\sum_{i = 0}^{3} f(x_i)\,\Delta x = \sum_{i = 0}^{3} i^2 \cdot 1\).
- 3Add: \(0 + 1 + 4 + 9 = 14\).
2The definite integral
| Part | Meaning |
|---|---|
| \(\int\) | A long S, for “sum” |
| a, b | Lower 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
\(\displaystyle\lim_{n \rightarrow \infty} \sum_{i = 1}^{n} \left(2 + \frac{3i}{n}\right)^2 \frac{3}{n}\)
- 1Match the pattern \(\displaystyle\sum f(x_i)\,\Delta x\) with right endpoints \(x_i = a + i\,\Delta x\).
- 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\).
- 3So the limit is \(\displaystyle\int_2^5 x^2\,dx\), which equals 39.
“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\).”
\(\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\).
\(\displaystyle\int_1^4 \sqrt{x}\,dx\) as a right Riemann sum
- 1\(\Delta x = \frac{4 - 1}{n} = \frac3n\), right endpoints \(x_i = 1 + \frac{3i}{n}\).
\(\displaystyle\lim_{n \rightarrow \infty}\sum_{i = 1}^{n} \frac{i}{n}\cdot\frac{1}{n}\)
- 1This 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}\).
- 2As \(n \rightarrow \infty\), \(\dfrac{n + 1}{2n} \rightarrow \dfrac12\), the area of the triangle under \(y = x\) from 0 to 1.
4Integrals from geometry
\(\displaystyle\int_{-2}^{2}\sqrt{4 - x^2}\,dx\) and \(\displaystyle\int_0^5 (x - 2)\,dx\)
- 1\(y = \sqrt{4 - x^2}\) is the top half of a circle of radius 2: area \(\frac12\pi(2)^2 = 2\pi\).
- 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\)).
\(\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.
\(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
| Item | Formula |
|---|---|
| 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 integral | Limit of Riemann sums as \(n \rightarrow \infty\) |
| Meaning | Signed area between f and the x-axis |