Calculus

Simpson’s Rule

A curved arc is drawn across three marked graph points.

Simpson’s Rule definition

Simpson’s rule estimates a definite integral by fitting a quadratic across each pair of equal subintervals.

In Spanish
regla de Simpson
Topic
Integrals and accumulation

Simpson’s Rule in a picture

Simpson’s Rule diagramWith two pieces, apply weights 1, 4, and 1 to the three values.f(0) = 0, f(1) = 1, f(2) = 4Three samples of x²h = 1Two equal pieces(1/3)(0 + 4·1 + 4) = 8/3Simpson estimate
With two pieces, apply weights 1, 4, and 1 to the three values.

How it works

Use an even number n of subintervals with width h = (b − a)/n. Multiply the sampled function values by weights 1, 4, 2, 4, and so on, ending with 4, 1. Add the weighted values and multiply by h/3. This form is exact for polynomials of degree at most three.

Worked examples

Can the standard rule use n = 5 equal pieces?

No. Pair the pieces, so n must be even.

Use n = 2 to estimate ∫₀² x³ dx.

(1/3)(0 + 4 × 1 + 8) = 4, which is exact.

What are the weights for n = 4?

1, 4, 2, 4, 1.

Common mistake

Count the subintervals carefully. An even number of subintervals gives an odd number of sampled endpoints.

Quick check

How many subintervals does one quadratic panel span?

Show answer

Two.

What factor multiplies the weighted sum?

Show answer

h/3.

Does the rule integrate a cubic exactly under the usual conditions?

Show answer

Yes.

Sources

Flashcard

Simpson’s Rule

Reveal the definition

Simpson’s rule estimates a definite integral by fitting a quadratic across each pair of equal subintervals.

Effortless Math. “Simpson’s Rule.” Math Dictionary.