

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Numerical Integration Section 5. Some elementary functions do NOT have antiderivatives that are elementary functions. Hence, if we need to integrate such a function over some interval, the Evaluation Theorem is of no use. The only recourse is to
use the limit definition directly (usually even this is not feasible) or to approximate the value of the integral.
So far we have looked at approximating definite integrals with rectangles (right ( R (^) n ), left ( L (^) n ), and midpoints
( M (^) n )). Now we look at approximating trapezoids (The Trapezoidal Rule) and approximating quadratic functions (Simpson’s Rule).
a
b f x dx ≈ T (^) n Δ x 2
f x 0 2 f x 1 2 f x 2 2 f x (^) n − 1 f x (^) n
where
Δ x b^ − n^ a and x (^) i a i Δ x
Note the pattern of the coefficients in the Trapezoidal Rule: 1 2 2 2 2 2 1.
Use the Trapezoidal Rule to approximate
1
x dx^ with^ n^ ^5
Note that we could have evaluated this integral with the Evaluation Theorem:
1
2 3 x dx^ ^ 3 ln^ x |^1
(^2) 3 ln 2 − 3 ln 1 3 ln 2 ≈ 2. 07944154
How does this compare with your estimate above?
2
(^3) e x x dx^ with^ n^ ^4
a
b f x dx ≈ S (^) n Δ x 3
f x 0 4 f x 1 2 f x 2 4 f x 3 2 f x (^) n − 2 4 f x (^) n − 1 f x (^) n
where n is EVEN and
Δ x b^ − n^ a and x (^) i a i Δ x
Note the pattern of the coefficients: 1 4 2 4 4 2 4 1.
1
x dx^ with^ n^ ^6
1
x dx.
Δ x 2 −^1 5
Thus
1
2 3 x dx^ ≈^ T^5 ^
f 1 2 f 1. 2 2 f 1. 4 2 f 1. 6 2 f 1. 8 f 2
2
(^3) e x x dx.
Δ x 3 −^2 4
Thus
2
3 e x x dx^ ≈^ T^4 ^
f 2 2 f 2. 25 2 f 2. 5 2 f 2. 75 f 3
0. 125 e
2 2
2 e
25
2 e
5
2 e
75
e
3 3 ≈ 4. 99321309
With TI-83/85/86: 4.
1
x dx Δ x 2 −^1 6
and
x 0 1 x 1 1 16 76 x 2 1 2 16 86 (^43)
x 3 1 3 16 96 32 x 4 1 4 16 106 (^53)
x 5 1 5 16 116 x 6 1 6 16 2
Thus
1
2 3 x dx^ ≈^ S^6 ^
f 1 4 f^7 6
2 f^4 3
4 f^3 2
2 f^5 3
4 f^11 6
f 2