Chalk−1

Math · Calculus I · Worked example

Left, right and midpoint sums for x²

Estimate ∫01 x2 d⁢x with n=2 rectangles, using left, right and midpoint heights. Compare each estimate with the exact value 1⁢/3.

∫01x2d⁢x,n=2

Choose the partition

With n=2 pieces, the width is Δ⁢x=(1−0)⁢/2=1⁢/2. The endpoints are x0=0, x1=1⁢/2 and x2=1.

Δ⁢x=1−02=12

Left sum

The left ends are 0 and 1⁢/2, with heights 02=0 and (1⁢/2)2=1⁢/4. Add the heights and multiply by the width 1⁢/2.

L2=12(0+14)=18

Right sum

The right ends are 1⁢/2 and 1, with heights 1⁢/4 and 1. The right sum shares the height 1⁢/4 with the left sum and swaps 0 for 1.

R2=12(14+1)=58

Midpoint sum

The midpoints of [0,1⁢/2] and [1⁢/2,1] are 1⁢/4 and 3⁢/4. Their heights are 1⁢/16 and 9⁢/16. Add them and multiply by the width.

12(116+916)=516

Compare with the exact value

The exact value is 1⁢/3≈0.333, which the Fundamental Theorem of Calculus finds from the antiderivative x3/3. Because x2 rises on [0,1], the left sum 0.125 is too low and the right sum 0.625 too high. The midpoint sum 0.3125 misses by only 1⁢/48≈0.021.

∫01x2d⁢x=133−033=13

Result

L2=1⁢/8=0.125, R2=5⁢/8=0.625 and M2=5⁢/16=0.3125, against the exact 1⁢/3≈0.333.

Your turn

1. One like the example

Estimate ∫13 x2 d⁢x with n=2 rectangles, using left, right and midpoint heights. The exact value is 26⁢/3.

Show the answer and explanation

L2=5, R2=13 and M2=8.5, against the exact 26⁢/3≈8.667.

Δ⁢x=(3−1)⁢/2=1, with endpoints 1, 2 and 3. The left heights are 1 and 4, and the right heights 4 and 9. The midpoint heights are 1.52=2.25 and 2.52=6.25. x2 rises on [1,3], so the left sum is low and the right sum high. The midpoint sum misses by only 1⁢/6.

Δ⁢x=3−12=11⁢(1+4)=51⁢(4+9)=131⁢(2.25+6.25)=8.5∫13x2d⁢x=333−133=263

2. A variation

Estimate ∫02 (4−x2) d⁢x with n=4, using left and right sums. This function falls. The exact value is 16⁢/3.

Show the answer and explanation

L4=6.25 and R4=4.25, against the exact 16⁢/3≈5.333.

Δ⁢x=0.5, and the points 0, 0.5, 1, 1.5 and 2 have heights 4, 3.75, 3, 1.75 and 0. The left sum uses the first four heights and the right sum the last four. Because 4−x2 falls on [0,2], the left sum is too big and the right sum too small, the reverse of a rising function.

Δ⁢x=2−04=0.50.5⁢(4+3.75+3+1.75)=6.250.5⁢(3.75+3+1.75+0)=4.25∫02(4−x2)d⁢x=8−83=163

3. Somewhere new

Estimate ∫03 (x−2) d⁢x with three midpoint rectangles. What does the sign of the answer say?

Show the answer and explanation

−1.5, which is exact. More of the region lies below the x-axis than above it.

Δ⁢x=1, and the midpoints 0.5, 1.5 and 2.5 have heights −1.5, −0.5 and 0.5, which add to −1.5. The line is below the axis from 0 to 2, a triangle of area 2, and above it from 2 to 3, a triangle of area 0.5. The signed area is 0.5−2=−1.5. For a straight line, each midpoint rectangle gains exactly the small triangle it loses, so the estimate is exact.

Δ⁢x=3−03=11⁢(−1.5−0.5+0.5)=−1.5∫03(x−2)d⁢x=92−6=−32

Keep exploring

In Riemann Sums, raise n from 2 to 4 and then 8. The midpoint sum becomes 0.328125 and then 0.33203125: each doubling of n makes the error four times smaller.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Study it, then try it

Practice the key terms as flashcards, then open the example in its tool, change a value and keep a useful result on your board.

Study the 6 key terms Open Riemann Sums Check the sums in Math Open worked example on a board Riemann sum in Math Reference

Your existing work stays on this device. Examples open as editable copies.