20.02.2013 Views

Atomic Structure Theory

Atomic Structure Theory

Atomic Structure Theory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.4 Quadrature Rules (rint) 47<br />

where ɛk(ξ) is an error function evaluated at some point x = ξ on the integration<br />

interval. The endpoint coefficients a1, a2, ···ak, are chosen to insure<br />

that the integration is exact for polynomials of degree (0, 1, ··· ,k− 1). The<br />

modified trapezoidal rule is also exact for polynomials of degree k, for odd<br />

values of k only. There is, consequently, no gain in accuracy for a rule based<br />

on an even value of k compared with one based on the next lower odd value.<br />

Therefore, we concentrate on rules of form (2.89) with odd values of k.<br />

It is relatively simple to determine the weights ai. To this end, we examine<br />

the difference ∆l between the value given by the integration rule for a polynomial<br />

f(x) =x l and the exact value of the integral (mh) l+1 /(l + 1). Let us<br />

consider the example k =3:<br />

∆0 = h (2a1 +2a2 +2a3 − 5)<br />

∆1 = h 2<br />

<br />

a1 + a2 + a3 − 5<br />

<br />

m<br />

2<br />

∆2 = h 3<br />

<br />

<br />

2a2 +8a3 − 10 + −2a2 − 4a3 + 37<br />

<br />

m + a1 + a2 + a3 −<br />

6<br />

5<br />

<br />

m<br />

2<br />

2<br />

<br />

∆3 = h 4<br />

<br />

<br />

(3a2 +12a3− 15) m + −3a2 − 6a3 + 37<br />

<br />

m<br />

4<br />

2<br />

<br />

+ a1 + a2 + a3 − 5<br />

<br />

m<br />

2<br />

3<br />

<br />

. (2.90)<br />

It can be seen that ∆l is a polynomial of degree m l ; the lowest power of<br />

m in ∆l is m for odd l and 1 for even l. The coefficient of m i in ∆l is<br />

proportional to the coefficient of m i−1 in ∆l−1. Therefore, if ∆k−1 vanishes,<br />

then all ∆l, l=0···k − 2 automatically vanish. Thus, for odd values of k, we<br />

require that the k coefficients of m l ,l=0···k − 1 in the expression for ∆k−1<br />

vanish. This leads to a system of k equations in k unknowns. For our example<br />

k = 3, we obtain the following set of equations on requiring coefficients of m l<br />

in ∆2 to vanish:<br />

The solution to these equations is<br />

a1 + a2 + a3 = 5<br />

2 ,<br />

2a2 +4a3 = 37<br />

6 ,<br />

2a2 +8a3 =10.<br />

(a2, a2, a3) =<br />

<br />

9 28 23<br />

, , .<br />

24 24 24<br />

It should be noted that if ∆k−1 vanishes, ∆k will also vanish! Values of al,<br />

l =1···k represented as ratios al = cl/d with a common denominator, are<br />

tabulated for k =1, 3, 5, 7 in Table 2.2. The above analysis for the case k =1<br />

leads precisely to the trapezoidal rule.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!