All revision notes topics

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 nn strips of equal width h=b−anh=\frac{b-a}{n}, with ordinates y0,y1,…,yny_0,y_1,\ldots,y_n where yr=f(a+rh)y_r=f(a+rh): ∫aby dx≈h3[y0+yn+4(y1+y3+⋯+yn−1)+2(y2+y4+⋯+yn−2)].\int_a^b y\,dx\approx\frac{h}{3}\Big[y_0+y_n+4(y_1+y_3+\cdots+y_{n-1})+2(y_2+y_4+\cdots+y_{n-2})\Big]. 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 1,4,2,4,2,…,4,11,4,2,4,2,\ldots,4,1.

Key termsSimpson's ruleordinatestrip width
Exam tip

Remember the weights as 1,4,2,4,…,4,11,4,2,4,\ldots,4,1: 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 nn (so an odd number of ordinates, n+1n+1), 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 hh is the interval length divided by 4, not 5. The xx-values are a, a+h, a+2h, …, ba,\ a+h,\ a+2h,\ \ldots,\ b. Always write down the table of xx and yy values before substituting.

Key termseven number of strips
Common mistake

Dividing the interval by the number of ordinates instead of the number of strips. Strips = ordinates −1-1.

Section 3

Worked example

Estimate ∫0141+x2 dx\int_0^1\frac{4}{1+x^2}\,dx using 4 strips. h=0.25h=0.25. Ordinates at x=0,0.25,0.5,0.75,1x=0,0.25,0.5,0.75,1: 4, 3.7647, 3.2, 2.56, 24,\ 3.7647,\ 3.2,\ 2.56,\ 2. 0.253[4+2+4(3.7647+2.56)+2(3.2)]=0.253(37.6988)=3.1416.\frac{0.25}{3}\big[4+2+4(3.7647+2.56)+2(3.2)\big]=\frac{0.25}{3}(37.6988)=3.1416. The exact value is π=3.14159…\pi=3.14159\ldots, so the estimate is very close. Keep full calculator values for the ordinates and round only the final answer.

Exam tip

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 hh) usually makes the estimate more accurate. To judge accuracy compare with an exact value from integration: percentage error=∣estimate−exact∣exact×100.\text{percentage error}=\frac{|\text{estimate}-\text{exact}|}{\text{exact}}\times100. For ∫151x dx=ln⁡5\int_1^5\frac1x\,dx=\ln5, 4 strips give 1.6221.622 (error 0.794%0.794\%) and 8 strips give 1.6111.611 (error 0.0875%0.0875\%): doubling the number of strips cut the error by about a factor of nine.

Key termspercentage error
Common mistake

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 xx-values and the table of yy-values.
  • Apply the weights 1,4,2,…,4,11,4,2,\ldots,4,1 and multiply by h3\frac{h}{3}.
  • If the question changes the number of strips, recalculate hh 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.
Exam tip

Sanity check: the answer should be close to (interval length) ×\times (typical yy-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

  1. Simpson's rule with 4 strips is used to estimate ∫02f(x) dx\int_{0}^{2}f(x)\,dx. The values of f(x)f(x) at x=0, 0.5, 1, 1.5, 2x=0,\ 0.5,\ 1,\ 1.5,\ 2 are 1, 3, 4, 6, 71,\ 3,\ 4,\ 6,\ 7 respectively.
    The exact value of the integral is 8.78.7. Find the percentage error in the Simpson's rule estimate, giving your answer to 3 significant figures.2 marks
  2. Simpson's rule is used with 4 strips to estimate ∫210f(x) dx\int_{2}^{10}f(x)\,dx. The values of f(x)f(x) at x=2, 4, 6, 8, 10x=2,\ 4,\ 6,\ 8,\ 10 are 3, 5, 8, 12, 173,\ 5,\ 8,\ 12,\ 17 respectively.
    Use the values to find the Simpson's rule estimate of the integral, giving your answer to 3 significant figures.2 marks
  3. Let I=∫0141+x2 dxI=\int_{0}^{1}\frac{4}{1+x^{2}}\,dx, whose exact value is π\pi. A calculator may be used.
    Use Simpson's rule with 4 strips to estimate II, giving your answer to 5 significant figures.3 marks
See the full worksheet

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).