Unit 6 · Topic 6.3 Beta

Riemann Sums, Sigma Notation and the Definite Integral

The definite integral ∫ from a to b of f(x) dx is the limit of Riemann sums ∑ f(x_i) Δx as n → ∞ , with Δx = (b − a)/n and x_i = a + i Δx .

Practice 1: Implementing Mathematical ProcessesPractice 4: Communication and Notation

Question set for this topic

Part 1 · Hook

Why this matters

A Riemann sum with four rectangles is a rough guess. With forty it is good; with four thousand, a computer cannot tell it from the true area. Mathematicians asked what happens when the number of rectangles goes to infinity, and the answer has its own name and its own symbol: the definite integral.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. What is the width of each subinterval when [1,4][1, 4] is split into 6 equal pieces?

  1. 0.5
  2. 6
  3. 4/6
  4. 3
Show the answer

Width =4−16=0.5= \frac{4 - 1}{6} = 0.5.

  • Correct: 0.5:
  • 6:
  • 4/6:
  • 3:

2. What is limn→∞3n\lim_{n \to \infty} \frac{3}{n}?

  1. 0
  2. 3
  3. it does not exist
  4. 1
Show the answer

As n grows without bound, 3/n shrinks toward 0.

  • Correct: 0:
  • 3:
  • it does not exist:
  • 1:

Part 4 · See it

See it first

Three panels show right Riemann sums for f(x) = 0.25x squared + 1 on [0, 4] with n = 4, 8 and 32 rectangles: 11.5, 10.375 and about 9.586. The rectangles hug the curve more closely each time and the sums approach the definite integral, 28/3, about 9.333.
Right Riemann sums with 4, 8 and 32 rectangles close in on the definite integral. LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. Use nn equal subintervals of [a,b][a, b]each is Δx=b−an\Delta x = \frac{b - a}{n} wide, with right ends xi=a+iΔxx_i = a + i\,\Delta x
  2. Write the Riemann sum in sigma notationit becomes ∑i=1nf(xi)Δx\sum_{i=1}^{n} f(x_i)\,\Delta x
  3. Let n→∞n \to \inftythe sums approach one number, the definite integral ∫abf(x)dx\int_a^b f(x)\,dx
  4. Read a limit of sumsthe width gives b−ab - a, the points give aa, and the height gives ff

Part 6 · Key ideas

Key ideas

  • ∫abf(x)dx\int_a^b f(x)\,dx=limn→∞∑i=1nf(xi)Δx= \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i)\,\Delta x with Δx=b−an\Delta x = \frac{b - a}{n} and xi=a+iΔxx_i = a + i\,\Delta x.
  • In ∫abf(x)dx\int_a^b f(x)\,dx, f(x)f(x) is the integrand, aa and bb are the limits of integration, and dxdx names the variable.
  • For a positive function, the definite integral is the area under the graph; for a rate, the accumulated change, in the accumulated units.
  • A calculator finds definite integrals numerically: write the integral as your setup, then the value to three decimal places.

Part 7 · Misconception

A common mistake

The wrong idea: In limn→∞∑3n(2+3in)\lim_{n \to \infty} \sum \frac{3}{n}\left(2 + \frac{3i}{n}\right), the function is f(x)=2+xf(x) = 2 + x.

What actually happens: The points xi=2+3inx_i = 2 + \frac{3i}{n} already include the 2: they run over [2,5][2, 5], and the height at xix_i is xix_i. So the limit is ∫25xdx\int_2^5 x\,dx. (It also equals ∫03(2+x)dx\int_0^3 (2 + x)\,dx, where xx runs over [0,3][0, 3]: the interval and the function must be read together.)

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

Table

A limit of Riemann sums

Let SnS_n=∑i=1n3n(2+3in)= \sum_{i=1}^{n} \frac{3}{n}\left(2 + \frac{3i}{n}\right) and L=limn→∞SnL = \lim_{n \to \infty} S_n. The table shows SnS_n for a few values of nn.
The sum S_n for growing n
nn1101001000
SnS_n1510.9510.54510.5045

1. In the sum, what interval is being split up, and into how many subintervals?

  1. [2,5][2, 5], into nn subintervals of width 3n\frac{3}{n}
  2. [0,3][0, 3], into nn subintervals of width 3n\frac{3}{n}
  3. [2,5][2, 5], into 3 subintervals of width 1n\frac{1}{n}
  4. [0,1][0, 1], into nn subintervals of width 1n\frac{1}{n}
