Doug C. answered 21d
Math Tutor with Reputation to make difficult concepts understandable
The width of each rectangle is (3-1)/n = 2/n.
For right hand sum:
x1 = 1 + 1(2/n) : start at 1 and add on 1 width
x2 = 1 + 2(2/n): start at 1 and add on 2 widths
In general xi = 1 + i (2/n) = 1 + 2i/n
The area of the ith rectangle:
Ai = (2/n) [f(xi)] = (2/n)[5 - xi] = (2/n)[5 - (1 + 2i/n)] = (2/n)[4 - 2i/n] = 8/n - 4i/n2
The sum of the areas of all the rectangles is:
∑i=1n (8/n - 4i/n2), where in this case n = 2. The post indicates you probably should replace n with 2 and stop here to get an approximate area.
But continuing:
Using summation properties (where ∑ implies from i = 1 to n):
(1/n)∑ 8 - 4/n2∑ i
(1/n)(8n) - 4/n2 [(n2+n)/2]
8 - 2 [(n2 + n)/n2] = 8 - 2[ 1 + 1/n]
Taking the limit of that expression as x -> ∞ gives 8 - 2[1 + 0] = 6.
This graph reveals that the region in question is a trapezoid and the area can be found using formula for area of a trapezoid rather than using a Riemann sum.
desmos.com/calculator/cqfvh2u5i8
Follow similar patterns for left hand sum and midpoint sum, but the xi will probably be a bit more complicated.