Quadrature — Definition, Formula & Examples
Quadrature is the process of computing or approximating the value of a definite integral, especially by numerical methods. Historically, it referred to finding a square with the same area as a given curved region.
Quadrature denotes the numerical evaluation of a definite integral by expressing it as a weighted sum , where are prescribed nodes in and are corresponding weights chosen so that the sum approximates the integral to a desired accuracy.
Key Formula
Where:
- = The integrand — the function being integrated
- = The nodes (sample points) in the interval $[a,b]$
- = The weights assigned to each node
- = The number of nodes used in the approximation
How It Works
A quadrature rule replaces the integral with a finite sum. You evaluate the integrand at specific points (nodes), multiply each value by a weight, and add the results. Simple rules like the trapezoidal rule use equally spaced nodes with uniform-style weights. More sophisticated rules, such as Gaussian quadrature, choose nodes and weights to exactly integrate polynomials of the highest possible degree. The accuracy improves as you increase the number of nodes or use rules tailored to the integrand's behavior.
Worked Example
Problem: Use the trapezoidal rule (a basic quadrature method) with subintervals to approximate .
Set up nodes and step size: The interval is with , so the step size is . The nodes are .
Evaluate the integrand: Compute at each node.
Apply the trapezoidal rule: The trapezoidal quadrature formula uses weights on the endpoints and on interior nodes.
Answer: The trapezoidal quadrature gives . The exact value is , so the approximation has an error of about .
Why It Matters
Many integrals arising in physics and engineering have no closed-form antiderivative, so quadrature is the primary tool for evaluating them. Gaussian quadrature and adaptive methods are built into virtually every scientific computing library, from MATLAB's `integral` to Python's `scipy.integrate.quad`.
Common Mistakes
Mistake: Assuming quadrature and symbolic integration are the same thing.
Correction: Quadrature produces a numerical approximation of a definite integral's value. Symbolic integration finds an antiderivative as a formula. When no closed-form antiderivative exists, quadrature is often the only option.