Show the answer

Δx=3n\Delta x = \frac{3}{n} means the interval has length 3. The points are xi=2+iΔxx_i = 2 + i\Delta x, so the interval starts at 2 and ends at 2+3=52 + 3 = 5.

  • Correct: [2,5][2, 5], into nn subintervals of width 3n\frac{3}{n}: Correct: the points 2+3in2 + \frac{3i}{n} run from just above 2 (at i=1i = 1) up to 5 (at i=ni = n), and each step is 3n\frac{3}{n}.
  • [0,3][0, 3], into nn subintervals of width 3n\frac{3}{n}: The points start at 2, not 0: xi=2+3inx_i = 2 + \frac{3i}{n}. The width 3 is right, but the interval is shifted.
  • [2,5][2, 5], into 3 subintervals of width 1n\frac{1}{n}: The number of terms is nn (the sum runs i=1i = 1 to nn), and the factor 3n\frac{3}{n} is the width.
  • [0,1][0, 1], into nn subintervals of width 1n\frac{1}{n}: The width is 3n\frac{3}{n}, so the interval is 3 long, and the points start at 2.

2. Which definite integral equals LL?

  1. ∫25(2+x)dx\int_2^5 (2 + x)\,dx
  2. ∫01(2+3x)dx\int_0^1 (2 + 3x)\,dx
  3. ∫03xdx\int_0^3 x\,dx
  4. ∫25xdx\int_2^5 x\,dx
Show the answer

Match the pattern ∑f(xi)Δx\sum f(x_i)\,\Delta x: Δx=3n\Delta x = \frac{3}{n} and xi=2+3inx_i = 2 + \frac{3i}{n} run over [2,5][2, 5], and f(xi)=xif(x_i) = x_i. So LL=∫25xdx= \int_2^5 x\,dx.

  • ∫25(2+x)dx\int_2^5 (2 + x)\,dx: The 2 is already inside xi=2+3inx_i = 2 + \frac{3i}{n}. With xx running from 2 to 5, the height is just xx; adding 2 counts it twice.
  • ∫01(2+3x)dx\int_0^1 (2 + 3x)\,dx: This matches the heights with x=inx = \frac{i}{n}, but then the width would be 1n\frac{1}{n}. The factor 3n\frac{3}{n} makes this integral 3 times too small.
  • ∫03xdx\int_0^3 x\,dx: If xx ran from 0 to 3, the heights would be 3in\frac{3i}{n}. Here they are 2+3in2 + \frac{3i}{n}.
  • Correct: ∫25xdx\int_2^5 x\,dx: Correct: Δx=3n\Delta x = \frac{3}{n}, xi=2+3inx_i = 2 + \frac{3i}{n}, and the height f(xi)f(x_i) is xix_i itself, so f(x)=xf(x) = x on [2,5][2, 5].

3. Which kind of Riemann sum is inside the limit?

  1. a midpoint Riemann sum
  2. a trapezoidal sum
  3. a right Riemann sum
  4. a left Riemann sum
Show the answer

xi=2+i⋅3nx_i = 2 + i\cdot\frac{3}{n} for i=1,…,ni = 1, \ldots, n are the right ends of the subintervals [xi−1,xi][x_{i-1}, x_i]. In the limit, left and right sums give the same value.

  • a midpoint Riemann sum: Midpoints would be 2+3(i−1/2)n2 + \frac{3(i - 1/2)}{n}. These points are whole steps from 2.
  • a trapezoidal sum: A trapezoidal sum averages two heights on each subinterval; each term here has a single height.
  • Correct: a right Riemann sum: Correct: at i=ni = n the point is 2+3=52 + 3 = 5, the right end; at i=1i = 1 it is the right end of the first subinterval.
  • a left Riemann sum: A left sum would start at x0=2x_0 = 2 (from i=0i = 0) and stop before 5. This sum reaches 5 at i=ni = n.

4. The table suggests L=10.5L = 10.5. Which region has area LL?

  1. the rectangle 3 wide and 5 tall over [2,5][2, 5]
  2. the trapezoid under y=xy = x from x=2x = 2 to x=5x = 5
  3. the triangle under y=xy = x from x=0x = 0 to x=3x = 3
  4. the region under y=2+xy = 2 + x from x=2x = 2 to x=5x = 5
Show the answer

