from pylab import *
1Singular integrands¶
2Change of variable¶
Many times, a change of variable can improve the regularity of the integrand.
3Analytic treatment of singularity¶
Consider an integral with a singular term
Since is singular at , we have to compute this with some care. Divide the interval into two parts
can be computed by some standard technique and is computed semi-analytically. Assume has convergent Taylor series on
Then
4Product integration¶
Consider an integral with a singular term
where is singular and is a nice function. Let be a sequence of approximations to such that
is integrable.
The integrals
can be analytically computed.
Then