A video game awards points based on your level: at level
x, you earn
x2 points per second. If you play from level 1 to level 5, use
n=4 midpoint rectangles to estimate your total points earned.
Δx=45−1=1 The interval [1,5] is divided into 4 subintervals, each of width 1.
x1∗=1.5,x2∗=2.5,x3∗=3.5,x4∗=4.5 For midpoint rectangles, use the center of each subinterval [1,2], [2,3], [3,4], [4,5].
f(1.5)=(1.5)2=2.25,f(2.5)=(2.5)2=6.25,f(3.5)=(3.5)2=12.25,f(4.5)=(4.5)2=20.25 Compute x2 at each midpoint: (1.5)2=2.25, (2.5)2=6.25, (3.5)2=12.25, (4.5)2=20.25.
(2.25+6.25+12.25+20.25)⋅1=41 Add up all the rates (heights) and multiply by the time width (1 second per level) to get total points.
This midpoint Riemann sum approximates the video game's total points by sampling the earning rate at the middle of each level range. Midpoint sums often balance overestimation and underestimation better than left or right endpoints.