Simpson's rule
Studying this course? Keep your progress in one place.
Key facts
- Simpson's rule estimates by fitting parabolas to pairs of strips.
- The weights are , and the sum is multiplied by .
- It needs an even number of strips, so an odd number of ordinates; strips = ordinates .
- The strip width is .
- More strips usually give a better estimate; it is exact for polynomials up to degree 3.
The formula
Simpson's rule weights the ordinates and multiplies the total by .
Simpson's rule fits a parabola through each pair of adjacent strips and finds the area under each parabola.
For strips of equal width , with ordinates , the first and last ordinates have weight 1, the odd-numbered ordinates have weight 4 and the even-numbered interior ordinates have weight 2.
Remember: it starts and finishes with 1, and a 4 comes straight after the first ordinate.
- Simpson's rule
Which are the weights for 4 strips?
Strips and ordinates
Use an even number of strips; the number of ordinates is one more, and divides by the strips.
Simpson's rule needs an even number of strips , because the parabolas are fitted to pairs of strips. That gives an odd number of ordinates, .
With 4 strips there are 5 ordinates; with 6 strips, 7. If a question gives 5 ordinates, you have 4 strips, so is the interval length divided by 4, not 5.
The -values are . Write down the table of and values before substituting.
- Stripsordinates − 1
- Strip width
Worked example
A table gives 9 ordinates for from to . Find .
- 1
Strips = ordinates .
- 2
.
Can Simpson's rule be used with 5 strips?
A worked estimate
Find , tabulate the ordinates, group them as ends, odd and even, then substitute once.
Estimate using 4 strips. The exact value is , so you can see how close the estimate is.
Collect the ordinates into three groups first: ends, odd positions, even positions. Then substitute once, so you do not lose a term. Keep full calculator values and round only the final answer.
Solution
Estimate using 4 strips.
- 1
.
- 2
Ordinates at : .
- 3
Ends: . Odd: . Even: .
- 4
Total: .
What should you do with the ordinates in the calculation?
Accuracy and error
It is exact for polynomials of degree 3 or lower, and more strips usually give a smaller percentage error.
Simpson's rule is exact for any polynomial of degree 3 or lower, and generally very accurate for smooth curves.
Using more strips (smaller ) usually makes the estimate more accurate. Judge accuracy against an exact value from integration, using the percentage error . Divide by the exact value, not the estimate, unless told otherwise.
Worked example
Estimate with 4 strips and find the percentage error.
- 1
; ordinates .
- 2
.
- 3
Exact: .
- 4
Error: .
What does Simpson's rule give exactly?
Try an exam question
Use Simpson's rule with 4 strips to estimate , giving your answer to 3 decimal places.
[4 marks]
- [1] and ordinates .
- [1]Uses weights with a factor .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
What is the width of each strip?
1 mark, marked against the mark scheme
What is the width of each strip?
1 mark, marked against the mark scheme