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

Gaussian Quadrature

Graduate Depth 100 in the knowledge graph I know this Set as goal
1topic build on this
583prerequisites beneath it
See this on the map →
Composite Quadrature RulesRomberg Integration
gaussian-quadrature optimal integration

Core Idea

Gaussian quadrature optimally chooses both sample points x_i and weights w_i to integrate polynomials of degree up to 2n-1 exactly using only n function evaluations. The sample points are roots of orthogonal polynomials (Legendre, Hermite, Laguerre, Chebyshev) with respect to a weight function. Gaussian quadrature achieves exponential convergence for smooth integrands and is the most efficient for general-purpose integration.

Explainer

From composite quadrature, you know the basic framework: approximate ∫f(x)dx ≈ Σ wᵢ f(xᵢ) by evaluating f at a set of nodes xᵢ and combining the results with weights wᵢ. The trapezoidal rule and Simpson's rule are examples: they fix the nodes at equally spaced points first, then solve for the weights that make the formula exact for polynomials up to some degree. With n+1 equally spaced nodes, Simpson-type rules achieve exactness up to degree n (roughly). This is called a Newton-Cotes approach.

Gaussian quadrature asks a more ambitious question: what if we are free to choose *both* the nodes and the weights? With n nodes, we have 2n free parameters (n node locations + n weights). A degree-d polynomial has d+1 coefficients, and being exact for all polynomials up to degree d means matching d+1 conditions. So 2n free parameters should, in principle, allow exactness for polynomials up to degree 2n−1 — roughly *twice* the degree achievable with Newton-Cotes. This is the central claim of Gaussian quadrature.

The optimal node locations turn out to be the roots of orthogonal polynomials. For the standard interval [−1,1] with weight function w(x) = 1, the correct polynomials are the Legendre polynomials P_n(x), and the n-point Gauss-Legendre rule places nodes at the n zeros of P_n(x). The weights are then determined by requiring exact integration of polynomials of each degree up to n−1. For other integration domains or weight functions (e.g., ∫₀^∞ e−x f(x) dx), different polynomial families apply: Laguerre polynomials for the half-line with exponential weight, Hermite for the full line with Gaussian weight.

The payoff is dramatic for smooth functions. Newton-Cotes rules converge at an algebraic rate as you add nodes — roughly O(hp) where h is the step size. Gaussian quadrature converges exponentially for analytic functions: doubling the number of nodes can square the accuracy. In practice, a 5-point Gauss-Legendre rule often outperforms a 100-point trapezoidal rule on smooth integrands. The trade-off is that Gaussian nodes are not equally spaced (they cluster toward the endpoints), so you cannot reuse function evaluations when increasing the node count — each new n requires a fresh set of n evaluations.

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 RulesGaussian Quadrature

Longest path: 101 steps · 583 total prerequisite topics

Prerequisites (1)

Leads To (1)