sufficient conditions for the instability of numerical...

5
JOURNAL OF RESEARCH of the National Bureau of Standards - B. Mathemati cal Sciences Vol. 73B, No. 2, April - June 1969 Sufficient Conditions for the Instability of Numerical Integration Methods * Abbas I. Abdel Karim** (March 5, 1969) In a previous paper , a general th e orem was inves tigated for the stability of numerical integration methods for th e so lution of sys tem s of differential e quation s. In this pap er, furth er theor e ms are devel- ope d as s uffi c ie nt conditions for th e instabilit y of num e ri ca l int eg ration methods. Applying these th eo rems, the ins:abiljt.y of known formulas are chec ked eas ily at a glance. Key words: Nume ri ca l int egration ; stability. Th e system of m ordinary diff ere ntial e quation s can be writt en in the vec tor form as follows: Y' == dY = F(x ' Y) dx " with the initial value Y(a) = Yo , xt:[a, b]. Let the vec tor s: (i) Y" be the exact solution of th e following diffe ren ce e quation at X=Xn: o Y ll +1 = L aVY"H+ h II=- q v=- q * (ii ) Y" be the (practical) co mput ed solution of (1) at x = Xn according to: * 0 * I * Y n+ l = L avYIIH+h L bvF(xn+ v;YnH)+ Rn+ ', v=- q LJ=- Q where Rll +, is the round off error. (iii) Y(Xn) be the exact solution of (1) at X=X". Thus the corresponding e xa ct formula is: o I Y(x,,+h) = L avY( xn +vh)+h L bvF(x,,+vh; Y(Xn+vh)) + Th ·+ I• v=- q IJ= -q Th e truncation error Tk+, = O(hk+2), (iv) €1l be the e rror of th e solution at the point Xn, thus: * An invited paper. * €n=Y,,-Y(Xn). **Prese nt address: Hel iupolice. EI Sheekh Mohamed He fa at St. 5. Cairo. Egypt, U.A.R. 119 k 1, /Lk +1 =l= O. (1) (2) (3) (4) (5)

Upload: hoangdien

Post on 02-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sufficient conditions for the instability of numerical …nvlpubs.nist.gov/nistpubs/jres/73B/jresv73Bn2p119_A1b.pdfTitle Sufficient conditions for the instability of numerical integration

JOURNAL OF RESEARCH of the National Bureau of Standards - B. Mathematical Sciences

Vol. 73B, No. 2, April - June 1969

Sufficient Conditions for the Instability of Numerical Integration Methods *

Abbas I. Abdel Karim**

(March 5, 1969)

In a previous paper, a general theorem was investigated for the s tability of numerical integration methods for the so lution of systems of diffe rentia l equation s. In thi s paper, further theore ms are devel­oped as suffi c ie nt conditions for the instability of nume rica l integration methods. Applying these theore ms , the ins:abiljt.y of known formula s are checked eas ily at a gla nce.

Key words: Nume ri cal integration ; stability.

The system of m ordinary differe ntial equations can be written in the vector form as follows:

Y' == dY = F(x ' Y) dx "

with the initial value Y(a) = Yo , xt:[a, b]. Let the vectors:

(i) Y" be the exact solution of the following difference equation at X=Xn:

o Y ll+1 = L aVY"H+ h

II=-q v=-q

* (ii) Y" be the (practical) computed solution of (1) at x = Xn according to:

* 0 * I * Yn+l = L avYIIH+h L bvF(xn+v;YnH)+ Rn+',

v=-q LJ=-Q

where Rll+ , is the round off error. (iii) Y(Xn) be the exact solution of (1) at X=X". Thus the corresponding exact formula is:

o I

Y(x,,+h) = L avY(xn +vh)+h L bvF(x,,+vh; Y(Xn+vh)) + Th·+ I •

v=-q IJ= - q

The truncation error Tk+, = /Lh, + ,h:' + 'Y~~;'i)+ O(hk+2),

(iv) €1l be the error of the solution at the point Xn, thus:

* An invited pa per.

* €n=Y,,-Y(Xn).

**Present address: Hel iupolice . EI Shee kh Mohamed Hefaat St. 5 . Cairo. Egypt, U.A.R.

119

k ~ 1, /Lk+1 =l= O.

(1)

(2)

(3)

(4)

(5)

Page 2: Sufficient conditions for the instability of numerical …nvlpubs.nist.gov/nistpubs/jres/73B/jresv73Bn2p119_A1b.pdfTitle Sufficient conditions for the instability of numerical integration

In Karim's paper [1] ,1 we discussed the following: 1. Corresponding to the integration formula (2), there is a nonhomogeneous system of linear

difference equations with co nstant coefficients for the error Ell in the form:

