Newton-Cotes Formulas — Definition, Formula & Examples
Newton-Cotes formulas are a family of numerical integration methods that approximate a definite integral by evaluating the integrand at equally spaced points and weighting those values with fixed coefficients. The Trapezoidal Rule (1 interval) and Simpson's Rule (2 intervals) are the most common members of this family.
A Newton-Cotes formula of degree approximates by replacing with a degree- interpolating polynomial through equally spaced nodes with spacing , then integrating the polynomial exactly. The result is a weighted sum , where the weights depend only on and .
Key Formula
Where:
- = Bounds of integration
- = Number of equally spaced subintervals (determines the order of the rule)
- = Width of each subinterval
- = Equally spaced nodes: $x_i = a + ih$
- = Fixed weights determined by integrating the interpolating polynomial
How It Works
You partition into equal subintervals of width . For (Trapezoidal Rule), the formula is . For (Simpson's Rule), it is . Higher values of yield higher-order formulas (Simpson's 3/8 Rule for , Boole's Rule for , etc.) with greater accuracy per panel. In practice, you often apply a low-order formula repeatedly across many subintervals—this is called a composite Newton-Cotes rule.
Worked Example
Problem: Use Simpson's Rule (a single panel, ) to approximate .
Set up nodes: With , , and , the spacing is . The nodes are , , .
Evaluate the integrand: Compute at each node.
Apply Simpson's Rule: Substitute into the formula .
Answer: The approximation is , which matches the exact value since Simpson's Rule is exact for polynomials of degree .
Why It Matters
Newton-Cotes formulas underpin the numerical integration routines used in engineering, physics, and scientific computing whenever an antiderivative cannot be found in closed form. Understanding them is essential in numerical analysis courses and when implementing or selecting quadrature methods in software.
Common Mistakes
Mistake: Using Simpson's Rule with an odd number of subintervals.
Correction: Simpson's Rule requires an even number of subintervals (i.e., must be even in the composite version) because each panel uses two subintervals. If you have an odd number, use the Trapezoidal Rule for one panel or Simpson's 3/8 Rule to handle the extra interval.
