Fiveable

๐Ÿ”ขNumerical Analysis I Unit 13 Review

QR code for Numerical Analysis I practice questions

13.1 Gaussian Quadrature Theory

๐Ÿ”ขNumerical Analysis I
Unit 13 Review

13.1 Gaussian Quadrature Theory

Written by the Fiveable Content Team โ€ข Last updated September 2025
Written by the Fiveable Content Team โ€ข Last updated September 2025
๐Ÿ”ขNumerical Analysis I
Unit & Topic Study Guides

Gaussian quadrature is a powerful method for approximating integrals. It uses carefully chosen points and weights to achieve high accuracy with fewer function evaluations than other methods. This technique is especially useful for smooth functions and can be adapted to various types of integrals.

The method's efficiency comes from its connection to orthogonal polynomials. Different polynomial families correspond to specific weight functions, allowing Gaussian quadrature to handle a wide range of integration problems. Its accuracy and versatility make it a go-to tool in many scientific and engineering applications.

Gaussian Quadrature for Integration

Fundamental Principles and Advantages

  • Gaussian quadrature approximates definite integrals using carefully chosen abscissas and weights
  • Selects optimal evaluation points (nodes) and corresponding weights to maximize accuracy for a given number of function evaluations
  • Exactly integrates polynomials of degree 2n-1 or less using only n points (n represents the number of nodes used in the quadrature formula)
  • Achieves high accuracy with relatively few function evaluations for smooth, well-behaved functions
  • Adapts to different weight functions and integration intervals (versatile for various applications in numerical analysis and scientific computing)
  • Captures integrand behavior using strategically placed nodes rather than equally spaced points
    • Improves efficiency compared to simpler quadrature rules
    • Allows for more accurate approximations with fewer evaluations

Efficiency and Applications

  • Particularly effective for smooth, well-behaved functions
  • Outperforms other numerical integration methods in terms of accuracy per function evaluation
  • Commonly used in fields such as:
    • Computational physics (quantum mechanics calculations)
    • Engineering (structural analysis, heat transfer problems)
    • Finance (option pricing models)
    • Statistics (numerical evaluation of probability distributions)
  • Adaptable to various integration problems by choosing appropriate weight functions
    • Gauss-Legendre quadrature for uniform weight (constant function)
    • Gauss-Chebyshev quadrature for oscillatory functions
    • Gauss-Hermite quadrature for integrals over infinite domains

Gaussian Quadrature Formula and Orthogonal Polynomials

General Formula and Components

  • Gaussian quadrature formula expressed as: โˆซabw(x)f(x)dxโ‰ˆโˆ‘i=1nwif(xi)\int_{a}^{b} w(x)f(x)dx \approx \sum_{i=1}^{n} w_i f(x_i)
    • $w(x)$ denotes weight function
    • $f(x)$ represents integrand
    • $x_i$ signifies nodes
    • $w_i$ indicates weights
  • Nodes $x_i$ determined as roots of orthogonal polynomials associated with weight function $w(x)$ over interval $[a,b]$
  • Weights $w_i$ calculated using orthogonal polynomial properties
    • Related to integrals of Lagrange interpolation polynomials
    • Ensure method achieves maximum possible degree of precision

Role of Orthogonal Polynomials

  • Orthogonal polynomials crucial for Gaussian quadrature's high accuracy
  • Different families of orthogonal polynomials correspond to various types of Gaussian quadrature:
    • Legendre polynomials (constant weight function)
    • Chebyshev polynomials (weight function $1/\sqrt{1-x^2}$)
    • Hermite polynomials (weight function $e^{-x^2}$)
  • Three-term recurrence relation for orthogonal polynomials essential for efficient node and weight generation
    • Allows for fast computation of quadrature points and weights
    • Improves numerical stability of the method

Gaussian Quadrature Accuracy vs Other Methods

Convergence Properties

  • Exhibits exponential convergence for analytic functions
    • Error decreases exponentially as number of nodes increases
    • Significantly faster convergence compared to polynomial methods
  • Achieves higher order of accuracy than Newton-Cotes formulas (trapezoidal rule, Simpson's rule) for same number of function evaluations
  • Exact for polynomials up to degree 2n-1 (n represents number of nodes)
    • Superior to other methods exact only for lower-degree polynomials
  • Error term involves higher-order derivatives of integrand
    • Particularly effective for smooth functions
    • May struggle with functions having singularities or rapid oscillations

Comparative Analysis

  • Convergence properties analyzed using Lebesgue constant concept
    • Growth rate of Lebesgue constant with respect to number of nodes indicates stability and accuracy
  • Outperforms traditional methods for well-behaved functions:
    • Trapezoidal rule (error $O(h^2)$)
    • Simpson's rule (error $O(h^4)$)
    • Gaussian quadrature (error $O(h^{2n})$ for n nodes)
  • May converge slowly or fail for functions with:
    • Singularities within integration interval
    • Rapid oscillations
    • Discontinuities
  • Adaptive techniques can mitigate limitations for challenging integrands
    • Subdivide integration interval
    • Apply Gaussian quadrature on subintervals
    • Combine results for improved accuracy

Applying Gaussian Quadrature to Integrals

Specific Gaussian Quadrature Types

  • Gauss-Legendre quadrature:
    • Weight function $w(x) = 1$ over interval $[-1, 1]$
    • Adaptable to any finite interval through linear transformation
    • Example: Evaluating $\int_{-1}^{1} \sqrt{1-x^2} dx$
  • Gauss-Chebyshev quadrature:
    • Weight function $w(x) = 1/\sqrt{1-x^2}$ over $[-1, 1]$
    • Useful for oscillatory functions
    • Example: Computing $\int_{-1}^{1} \frac{\cos(5x)}{\sqrt{1-x^2}} dx$
  • Gauss-Hermite quadrature:
    • Weight function $w(x) = e^{-x^2}$ over $(-\infty, \infty)$
    • Suitable for problems in quantum mechanics and statistics
    • Example: Evaluating $\int_{-\infty}^{\infty} x^2 e^{-x^2} dx$

Advanced Techniques and Applications

  • Gauss-Laguerre quadrature:
    • Weight function $w(x) = e^{-x}$ over $[0, \infty)$
    • Applicable in problems involving exponential decay
    • Example: Computing $\int_{0}^{\infty} x e^{-x} dx$
  • Gauss-Jacobi quadrature:
    • Weight function $w(x) = (1-x)^ฮฑ(1+x)^ฮฒ$ over $[-1, 1]$
    • Parameters $ฮฑ$ and $ฮฒ$ adjustable for different applications
    • Example: Evaluating $\int_{-1}^{1} (1-x)^{0.5}(1+x)^{0.5} f(x) dx$
  • Composite Gaussian quadrature:
    • Improves accuracy for integrals over large intervals
    • Handles functions with localized features
    • Divides integration range into subintervals
    • Example: Applying to $\int_{0}^{10} \sin(x^2) dx$ by splitting into smaller intervals
  • Adaptive Gaussian quadrature:
    • Automatically adjusts number and distribution of nodes
    • Enhances efficiency and accuracy based on integrand behavior
    • Example: Evaluating $\int_{0}^{1} \frac{1}{\sqrt{x}} dx$ with adaptive node placement