o 1

EII+ I = L avEII+v+hj L bvEn+v+R, R "4= 0, (6) v=-q v=-q

- (af;) Where, in a small interval (X-q, XI): J = ayj is a constant matrix (i, j= l(l)m) and

R = R II + I - T k+ 1 is a nonzero constant vector, see Hamming (1959) [2]. 2. Corresponding to the system of difference equations (6) there is a system of the character­

istic polyn i:lmial equations:

i= l(l)m (7) v=-q v= - q

where: pi= the eigenvalues of the matrix J. 3. The numerical integration method (2) is said to be stable according to Wilf's criterion

(1959) [3] if the roots of (7) for all i = 1 (l) m are inside the unit circle in the com plex plane, so that the e rror introduced at any stage tends to decay than build up. Expanding the terms of (4) according to Taylor, and comparing the coefficients of h j , we get the following system of linear equations:

j = O(l)k + l (8)

where:

{ I j = 0 )'1 = 0 for j "4= 0'

For j = 0 and j = 1 it follows from (8):

and

()

L(lv = l, JJ=-q

o I

L lJ'{lv + L bv= 1. V= - fJ v = - (/

{ I j = k + l )'3 = 0 fori "4= k + l'

(9)

110)

REMARK: Many incorrect formulas of the form (2) are found in some references. It is necessary to check such cases at least by formulas (9) and (10). In many cases it is sufficient to use (9) and (10) for the correction s . especiall y in case of a sign mistake or in case of some wrong coefficients, otherwise it is necessary to make use of (8) for j = 2, 3 ... , k + 1. It is possible for example, by using (9) and (10) to recognize immediately that eleven of the eighteen formulas, due to H . .J. Gray (1955) [4] Itab les 4, page 14, formulas Nr. 6 , 9, 10 ... , 18) have thirteen mistakes. lis in g (9) and (10), the mistakes ca n be corrected. Also two formulas by W. Quade (1957) [5J (p . 160 formula (6.2') and p. 167 formula (9.4)) have written mistakes.

THEOREM 11): The integration formula (2) for the solution of m ordinary differential equations 11) is stable if and only ~f, the Hermitian forms with the coefficients

Illinlr. s)_

