Use three equally spaced samples to fit a quadratic and integrate it over a pair of panels. The film accumulates successive pairs for on , refines the grid, and connects the error to Taylor symmetry.
Before watching¶
A quadratic has degree two. Could its integration rule nevertheless integrate every cubic exactly? Think about the integral of an odd function over a symmetric interval.
Mathematical connection¶
Let be the midpoint of a pair . Let be the exact integral over this pair. The pair width is :
Expand about . Odd terms cancel in both the symmetric integral and the weighted samples. The constant and quadratic terms agree; the first mismatch is
when enough derivatives exist for this expansion. More generally, for continuous , the exact remainder is for some point inside the pair. The local pair error is ; summing over a fixed interval gives composite error . Cubic exactness comes from symmetry.
Explain what you saw¶
Identify the two elementary panels belonging to each Simpson pair. Explain why halving predicts a factor of sixteen reduction in the leading composite error, and why the number of elementary panels must be even.
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
![Use three equally spaced samples to fit a quadratic and integrate it over a pair of panels. The film accumulates successive pairs for e^x on [0,1], refines the grid, and connects the error to Taylor symmetry.](/comp521/build/SimpsonRecall-poster-4cf985967cfe9ea536b371d51b323026.png)