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 Formulas→→Gaussian 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 Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Fundamental Theorem of Calculus Part 1 → Fundamental Theorem of Calculus Part 2 → U-Substitution → Partial Fraction Decomposition for Integration → Improper Integrals - Convergence → Integral Test → P-Series → Comparison Test → Limit Comparison Test → Series Convergence Test Strategy → Power Series → Radius and Interval of Convergence → Taylor Series → Newton-Cotes Quadrature Formulas → Composite Quadrature Rules

Longest path: 100 steps · 582 total prerequisite topics

Prerequisites (1)

Leads To (2)