Parabolic panels instead of straight chords
Simpson’s rule approximates a graph by a parabola across two equal subintervals at a time. Each such panel uses three nodes: left endpoint, midpoint and right endpoint. Composite Simpson quadrature repeats the pattern across the interval. Here n counts equal subintervals and must be even. Some sources instead count parabolic panels; check the convention before comparing formulas.[1]
fi=f(a+ih), with even n. The weights are 1,4,2,4,…,2,4,1.[1]
This is an integral approximation, not automatic identification of an unknown function. Five samples do not uniquely determine the behavior between them. For sufficiently smooth functions on a fixed integration interval, composite Simpson integration has error of order h4, while the composite trapezoidal rule has error of order h2. Do not assume that advantage survives jumps, corners or strongly noisy measurements.[2]
Exactness and error bounds are different claims
Integrate the quadratic interpolating polynomial. Symmetry makes the rule exact even for polynomials of degree at most 3.[1]
This guaranteed bound requires f∈C4[a,b] and a valid M4. The samples alone provide no such guarantee.[1]
Halving h under the same assumptions reduces the upper bound by a factor of 16: this is fourth-order accuracy, not a promise of four correct decimal places. Even for a cubic polynomial, exactness up to arithmetic rounding assumes the entered samples actually come from that polynomial. Measurement noise and incorrect nodes do not inherit the theorem.[1]
Exact for a cubic, approximate for a quartic
Cubic function over four subintervals
- Given
- f(x)=x3 on [0,2], h=1/2; samples 0, 1/8, 1, 27/8, 8.
- Find
- Apply the weights correctly.
Assign weights 1,4,2,4,1 to the five samples.
The weighted sum is 24.
Result: S4=4 is exact here.
Check: . The cubic function has zero fourth derivative.
Quartic function with a calculable error
- Given
- f(x)=x4 on [0,2], n=4; samples 0, 1/16, 1, 81/16, 16.
- Find
- Compare approximation, exact integral and error bound.
Insert the samples with the same weights.
The antiderivative supplies the reference value.
Result: S4≈6.416667 rather than I=6.4; overestimate 1/60.
Check: Here M4=24 and 2·(1/2)4·24/180=1/60. This polynomial attains the bound.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
The calculator uses exactly five samples
This specialized calculator fixes n=4. Its five samples f0,…,f4 therefore belong to a, a+h, a+2h, a+3h and b, where h=(b−a)/4. It does not accept arbitrary function expressions or recover a function from an image. Inputs are normalized values; application units multiply the horizontal-axis unit by the function-value unit. Negative samples are allowed because the result is a signed integral.[1]
Require a<b. Accuracy guarantees need additional derivative information and are not inferred from five points.[1]
Practise weights, exactness and data quality
Calculate · Foundation
Calculate S4 for f(x)=x2 on [0,2].
Show hint
The five samples are 0, 1/4, 1, 9/4, 4.
Learning goal: Apply alternating weights.
Show solution and calculation
, agreeing with direct power integration.
Error analysis · Application
A proposal uses n=3 in the composite Simpson 1/3 rule. What is wrong?
Show hint
Each parabolic panel requires two subintervals.
Learning goal: Explain the even-subinterval requirement.
Show solution and calculation
Three subintervals cannot be partitioned into pairs.
Choose, for example, n=4 with five corresponding samples.
Simpson’s 3/8 rule is a different formula and cannot silently replace the 1/3 rule.
Interpret · Foundation
For f=−3 on [0,2], all samples are negative. Find S4 and interpret the sign.
Show hint
The weights sum to 12.
Learning goal: Distinguish a signed integral from area.
Show solution and calculation
S4=(2/12)·(−36)=−6.
The signed integral is negative; the unsigned geometric area is 6.
Transfer · Application
On [0,2], |f(4)|≤30. Compare the error bounds for n=4 and n=8.
Show hint
Use h=2/n and the fourth power.
Learning goal: Use the convergence order quantitatively.
Show solution and calculation
For n=4: 2·(1/2)4·30/180=1/48.
For n=8: 2·(1/4)4·30/180=1/768.
The second is one sixteenth of the first.
Error analysis · Application
Samples of x2 are measured at x=0, 0.2, 0.8, 1.5, 2. May they be inserted directly into S4?
Show hint
Check equal spacing, not merely the count.
Learning goal: Recognize invalid sample placement.
Show solution and calculation
No.
Spacings 0.2, 0.6, 0.7, 0.5 differ.
Having five samples is insufficient.
On [0,2] with n=4, the required nodes are 0, 0.5, 1, 1.5, 2.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 1, 2026
- OpenStax Calculus Volume 2, §3.6 Numerical Integration
- TU Clausthal, Mathematik interaktiv: Numerische Integration
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a distinct DE/EN article with model limits, two worked examples and five varied exercises.
Cite this reference page
Quanta. Composite Simpson's Rule. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/simpsonregel-numerische-integration
When citing a specific scientific statement, also cite the specialist source linked to that statement.