Skip to main content

Section 14.2 Other derivations of Simpson's rule

A simple way to arrive at Simpson's rule is to observe that Midpoint rule and Trapezoidal rule have errors of opposite signs due to concavity. This suggests averaging them to improve the accuracy. But the simple average \((M+T)/2\) would not achieve much because the error of midpoint rule is about half of the error of trapezoidal rule, according to the estimates in ChapterĀ 13. Instead, the weighted average \((2M+T)/3\) is used, giving weight \(2/3\) to Midpoint and \(1/3\) to Trapezoidal. The result is Simpson's rule.

But historically Simpson's rule was derived from parabolic interpolation, following the same line of reasoning that produces Trapezoid rule from linear interpolation. For simplicity, consider a function \(f\) on the interval \([-1, 1]\text{.}\) We are looking for a parabola \(g(x) = Ax^2+Bx+C\) that agrees with \(f\) at three points \(-1, 0, 1\text{.}\) This can be done by observing that

  • \(\displaystyle C=g(0)=f(0)\)
  • \(\displaystyle 2B=g(1)-g(-1)=f(1)-f(-1)\)
  • \(\displaystyle 2A = g(1)+g(-1)-2g(0) = f(1)+f(-1)-2f(0)\)

We arrive at

\begin{equation*} \int_{-1}^1 f(x)\,dx \approx \int_{-1}^1 g(x)\,dx = \frac{2}{3}A + 2C = \frac{f(1)+ 4f(0) + f(-1)}{3} \end{equation*}

which is Simpson's rule.