Steply

Estimate the area under y = 2x + 1 from x = 0 to x = 4 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 = 2x + 1 from x = 0 to x = 4, with 4 right rectangles.

y = 2x + 1

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

Δx = 4 − 04

So each rectangle is 1 wide.

= 1

2 The heights

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

cuts: 0, 1, 2, 3, 4

Right rectangles: each height is at the right end.

So we use every cut but the first.

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

x = 1, 2, 3, 4

Careful!

4 rectangles have 4 heights, not 5.

The first cut, 0, is not used.

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

Now the heights: put each x into f.

f of 1 is 3.

The others the same way.

3
5
7
9

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 × (3 + 5 + 7 + 9)

The heights add up to 24.

≈ 1 × 24

So the area is about 24 square units.

≈ 24 square units

5 Check

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

It is 20.

exact: ∫ from 0 to 4 of (2x + 1) dx = 20

Our estimate is bigger.

That makes sense: on a rising curve, right rectangles stick out above it.

Right!

24 > 20

Let's look back.

First: the width.

Then: the heights.

Then: draw the rectangles.

Then: add the rectangles.

Last: check.

Answer
≈ 24 square units

Your turn

Try this one yourself, then check:

Estimate the area under y = x + 3
Show the answer
area ≈ 22 square units

More from Riemann sums

The whole lesson: Riemann sums →