← Calculus 1

Riemann sums

Approximate area with rectangles.

Start this lesson

To approximate the area under a curve from a to b, split the interval into n equal pieces of width Δx = (b − a)/n and add up rectangles. A left sum uses the height at the left end of each piece; a right sum uses the right end. More rectangles give a better approximation.

Example: f(x) = x² from 0 to 2, n = 4, right sum

  1. Δx = 0.5 — (2 − 0)/4
  2. 0.5(0.25 + 1 + 2.25 + 4) — Heights at x = 0.5, 1, 1.5, 2
  3. 3.75 — Right sum

Why it works: Thin rectangles almost fill the area under a curve. Adding their areas estimates the total, and thinner rectangles get closer.

Tip: For an increasing function, the left sum underestimates and the right sum overestimates.