A quadratic through an interval’s endpoints and midpoint need not equal the original cubic. Yet their signed area difference cancels across the midpoint. Integrating that quadratic yields Simpson’s weights, exact for every polynomial of degree at most three.通过区间两端和中点的二次插值曲线,并不等于原来的三次曲线,但两者在中点左右的有向面积差会抵消。将这条二次曲线积分,得到辛普森公式的 权重;它能精确积分所有次数不超过三次的多项式。
Green is ; gold is its quadratic interpolant at . The moving segment checks their pointwise difference. The two shaded regions have opposite signs and equal area, so both integrals are despite the different curves.绿线是三次函数,金线是它在 三点的二次插值曲线,满足 。移动线段比较逐点差异。两侧阴影的有向面积大小相等、符号相反,因此两条曲线不同,积分却都等于 。