Steply

Estimate the area under y = 6 - x from x = 1 to x = 5 with 4 right…

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

Step by step

The question

Question: estimate the area under y = 6 − x from x = 1 to x = 5, with 4 right rectangles.

y = 6 − x

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, 5 minus 1, cut into 4 equal parts.

Δx = 5 − 14

So each rectangle is 1 wide.

= 1

2 The heights

The cuts are every 1: 1, 2, 3, 4, 5.

cuts: 1, 2, 3, 4, 5

Right rectangles: each height is at the right end.

So we use every cut but the first.

4 rectangles, 4 heights: 2, 3, 4, 5.

x = 2, 3, 4, 5

Careful!

4 rectangles have 4 heights, not 5.

The first cut, 1, is not used.

Careful: not x = 1, 2, 3, 4, 5 ✗

Now the heights: put each x into f.

f of 2 is 4.

The others the same way.

4
3
2
1

3 Draw the rectangles

Let's draw it.

The 4 rectangles: each one 1 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 ≈ 1 × (4 + 3 + 2 + 1)

The heights add up to 10.

≈ 1 × 10

So the area is about 10 square units.

≈ 10 square units

5 Check

Let's check with the exact area: the integral from 1 to 5.

It is 12.

exact: ∫ from 1 to 5 of (6 − x) dx = 12

Our estimate is smaller.

That makes sense: under a falling curve, right rectangles stay below it.

The gaps are the missing area.

Right!

10 < 12

Let's look back.

First: the width.

Then: the heights.

Then: draw the rectangles.

Then: add the rectangles.

Last: check.

Answer
≈ 10 square units

Your turn

Try this one yourself, then check:

Estimate the area under y = 8 − x
Show the answer
area ≈ 15 square units

More from Riemann sums

The whole lesson: Riemann sums →