2.7 KB · commit a9602da
In evaluating singular integrals which arise in practical applications, it will often be convenient to develop special integration formulae.
We consider, for instance, the numerical quadrature of integrals of the form
I(s)=∫abf(t)ϕ(t−s)dt,(6.84)
where f(t) is continuous but ϕ(u) may have an integrable singularity, e.g. log∣s−t∣ or ∣s−t∣α for α>−1. For the numerical integration, we divide the range (a,b) such that tj=a+jh (j=0,1,2,…,n), with b=a+nh. Then Eq. (6.84) can be written as
I(s)=j=0∑n−1∫tjtj+1f(t)ϕ(t−s)dt.(6.85)
The method to be followed here is to approximate f(t) in (6.85) by the linear interpolating function fn(t), where
fn(t)=h1[(tj+1−t)f(tj)+(t−tj)f(tj+1)].(6.86)
Substituting fn(t) for f(t) in (6.85), we obtain
I(s)=h1j=0∑n−1∫tjtj+1[(tj+1−t)f(tj)+(t−tj)f(tj+1)]ϕ(t−s)dt.
Setting t=tj+ph this becomes
I(s)=hj=0∑n−1∫01[(1−p)f(tj)+pf(tj+1)]ϕ(tj+ph−s)dp,
which can be written as
I(s)=hj=0∑n−1[αjf(tj)+βjf(tj+1)],(6.87)
where
αj=h∫01(1−p)ϕ(tj+ph−s)dp(6.88a)
and
βj=h∫01pϕ(tj+ph−s)dp.(6.88b)
It is clear from Eqs. (6.88a) and (6.88b) that if ϕ(u)≡1, then αj=βj=h/2, and hence Eq. (6.87) gives
I(s)=2h[f(t0)+2f(t1)+2f(t2)+⋯+2f(tn−1)+f(tn)],
which is the trapezoidal rule deduced in Section 6.4.1. Hence the rule defined by Eqs. (6.87), (6.88a) and (6.88b) is called the generalized trapezoidal rule and is due to Atkinson [1967]. When ϕ(u)=log∣u∣, this rule finds important applications in the numerical solution of certain singular integral equations.* In practice, the computation of the weights αj and βj may be difficult, but they can be evaluated once and for all, for a given ϕ(u).
In a similar way, one can deduce the generalized Simpson's rule—analogous to the ordinary Simpson's rule—by approximating f(t) by means of a quadratic in the interval (tj,tj+1).**
* See, for example, Sastry [1973; 1976].
** See, Noble [1964], p. 241.
The error in generalized quadrature can also be estimated by the method outlined in Section 6.4.1. For example, it can be shown that the error in the generalized trapezoidal rule is of order h2, assuming that f′′ is continuous in [a,b].