Steply

Estimate the area under y = 12 - 2x from x = 0 to x = 6 with 3…

Step by step, with the reason for every step · Riemann sums · Calculus

Step by step

The question

Question: estimate the area under y = 12 − 2x from x = 0 to x = 6, with 3 midpoint rectangles.

y = 12 − 2x

A rectangle's area is easy: width times height.

So we fill the area under the curve with rectangles, and add them up.

rectangle area = width × height

1 The width

Each rectangle has the same width.

We call it Δx, "delta x".

Δx = the width of each rectangle

The whole width, 6 minus 0, cut into 3 equal parts.

Δx = 6 − 03

So each rectangle is 2 wide.

= 2

2 The heights

The cuts are every 2: 0, 2, 4, 6.

cuts: 0, 2, 4, 6

Midpoint rectangles: each height is in the middle, halfway between two cuts.

3 rectangles, 3 heights: 1, 3, 5.

x = 1, 3, 5

Careful!

Those are the left ends.

Midpoint means halfway between the cuts.

Careful: not x = 0, 2, 4 ✗

Now the heights: put each x into f.

f of 1 is 10.

The others the same way.

10
6
2

3 Draw the rectangles

Let's draw it.

The 3 rectangles: each one 2 wide, with its height at the green dot.

4 Add the rectangles

Every rectangle has the same width, so add the heights, then times the width.

area ≈ 2 × (10 + 6 + 2)

The heights add up to 18.

≈ 2 × 18

So the area is about 36 square units.

≈ 36 square units

5 Check

Let's check with the exact area: the integral from 0 to 6.

It is 36.

exact: ∫ from 0 to 6 of (12 − 2x) dx = 36

Close to the exact area.

More, thinner rectangles get even closer.

Right!

36 = 36

Let's look back.

First: the width.

Then: the heights.

Then: draw the rectangles.

Then: add the rectangles.

Last: check.

Answer
≈ 36 square units

Your turn

Try this one yourself, then check:

Estimate the area under y = 6 − x
Show the answer
area ≈ 16 square units

More from Riemann sums

The whole lesson: Riemann sums →