Chapter 12

Rectangles that get skinnier

Opening question: How much space does your hand take up on the page? Not a rectangle around it — the hand.

Trap area between under- and over-counts, then let the rectangles shrink.

Printable workbook

The Shape of Change: A Kitchen-Table Guide to Calculus (24 Chapters, 10 Data Sheets, Answer Keys)

The kitchen-table calculus guide these interactives extend, sold on Gumroad. Instant download. The browser tools on this page stay free.

Get the printable workbookOpens schoolhousespace.gumroad.com

2D interactive

Riemann sum

Trap the area between an under-count and an over-count, then shrink the gap: ∑i=1nf(xi) Δx→∫04f(x) dx\sum_{i=1}^{n} f(x_i)\,\Delta x \to \int_0^4 f(x)\,dx.

04
Height of each rectangle

6 rectangles give 11.851. The true area is 12.760, so the estimate is off by 0.909. Gap between the over-count and under-count: 1.758.

A wavy curve starts at height 2, climbs to about 3.7 near x = 1.4, then sags back to about 3 at x = 4. The region under it is filled with equal-width rectangles. Under-count rectangles sit entirely under the curve, over-count rectangles poke above it, and midpoint rectangles take the curve's height at their centre. As the count goes up the rectangles get skinnier and the gap between the under-count and over-count shrinks toward zero, trapping the true area between them.

This interactive also appears on the companion hub (hash #riemann-sum).

Ch 12 — Rectangles that get skinnier · compan… · Schoolhouse