Professional Documents
Culture Documents
Improper Integral1 PDF
Improper Integral1 PDF
Marialuce Graziadei
!Improper Integrals
"Change of variable
"Elimination of the singularity
!Indefinite Integration
"Indefinite integration via Differential Equations
"Application of Approximation Theory
∫ f ( x ) dx = lim ∫ f ( x ) dx
a r→a+ r
2)
• f (x) is defined on [ a, b ] \ {c} ;
• f (x) is unbounded in the vicinity of x = c, with a < c < b .
The Cauchy Principal Value of the integral is defined by the limit
[ ]
c−r b
∫a f ( x) dx + c∫+r f ( x) dx
b
P ∫ f ( x) dx = lim
r →0 +
a
I = n∫t n−2 n
g ( t ) dt which is proper.
0
But (example 2)
1
I = ∫ log( x) ⋅ g ( x)dx with t = − lo g x
0
becomes ∞
I = − ∫ te − t g ( e − t ) d t Infinite range of
integration
0
6/11/2002 Seminar: Numerical Integration 3
Elimination of the singularity
General ideas: subtract from the singular integrand f (x) a function g ( x ).
! g ( x ) integral is known in closed form;
! f ( x) − g ( x) is no longer singular.
This means that g ( x ) has to mimic the behaviour of f (x) closely to its
singular point.
Example
1
cos x 1 1
cos x − 1 1
cos x − 1 1
∫ dx = ∫ dx + ∫ dx = 2 + ∫ dx .
0 x x 0 x 0 x 0
But 2
x
cos x − 1 ≈ −
2
near x = 0 , so the last integrand in now in C [0 ,1 ]
∫ f ( x ) dx ,
0
But the method of ‘ignoring the singularity’ may not work if the integrand is
oscillatory
Example 2
1 1
1 1 1 s in x
∫0
x
s in d x =
x 2
(π − 2 ∫
0
x
d x ) = .6 2 4 7 1 3
32 × S 2.3123
64 × S 1.6946
128 × S -0.6083 No patterns of
256 × S 1.2181 convergence is discernible
512 × S 0.7215 from this computations
1024 × S 0.3178
S = Simpson
6/11/2002 Seminar: Numerical Integration 6
Ignoring the singularity
However let R designate a fixed m-point rule of approximate integration in [ 0 ,1 ]
m
R( f ) = ∑ w f ( x ) k k
k =1
m
with 0 ≤ x < x < ... < x ≤ 1,
1 2 m
w > 0,
k ∑ w = 1,
k
k =1
and let R n designate the compound rule that arises by applying R to each of
the subintervals
[0 ,1 / n ], [1 / n , 2 / n ],..., [( n − 1 ) / n ,1 ] , then
0 1/ n 2 / n ( n − 1) / n 1
Theorem
If f ( x ) is a monotonic increasing integrable singular function with a singularity
at x = 0 , then
1
lim R ( f ) = ∫ f ( x ) dx .
n→ ∞ n
0
6/11/2002 Seminar: Numerical Integration 7
Proceeding to the limit
Integral to be evaluated:
1
∫ f ( x ) dx
0
1 1 r1 r2
∫ f ( x) dx = ∫ f ( x) dx + ∫ f ( x) dx + ∫ f ( x) dx +...
0 r1 r2 r3
∫ f ( x ) dx ≤ ε
rn
∫
0
f ( x)dx = ∫
0
f ( x)dx + ∫
r
f ( x)dx
Then, if r
∫ f ( x ) dx ≤ ε
0
∫ f ( x ) dx
Example r
1
g (x)
I = ∫ 1 1 dx with g bounded in 0 ,1 , e.g. g ( x ) ≤ 1
0
x + x
2 3
But in [0,1]
g (x) 1 r
g (x) r
dx 1
1 1 ≤ 1 ∫ 1 1 dx ≤ ∫ 1 = r 2
x 2
+ x 3
2x 2 0
x 2
+ x 3 0
2x 2
∫ w ( x ) f ( x ) dx
0
∫ w ( x ) x dx
k
exist for k = 0 , 1 ,..., n .
0
The, for a given sequence of abscissas 0 < x 0 < x 1 < ... x n ≤ 1 , we can
determine weights w i such that
1 n
∫ w ( x) p ( x)dx = ∑
i=0
wi p ( xi )
0
whenever p ∈ Pn .
This leads to the approximate integration formula
1 n
∫ w ( x ) f ( x ) dx ≈ ∑ w f ( x )
0 i=0
i i
1 1
w1 2 w 2 − 2
3
+
3
+ w3 = ∫
0
x 2
xdx =
3
,
w 4w 2 1 −
1
+
1
+ w = ∫ x x dx = .
2
3
2 2
9 9 5 0
14 1 8 2 4
1 1
−
∫x 2
f ( x) dx ≈ f − f + f (1) .
0
5 3 5 3 5
6/11/2002 Seminar: Numerical Integration 11
Integration Formulas of Gauss Type
Singularities may be accommodated by means of Gauss-type formulas. The
integral is written in the form
b
I = ∫ w ( x ) f ( x ) dx ,
a
where w ( x ) is a fixed positive weight function. The moments
b
∫ w ( x ) x dx
n
exist for n = 0 , 1 ,...
[ ]
a
∫ w ( x ) p ( x ) dx = ∑ w p ( x )
a k =1
k k
b n
∫ w ( x ) f ( x ) dx ≈ ∑ w f ( x )
a k =1
k k
∫0
− L o g ( x ) G i G j d x = δ ij
• Polynomials • Points • Weights
G0 = 1,
12 1
G1 = x − ; 0.25 1
7 4
0.063891 0.513405
7 ( 258800 x − 310500 x − 92016 x − 4679 )
3 2
G3 = ; 0.368997 0.391980
9 10849 647 0.766880 0.094615
… 6/11/2002 Seminar: Numerical Integration 14
Integration Formulas of Gauss Type
• Example
1
Log (x) π
I = ∫
0
−
1+ x
dx =
12
= 0 .8 2 2 4 6 7 0 .
n=3
I co m p u ted = 0 .8 2 2 4 4 8 5
I exa ct − I co m p u ted = 1 8 5 ⋅ 1 0 − 7
b
c−r b
P ∫ f ( x ) = lim ∫ f ( x ) dx + ∫ f ( x ) dx
r →0
a a c+r
Consider c = 0 and b = a.
Decompose f ( x ) in its odd and even parts
Odd Even
g ( x) =
1
[ f ( x) − f (− x)] h( x) =
1
[ f ( x ) + f (− x )]
2 2
∫ f ( x ) dx + ∫ f ( x ) dx =
−a r
−r a −r a
∫ g ( x ) dx + ∫ g ( x ) dx + ∫ h( x ) dx + ∫ h( x ) dx =
−a r −a r
2 ∫ h ( x ) dx.
r
Therefore
a a
P ∫ f ( x)dx =
r →0 ∫
2lim h( x)dx.
+
−a r
P ∫
x −1
1 1 1
1
dx
h (x ) = − = 0 P ∫ = 0
2 x x −1 x
Example2 x
e1
P ∫ dx
x
−1
1e x
e 1
−x
h (x ) = + = sinh ( x )
2 x − x x
x
e1
sinh( x)1
P ∫ dx = 2 ∫ dx
x−1 x 0
∫ φ ( t , x ) dt
a
∗ Interpolatory-type and Gauss-type formulas have been developed for Cauchy Principal Value
integrals.
6/11/2002 Seminar: Numerical Integration 19
Numerical Evaluation of the Cauchy Principal
Value
It may be useful to consider
x+h
f (t + x ) − f ( x )
h
∫ φ (t , x ) dt = ∫
x−h −h
t
dt .
x+h h
t f ''( x ) t 2 f '''( x )
∫x − h φ (t , x ) dt = −∫h f '( x ) + 2! + 3! + ... dt
h 3 f '''( x )
= 2 hf '( x ) + + ...
9
F(x) = ∫ f (t) dt a ≤ x ≤b
a
or the more complicated
x
F(x) = ∫ f (x, t) dt a ≤ x ≤b
a
Two choices
•Regard the F ( x ) as a definite integral over a variable range;
•Regard F ( x ) as the solution of the differential equation
dF = f ( x ), F ( a ) = 0.
dx
The simplest approach:
•divide the interval of integration a ≤ x ≤b into a set of subintervals;
•apply a rule of approximate integration to each subinterval.
Simpson’s rule is widely used
6/11/2002 Seminar: Numerical Integration 21
Indefinite Integration via Differential Equations
We can use familiar rules. Consider, for example, the classical Runge-Kutta
method for the solution of
dy
= g ( x, y ) y( x ) = y .
0 0
dx
The relevant formulas are
h
y m +1 = y m + ( k 1 + 2 k 2 + 2 k 3 + k 4 ),
6
h h k1
k 1 = g ( x m , y m ), k 2 = g ( x m + , y m + ),
2 2
h hk2
k3 = g ( xm + , ym + ), k 2 = g ( x m + h , y m + h k 3 ).
2 2
f ( x) = φ ( x) + φ ( x) + ... + φ ( x) + ε ( x)
0 1 n
a ≤ x ≤ b,
ε(x) ≤ ε a ≤ x ≤ b,
x
and that ψ i ( x ) = ∫ φ i (t ) dt
is simple to calculate. a
Then
x
x
with
η ( x) = ∫ ε (t )dt ≤ (b − a)ε .
a
2
n = 0,1, ..., −1 ≤ x ≤ 1
or
T0 ( x) = 1, T1 ( x) = x,
Tn +1 ( x) = 2 xTn ( x) − Tn −1 ( x), n = 2,3,...,
1
f ( x) = a0 + a1T1 ( x) + a2T2 ( x) + ...
2
6/11/2002 Seminar: Numerical Integration 24
Indefinite Integration-Approximation Theory
Orthogonality
π , m = n = 0,
π
1
Tm ( x)Tn ( x)
∫−1 1 − x 2 dx = 2 , m = n ≠ 0,
0, m ≠ n.
The coefficients of the series are given by
1 π
2 f ( x)Tr ( x) 2
π ∫ ∫
ar = dx = f (cos ϑ ) cos rϑdϑ
−1 1− x 2 π 0
a0 a a T ( x) Tr −1 ( x)
∫ f (t )dt = T1 ( x) + 1T2 ( x) + ∑ r r +1 − + cons
2 4 r =2 2 r + 1 r −1