Simpson's ruleEdexcel A-Level Further Maths: Revision notes
Section 1
The idea and the formula
Simpson's rule estimates a definite integral by fitting a parabola through each pair of adjacent strips and finding the area under each parabola. For strips of equal width , with ordinates where : The first and last ordinates have weight 1, the odd-numbered ordinates have weight 4 and the even-numbered interior ordinates have weight 2. The pattern of weights is .
Remember the weights as : they start and finish with 1, and a 4 comes immediately after the first ordinate.
Section 2
Number of strips and ordinates
Simpson's rule needs an even number of strips (so an odd number of ordinates, ), because the parabolas are fitted to pairs of strips. With 4 strips there are 5 ordinates; with 6 strips there are 7. If a question gives 5 ordinates, you have 4 strips, so is the interval length divided by 4, not 5. The -values are . Always write down the table of and values before substituting.
Dividing the interval by the number of ordinates instead of the number of strips. Strips = ordinates .
Section 3
Worked example
Estimate using 4 strips. . Ordinates at : . The exact value is , so the estimate is very close. Keep full calculator values for the ordinates and round only the final answer.
Collect the ordinates into three groups first: ends, odd positions, even positions. Then substitute once, so you do not lose a term.
Section 4
Accuracy and error
Simpson's rule is exact for any polynomial of degree 3 or lower, and is generally very accurate for smooth curves. Using more strips (smaller ) usually makes the estimate more accurate. To judge accuracy compare with an exact value from integration: For , 4 strips give (error ) and 8 strips give (error ): doubling the number of strips cut the error by about a factor of nine.
Dividing the error by the estimate. Divide by the exact value unless the question says otherwise.
Section 5
Using Simpson's rule in questions
- Write the strip width, the list of -values and the table of -values.
- Apply the weights and multiply by .
- If the question changes the number of strips, recalculate and all ordinates.
- Give the final answer to the accuracy requested, using unrounded ordinates in the calculation.
- If the function is given as a table of values, use those values directly.
Sanity check: the answer should be close to (interval length) (typical -value). A badly misplaced weight of 4 or 2 usually shows up here.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Simpson's rule
- Simpson's rule with 4 strips is used to estimate . The values of at are respectively.The exact value of the integral is . Find the percentage error in the Simpson's rule estimate, giving your answer to 3 significant figures.2 marks
- Simpson's rule is used with 4 strips to estimate . The values of at are respectively.Use the values to find the Simpson's rule estimate of the integral, giving your answer to 3 significant figures.2 marks
- Let , whose exact value is . A calculator may be used.Use Simpson's rule with 4 strips to estimate , giving your answer to 5 significant figures.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).