Numerical Integration
Mathematics · FE Reference Handbook section
Handbook notes for this section
Definitions and conditions exactly as the handbook states them.
- Three of the more common numerical integration algorithms used to evaluate the integral
Core formulas for this FE topic
Definitions, applicability, units, assumptions and worked examples for each relation.
Worked exam-style examples
The four ways this section is written on the real exam — thoughts first, then equations, then substitution.
Evaluate ∫₀^5 (5x² + 1x) dx.
Given
Integrand 5x² + 1x
Limits 0 to 5
Find
The definite integral
Start with the thinking
- Antidifferentiate term by term, then apply the limits.
- The lower limit of zero kills the second evaluation.
Step-by-step solution
Antiderivative
Upper limit
Evaluate
Lower limit
Result
220.8
Why the other options are there
- 130.0 (integrand evaluated instead of integrated)
- 44.17 (average value reported)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Use Newton's algorithm on f(x) = x² − 8 with a starting value x₀ = 2 to obtain two improved estimates of √8, then report the error after the second iteration.
Given
Find
x₁, x₂ and the absolute error |x₂ − √N|
Start with the thinking
- Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
- Convergence is quadratic, so two iterations already give several correct digits.
Step-by-step solution
Formula
Iteration 1
Iteration 2
Exact value — √8 = 2.82843
Error — |x₂ − √8| = 0.004906
Why the other options are there
- 4.0000 (single division, no averaging)
- 6.0000 (forgot to divide by f′)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Estimate ∫₀^6 (x² + 1) dx with the trapezoidal rule using n = 4 equal intervals, then compare with the exact value and report the percentage error.
Given
Find
Trapezoidal estimate, exact value, and percent error
Start with the thinking
- The trapezoidal rule weights interior ordinates by 2 and the two end ordinates by 1.
- For a convex function the trapezoidal rule over-estimates the true area.
Step-by-step solution
Step size
Formula — I ≈ (h/2)[f(a) + 2Σf(xᵢ) + f(b)]
Ordinates — f(0) = 1.000, interior sum Σf(xᵢ) = 34.5000, f(6) = 37.000
Substituting
Exact
Error
Trapezoidal I ≈ 80.250 versus exact 78.000 (2.88% high)
Why the other options are there
- 160.5 (dropped the ½)
- 28.500 (single trapezoid)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Evaluate ∫₀^2 (6x² + 2x) dx.
Given
Integrand 6x² + 2x
Limits 0 to 2
Find
The definite integral
Start with the thinking
- Antidifferentiate term by term, then apply the limits.
- The lower limit of zero kills the second evaluation.
Step-by-step solution
Antiderivative
Upper limit
Evaluate
Lower limit
Result
20.000
Why the other options are there
- 28.00 (integrand evaluated instead of integrated)
- 10.00 (average value reported)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Use Newton's algorithm on f(x) = x² − 8 with a starting value x₀ = 5 to obtain two improved estimates of √8, then report the error after the second iteration.
Given
Find
x₁, x₂ and the absolute error |x₂ − √N|
Start with the thinking
- Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
- Convergence is quadratic, so two iterations already give several correct digits.
Step-by-step solution
Formula
Iteration 1
Iteration 2
Exact value — √8 = 2.82843
Error — |x₂ − √8| = 0.033694
Why the other options are there
- 1.6000 (single division, no averaging)
- -12.0000 (forgot to divide by f′)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Estimate ∫₀^7 (x² + 1) dx with the trapezoidal rule using n = 4 equal intervals, then compare with the exact value and report the percentage error.
Given
Find
Trapezoidal estimate, exact value, and percent error
Start with the thinking
- The trapezoidal rule weights interior ordinates by 2 and the two end ordinates by 1.
- For a convex function the trapezoidal rule over-estimates the true area.
Step-by-step solution
Step size
Formula — I ≈ (h/2)[f(a) + 2Σf(xᵢ) + f(b)]
Ordinates — f(0) = 1.000, interior sum Σf(xᵢ) = 45.8750, f(7) = 50.000
Substituting
Exact
Error
Trapezoidal I ≈ 124.9 versus exact 121.3 (2.94% high)
Why the other options are there
- 249.8 (dropped the ½)
- 44.625 (single trapezoid)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Evaluate ∫₀^5 (6x² + 5x) dx.
Given
Integrand 6x² + 5x
Limits 0 to 5
Find
The definite integral
Start with the thinking
- Antidifferentiate term by term, then apply the limits.
- The lower limit of zero kills the second evaluation.
Step-by-step solution
Antiderivative
Upper limit
Evaluate
Lower limit
Result
312.5
Why the other options are there
- 175.0 (integrand evaluated instead of integrated)
- 62.50 (average value reported)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Use Newton's algorithm on f(x) = x² − 6 with a starting value x₀ = 4 to obtain two improved estimates of √6, then report the error after the second iteration.
Given
Find
x₁, x₂ and the absolute error |x₂ − √N|
Start with the thinking
- Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
- Convergence is quadratic, so two iterations already give several correct digits.
Step-by-step solution
Formula
Iteration 1
Iteration 2
Exact value — √6 = 2.44949
Error — |x₂ − √6| = 0.016419
Why the other options are there
- 1.5000 (single division, no averaging)
- -6.0000 (forgot to divide by f′)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Estimate ∫₀^6 (x² + 1) dx with the trapezoidal rule using n = 8 equal intervals, then compare with the exact value and report the percentage error.
Given
Find
Trapezoidal estimate, exact value, and percent error
Start with the thinking
- The trapezoidal rule weights interior ordinates by 2 and the two end ordinates by 1.
- For a convex function the trapezoidal rule over-estimates the true area.
Step-by-step solution
Step size
Formula — I ≈ (h/2)[f(a) + 2Σf(xᵢ) + f(b)]
Ordinates — f(0) = 1.000, interior sum Σf(xᵢ) = 85.7500, f(6) = 37.000
Substituting
Exact
Error
Trapezoidal I ≈ 78.563 versus exact 78.000 (0.72% high)
Why the other options are there
- 157.1 (dropped the ½)
- 14.250 (single trapezoid)
Reference: FE Reference Handbook — Mathematics → Numerical Integration
Evaluate ∫₀^4 (2x² + 5x) dx.
Given
Integrand 2x² + 5x
Limits 0 to 4
Find
The definite integral
Start with the thinking
- Antidifferentiate term by term, then apply the limits.
- The lower limit of zero kills the second evaluation.
Step-by-step solution
Antiderivative
Upper limit
Evaluate
Lower limit
Result
82.667
Why the other options are there
- 52.00 (integrand evaluated instead of integrated)
- 20.67 (average value reported)
Reference: FE Reference Handbook — Mathematics → Numerical Integration