Skip to content
Tactiverge

School/□ Systems Engineer/Week 6

Riemann sums: adding up thin strips

A drone's climb rate changes every moment. How high has it gone after 4 seconds? Chop time into strips, pretend the rate is constant in each, and add.

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Distance from speed, energy from power, charge from current, water from a flow meter: every total is a sum of rate × small time. This is the second half of calculus and the basis of every numerical integrator, from a step counter to a spacecraft navigation computer.

  • ◇ Estimate an accumulated quantity with left, right and midpoint Riemann sums.
  • ◇ Explain why left and right sums bracket the true value for a monotonic rate.
  • ◇ Describe the definite integral as the limit of Riemann sums.

2.Predict

A drone climbs at v(t) = 0.5t² + 1 m/s. A left Riemann sum with 4 one-second strips over 0–4 s gives 11 m. Is the true height gained more or less than 11 m?

Guess first. Being wrong here is how the surprise works.

3.Discover

Choose the drone climb rate, rule Left and n = 4. Read the estimate. Switch to Right and Midpoint. Then double n repeatedly: by what factor does the left-sum error shrink each time? What about the midpoint error?

Loading the interactive…

Can't use the interactive? Read a description instead

The accumulator draws rectangles under the drone climb-rate curve. With 4 left strips the estimate is 11 m against an exact 14.67 m; right strips give 19 m; midpoint 14.5 m. Doubling the strips halves the left and right errors and quarters the midpoint error, as the readout's error ratio shows.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1 · a fresh version every time

A drone's climb rate is v(t) = 2t² + 0 m/s. Estimate the height gained from t = 0 to t = 4 s with a midpoint Riemann sum of 6 equal strips, in metres.

m

5.Watch

→ Watch the first section: distance from a velocity graph by adding thin rectangles, and why thinner rectangles get closer.

Recovers distance from a velocity graph by adding thin rectangles, then shows why antiderivatives give the exact answer.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.Understand

Rate × width, added up

Split [a, b] into n strips of width Δt = (b − a)/n. In each, take one sample of the rate and multiply by Δt. Left uses the start of each strip, right the end, midpoint the middle. Each product has the units of the total: (m/s) × s = m.

Bracketing and error

For an increasing rate, left sums underestimate and right sums overestimate, so the truth lies between. Doubling n halves the left or right error (error ∝ Δt). The midpoint sum is far better: its error falls by about 4 each time n doubles (∝ Δt²).

The definite integral

As n → ∞ every rule converges to the same number, the definite integral ∫ₐᵇ f(t) dt: the exact accumulated quantity and the area under the curve (counting area below the axis as negative). The ∫ is a stretched S for 'sum' and dt recalls Δt.

Explain it another way

Fill the area under the curve with Lego bricks. Thinner bricks fit the curve more closely. With infinitely thin bricks there is no gap left: that is the integral.

Worked example 1

Left, right and midpoint sums for v = 0.5t² + 1 on [0, 4] with n = 4.

Δt = 1. Left: v(0..3) = 1, 1.5, 3, 5.5 → 11 m. Right: v(1..4) = 1.5, 3, 5.5, 9 → 19 m. Midpoint: v(0.5, 1.5, 2.5, 3.5) = 1.125, 2.125, 4.125, 7.125 → 14.5 m. Exact: 14.67 m.

Common mix-ups

  • The area under a velocity curve is a velocity.
    ✓ Area has units of height × width: (m/s) × s = metres. It is the distance.
  • More strips always mean a different answer, so integrals are never exact.
    ✓ The sums converge to one exact limit: the definite integral.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Right Riemann sum of v = 0.5t² + 1 m/s on [0, 4] with 4 strips, in metres.

m

Practice 3

Midpoint sum for the same rate, [0, 4], 4 strips, in metres.

m

Practice 4

A tank drains with an outflow rate that decreases over time. A left Riemann sum of the outflow will…

Practice 5 · a fresh version every time

A drone's climb rate is v(t) = 3t² + 1 m/s. Estimate the height gained from t = 0 to t = 2 s with a right Riemann sum of 5 equal strips, in metres.

m

8.Apply it

Record your speed every 10 s on a short walk or bike ride (a phone app or estimates). Estimate the distance with left and right sums. Compare with a map. Which sum is closer, and why?

9.Reflect

10.Go further

Concepts: Integrals and accumulation · Numerical integration and differentiation