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

Newton-Cotes Quadrature Formulas

Graduate Depth 98 in the knowledge graph ☐ I know this ☆ Set as goal
3topics build on this
581prerequisites beneath it
See this on the map →
Lagrange Polynomial InterpolationTaylor Series+1 more→→Composite Quadrature Rules
quadrature newton-cotes integration

Core Idea

Newton-Cotes formulas approximate ∫f(x)dx using weighted sums of f evaluated at equally-spaced points. Examples include the trapezoidal rule (2-point, O(h³) error) and Simpson's rule (3-point, O(h⁵) error), derived by integrating the Lagrange polynomial through sample points. Open formulas omit endpoints and are useful when f is singular or undefined at boundaries.

Explainer

You already know Lagrange polynomial interpolation: given n+1 points, there is a unique polynomial of degree ≤ n passing through all of them. The Newton-Cotes idea is simple — if you want to integrate f over [a, b] but cannot find an antiderivative, replace f with its Lagrange interpolating polynomial through equally-spaced sample points, and integrate that polynomial exactly. The integral of the polynomial is a weighted sum of function values, and those weights are fixed numbers depending only on how many points you use and the interval width h.

The two most important cases illustrate the pattern. The trapezoidal rule uses two endpoints, fits a line through them, and integrates: ∫ ≈ (h/2)(f(a) + f(b)). Geometrically, you are computing the area of a trapezoid under the line connecting the two endpoints. The error is O(h³), meaning it scales with the cube of the interval width — halving h reduces the error by a factor of 8. Simpson's rule uses three equally-spaced points (including the midpoint), fits a parabola, and integrates: ∫ ≈ (h/6)(f(a) + 4f(m) + f(b)). The parabola is a better fit than the line, and the error is O(h⁵). Remarkably, Simpson's rule is exact for polynomials up to degree 3, even though it only uses a degree-2 interpolant — this "super-convergence" follows from a symmetry argument using Taylor series analysis of the error term.

The weights in Newton-Cotes formulas are derived by integrating the Lagrange basis polynomials: wᵢ = ∫Lᵢ(x)dx, where Lᵢ is the i-th Lagrange basis polynomial. These integrals can be computed once symbolically and tabulated. Higher-order Newton-Cotes formulas (using more points) can achieve very low errors for smooth functions but suffer from a serious problem: Runge's phenomenon. With equally-spaced points, the Lagrange polynomial oscillates wildly near the endpoints for high degrees, and the integration weights can become large and alternating in sign, causing catastrophic cancellation. This is why Newton-Cotes formulas beyond Simpson's rule are rarely used directly in practice.

The practical solution — which this topic builds toward — is composite quadrature: instead of using one high-degree formula over the whole interval, apply a low-degree formula (trapezoidal or Simpson's) repeatedly over many small subintervals. Each subinterval has width h, the error per subinterval is O(hᵏ) for a k-th order formula, and the errors combine to give overall O(hᵏ) global accuracy that improves predictably as h → 0. Newton-Cotes formulas are thus not primarily used raw; they are the building blocks from which composite and adaptive integration schemes are constructed.

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

Longest path: 99 steps · 581 total prerequisite topics

Prerequisites (3)

Leads To (1)