Riemann sums

About this lesson

Calculus BC (AP-aligned) › Integrals and accumulation

To save a PDF, choose “Save as PDF” in the print dialog.

Riemann sums

Integrals and accumulation.

Warm-up

Three quick questions from earlier lessons.

Discover

To estimate the area under y=x2y = x^2 on [0,2][0, 2], you use two rectangles of width 1 whose heights are taken at the left ends, f(0)f(0) and f(1)f(1). Is the estimate too small or too big?

  1. Too small
  2. Too big

Key idea

Rectangles approximate area; thinner rectangles do better.

  1. Step 12 rectangles: 2 · 1 + 2 · 2 = 6.
  2. Step 24 rectangles: 1 + 1.25 + 2 + 3.25 = 7.5 — closer.
  3. Step 3More and thinner rectangles approach the exact area, 28/3 ≈ 9.33.

Split [a,b][a, b] into nn pieces of width Δx=b−an\Delta x = \dfrac{b - a}{n}. A Riemann sum adds f(xi∗) Δxf(x_i^*)\,\Delta x, with xi∗x_i^* the left end, right end or midpoint of each piece. For increasing ff, left sums underestimate and right sums overestimate.

Worked example

Right sum for ∫03x2 dx\displaystyle\int_0^3 x^2\,dx with 3 pieces.

Δx=1\Delta x = 1
Width 1; right ends 1, 2, 3.
1+4+9=141 + 4 + 9 = 14
Heights f(1), f(2), f(3).
R3=14R_3 = 14
Compare with the exact value 9: an overestimate.

Your turn, guided

Your turn: the left sum for the same integral, 3 pieces.

L3=5L_3 = 5
f(0) + f(1) + f(2).

Practice ★

  1. Estimate ∫05x2 dx\displaystyle\int_0^{ 5 } x^2\,dx with a left Riemann sum of 5 subintervals of width 1.
  2. Estimate ∫06x2 dx\displaystyle\int_0^{ 6 } x^2\,dx with a left Riemann sum of 6 subintervals of width 1.
  3. Estimate ∫04x2 dx\displaystyle\int_0^{ 4 } x^2\,dx with a left Riemann sum of 4 subintervals of width 1.

Watch out!

Practice ★★

  1. Estimate ∫04(x2+4) dx\displaystyle\int_0^4 (x^2 + 4)\,dx with a midpoint sum of 2 subintervals.
  2. Estimate ∫04(x2+2) dx\displaystyle\int_0^4 (x^2 + 2)\,dx with a midpoint sum of 2 subintervals.
  1. ff is increasing on [0,7][0, 7]. How does a left Riemann sum compare with ∫07f(x) dx\displaystyle\int_0^{ 7 } f(x)\,dx?
    1. It underestimates: each rectangle uses the lowest height on its piece
    2. It overestimates
    3. It is exact

Exit ticket

Three questions to check you have got it.

  1. Estimate ∫05x2 dx\displaystyle\int_0^{ 5 } x^2\,dx with a left Riemann sum of 5 subintervals of width 1.
  2. Estimate ∫06x2 dx\displaystyle\int_0^{ 6 } x^2\,dx with a left Riemann sum of 6 subintervals of width 1.
  3. Estimate ∫04x2 dx\displaystyle\int_0^{ 4 } x^2\,dx with a left Riemann sum of 4 subintervals of width 1.

Summary card

Riemann sums

  • Δx=(b−a)/n\Delta x = (b - a)/n; add height × Δx\Delta x.
  • Left, right or midpoint heights.
  • Increasing ff: left under, right over.

Watch out: multiply by the width.

CC BY-SA 4.0