Docsity

Improper Integrals - Numerical Analysis I - Lecture Notes | MAT 460, Study notes of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Jim Lambers
MAT 460/560
Fall Semeseter 2009-10
Lecture 33 Notes
These notes correspond to Section 4.9 in the text.
Improper Integrals
An improper integral is an integral in which either of the limits of integration, or the integrand
itself, is unbounded. Although such integrals can not be defined as limits as Riemann sums, it is
sometimes possible to use other limiting processes to obtain well-defined values.
We first consider the integral
𝐼(𝑓) = ∫∞
𝑎
𝑓(𝑥)𝑑𝑥.
The value of this integral is given by
𝐼(𝑓) = lim
𝑏→∞ ∫𝑏
𝑎
𝑓(𝑥)𝑑𝑥,
provided 𝑓is integrable on any finite interval [𝑎, 𝑏], and the above limit exists and is finite. If it
does, then, for any 𝜖 > 0, there exists a value of 𝑏such that
𝐼(𝑓)−∫𝑏
𝑎
𝑓(𝑥)𝑑𝑥
=∫∞
𝑏
𝑓(𝑥)𝑑𝑥
< 𝜖.
Therefore, 𝐼(𝑓) can be approximated by evaluating the finite integral obtained by choosing a
sufficiently large value for 𝑏. An alternative approach is to use a transformation of the integration
variable to obtain an integral that has finite limits.
Example We will try to approximate the improper integral
∫∞
1
1
(1 + 𝑥2)3𝑑𝑥.
There are two ways in which this can be accomplished. The first involves using the definition of an
integral over an infinite interval,
∫∞
𝑎
𝑓(𝑥)𝑑𝑥 = lim
𝑏→∞ ∫𝑏
𝑎
𝑓(𝑥)𝑑𝑥,
1
pf3
pf4

Partial preview of the text

Download Improper Integrals - Numerical Analysis I - Lecture Notes | MAT 460 and more Study notes Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Jim Lambers MAT 460/ Fall Semeseter 2009- Lecture 33 Notes

These notes correspond to Section 4.9 in the text.

Improper Integrals

An improper integral is an integral in which either of the limits of integration, or the integrand itself, is unbounded. Although such integrals can not be defined as limits as Riemann sums, it is sometimes possible to use other limiting processes to obtain well-defined values. We first consider the integral 퐼(푓 ) =

Z ∞

푎

The value of this integral is given by

퐼(푓 ) = lim 푏→∞

Z 푏

푎

provided 푓 is integrable on any finite interval [푎, 푏], and the above limit exists and is finite. If it does, then, for any 휖 > 0, there exists a value of 푏 such that ∣ ∣∣ ∣퐼(푓^ )^ −

Z 푏

푎

Z ∞

푏

Therefore, 퐼(푓 ) can be approximated by evaluating the finite integral obtained by choosing a sufficiently large value for 푏. An alternative approach is to use a transformation of the integration variable to obtain an integral that has finite limits.

Example We will try to approximate the improper integral Z (^) ∞

1

(1 + 푥^2 )^3

There are two ways in which this can be accomplished. The first involves using the definition of an integral over an infinite interval,

Z (^) ∞

푎

푓 (푥) 푑푥 = lim 푏→∞

Z 푏

푎

just as the definition of a derivative or an integral can be used to approximate these quantities. Specifically, we drop the limit, and assume Z (^) ∞

푎

Z 푏

푎

where the value 푏 is chosen in order to achieve sufficient accuracy. Certainly, the larger 푏 is, the more accurate this approximation will be. We can determine an appropriate value of 푏 using the fact that Z (^) ∞

푎

Z 푏

푎

Z ∞

푏

and bounding 푓 (푥), for large 푥, by a function that can be integrated analytically from 푏 to ∞ using the Fundamental Theorem of Calculus. This allows us to obtain a bound for the error we are introducing by truncating the interval of integration at 푏. In this case, we note that

1 (1 + 푥^2 )^3

푥^6

for all real 푥. Therefore, Z (^) ∞

푏

(1 + 푥^2 )^3

Z ∞

푏

푥^6

푥−^5

∞

푏

5 푏^5

Therefore, we can ensure that the integral from 푏 to ∞ is sufficiently small simply by choosing 푏 to be sufficiently large. Then, we can approximate the integral from 푎 to 푏 using any quadrature rule. The second approach is to use a change of variable to obtain a new integral over a finite interval. In this case, if we define 푡 = 푥−^1 , then 푡 = 1 when 푥 = 1, and 푡 approaches 0 as 푥 approaches ∞, and therefore Z (^) ∞

1

(1 + 푥^2 )^3

Z 0

1

(1 + 푡−^2 )^3

푡^2

Z 1

0

푡−^2

(1 + 푡−^2 )^3

If we multiply the numerator and denominator by 푡^6 , we obtain Z (^1)

0

푡^6 푡−^2

푡^6 (1 + 푡−^2 )^3

Z 1

0

푡^4

[푡^2 (1 + 푡−^2 )]^3

Z 1

0

푡^4

(푡^2 + 1)^3

We can approximate this integral using any quadrature rule, such as the Composite Simpson’s Rule with 푛 = 4. Our step size ℎ is given by ℎ = (1 − 0)/4 = 1/4, and therefore we have Z (^) ∞

1

(1 + 푥^2 )^3

Z 1

0

푡^4

(푡^2 + 1)^3

(0^2 + 1)^3

(1/4)^4

((1/4)^2 + 1)^3

(1/2)^4

((1/2)^2 + 1)^3

(3/4)^4

((3/4)^2 + 1)^3

(1^2 + 1)^3

We can approximate this integral using the Composite Simpson’s Rule

Z (^) 푏

푎

[푓 (푎) + 4푓 (푥 1 ) + 2푓 (푥 2 ) + 4푓 (푥 3 ) + ⋅ ⋅ ⋅ + 2푓 (푥푛− 2 ) + 4푓 (푥푛− 1 ) + 푓 (푏)] ,

with 푛 = 4 and ℎ = 1 − 4 0 = 1/ 4 , which yields

Z (^1)

0

[퐺(0) + 4퐺(0.25) + 2퐺(0.5) + 4퐺(0.75) + 퐺(1)]

The second integral can be evaluated analytically. We have

Z (^1)

0

푥^1 /^4

Z 1

0

1 + 푥 + 푥^2 /2 + 푥^3 /6 + 푥^4 / 24

푥^1 /^4

푥^3 /^4 +

푥^7 /^4 +

푥^11 /^4 +

푥^15 /^4 +

푥^19 /^4

1

0

and therefore Z (^1)

0

푥^1 /^4

Z 1

0

푒푥^ − 푝 4 (푥)

푥^1 /^4

Z 1

0

푥^1 /^4

which has an error of − 5. 331 × 10 −^5. □