Estimate ∫01x2dx with n=2 rectangles, using left, right and midpoint heights. Compare each estimate with the exact value 1/3.
∫01x2dx,n=2
1
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=21−0=21
2
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=21(0+41)=81
3
Right sum
The right ends are 1/2 and 1, with heights 1/4and 1. The right sum shares the height 1/4 with the left sum and swaps 0for 1.
R2=21(41+1)=85
4
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.
21(161+169)=165
5
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.
∫01x2dx=313−303=31
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 ∫13x2dx 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,2and 3. The left heights are 1 and 4, and the right heights 4and 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.
Estimate ∫02 (4−x2) dx 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.75and 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.
Estimate ∫03 (x−2) dx 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.
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.