Numerical Integration - Examples & Applications
This section explores methods for numerically estimating the definite integral of a function, including the Trapezoidal Rule, Simpson's Rules (1/3 and 3/8), integration of unequally spaced data, Romberg Integration, Gauss Quadrature, and Multiple Integrals.
Trapezoidal Rule
The trapezoidal rule approximates the area under a curve by connecting the endpoints of the interval with a straight line.
Basic: Single-Application Trapezoidal Rule
Estimate the integral of from to .
The exact value of the integral is . Calculate the true error.
Step-by-Step Solution
0 of 3 Steps Completed1
Intermediate: Multiple-Application Trapezoidal Rule
Estimate the same integral from to using a 2-segment multiple-application trapezoidal rule.
Step-by-Step Solution
0 of 3 Steps Completed1
Simpson's 1/3 and 3/8 Rules
Simpson's 1/3 rule fits a parabola through three points (), and Simpson's 3/8 rule fits a cubic equation through four points ().
Intermediate: Simpson's 1/3 Rule
Estimate the same integral of from to using Simpson's 1/3 rule. The true value is .
Step-by-Step Solution
0 of 3 Steps Completed1
Advanced: Simpson's 3/8 Rule
Estimate the integral of the same function from to using Simpson's 3/8 rule ( segments).
Step-by-Step Solution
0 of 2 Steps Completed1
Integration with Unequal Segments
When data points are unequally spaced, the trapezoidal rule is applied individually to each segment and the results are summed.
Intermediate: Unequal Segments Trapezoidal Rule
Calculate the integral of the data:
:
Step-by-Step Solution
0 of 4 Steps Completed1
Romberg Integration
Romberg integration combines two trapezoidal rule estimates (often derived using and ) using Richardson extrapolation to obtain a more accurate estimate.
Advanced: Romberg Integration
Given the trapezoidal rule estimates for () and (), use Romberg integration to calculate an estimate.
Step-by-Step Solution
0 of 2 Steps Completed1
Gauss Quadrature
Gauss quadrature optimizes both the weights and the function evaluation points to achieve the highest possible accuracy for a given number of points. It evaluates integrals on the standard domain .
Advanced: Two-Point Gauss-Legendre Quadrature
Evaluate the integral of from to using two-point Gauss-Legendre quadrature.
The true value is .
Step-by-Step Solution
0 of 4 Steps Completed1
Multiple Integrals
Multiple integrals are solved by applying one-dimensional integration techniques sequentially.
Advanced: Double Integral using Trapezoidal Rule
Evaluate the double integral of over the rectangular region using the single-application trapezoidal rule in both directions.
Step-by-Step Solution
0 of 2 Steps Completed1