Home page for accesible maths 3 Chapter 3 contents

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.13 Simpson’s Rule

Theorem (Simpson’s Rule).

Let f(x)f(x) be a suitably differentiable function on [a,b][a,b]. Then

abf(x)dx=(b-a)6{f(a)+4f(a+b2)+f(b)}+E\int_{a}^{b}f(x)\,dx={{(b-a)}\over{6}}\Bigl\{f(a)+4f\Bigl({{a+b}\over{2}}\Bigr% )+f(b)\Bigr\}+E

where the error term is

E=-(b-a)5f(4)(c)2880E=-{{(b-a)^{5}f^{(4)}(c)}\over{2880}}

for some cc between aa and bb.

In many cases the error is very small and Simpson’s rule gives a good approximation. When the rule is applied to a quadratic, such as p(x)=a2x2+a1x+a0p(x)=a_{2}x^{2}+a_{1}x+a_{0}, the error is zero.