LL=∫25xdx= \int_2^5 x\,dx, the area under y=xy = x between 2 and 5: a trapezoid with parallel sides 2 and 5 and width 3, area 212=10.5\frac{21}{2} = 10.5, matching the table.

  • the rectangle 3 wide and 5 tall over [2,5][2, 5]: That rectangle (area 15) is the single right rectangle S1S_1. The limit fills only the region under the line.
  • Correct: the trapezoid under y=xy = x from x=2x = 2 to x=5x = 5: Correct: LL=∫25xdx= \int_2^5 x\,dx, and that trapezoid has area 2+52⋅3=10.5\frac{2 + 5}{2} \cdot 3 = 10.5.
  • the triangle under y=xy = x from x=0x = 0 to x=3x = 3: That region has area 4.5. The points xix_i run over [2,5][2, 5], not [0,3][0, 3].
  • the region under y=2+xy = 2 + x from x=2x = 2 to x=5x = 5: That counts the 2 twice: its area is 4+72⋅3=16.5\frac{4 + 7}{2} \cdot 3 = 16.5.

5. Which limit equals ∫13x3dx\int_1^3 x^3\,dx?

  1. limn→∞∑i=1n(1+2in)32n\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{2i}{n}\right)^3 \frac{2}{n}
  2. limn→∞∑i=1n(2in)32n\lim_{n \to \infty} \sum_{i=1}^{n} \left(\frac{2i}{n}\right)^3 \frac{2}{n}
  3. limn→∞∑i=1n(1+3in)33n\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{3i}{n}\right)^3 \frac{3}{n}
  4. limn→∞∑i=1n(1+2in)3\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{2i}{n}\right)^3
Show the answer

For ∫abf(x)dx\int_a^b f(x)\,dx: Δx=b−an=2n\Delta x = \frac{b - a}{n} = \frac{2}{n} and xi=a+iΔx=1+2inx_i = a + i\Delta x = 1 + \frac{2i}{n}, so the sum is ∑f(xi)Δx\sum f(x_i)\Delta x with f(x)=x3f(x) = x^3.

  • Correct: limn→∞∑i=1n(1+2in)32n\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{2i}{n}\right)^3 \frac{2}{n}: Correct: Δx=3−1n=2n\Delta x = \frac{3 - 1}{n} = \frac{2}{n} and xi=1+2inx_i = 1 + \frac{2i}{n}.
  • limn→∞∑i=1n(2in)32n\lim_{n \to \infty} \sum_{i=1}^{n} \left(\frac{2i}{n}\right)^3 \frac{2}{n}: These points run over [0,2][0, 2]. The interval starts at 1, so xi=1+2inx_i = 1 + \frac{2i}{n}.
  • limn→∞∑i=1n(1+3in)33n\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{3i}{n}\right)^3 \frac{3}{n}: The width uses the upper limit alone. Δx=b−an=2n\Delta x = \frac{b - a}{n} = \frac{2}{n}.
  • limn→∞∑i=1n(1+2in)3\lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{2i}{n}\right)^3: Each term needs its width Δx=2n\Delta x = \frac{2}{n}; without it the sum grows without bound.

6. Let h(x)=−2h(x) = -2 for all xx. What is ∫14h(x)dx\int_1^4 h(x)\,dx?

  1. −6-6
  2. 66
  3. −8-8
  4. −2-2
Show the answer

Any Riemann sum is ∑(−2)Δxi\sum (-2)\Delta x_i=−2⋅(4−1)= -2 \cdot (4 - 1)=−6= -6, so the limit is −6-6. A definite integral of a negative function is negative.

  • Correct: −6-6: Correct: every Riemann sum on [1, 4] is the sum of (negative 2) times widths that add to 3.
  • 66: The size of the rectangle is 6, but each product in a Riemann sum is a width times a height of negative 2: each one is negative.
  • −8-8: The width of the interval is 4 - 1 = 3, not 4.
  • −2-2: That is the height. The integral is height times width, (negative 2) times 3.

Part 9 · Summary

Summary

The definite integral ∫abf(x)dx\int_a^b f(x)\,dx is the limit of Riemann sums ∑f(xi)Δx\sum f(x_i)\,\Delta x as n→∞n \to \infty, with Δx=b−an\Delta x = \frac{b - a}{n} and xi=a+iΔxx_i = a + i\,\Delta x. Translate both ways by matching the width, the points and the height. For a rate, the integral is the accumulated change.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections