Doug C. answered 12/11/25
Math Tutor with Reputation to make difficult concepts understandable
The width of each subinterval/rectangle is (5-0)/8 = 5/8.
To find x1,x2,...x8 using righthand endpoints, start at 0 and add on 1 width to get to x1. Then keep adding on widths until you get to x8.
x1 = 0 + 1(5/8) = 5/8
x2 = 5/8 + 5/8 = 10/8
x3 = 10/8 + 5/8 = 15/8
and so on... 20/8, 25/8, 30/8, 35/8, 40/8.
Those values can be reduced, but for now let all the denominators remain 8.
The area of the 1st rectangle is length times width.
A1 = (5/8)f(5/8) = (5/8) (1/ [(5/8) + 4]) =(5/8)(8/37)
A2 = (5/8)f(10/8) = (5/8) (1/[(10/8) + 4]) = (5/8)(8/42)
A3= (5/8)f(15/8) = (5/8)(1/[(15/8) + 4]) = (5/8)(8/47)
...
R8 = (5/8)[8/37 + 8/42 + 8/47 + 8/52 + 8/57 + 8/62 + 8/67 + 8/72] ≈ 0.76916
For lefthand xi:
x1 = 0
x2 = 5/8
x3 = 10/8
...
A1 = (5/8)f(0) = (5/8)(1/4)
A2 = (5/8)f(5/8) = (5/8)(8/37)
A3 = (5/8)f(10/8) = (5/8)(8/42)
...
L8 = (5/8) [1/4 + 8/37 + 8/42 + 8/47 + 8/52 + 8/57 + 8/62 + 8/67] ≈ 0.85596
This Desmos graph does the calculations:
desmos.com/calculator/ix6ktk2ooe
Use the slider on "c" (choice) to choose left, right , or midpoint.