A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Composite Quadrature Rules

Graduate Depth 99 in the knowledge graph I know this Set as goal
2topics build on this
582prerequisites beneath it
See this on the map →
Newton-Cotes Quadrature FormulasGaussian QuadratureRomberg Integration
composite-quadrature integration error-control

Core Idea

Composite quadrature divides the integration interval into n subintervals and applies a simple rule (e.g., Simpson's rule) to each, summing the results. This approach achieves high accuracy with far fewer function evaluations than using high-order rules on the full interval. Composite rules enable adaptive refinement, with finer divisions in regions where f varies rapidly.

How It's Best Learned

Compute integrals using composite trapezoidal and Simpson's rules with increasing numbers of subintervals, observing convergence rates and comparing to exact values.

Common Misconceptions

Explainer

From your study of Newton-Cotes formulas, you know that rules like the trapezoidal rule and Simpson's rule approximate ∫ₐᵇ f(x) dx by evaluating f at a small number of points and fitting a polynomial through them. These work well when f behaves nicely over [a, b], but for functions that vary rapidly or have sharp features, a single polynomial over the whole interval fits poorly, leading to large errors. Composite quadrature solves this by dividing the interval into n subintervals, applying the simple rule to each subinterval, and summing the results. The accuracy comes not from a more sophisticated rule but from using many small panels.

To see why this helps dramatically, consider the error analysis. The basic trapezoidal rule on [a, b] has error proportional to (b − a)³ times the second derivative of f. The composite trapezoidal rule with n equal subintervals of width h = (b − a)/n has error proportional to h²(b − a), or equivalently (b − a)³/n². Doubling n reduces the error by a factor of 4. Similarly, the composite Simpson's rule — applying Simpson's rule to each pair of adjacent subintervals — has error proportional to h⁴(b − a), so doubling n reduces error by a factor of 16. This rapid convergence is why composite rules dominate practical numerical integration.

The practical recipe for composite Simpson's rule is particularly clean. With n even subintervals and nodes x₀, x₁, ..., xₙ, the formula is (h/3)[f(x₀) + 4f(x₁) + 2f(x₂) + 4f(x₃) + ... + 4f(xₙ₋₁) + f(xₙ)], where the coefficients alternate 4-2-4-2 in the interior. You can derive this by noticing that each pair of subintervals contributes a standard Simpson's-rule panel, and the shared endpoints count twice — except the alternating pattern handles it automatically.

The most powerful extension of composite quadrature is adaptive integration: instead of using uniform subintervals, the method estimates the local error on each panel and automatically refines the mesh where f is difficult (oscillatory, rapidly varying, nearly singular). The algorithm uses a composite rule at two refinement levels, compares the results as an error estimate, and subdivides panels that fail a tolerance test. This is how modern numerical integration libraries (like `scipy.integrate.quad`) work under the hood — they are sophisticated adaptive composite schemes. The key insight is that uniform spacing wastes function evaluations on easy regions; adapting the mesh gives you high accuracy with far fewer evaluations than any fixed-mesh approach could achieve.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionFundamental Theorem of Calculus Part 1Fundamental Theorem of Calculus Part 2U-SubstitutionPartial Fraction Decomposition for IntegrationImproper Integrals - ConvergenceIntegral TestP-SeriesComparison TestLimit Comparison TestSeries Convergence Test StrategyPower SeriesRadius and Interval of ConvergenceTaylor SeriesNewton-Cotes Quadrature FormulasComposite Quadrature Rules

Longest path: 100 steps · 582 total prerequisite topics

Prerequisites (1)

Leads To (2)