FP1 6.2 - Simpson's rule
Estimate definite integrals by fitting parabolas through equally spaced ordinates (FP1 6.2). You will apply Simpson's rule with the correct weights, check that the grid is valid and reuse an estimate through algebraic relationships between integrals.
A parabola through three heights
How can a method built from parabolas integrate a cubic exactly? Simpson's rule replaces each pair of intervals by the integral of a fitted quadratic. For a cubic, the two sides' errors cancel.
Begin with three heights , at equally spaced points . The quadratic through them gives a better local description of curvature than a pair of straight-line edges.
You already know
A definite integral is signed accumulation; it can be negative. Constant multiples and sums can be taken through an integral, and a constant contributes over . These are the assumed A-level Mathematics integration ideas; the new method concerns how to estimate an integral from ordinates.
For a short derivation, measure position from the middle point using . The fitted quadratic is
It takes the three given values at . Integrating between and , the odd term vanishes and , giving
This fitted-quadratic derivation is not supplied in the booklet.
Simpson's rule for two intervals
With equal interval width , and ,
The three weights are . The rule integrates every polynomial of degree at most three exactly when the heights are exact; for general functions it is an approximation.
Not in the formula booklet: learn it.
The factor uses one interval's width , rather than the full width .
Worked example 1: a quadratic panel
Question. Use Simpson's rule with two intervals to estimate .
Plan. Use , find the three ordinates and apply weights .
Why this step? Integrating the fitted quadratic gives weights , with width factor ; keep both parts of that pattern intact.
Answer. The estimate is , and is exact for this quadratic.
Check. , agreeing with Simpson's value.
Change only the exponent of the integrand from to , retaining the same interval and grid.
Worked example 2: a cubic is exact too
Question. Use the same rule to estimate .
Plan. Keep , update the three heights and compare with the exact integral.
Why this step? The fitted quadratic need not equal the original curve between the ordinates for their signed integrals to agree.
Answer. Simpson's estimate is exactly .
Check. The fitted quadratic is , which also has integral . The difference has opposite, cancelling contributions either side of .
The cubic's error relative to its fitted quadratic is odd about the panel's centre. Its integral therefore cancels over the symmetric panel. This explains the opening surprise; fitting a quadratic does not limit exact integration to quadratic functions.
[DIAGRAM: asset_name: A cubic and its Simpson quadratic; asset_slug: 9fm0-fp1-simpson-cubic; caption: The two signed errors cancel although the fitted parabola differs from the cubic; description: A Cartesian graph on x from 0 to 2 shows the cubic x cubed and the fitted quadratic 3x squared minus 2x. Their shared points (0,0), (1,1) and (2,8) are marked. Opposite shaded regions between the curves distinguish the error on the two halves. A separate legend and side panel state that both integrals are 4 and that the error changes sign about the middle ordinate.]

Watch out
Exactness for a cubic does not make the rule exact for every smooth function. Also, Simpson's rule estimates a signed integral; geometric area below an axis needs the same sign care as exact integration.
Change only the integrand's exponent once more.
More panels and the alternating weights
For a longer table, combine the two-interval panels. Their shared endpoints are counted twice, producing the alternating interior weights.
The interval count must be even so that every interval belongs to a complete pair. That means an odd number of ordinates, including the two endpoints.
Composite Simpson's rule
For an even positive number of equal intervals, , , ,
The interior weight pattern is . The endpoint weights are . The groups use ordinate indices, regardless of the numerical values of the -coordinates.
Not in the formula booklet: learn it.
Adding adjacent panels makes the pattern visible: the first panel contributes , the next contributes , and the shared therefore has total weight . The final endpoint belongs to only one panel.
Worked example 3: four intervals from a table
Question. Use all the tabulated values to estimate , giving the answer to four decimal places.
Plan. Count four intervals, use , and group endpoints, odd-indexed and even-indexed interior ordinates.
Why this step? Five heights make four intervals, so dividing the range by would give the wrong width.
Answer. The estimate is to four decimal places.
Check. The positive decreasing integrand starts at and ends near , so an integral between and is plausible. The weights are .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account