Joe Lertola · Mathematical Handbook Big idea 6 of 12

Adding up thin slices

From the handbook: Integral Calculus, §314–325 and §337–338, pages 446–467 and 496–499

Slice an area into strips and add them; thinner strips give the exact answer, and that answer is a derivative run backwards.

Vygodsky's Mathematical Handbook
The area under the curve from a to b, cut into n strips. Add strips.
The running total of area, from a up to each point. Its slope at b is the height of the curve at b.
Strips
Width of each
Sum of the strips

The shortcut

Exact area
Strips are off by

Slope of the total at b

Height of the curve at b

Area by slicing

How big is the area under a curve? A rectangle is easy: width times height. So cut the area into thin upright strips, treat each strip as a rectangle, and add up the rectangles. The strips are a little too big or too small at their tops, but the thinner they are, the smaller that error gets. With endlessly thin strips the sum is exact. This limit of a sum (idea 3 again) is the definite integral, written

∫ab f(x) dx

Read it as “the integral from a to b of f of x, d x”. The tall curly ∫ is an old-fashioned long S, for “sum”. a and b are where the area starts and stops. f(x) is the height of the curve, the height of one strip. dx is the width of one strip, imagined endlessly thin. So the whole thing says: add up height × width for all the strips from a to b.

The book's example: the area under y = 3x² from 0 to 1

With 4 strips, each 0.25 wide, measured at their left edges, the heights are 3 × 0², 3 × 0.25², 3 × 0.5² and 3 × 0.75², that is 0, 0.1875, 0.75 and 1.6875. Times the width 0.25 and added: 0.656. That is the picture when the page opens. All the strips sit under the curve, so this is too small.

More strips: 10 give 0.855, 100 give 0.985, 1000 give 0.9985. The sums are heading for 1. So the area is exactly 1.

The shortcut: a derivative run backwards

Now look at the right-hand picture. It plots the running total: the area from a up to each point along the way. Step a little further to the right and the total grows by one more thin strip, whose height is the height of the curve there. So the steepness of the running total at any point equals the height of the curve at that point. In words: the slope of the total is the curve.

That turns the problem round. To find the total, find a rule whose slope (derivative, idea 4) is the curve. For y = 3x² that rule is x³, because the slope of x³ is 3x². Then the area from a to b is just the change in x³ between them. This is the Newton-Leibniz formula (§322):

∫ab f(x) dx = F(b) − F(a)

Read it as “the integral from a to b of f equals F at b minus F at a”, where F is any rule whose slope is f (an antiderivative). For our example: 1³ − 0³ = 1, the same answer the strips were creeping toward, with no adding at all. The book gives the reason in one line: each strip is almost exactly the change in x³ across it, and when you add up all the changes, everything cancels except the last value minus the first.

Where it shows up

Any total built from a rate is an integral. Distance is the integral of speed over time (the book's mechanical meaning, §317), so a Strava ride's distance is the area under its speed graph, and its total climb is the sum of every small rise. The lathe tool in LightWave or Blender makes a solid of revolution: its volume is the sum of thin disks, which the book computes in §337. The length of a curve is the sum of tiny straight pieces (§338).

Try this

  1. Slide the number of strips up and watch the sum close in on the exact area. Then switch between left, middle and right edges: left is too small, right too big, and middle is much closer than either.
  2. Move b and watch the orange tangent on the right. Its slope always matches the height of the curve above b on the left.
  3. Choose y = 2x. The area is a triangle, so you can check it by hand: half of base times height. The formula gives b² − a².
  4. Choose y = sin x and set b near 3.14 (π). The area under one hump of the sine wave is exactly 2.

In the book

Vygodsky, Mathematical Handbook: Higher Mathematics, chapter “Integral Calculus”.

  • §314–317 The definite integral as a limit of sums, and what it means for areas and for motion. p. 446–455
  • §320–321 The integral as a function of its upper end: the running total, and its slope. p. 458–462
  • §322–323 The Newton-Leibniz formula, with ∫2x dx = b² − a² and ∫3x² dx = b³ − a³. p. 462–465
  • §337–338 Volume of a solid of revolution; length of a curve. p. 496–499