A~J = L {Cq+ 1+ 1- 1'. iCq+ 1 + I - so i -Cr- I, i(:s - I , i}, 1= 0

1 F igures in bracket s indicate the lit era ture re fe rences at the e nd of Ihi s paper.

120

(11)

Page 3: Sufficient conditions for the instability of numerical …nvlpubs.nist.gov/nistpubs/jres/73B/jresv73Bn2p119_A1b.pdfTitle Sufficient conditions for the instability of numerical integration

.lor all i = 1, 2, where:

., m are positive definite

u = O(1)q + 1,

b {= 0 j' (2) ' . an extrapolation formula, I ..j.. 0 L L.~ . I' fi l -r- an Lntl'rpO atwn ormu a.

The proof of this th eore m is to be found in Karim [11. Tm:OREM (2): U a _q = .+::. 1 and ILq = -a_qbl then the integration formula 12) is unstable. PROOF: Applying theore m (1), the first determinant becomes:

Thll s. it is s uffi c il ' nt th a t , the intl' g rati o n formul a (2) is uns tabl e .

I ( q - S) / 2 { 0 f've n THEOREM d): I~·X.}-l)"h" = 0 and".?u a _ Q +2 "= s = 1 if q is odd'

then the integration formula (2) is unstable. PROOF: 1. If q is an eve n numbe r, we ge t

Applyin:! (9) it follow s: o L (- 1)"(( ,, = - 1.

l :s in g th e firs t ass umption of th e th eo re m we g;et:

o I

L (-1)"a"+ hpj L (-1)"b"=-1 v=-q v=-q

2. If q is an odd number, we get:

Also (q+ I )/2 (q - I )/2

L a - q+2" - 1 - L a - q+2" = - 1, v= 1 v = O

o thi s means L (-1)"a ,, =-1.

v=-q

Applying the firs t assumption of the theorem we get:

o I

L (-I)"Ov+hpi L (-l)"b"=-1. II=-q v=-q

121

(12)

(12')

Page 4: Sufficient conditions for the instability of numerical …nvlpubs.nist.gov/nistpubs/jres/73B/jresv73Bn2p119_A1b.pdfTitle Sufficient conditions for the instability of numerical integration

According to (12) and (12'), l\j = -1 is a characteristic root of the equation (7), whether q is an odd or even number. Thus, due to Wilfs definition, the integration formula (2) is unstable.

I

THEOREM (4): If L bv = 0, (13) V=- Q

then: (i) The system of the nonhomogeneous difference equations (6) has a nonconstant particular

solution. (ii) The integration method (2) is unstable. PROOF:

(i) To find a particular solution of (6), let

Ev = E = a nonzero constant vector,

Thus we get from (6):

v=-q(1)l.

Using (9) and (13) it follows:

(1- V~q av) E= hJE V~q bv+ it

R=O.

(14)

(15)

This means that the assumption (14) contradicts (15) with reference to (6). Put Ev= VE in (6), where E is a nonzero constant vector. Using (9) and (13) we get:

I

Hence assuming that L bv • v =1= 0, det J =1= 0, and applying (10) and (13), it can be proved that: v=-q

( I )-1 E=- h V~q bv · v J - If(

Thus the equations system (6) has a particular solution which is equal to

( I )-1 E,,=-n hV~qbv·v J - Ijt

I

In the case of L bv • v = 0, then En is a polynomial in n of degree greater than 1. v=-q

(ii) Using (9) and (13) we have:

o I

1 - L a v - hPi L bv = 0. v= - q v=-q

This means Ai= 1 is a characteristi c root of the eq (7). Thus, and in addition of (i), the stability condition is not satisfied and the integration formula (2) is unstable.

Illustrative Examples

The instability of the following integration formulas may be easily checked at a glance:

(1) Yn+1 = YII _ I + 2hY;"

122

Page 5: Sufficient conditions for the instability of numerical …nvlpubs.nist.gov/nistpubs/jres/73B/jresv73Bn2p119_A1b.pdfTitle Sufficient conditions for the instability of numerical integration

(2) Y'l+ 1 = - Y"- 2 + Y" - I + Y" + h(- Y;/-2 + Y;, ),

(3) Y,,+I =- Y"- 2+ Y" - I + Yll + 2h (- Y;' - I + Y;, ),

T4 = - 112 h"}IlV (x t/ ) + O(h")

(6) Yt/ +I = Yll - 3 + Y" -2 - Y,,+3h(Y;, -2 + Y;'),

(7) Yn+ 1 = Y" - 2+ 9Y,,_, -9Yt/+6h (Y;,_, + Y;') ,

- 14Y;,_, + llY:, ) ,

1 (10) y"+1 = 268 (-368Yt/ - ;; + 243Y" - 4 + 250Y"_2 + 243Yt/)

Accordin g to theorem (2), the fo rmulas (1), (5), (6), (7), a nd (9) are uns ta ble. A ccording to theorem (4), the formul as (2), (3), (4), (8), a nd (10) are uns table. Moreove r , according to theore m (3), the

formula (2) is uns table . Thus a ll the give n formul as (1), (2) , .. . , (10) are un s table .

NOTE: Th e fo rmulas (1), (4), (6), (8), a nd (10) a re give n by Quade (1957) [5J , (5) is gi ve n by Milne (1949) [6J , (3) is give n by Ha mmin g (1959) [2J. (9) is give n by Wilf (1960) [7], (2) a nd (7) are gi ve n by th e a ut hor.

References [1] Karim , A. 1. A., Criterion for th e s tabilit y of num e ri ca l integra tion me thods for th e so lution of sys te ms of diffe re ntial

equa tions, J. Res. NBS , 718 , (Math . and ma th . Ph ys .) Nos. 2 a nd 3,9]- 103 (A pr.- Se pt. 1967) [2] Hamming, R. W., S table predic tor-corrector me thods fo r ord in a ry d iffe re nti a l eq uati o ns, J. Assoc. Co mpo Mach. V. 6 ,

N r. 1, p. 37- 47 (j a n. 1959). [3] Wilf, H. S. , A sta bility c rit e rion for numerica l integration , J. Assoc. Compo Mac h. , V. 6 , N r. 3, p. 363- 365, July 1959. [4] Gray, H. J. , Jr. , Propagation of trun cat io n e rrors in th e numerica l solutions of ordinary differenti a l e quation s by re pe ated

c losures, J. Assoc. Co mpo Mac h. V. 2, N r. 1, p. 5- 17 (Jan. 1955). [5] Quade, W., Uber nume ri sche Int egration vo n gewii hnl. Diffe renti al-gle ichungen durch Inte rpolatio n nach He rmite,

ZAMM 37/1957, S . 161- 169. [6] M ilne, W. E .. N ume ri ca l Calculu s , c ha p. V, Prin ceton , Ne w J ersey 1949. [7] Wilf, Ra ls ton , Math ematica l Me thods for Digit a l Co mpute rs , N ume ri cal In tegration Methods for the Solution of Or­

din ary Differenti a l Equations , Pa rt 11, New Yo rk , 1960.

(P a pe r 73B2- 291)

338- 397 0 - 69- .'> 123