Riemann sums

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus AB (AP-aligned) › Integrals and accumulation

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

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Riemann sums

Integrals and accumulation.

Warm-up

Three quick questions from earlier lessons.

  1. A car drives at 40 mph for 1 hours, then at 20 mph until hour 4. How far does it travel, in miles?
  2. From rest, a cart's velocity is v(t)=4tv(t) = 4t m/s. How far does it go in the first 6 seconds, in meters?
  3. A particle's velocity is v(t)=t−1v(t) = t - 1 m/s. Find its displacement from t=0t = 0 to t=8t = 8, in meters (areas below the axis count as negative).

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Estimate ∫07x dx\displaystyle\int_0^{ 7 } x\,dx with a right Riemann sum of 7 subintervals of width 1.
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits