Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Calculus I / The integral

Riemann Sums

A Riemann sum approximates the area under a curve by stacking rectangles — and is the gateway to the definite integral.

3 min read · 6 sections · 0 checks

Contents 6 sections
  1. §1Introduction
  2. §2Building the Sum
  3. §3The Definite Integral as a Limit
  4. §4Worked Example
  5. §5Common Mistakes
  6. §6Summary

By the end you can

  • Approximate area using left, right, and midpoint Riemann sums
  • Understand how increasing the number of rectangles improves the estimate
  • Connect Riemann sums to the definition of the definite integral

Helps to know: Antiderivatives, Limits

§1Introduction

How do we measure the area under a curved graph? There is no simple formula. The strategy is to approximate the region with rectangles whose areas we can compute, then refine the approximation with more and thinner rectangles.

§2Building the Sum

Divide the interval [aa, bb] into nn subintervals of width Δx=(b−a)/n\Delta x = (b - a)/n. On each subinterval, build a rectangle whose height is the function value at a sample point xxᵢ*.

Sn=∑if(xi∗)⋅ΔxS_{n} = \sum _{i} f(x_{i}*) \cdot \Delta x

Depending on where we sample, we get left, right, or midpoint sums — each a different approximation.

Preparing the instrument…
Fig. 1 More rectangles, smaller error: compare left, right, midpoint and trapezoid sums.

§3The Definite Integral as a Limit

When this limit exists for every choice of sample points, we call ff integrable on [aa, bb].

§4Worked Example

Approximate the area under f(x)=x2f(x) = x^{2} on [0, 2] using a right Riemann sum with nn = 4 rectangles.

Example 1Solution

  1. Width: Δx=(2−0)/4=0.5\Delta x = (2 - 0)/4 = 0.5.

§5Common Mistakes

  • Mixing up Δx with the number of rectangles n.
  • Using endpoints from the wrong interval.
  • Forgetting that the limit must be independent of the sample points chosen.

§6Summary

  1. Riemann sums approximate area with rectangles.
  2. The definite integral is the limit of Riemann sums as n → ∞.
  3. Left sums underestimate increasing functions; right sums overestimate them.