A left rectangle replaces the function on each panel by its value at the left endpoint. The film accumulates these areas and then refines the partition for on .
Before watching¶
As the panels get narrower, which changes: the area of each rectangle, the number of rectangles, or both? Predict whether left rectangles underestimate or overestimate this increasing function.
Mathematical connection¶
For a panel , write . Taylor expansion gives
Integrating from to gives
The rectangle keeps . Its local truncation error is . Over a fixed interval of length , there are panels, giving composite error for a sufficiently smooth function. These orders describe truncation error, not floating-point error.
Explain what you saw¶
The running sum covers only the shaded panels. Explain why its error must be compared with the exact integral over that same covered interval. When the entire interval is covered, the exact integral is .
Use the player controls to pause, replay, or view fullscreen. The animation has no narration; its labels and the explanation above carry the content.
Continue: Lecture 7 · Full reading · All animations
![A left rectangle replaces the function on each panel by its value at the left endpoint. The film accumulates these areas and then refines the partition for f(x)=e^x on [0,1].](/comp521/build/RectangleRecall-post-159744261c92f8df35d224ade25b5dee.png)