Fitting the Curve Better
Simpson's rule
Trapezoids join the points with straight segments. But a curve is… curved. Hence the brilliant idea behind Simpson's rule: join the points with small arcs of parabolas, which follow the curvature.
We group the points three at a time — so we need an even number of pieces — and, on each pair of pieces, we pass the parabola that agrees with at those three points. The area under these parabolas gives a remarkable approximation:
The pattern of coefficients is distinctive: . The endpoints count , the points with odd index count , and the interior points with even index count .
| Method | What approximates the curve | Order of the error |
|---|---|---|
| rectangles | flat top | |
| trapezoids | straight segment | |
| Simpson | arc of a parabola |
Simpson's accuracy is spectacular: the error decreases like . Better still, the method gives the exact result for every polynomial of degree . On with only pieces, Simpson already finds the exact value , whereas the trapezoids are still off:
| Method, with | |
|---|---|
| trapezoids | |
| Simpson | , exact value |
Remember the progression: flat, then straight, then curved. Each level fits better, and accuracy shoots up for the same number of points. This is why Simpson's rule is so widely used in practice.

