A family of A-stable Runge Kutta collocation methods of higher order for initial-value problems

Size: px
Start display at page:

Download "A family of A-stable Runge Kutta collocation methods of higher order for initial-value problems"

Transcription

1 IMA Journal of Numerical Analysis Advance Access published January 3, 2007 IMA Journal of Numerical Analysis Pageof20 doi:0.093/imanum/drl00 A family of A-stable Runge Kutta collocation methods of higher order for initial-value problems JESÚS VIGO-AGUIAR AND HIGINIO RAMOS Scientific Computing Group, Universidad de Salamanca, Salamanca, Spain [Received on 27 January 2006; revised on 7 December 2006] We consider the construction of a special family of Runge Kutta (RK) collocation methods based on intra-step nodal points of Chebyshev Gauss Lobatto type, with A-stability and stiffly accurate characteristics. This feature with its inherent implicitness makes them suitable for solving stiff initial-value problems. In fact, the two simplest cases consist in the well-known trapezoidal rule and the fourth-order Runge Kutta Lobatto IIIA method. We will present here the coefficients up to eighth order, but we provide the formulas to obtain methods of higher order. When the number of stages is odd, we have considered a new strategy for changing the step size based on the use of a pair of methods: the given RK method and a linear multistep one. Some numerical experiments are considered in order to check the behaviour of the methods when applied to a variety of initial-value problems. Keywords: Runge Kutta collocation methods; initial-value problems; A-stability.. Introduction Implicit Runge Kutta (RK) methods may be classified according to whether or not they are collocation methods (Lambert, 99). For ordinary differential equations (ODEs), collocation consists in choosing a polynomial and demanding that its derivative coincides on a set of collocation points with the vector field of the differential equation. In this paper, we present a new family of methods that fall into the class of RK collocation methods, where the internal stages are based on the Chebyshev Gauss Lobatto points, which are the zeros of certain Chebyshev polynomial of second kind. These Chebyshev polynomials were chosen because of their superior convergence rate properties and their special characteristics in relation to the approximation of functions (Fox & Parker, 968; Mason & Handscomb, 2003). They have been widely used in numerical analysis (Reddy & Weideman, 2005; Berrut & Trefethen, 200; Panowsky & Richardson, 988; Vigo-Aguiar & Ramos, 2003). In the solution of differential equations, the Chebyshev Gauss Lobatto points are often preferable to other sets of Chebyshev points because they include the end points t = ± (which after certain transformations will be related to the approximate values y n and y n+ of the true solution of the differential equation). We will explore some features of the new methods, specifically, the order and the favourable property of A-stability. This attribute, with the fact that they are implicit methods, is very promising in connection with their use for solving stiff initial-value problems. In Section 2, we develop the construction of the family of methods, and in Section 3, we present formulas for obtaining the coefficients. Section is devoted to studying some particular cases and the specific characteristics of the methods are summarized in Section 5. The connection between the new methods and the linear multistep methods is outlined in Section 6. In Section 7, we present a particular strategy for changing the step size when an odd number of stages jvigo@usal.es Corresponding author. higra@usal.es c The author Published by Oxford University Press on behalf of the Institute of Mathematics and its Applications. All rights reserved.

2 2of20 J. VIGO-AGUIAR AND H. RAMOS is taken, in addition to some details concerning the implementation. In Section 8, different problems already used in tests in the literature are considered in order to assess the stability characteristics of the methods and their use for solving stiff initial-value problems. 2. Derivation of the new family We are interested in the numerical solution of ODEs, possibly stiff, of the form { y (t) = f (t, y(t)), t [t 0, T ], y(t 0 ) = y 0, (2.) where f is assumed to satisfy the conditions to guarantee the existence of a unique solution of the initial-value problem. We consider a fixed step size, h, i.e. h = (T t 0 )/k, for some integer k > 0, and a set of equally spaced points on the integration interval given by t 0 < t < < t k = T, where we set t j = t 0 + jh, j =,...,k. Now, suppose we have an approximation of the solution of (2.) at the point t n, n < k, i.e. y n y(t n ). In order to obtain an approximation y n+ for y(t n+ ), we consider the general (s + )-stage RK method defined by the Butcher tableau c a a 2 a (s+) c 2 a 2 a 22 a 2(s+) c s+ a (s+) a (s+)2 a (s+)(s+) (2.2) b b 2 b s+ which may be written in the alternative form (Lambert, 99) s+ y n+ci = y n + h a ij f (t n + c j h, y n+c j ), i =,...,s +, (2.3) j= s+ y n+ = y n + h b i f (t n + c i h, y n+ci ), i= where, as usual, y n+ci stands for the approximation of the true values y(t n + c i h). Now, in order to determine values for the coefficients a ij in the method, we set b i = a (s+)i, i =,...,s +, which makes the method stiffly accurate (Hairer & Wanner, 996). For c j, we take c j+ = ξ j = 2 ( + α j), j = 0,,...,s, (2.) where the α j are the Chebyshev Gauss Lobatto points given by α j = cos(θ j ), θ j = (s j)π, j = 0,,...,s. (2.5) s

3 A-STABLE RUNGE KUTTA COLLOCATION METHODS 3of20 We note that these points may be obtained as a projection of equally spaced points over the unit circle onto the interval [, ]. Moreover, they are the extrema on [, ] of the Chebyshev polynomial of the first kind T s (t) (Fox & Parker, 968). Let z(t) be a sufficiently many times differentiable function and define the linear operators associated with the equations in (2.3) by s+ L i (z(t), h) = z(t + ξ i h) z(t) h a ij z (t + ξ j h) (2.6) for i =,...,s +. Proceeding in the same way as is done for linear multistep methods, we expand z(t + ξ i h) and z (t + ξ j h) about t and collect powers in h to obtain where j= L i (z(t), h) = C i z () (t)h + C i2 z (2) (t)h 2 +, (2.7) C ip = ξ p i p! s+ (p )! j= a ij ξ p i (2.8) for i =,...,s +, p N. Note that we have a total number of (s +)(s +) coefficients a ij to be determined. If we impose that the intermediate steps have order (s + ), i.e. the coefficients C ip for i =,...,s +, p =,...,s + vanish, it results in an algebraic system of (s + )(s + ) equations in the (s + )(s + ) unknowns a ij. That is, we have the same number of equations and unknowns, and solving this system we will obtain the required values for the RK method in (2.2). We note that the methods could have been obtained using the theory of block-gams methods described in Brugnano & Trigiante (998), or in Iavernaro & Mazzia (998), taking variable step sizes computed using the Chebyshev Gauss Lobatto points. In this way, a system of (s + )-step linear methods is obtained, and imposing that each formula has maximum order (s + ), the coefficients are uniquely determined. 3. Solving the algebraic system If s is large, solving the resulting linear algebraic system may be an impossible task, even with the help of a computer algebra system. However, we note that what we really have are (s +) uncoupled systems, each of them formed by (s + ) equations with the same number of unknowns. These systems have the form a j + a j2 + +a j (s+) = ξ j, a j ξ 0 + a j2 ξ + +a j (s+) ξ s = ξ 2 j 2, for j =,...,s +. a j ξ s 0 + a j2ξ s + +a j (s+)ξ s s = ξ s+ j s +,. (3.)

4 of20 J. VIGO-AGUIAR AND H. RAMOS THEOREM 3. For j =,...,s +, each system of equations given by Bv j = Ψ j, where v j = ξ 0 ξ ξ s B = ξ 2 0 ξ 2 ξs 2, ξ0 s ξ s ξs s a j a j2. a j (s+) ξ j ξ 2 j /2, Ψ j =,. ξ s+ j /(s + ) has a unique solution. Proof. The result follows immediately from elementary algebra because the matrix B is a Vandermonde matrix, and all the values ξ 0,...,ξ s being distinct B is nonsingular, and each system of linear equations in (3.) has a unique solution. A closed form of the solution for these systems is presented, which has been obtained by considering the inverse of the Vandermonde matrix. THEOREM 3.2 The solution of system (3.) may be expressed in the form a jk = s l + ω (k )lξ l+ j, j =,...,s +, k =,...,s +, l=0 where ω ij = ( ) s j sk=0,k i (ξ i ξ k ) σ s j(ξ 0,...,ξ i,ξ i+,...,ξ s ), i, j = 0,...,s, (3.2) and σ i (x,...,x m ) refers to the elementary symmetric polynomial of degree i in the variables x,...,x m. Proof. Since the matrix B is nonsingular, we have v j = B Ψ j, and using the explicit formula for the inverse of the Vandermonde matrix (Higham, 2003, p. 26), which is given by B = (ω ij ) i, s j=0 where the ω ij are defined as in (3.2), the result follows immediately. REMARK 3.3 The methods we have obtained could also be categorized as collocation RK methods, taking as collocation points the Chebyshev Gauss Lobatto points in (2.5). Imposing the conditions for obtaining the coefficients as in Lambert (99), we obtain a similar system of equations as in (3.).

5 A-STABLE RUNGE KUTTA COLLOCATION METHODS 5of20. Examples of the methods For conclusions concerning the order of the methods presented in the above sections, additional results are needed. We present these results as corollaries of two theorems that we reproduce from Hairer et al. (993, p. 22). THEOREM. An implicit RK method with all c i different and of order at least p is a collocation method iff C(p): p j= a ij c q j = cq i q, i =,...,p, q =,...,p, is true. COROLLARY.2 The RK method given by the Butcher tableau in (2.2) whose coefficients satisfy (2.) and (3.) is a collocation method. Proof. This follows immediately observing that by setting the values c i as in (2.), the equations in (3.) reduce to the condition C(s + ). THEOREM.3 Let M(t) = p i= (t c i) and suppose that M is orthogonal to polynomials of degree (r ), i.e. 0 M(t)t q dt = 0, q =,...,r; then the RK collocation method obtained from the c i has order (p + r). COROLLARY. When s is even, the RK collocation method described in the above sections has order (s + 2). Proof. We consider the function M(t) = s i=0 (t ξ i ) and q =, and calculate the integral in the above theorem using ξ i = ( + cos θ i )/2 and the transformation z = 2t. We have 0 M(t)dt = 0 s (t ξ i )dt = i=0 2 s+2 i=0 = 2 s+2 s (z cos θ i )dz (z 2 )q(z)dz, (.) where q(z) = s i= (z cos θ i). The roots of q(z) are the extrema of the Chebyshev polynomial of the first kind T s (z), which has leading coefficient 2 s (Fox & Parker, 968), and thus we may write q(z) = T s (z) s2 s. Finally, as T s (z) is an even function, T s (z) is an odd function, and so is (z 2 )q(z), and the integral in (.) is zero. According to the theorem, the order of the method is (s + ) + = s + 2.

6 6of20 J. VIGO-AGUIAR AND H. RAMOS. Case s = For the simplest case, after calculating the coefficients using Theorem 3.2, the RK method in (2.2) results in /2 /2 (.2) /2 /2 Arranging the method in a different form, this is the trapezoidal rule which is known to have second order and to be A-stable (Lambert, 99, p. 225)..2 Case s = 2 In this case, after calculating the coefficients using Theorem 3.2, the RK method is given by /25/2 /3 /2 /6 2/3 /6 (.3) /6 2/3 /6 which is the Runge Kutta Lobatto IIIA method, which has order four and is also A-stable (Butcher, 2003)..3 Case s = 3 Now, for s = 3, we obtain the Butcher tableau / 59/576 7/288 7/288 5/576 3/ 3/6 5/32 9/32 3/6 /8 /9 /9 /8 (.) /8 /9 /9 /8 For s 3, as far as we know, the methods in this article do not correspond to any method that has appeared in the literature. To obtain the order of the (s + )-stage method, we check the conditions for order (s + ) from the Butcher theory (Butcher, 2003), and it turns out that the method has at least order (s + ) (for this task, it is useful to consider the package implementing the Butcher theory in the computer algebra system Mathematica). On the other hand, if we apply the RK method in (2.2) to the test equation y (t) = λy(t), λ C, a one-step difference equation results of the form y n+ = R s (λh)y n, where the stability function R s (z), z = λh, is given by R s (z) = det[i za+ zebt ], det[i za]

7 A-STABLE RUNGE KUTTA COLLOCATION METHODS 7of20 where e is the (s + )-vector e = (,...,) T, I is the (s + )-identity matrix, A is the matrix A = (a ij ) s+ i, j= and b = (b,...,b s+ ) T. The region of the complex z-plane in which R(z) isthe region of absolute stability of the method. For s = 3, the stability function is R 3 (z) = z + 38z2 + 3z z + 38z 2 3z 3, and, for z in the left-half complex plane, we have R 3 (z), which means that the method is A-stable.. Case s = The following and subsequent cases follow a study similar as in the case above. For s =, the Butcher tableau that defines the method is / For the stability function, we have R (z) = z + 20z2 + 22z 3 + z z + 20z 2 22z 3 + z Once more, R (z) on the left-half complex plane, and thus the method is A-stable. With respect to the order, using the Mathematica system, we have corroborated the order conditions from the Butcher theory for the method to have order at least five. However, as has occurred for the case s = 2, it follows from Corollary. that the order is in fact six. 30 (.5).5 Case s = 5 The tableau that defines the method takes the form (9 5) 75 7( 7+2 5) (9+ 5) (9+ 5) (7+2 5) (9 5) (9 5) 75 2(9+ 5) 75 2(9+ 5) 75 2(9 5) 75 50

8 8of20 J. VIGO-AGUIAR AND H. RAMOS The order conditions for order six may be verified and not for order seven, thus the method has order six. In this case, the stability function is given by R 5 (z) = z z z z + 5z z z 2 296z z 5z 5, and R 5 (z) on the left-half complex plane, indicating that the method is A-stable..6 Case s = 6 Now, the matrix A is given by (8+7 3) , and the vectors c and b are c = [ 0, 2 3,, 2, 3, 2 + T 3, ], [ b = 70, 8 63, 8 35, 82 35, 8 35, 8 63, ]. 70 where It follows from Corollary. that the method has order eight. Now, the stability function is given by R 6 (z) = N 6(z) D 6 (z), N 6 (z) = z z z z + 6z 5 + 3z 6, D 6 (z) = z z z z 6z 5 + 3z 6, and on the left-half complex plane R 6 (z), so this method is also A-stable.

9 A-STABLE RUNGE KUTTA COLLOCATION METHODS 9of20 5. Characteristics of the methods The first characteristic is about the stage order because as Lambert (99) has indicated, the accuracy of the internal stages can be as important as the final point. From the very construction of the methods, it follows that the accuracy of the internal stages is at least O(h s+2 ), i.e. y n+ci = y(t n + c i h) + O(h s+2 ). Moreover, as the first row of the matrix A consists of zeros, the first stage coincides with the initial value. And due to the requirement of stiff accuracy, the last stage coincides with the expression for the final point, which implies that no further function evaluation is necessary to obtain y n+. As we have established above, the methods are A-stable. This feature is in accordance with the fact that the imaginary axis is the contour of the stability region for symmetric RK methods (Butcher, 987; Brugnano & Trigiante, 998), as the methods in this article are. This last feature is obtained directly because the numbers c,...,c s+ in (2.) are symmetrically distributed on the interval [0, ], i.e. c i = c s+2 i for i =,...,s +. This means that the numerical result obtained by applying the above methods with step size h to y n+ is exactly the initial value y n (Hairer et al., 993, p. 222). Moreover, we observe that for the above symmetric methods, the stability function has the form R s (z) = P s(z) P s ( z), where P s (z) is a polynomial of degree s that may be obtained by P s (z) = M (s+) () + M (s) ()z + + M ()z s, where M(z) = s i=0 (z ξ i ) with ξ i as in (2.) (Nørsett, 975). Finally, the above methods are not symplectic because they do not satisfy the simple algebraic relation (Sanz-Serna, 998) b i a ij + b j a ji b i b j = 0, i, j =,...,s Connection between RK and linear multistep methods Surprisingly, the RK methods in this article may also be obtained from linear multistep formulas, providing in this way a direct connection between RK methods and linear multistep methods. The relation with multistep formulas could have been obtained also from the block-gams formulation already mentioned, but in what follows, we give a complete information about the particular multistep formulas. As we have pointed out, the simple case for s = corresponds to the linear multistep method known of a trapezoidal rule. For s = 2, the method in (.3) consists of a system of two equations given by y n+ 2 = y n + h 2 (5 f n + 8 f n+ 2 f n+ ), y n+ = y n + h 6 ( f n + f n+ 2 + f n+ ). (6.)

10 0 of 20 J. VIGO-AGUIAR AND H. RAMOS Looking carefully at the first equation in (6.), it is the two-step Adams Moulton formula for the equation y = f (x, y) given by ( 5 y n+ = y n + h 2 f n f n ) 2 f n, (6.2) where we have to set x n = t n + h, x n = t n + h/2, x n+ = t n and h = h/2. Now, if we take the two-step Milne Simpson formula for the equation y = f (x, y) given by ( y n+ = y n + h 3 f n+ + 3 f n + ) 3 f n, (6.3) setting x n = t n, x n = t n + h/2, x n+ = t n + h and h = h/2, we recover the second of the formulas in (6.). For s 3, the situation is a little more complicated as the linear multistep methods to be considered must be formulated in their variable step-size form. We will sketch out the procedure in the case s = 3, but for larger values of s, the way to pass from the RK formulation to the multistep formulation is very similar. The method corresponding to the partitioned matrix in (.) may be expressed by means of the system of three equations: y n+ = y n + h 576 y n+ 3 = y n + 3h 6 y n+ = y n + h 8 (59 f n + 9 f n+ f n f n+ ), ( f n + 0 f n+ + 6 f n+ 3 f n+ ), (6.) ( f n + 8 f n+ + 8 f n+ 3 + f n+ ). The first of these equations may be obtained from the three-step Adams Bashforth formula with variable steps for the problem y = f (x, y), where the grid points have to be taken as x n 2 = t n + h, x n = t n + 3h/, x n = t n + h/, x n+ = t n, and the step sizes are h n = x n x n 2 = h/, h n = x n x n = h/2, h n+ = x n+ x n = h/. Using the above points and step sizes, the three-step Milne Simpson formula in its variable step-size version results in the second of the equations in (6.). And finally, for the same values, the generalized variable-step Milne Simpson formula of three steps (Henrici, 962) leads to the last equation in (6.).

11 A-STABLE RUNGE KUTTA COLLOCATION METHODS of Implementation details 7. Strategy for the step-size selection As is usual for the RK methods, we might consider the use of an embedded pair of methods for the step-size selection. For each method of the family, we would look for an RK method of the form c A that satisfies that the order conditions have order p s, where A and c are the same as in the chosen RK method of the family. For example, for the method with s =, we could take ˆb = (0, /3, /3, /3, 0) which results in a fourth-order method. Thus, we would have an approximation of y(t n + h) by an RK method of lower order given by s+ ˆb ŷ n+ = y n + h ˆb i f (t n + c i h, y n+ci ). (7.) i= The difference between the approximations could be taken as an estimation for the local truncation error, err, given by s+ err = y n+ ŷ n+ = h (b i ˆb i ) f (t n + c i h, y n+ci ), (7.2) i= which behaves like O(h p+ ) for h 0. But the use of the embedded pair of methods described above would be very costly in terms of the number of function evaluations considering the observation in Section 5 about the last stage. Instead of this, we propose a different approach to obtain an estimate for the local truncation error when s is even. In this situation, we take into account the fact that ξ s/2 = /2, and consider the linear multistep method of second order (which is the two-step backward differentiation formula with step size h/2; Hairer et al., 993) given by hf n+ = 3y n+ + y n y n+/2. (7.3) From this formula, if we assume that z(t) is the true solution of Problem (2.), we have hf(t n+, z(t n+ )) = 3z(t n+ ) + z(t n ) z(t n+/2 ) + O(h 3 ), (7.) where t n+ and t n+/2 are abbreviations, respectively, for t n + h and t n + 2 h. Now, if y n+/2 is the approximate value at the intermediate stage obtained with an RK method of the family described in Section 2, assuming the localization hypothesis (Lambert, 99), y n = z(t n ), y n+/2 = z(t n+/2 ), after expanding in Taylor series about (t n+, y n+ ) the function on the left-hand side of (7.), we may write [ h f (t n+, y n+ ) + δ f ] δy (t n+, y n+ )(z(t n+ ) y n+ ) = 3z(t n+ ) + y n y n+/2 + O(h 3 ), (7.5) where δ f/δy denotes the Jacobian matrix.

12 2 of 20 J. VIGO-AGUIAR AND H. RAMOS On subtracting 3y n+ from both sides of (7.5) and rearranging, we get ( 3I m h δ f ) δy (t n+, y n+ ) (z(t n+ ) y n+ ) = hf(t n+, y n+ ) y n +y n+/2 3y n+ +O(h 3 ), (7.6) where I m stands for the identity matrix of order m. Finally, the estimate for the local truncation error may be obtained from the formula z(t n+ ) y n+ = err + O(h 3 ), where and M is the matrix err = M (hf(t n+, y n+ ) y n + y n+/2 3y n+ ) (7.7) M = 3I m h δ f δy (t n+, y n+ ). Note that with this strategy, the extra cost for changing the step size consists just in one more function evaluation per step but as this value will be used in the next step, there is no extra cost after all. Our numerical experiments confirm that using this procedure we can obtain great accuracy. Once we have derived an estimate for the local error, the standard step-size prediction (Shampine & Gordon, 975; Henrici, 962) leads to ( ) atol /3 h new = τ h old (7.8) err for a given tolerance, atol, where τ is a safety factor. In order to avoid excessive computations, we also consider the common strategy that if the new step size satisfies k h old h new k 2 h old, with, say, k =.0 and k 2 =.5, then we retain h old for the following step. 7.2 Other implementation issues Since the first row in the matrix of the method consists of zeros, we can rewrite the method in (2.3) in the form Y i = ĀF(Y j ) + δ n, (7.9) where Ā is the s s matrix obtained from the Butcher tableau with both the first row and the first column suppressed, Y i = (y n+c2,...,y n+cs+ ) T, F(Y j ) = ( f (t n + c 2 h, y n+c2 ),..., f (t n + c s+ h, y n+cs+ )) T, (7.0) and δ n = (y n + ha 2 f (t n, y n ),...,y n + ha (s+) f (t n, y n )) T contains the known terms that involved the previous computed solution.

13 A-STABLE RUNGE KUTTA COLLOCATION METHODS 3 of 20 To solve the implicit system (7.9), there are different approaches (Amodio & Brugnano, 997; Cooper & Butcher, 983; Iavernaro & Mazzia, 998). In our implementation, we solve the system by means of Newton s method taking as initial guess the values (computed at no additional cost) given by yn+c 0 i = y n + hc i f (t n, y n ), i = 2,...,s +. (7.) Observe that y n+ = y n+cs+, and so no further function evaluation is necessary to obtain y n+. Once the solution y n+ has been computed, the step-size selection strategy in Section 7. determines the new value h new according to the formula in (7.8). 8. Numerical illustration To check the numerical behaviour when used to solve stiff and nonstiff systems, we have applied the above methods to a variety of well-known problems which have appeared in the literature. We have considered a variable step-size version of the above (s + )-stage RK method, that will be named VSCRK s, where the error estimation was performed using the technique described in Section 7.. First, we have taken a problem from the test set in Mazzia & Iavernaro (2003) used in tests elsewhere, and then a few more problems that have appeared in different articles concerning specific methods for initialvalue problems. 8. The Robertson problem This classical problem that models the kinetics of a chemical reaction (Hairer & Wanner, 996) consists of a system of three equations given by y (t) = 0.0y (t) + 0 y 2 (t)y 3 (t), y 2 (t) = 0.0y (t) 0 y 2 (t)y 3 (t) y 2 (t) 2, (8.) y 3 (t) = 3 07 y 2 (t) 2, with initial conditions y (0) = and y 2 (0) = y 3 (0) = 0. This special system, as is typical for problems arising in chemical kinetics, has a small, very quick initial transient. It has been integrated on the interval [0, 0 ]. The reference solution at the end of the integration interval has been taken from the test set in Mazzia & Iavernaro (2003): y (t f ) = , y 2 (t f ) = , y 3 (t f ) = For this problem, we have considered a step-size controller that uses a relative tolerance, rtol, and an absolute tolerance, atol (Hairer et al., 993, p. 67). We impose that the error on each step satisfies componentwise err i sc i, where sc i = atol + rtol max{ yn i, yi n+ }. As a measure of the error, we take err ˆ = max { vi sc i },

14 of 20 J. VIGO-AGUIAR AND H. RAMOS where the v i are the components of the vector that appeared in (7.7), v = M (hf(t n+, y n+ ) y n + y n+/2 3y n+ ). The new step size is obtained as ( h new = τ h old err ˆ ) /d, where d = n(log 0 (atol) + log 0 (rtol)) and τ is a safety factor as in (7.8) that for this problem has been established as τ =.25 in order to avoid excessive steps. The results obtained with the new method are presented in Table with some of the data for different codes that appear in Mazzia & Iavernaro (2003). The parameters listed in the table are the prescribed relative and absolute tolerances, rtol, atol, the initial step size, h 0, the total number of steps, nstep, the number of function evaluations, feval, a measure of the error given by the scd factor, scd = log 0 max i { yiexact (t f ) y icomputed (t f ) y iexact (t f ) where t f is the final point at the integration, and finally, the number of Jacobian evaluations when solving the system by means of full or simplified Newton methods, jac. The number of LU-decompositions in all the codes is similar to the number of Jacobian evaluations (except for DASSL and VODE, for details see Mazzia & Iavernaro, 2003). Using the Newton method, it is possible to leave the Jacobian frozen for a few steps. We have indicated this possibility with J = k which gives the number of iterations required before updating the Jacobian (J = refers to the full Newton scheme). In Fig., we show the efficiency curves for these codes, where we have plotted the polygonals joining the points (log 0 (feval), scd), i.e. the relative error (scd factor) versus the computational cost measured by the logarithm of the number of function evaluations. TABLE Results for Problem (8.) Method rtol atol h 0 nstep feval scd jac VSCRK (J = ) VSCRK (J = 3) VSCRK (J = 6) DASSL MEBDFI VODE RADAU },

15 A-STABLE RUNGE KUTTA COLLOCATION METHODS 5 of 20 FIG.. Efficiency comparison curves for Problem (8.). 8.2 A Prothero Robinson equation We consider the Prothero Robinson equation { y (t) = λ(y(t) g(t)) + g (t), t [0, 0], y(0) = 0, (8.2) with λ = 0 6, g(t) = sin(t), and the exact solution given by y(t) = sin(t). This inhomogeneous problem is a particular case of the family of scalar equations proposed in Prothero & Robinson (97) and constitutes a stiff problem (since the eigenvalue is λ = 0 6 ). In Table 2, we present the results obtained with the method for s = 6 in this article for different step sizes, h = /2 n, where in column Err appears the maximum of the absolute error over the integration interval given by Err = max j {log 0 y exact (t j ) y computed (t j ) }, (8.3) and feval refers to the number of evaluations of the function in the right-hand side of the differential equation. In Fig. 2, we present in a double logarithmic scale, the results obtained with the methods VSCRK 2 and VSCRK in this paper, and the best results in a recent article by Jackiewicz et al. (200) when using a two-step L-stable W-method, which we name WJ. TABLE 2 Results for Problem (8.2) n feval Err(h)

16 6 of 20 J. VIGO-AGUIAR AND H. RAMOS FIG. 2. Efficiency curves for Problem (8.2). 8.3 A mildly stiff linear system For the next test problem, we consider a well-known classical system (Baker, 989; Stabrowski, 997). It is a mildly stiff problem composed of two first-order equations { y (t) = 998y (t) + 998y 2 (t), y 2 (t) = 999y (8.) (t) 999y 2 (t), with initial values y (0) = and y 2 (0) =, and exact solution given by the sum of two decaying exponential components { y (t) = e t 3e 000t, y 2 (t) = 2e t + 3e 000t. The stiffness ratio is : 000, and the problem is solved numerically on the interval [0, 0]. The local relative error has been set to 0 6. In Table 3, we present the results of test runs with the BGH stiff solver in Hall & Watt (976) and the version of the Gear method in Stabrowski (997), both of them belonging to the class of backward differentiation formula methods. For the method in this article, we have chosen s =, 6, 8 and initial step h 0 = 0. The parameters considered are the number of function evaluations, feval, and the total number of integration steps, nstep. Note that in this case the resulting system of algebraic equations is linear and the Jacobian is constant, so we have used a full Newton scheme. The exact and discrete solutions are presented in Fig. 3 on the time domain [0, 0.0]. TABLE 3 Results for Problem (8.) Method feval nstep BGH stiff Gear type VSCRK 70 VSCRK VSCRK

17 A-STABLE RUNGE KUTTA COLLOCATION METHODS 7 of 20 FIG. 3. Exact and discrete solutions using VSCRK for Problem (8.). Up: component y (t). Down: component y 2 (t). 8. The Brusselator system This nonstiff problem (Hairer et al., 993) consists of the two equations { y (t) = + y 2 (t)y 2(t) y (t), y 2 (t) = 3y (t) y 2 (t)y 2(t), (8.5) with initial values y (0) =.5 and y 2 (0) = 3, and has been integrated on the interval [0, 20]. In Table, the results obtained with the VSCRK method are presented. The definitions of the parameters are those in Section 8., and now AbsErr refers to the absolute error at the final point measured in the norm. The initial step has been taken in all cases as h 0 = 0, and the strategy for estimating the local error is the same as that in Section A discretization problem by the method of lines The last problem (Butcher, 2003) is intended to show that our method is applicable for solving stiff problems arising from semi-discretization of a partial differential equation using the method of lines. We consider the diffusion equation u t = 2 u, (t, x) [0, ] [0, ], (8.6) x2

18 8 of 20 J. VIGO-AGUIAR AND H. RAMOS TABLE Results for Problem (8.5) M atol nstep feval jac AbsErr VSCRK (J = ) VSCRK (J = 3) VSCRK (J = ) VSCRK (J = 3) with initial value u(0, x) = a sin( 2x) sin(x) and boundary conditions given by u(t, 0) = 0 and u(t, ) = a exp( 2t) sin( 2) exp( t) sin(), where a = cos( 2)/ 2 cos(2 /2 ). The spatial discretization results in an approximating system of ODEs in time after replacing the partial derivatives with respect to x in (8.6) evaluated at x j = j/(n + ) by the second-order central differences 2 u x 2 (x j, t) y j+ 2y j + y j ( x) 2, where x = /(N + ) and ( ) j y j (t) = u t,, j =,...,N, N + and taking into account that from the initial conditions, it is y 0 (t) = u(t, 0) and y N+ (t) = u(t, ). The resulting system is y (t) = My(t) + v(t), (8.7) FIG.. Error versus step size for Problem (8.7).

19 A-STABLE RUNGE KUTTA COLLOCATION METHODS 9 of 20 where M = (N + ) and v(t) = (N + ) 2 (y 0 (t), 0,...,0, y N+ (t)), as in Butcher & Rattenbury (2005). We integrate this problem using a constant step size h = /n and taking exactly n steps (n = 0, 00, 500). In Fig., we have plotted the results in a double logarithmic scale, comparing the method described in this article when s = 2, with the almost RK method of fourth order in Butcher & Rattenbury (2005) and the two-stage Gauss method. This problem was also integrated in a variable step-size implementation which resulted in very high accuracy for a rather small number of steps. 9. Conclusions In this paper, the construction of an implicit family of methods, appropriate for solving stiff initial-value problems, is described. The resulting methods are A-stable and exhibit the favourable characteristics of being symmetric and stiffly accurate. It can be easily checked that in the context of general linear methods (Butcher, 996), they are inherently RK stable. We have obtained explicit formulas for the coefficients of the methods for all orders. When an odd number of stages is taken, a new strategy for selecting the step size has been developed. By numerical examples, we show that these methods are promising and indicate that they may be competitive with other methods that are frequently used for stiff differential equations. Acknowledgements The authors wish to thank the JCYL project SA 02/0 and the MICYT project BMF for financial support. They also want to express their gratitude to the anonymous referees for their careful reading and for improving the manuscript. REFERENCES AMODIO, P.&BRUGNANO, L. (997) A note on the efficient implementation of implicit methods for ODEs. J. Comput. Appl. Math., 87, 9. BAKER, L. (989) C Tools for Scientist and Engineers. New York: McGraw-Hill. BERRUT, J.P.&TREFETHEN, L. N. (200) Barycentric Lagrange interpolation. SIAM Rev., 6, BRUGNANO, L.&TRIGIANTE, D. (998) Solving Differential Problems by Multistep Initial and Boundary Value Methods. Amsterdam, The Netherlands: Gordon & Breach. BUTCHER, J. C. (987) The Numerical Analysis of Ordinary Differential Equations. New York: Wiley.

20 20 of 20 J. VIGO-AGUIAR AND H. RAMOS BUTCHER, J. C. (996) General linear methods. Comput. Math. Appl., 3, BUTCHER, J. C. (2003) Numerical Methods for Ordinary Differential Equations. Chichester, UK: Wiley. BUTCHER, J.C.&RATTENBURY, N. (2005) ARK methods for stiff problems. Appl. Numer. Math., 53, COOPER, G.J.&BUTCHER, J. C. (983) An iteration scheme for implicit Runge-Kutta methods. IMA J. Numer. Anal., 3, FOX, L.& PARKER, I. B. (968) Chebyshev Polynomials in Numerical Analysis. London: Oxford University Press. HAIRER, E., NORSETT, S. P.& WANNER, G. (993) Solving Ordinary Differential Equations I. Berlin, Germany: Springer. HAIRER, E.& WANNER, G. (996) Solving Ordinary Differential Equations II. Stiff and Differential-Algebraic Problems. Berlin, Germany: Springer. HALL, G.& WATT, J. M. (976) Modern Numerical Methods for Ordinary Differential Equations. Oxford, UK: Clarendon Press. HENRICI, P. (962) Discrete Variable Methods in Ordinary Differential Equations. New York: John Wiley. HIGHAM, N. J. (2003) Accuracy and Stability of Numerical Algorithms. Philadelphia, PA: SIAM. IAVERNARO, F.& MAZZIA, F. (998) Solving ordinary differential equations by generalized Adams methods: properties and implementaion techniques. Appl. Numer. Math., 28, JACKIEWICZ, Z., PODHAISKY, H.& WEINER, R. (200) Construction of highly stable two-step W-methods for ordinary differential equations. J. Comput. Appl. Math., 67, LAMBERT, J. D. (99) Numerical Methods for Ordinary Differential Systems. Chichester, England: John Wiley. MASON, J.C.&HANDSCOMB, D. C. (2003) Chebyshev Polynomials. New York: CRC Press. MAZZIA, F.& IAVERNARO, F. (2003) Test set for initial value problems solvers. Technical Report 0/2003. Department of Mathematics, University of Bari. NØRSETT, S. P. (975) C-polynomials for rational approximation to the exponential function. Numer. Math., 25, PANOWSKY, J.& RICHARDSON, D. L. (988) A family of implicit Chebyshev methods for the numerical integration of second-order differential equations. J. Comput. Appl. Math., 23, PROTHERO, A.& ROBINSON, A. (97) On the stability and accuracy of one-step methods for solving stiff systems of ordinary differential equations. Math. Comput., 28, REDDY, S. C.& WEIDEMAN, J. A. (2005) The accuracy of the Chebyshev differencing method for analytic functions. SIAM J. Numer. Anal., 2, SANZ-SERNA, J. M. (998) Runge-Kutta schemes for Hamiltonian systems. BIT, 28, SHAMPINE, L. F.& GORDON, M. K. (975) Computer Solution of Ordinary Differential Equations. The Initial Value Problem. San Francisco, CA: Freeman. STABROWSKI, M. M. (997) An efficient algorithm for solving stiff ordinary differential equations. Simul. Pract. Theory, 5, VIGO-AGUIAR, J.& RAMOS, H. (2003) Dissipative Chebyshev exponential-fitted methods for numerical solution of second-order diferential equations. J. Comput. Appl. Math., 58, 87 2.

The Milne error estimator for stiff problems

The Milne error estimator for stiff problems 13 R. Tshelametse / SAJPAM. Volume 4 (2009) 13-28 The Milne error estimator for stiff problems Ronald Tshelametse Department of Mathematics University of Botswana Private Bag 0022 Gaborone, Botswana. E-mail

More information

-Stable Second Derivative Block Multistep Formula for Stiff Initial Value Problems

-Stable Second Derivative Block Multistep Formula for Stiff Initial Value Problems IAENG International Journal of Applied Mathematics, :3, IJAM 3_7 -Stable Second Derivative Bloc Multistep Formula for Stiff Initial Value Problems (Advance online publication: 3 August ) IAENG International

More information

Ordinary differential equations - Initial value problems

Ordinary differential equations - Initial value problems Education has produced a vast population able to read but unable to distinguish what is worth reading. G.M. TREVELYAN Chapter 6 Ordinary differential equations - Initial value problems In this chapter

More information

8.1 Introduction. Consider the initial value problem (IVP):

8.1 Introduction. Consider the initial value problem (IVP): 8.1 Introduction Consider the initial value problem (IVP): y dy dt = f(t, y), y(t 0)=y 0, t 0 t T. Geometrically: solutions are a one parameter family of curves y = y(t) in(t, y)-plane. Assume solution

More information

ODE - Problem ROBER. 0.04y y 2 y y y 2 y y y 2 2

ODE - Problem ROBER. 0.04y y 2 y y y 2 y y y 2 2 ODE - Problem ROBER II-10-1 10 Problem ROBER 10.1 General information The problem consists of a stiff system of 3 non-linear ordinary differential equations. It was proposed by H.H. Robertson in 1966 [Rob66].

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 9 Initial Value Problems for Ordinary Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign

More information

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9 Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Chapter 9 Initial Value Problems for Ordinary Differential Equations Copyright c 2001. Reproduction

More information

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations Numerical Methods for Differential Equations Chapter 2: Runge Kutta and Linear Multistep methods Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the

More information

Mathematics for chemical engineers. Numerical solution of ordinary differential equations

Mathematics for chemical engineers. Numerical solution of ordinary differential equations Mathematics for chemical engineers Drahoslava Janovská Numerical solution of ordinary differential equations Initial value problem Winter Semester 2015-2016 Outline 1 Introduction 2 One step methods Euler

More information

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations Numerical Methods for Differential Equations Chapter 2: Runge Kutta and Multistep Methods Gustaf Söderlind Numerical Analysis, Lund University Contents V4.16 1. Runge Kutta methods 2. Embedded RK methods

More information

THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS. Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands

THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS. Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands THE θ-methods IN THE NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS Karel J. in t Hout, Marc N. Spijker Leiden, The Netherlands 1. Introduction This paper deals with initial value problems for delay

More information

Fourth Order RK-Method

Fourth Order RK-Method Fourth Order RK-Method The most commonly used method is Runge-Kutta fourth order method. The fourth order RK-method is y i+1 = y i + 1 6 (k 1 + 2k 2 + 2k 3 + k 4 ), Ordinary Differential Equations (ODE)

More information

Energy-Preserving Runge-Kutta methods

Energy-Preserving Runge-Kutta methods Energy-Preserving Runge-Kutta methods Fasma Diele, Brigida Pace Istituto per le Applicazioni del Calcolo M. Picone, CNR, Via Amendola 122, 70126 Bari, Italy f.diele@ba.iac.cnr.it b.pace@ba.iac.cnr.it SDS2010,

More information

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations

A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations A New Block Method and Their Application to Numerical Solution of Ordinary Differential Equations Rei-Wei Song and Ming-Gong Lee* d09440@chu.edu.tw, mglee@chu.edu.tw * Department of Applied Mathematics/

More information

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK)

A NOTE ON EXPLICIT THREE-DERIVATIVE RUNGE-KUTTA METHODS (ThDRK) BULLETIN OF THE INTERNATIONAL MATHEMATICAL VIRTUAL INSTITUTE ISSN 303-4874 (p), ISSN (o) 303-4955 www.imvibl.org / JOURNALS / BULLETIN Vol. 5(015), 65-7 Former BULLETIN OF THE SOCIETY OF MATHEMATICIANS

More information

Geometric Numerical Integration

Geometric Numerical Integration Geometric Numerical Integration (Ernst Hairer, TU München, winter 2009/10) Development of numerical ordinary differential equations Nonstiff differential equations (since about 1850), see [4, 2, 1] Adams

More information

CS520: numerical ODEs (Ch.2)

CS520: numerical ODEs (Ch.2) .. CS520: numerical ODEs (Ch.2) Uri Ascher Department of Computer Science University of British Columbia ascher@cs.ubc.ca people.cs.ubc.ca/ ascher/520.html Uri Ascher (UBC) CPSC 520: ODEs (Ch. 2) Fall

More information

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators

Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators MATEMATIKA, 8, Volume 3, Number, c Penerbit UTM Press. All rights reserved Efficiency of Runge-Kutta Methods in Solving Simple Harmonic Oscillators Annie Gorgey and Nor Azian Aini Mat Department of Mathematics,

More information

Quadratic SDIRK pair for treating chemical reaction problems.

Quadratic SDIRK pair for treating chemical reaction problems. Quadratic SDIRK pair for treating chemical reaction problems. Ch. Tsitouras TEI of Chalkis, Dept. of Applied Sciences, GR 34400 Psahna, Greece. I. Th. Famelis TEI of Athens, Dept. of Mathematics, GR 12210

More information

Part IB Numerical Analysis

Part IB Numerical Analysis Part IB Numerical Analysis Definitions Based on lectures by G. Moore Notes taken by Dexter Chua Lent 206 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after

More information

Variable Step Runge-Kutta-Nyström Methods for the Numerical Solution of Reversible Systems

Variable Step Runge-Kutta-Nyström Methods for the Numerical Solution of Reversible Systems Variable Step Runge-Kutta-Nyström Methods for the Numerical Solution of Reversible Systems J. R. Cash and S. Girdlestone Department of Mathematics, Imperial College London South Kensington London SW7 2AZ,

More information

CHAPTER 5: Linear Multistep Methods

CHAPTER 5: Linear Multistep Methods CHAPTER 5: Linear Multistep Methods Multistep: use information from many steps Higher order possible with fewer function evaluations than with RK. Convenient error estimates. Changing stepsize or order

More information

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations International journal of scientific and technical research in engineering (IJSTRE) www.ijstre.com Volume Issue ǁ July 206. Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential

More information

The family of Runge Kutta methods with two intermediate evaluations is defined by

The family of Runge Kutta methods with two intermediate evaluations is defined by AM 205: lecture 13 Last time: Numerical solution of ordinary differential equations Today: Additional ODE methods, boundary value problems Thursday s lecture will be given by Thomas Fai Assignment 3 will

More information

ONE-STEP 4-STAGE HERMITE-BIRKHOFF-TAYLOR DAE SOLVER OF ORDER 12

ONE-STEP 4-STAGE HERMITE-BIRKHOFF-TAYLOR DAE SOLVER OF ORDER 12 CANADIAN APPLIED MATHEMATICS QUARTERLY Volume 16, Number 4, Winter 2008 ONE-STEP 4-STAGE HERMITE-BIRKHOFF-TAYLOR DAE SOLVER OF ORDER 12 TRUONG NGUYEN-BA, HAN HAO, HEMZA YAGOUB AND RÉMI VAILLANCOURT ABSTRACT.

More information

Multistage Methods I: Runge-Kutta Methods

Multistage Methods I: Runge-Kutta Methods Multistage Methods I: Runge-Kutta Methods Varun Shankar January, 0 Introduction Previously, we saw that explicit multistep methods (AB methods) have shrinking stability regions as their orders are increased.

More information

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations ECE257 Numerical Methods and Scientific Computing Ordinary Differential Equations Today s s class: Stiffness Multistep Methods Stiff Equations Stiffness occurs in a problem where two or more independent

More information

SPECIALIZED RUNGE-KUTTA METHODS FOR INDEX 2 DIFFERENTIAL-ALGEBRAIC EQUATIONS

SPECIALIZED RUNGE-KUTTA METHODS FOR INDEX 2 DIFFERENTIAL-ALGEBRAIC EQUATIONS MATHEMATICS OF COMPUTATION Volume 75, Number 254, Pages 641 654 S 0025-5718(05)01809-0 Article electronically published on December 19, 2005 SPECIALIZED RUNGE-KUTTA METHODS FOR INDEX 2 DIFFERENTIAL-ALGEBRAIC

More information

Fourth-order symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: a review

Fourth-order symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: a review Fourth-order symplectic exponentially-fitted modified Runge-Kutta methods of the Gauss type: a review G. Vanden Berghe and M. Van Daele Vakgroep Toegepaste Wiskunde en Informatica, Universiteit Gent, Krijgslaan

More information

Sixth-Order and Fourth-Order Hybrid Boundary Value Methods for Systems of Boundary Value Problems

Sixth-Order and Fourth-Order Hybrid Boundary Value Methods for Systems of Boundary Value Problems Sith-Order and Fourth-Order Hybrid Boundary Value Methods for Systems of Boundary Value Problems GRACE O. AKILABI Department of Mathematics Covenant University, Canaanland, Ota, Ogun State IGERIA grace.akinlabi@covenantuniversity.edu.ng

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations Initial value problems for ordinary differential equations Xiaojing Ye, Math & Stat, Georgia State University Spring 2019 Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 1 IVP

More information

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients AM 205: lecture 13 Last time: ODE convergence and stability, Runge Kutta methods Today: the Butcher tableau, multi-step methods, boundary value problems Butcher tableau Can summarize an s + 1 stage Runge

More information

Richarson Extrapolation for Runge-Kutta Methods

Richarson Extrapolation for Runge-Kutta Methods Richarson Extrapolation for Runge-Kutta Methods Zahari Zlatevᵃ, Ivan Dimovᵇ and Krassimir Georgievᵇ ᵃ Department of Environmental Science, Aarhus University, Frederiksborgvej 399, P. O. 358, 4000 Roskilde,

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations AMSC/CMSC 660 Scientific Computing I Fall 2008 UNIT 5: Numerical Solution of Ordinary Differential Equations Part 1 Dianne P. O Leary c 2008 The Plan Initial value problems (ivps) for ordinary differential

More information

Chapter 5 Exercises. (a) Determine the best possible Lipschitz constant for this function over 2 u <. u (t) = log(u(t)), u(0) = 2.

Chapter 5 Exercises. (a) Determine the best possible Lipschitz constant for this function over 2 u <. u (t) = log(u(t)), u(0) = 2. Chapter 5 Exercises From: Finite Difference Methods for Ordinary and Partial Differential Equations by R. J. LeVeque, SIAM, 2007. http://www.amath.washington.edu/ rjl/fdmbook Exercise 5. (Uniqueness for

More information

Applied Math for Engineers

Applied Math for Engineers Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method

More information

Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot. Department U2IS ENSTA ParisTech SCAN Uppsala

Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot. Department U2IS ENSTA ParisTech SCAN Uppsala Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot Department U2IS ENSTA ParisTech SCAN 2016 - Uppsala Contents Numerical integration Runge-Kutta with interval

More information

Numerical Differential Equations: IVP

Numerical Differential Equations: IVP Chapter 11 Numerical Differential Equations: IVP **** 4/16/13 EC (Incomplete) 11.1 Initial Value Problem for Ordinary Differential Equations We consider the problem of numerically solving a differential

More information

Numerical Methods for the Solution of Differential Equations

Numerical Methods for the Solution of Differential Equations Numerical Methods for the Solution of Differential Equations Markus Grasmair Vienna, winter term 2011 2012 Analytical Solutions of Ordinary Differential Equations 1. Find the general solution of the differential

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

High-order symmetric schemes for the energy conservation of polynomial Hamiltonian problems.

High-order symmetric schemes for the energy conservation of polynomial Hamiltonian problems. High-order symmetric schemes for the energy conservation of polynomial Hamiltonian problems. Felice Iavernaro and Donato Trigiante Abstract We define a class of arbitrary high order symmetric one-step

More information

arxiv: v1 [math.na] 31 Oct 2016

arxiv: v1 [math.na] 31 Oct 2016 RKFD Methods - a short review Maciej Jaromin November, 206 arxiv:60.09739v [math.na] 3 Oct 206 Abstract In this paper, a recently published method [Hussain, Ismail, Senua, Solving directly special fourthorder

More information

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of Scientific Computing with Case Studies SIAM Press, 2009 http://www.cs.umd.edu/users/oleary/sccswebpage Lecture Notes for Unit V Solution of Differential Equations Part 1 Dianne P. O Leary c 2008 1 The

More information

Linearly implicit Runge Kutta methods for advection reaction diffusion equations

Linearly implicit Runge Kutta methods for advection reaction diffusion equations Applied Numerical Mathematics 37 (2001) 535 549 Linearly implicit Runge Kutta methods for advection reaction diffusion equations M.P. Calvo, J. de Frutos, J. Novo Departamento de Matemática Aplicada y

More information

A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs

A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs ANALELE ŞTIINŢIFICE ALE UNIVERSITĂŢII AL.I. CUZA DIN IAŞI (S.N.) MATEMATICĂ, Tomul LVIII, 0, f. A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs BY R.I. OKUONGHAE Abstract.

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

More information

The Initial Value Problem for Ordinary Differential Equations

The Initial Value Problem for Ordinary Differential Equations Chapter 5 The Initial Value Problem for Ordinary Differential Equations In this chapter we begin a study of time-dependent differential equations, beginning with the initial value problem (IVP) for a time-dependent

More information

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction

Adebayo O. Adeniran1, Saheed O. Akindeinde2 and Babatunde S. Ogundare2 * Contents. 1. Introduction Malaya Journal of Matematik Vol. No. 73-73 8 https://doi.org/.37/mjm/ An accurate five-step trigonometrically-fitted numerical scheme for approximating solutions of second order ordinary differential equations

More information

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Sunyoung Bu University of North Carolina Department of Mathematics CB # 325, Chapel Hill USA agatha@email.unc.edu Jingfang

More information

High-order Symmetric Schemes for the Energy Conservation of Polynomial Hamiltonian Problems 1 2

High-order Symmetric Schemes for the Energy Conservation of Polynomial Hamiltonian Problems 1 2 European Society of Computational Methods in Sciences and Engineering (ESCMSE) Journal of Numerical Analysis, Industrial and Applied Mathematics (JNAIAM) vol 4, no -2, 29, pp 87- ISSN 79 84 High-order

More information

MTH 452/552 Homework 3

MTH 452/552 Homework 3 MTH 452/552 Homework 3 Do either 1 or 2. 1. (40 points) [Use of ode113 and ode45] This problem can be solved by a modifying the m-files odesample.m and odesampletest.m available from the author s webpage.

More information

NUMERICAL SOLUTION OF ODE IVPs. Overview

NUMERICAL SOLUTION OF ODE IVPs. Overview NUMERICAL SOLUTION OF ODE IVPs 1 Quick review of direction fields Overview 2 A reminder about and 3 Important test: Is the ODE initial value problem? 4 Fundamental concepts: Euler s Method 5 Fundamental

More information

SOME PROPERTIES OF SYMPLECTIC RUNGE-KUTTA METHODS

SOME PROPERTIES OF SYMPLECTIC RUNGE-KUTTA METHODS SOME PROPERTIES OF SYMPLECTIC RUNGE-KUTTA METHODS ERNST HAIRER AND PIERRE LEONE Abstract. We prove that to every rational function R(z) satisfying R( z)r(z) = 1, there exists a symplectic Runge-Kutta method

More information

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by Numerical Analysis A Comprehensive Introduction H. R. Schwarz University of Zürich Switzerland with a contribution by J. Waldvogel Swiss Federal Institute of Technology, Zürich JOHN WILEY & SONS Chichester

More information

CHAPTER 10: Numerical Methods for DAEs

CHAPTER 10: Numerical Methods for DAEs CHAPTER 10: Numerical Methods for DAEs Numerical approaches for the solution of DAEs divide roughly into two classes: 1. direct discretization 2. reformulation (index reduction) plus discretization Direct

More information

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting Applied Mathematical Sciences, Vol. 12, 2018, no. 2, 93-103 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2018.711340 Investigation on the Most Efficient Ways to Solve the Implicit Equations

More information

Research Article Diagonally Implicit Block Backward Differentiation Formulas for Solving Ordinary Differential Equations

Research Article Diagonally Implicit Block Backward Differentiation Formulas for Solving Ordinary Differential Equations International Mathematics and Mathematical Sciences Volume 212, Article ID 767328, 8 pages doi:1.1155/212/767328 Research Article Diagonally Implicit Block Backward Differentiation Formulas for Solving

More information

Numerical Integration of Equations of Motion

Numerical Integration of Equations of Motion GraSMech course 2009-2010 Computer-aided analysis of rigid and flexible multibody systems Numerical Integration of Equations of Motion Prof. Olivier Verlinden (FPMs) Olivier.Verlinden@fpms.ac.be Prof.

More information

Validated Explicit and Implicit Runge-Kutta Methods

Validated Explicit and Implicit Runge-Kutta Methods Validated Explicit and Implicit Runge-Kutta Methods Alexandre Chapoutot joint work with Julien Alexandre dit Sandretto and Olivier Mullier U2IS, ENSTA ParisTech 8th Small Workshop on Interval Methods,

More information

Numerical Methods - Initial Value Problems for ODEs

Numerical Methods - Initial Value Problems for ODEs Numerical Methods - Initial Value Problems for ODEs Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Initial Value Problems for ODEs 2013 1 / 43 Outline 1 Initial Value

More information

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS

A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS CANADIAN APPLIED MATHEMATICS QUARTERLY Volume 17, Number 3, Fall 2009 A SYMBOLIC-NUMERIC APPROACH TO THE SOLUTION OF THE BUTCHER EQUATIONS SERGEY KHASHIN ABSTRACT. A new approach based on the use of new

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

Efficient implementation of Radau collocation methods

Efficient implementation of Radau collocation methods Efficient implementation of Radau collocation methods Luigi Brugnano Felice Iavernaro Cecilia Magherini arxiv:1302.1037v1 [math.na] 5 Feb 2013 December 29, 2012 Abstract In this paper we define an efficient

More information

Solving Ordinary Differential equations

Solving Ordinary Differential equations Solving Ordinary Differential equations Taylor methods can be used to build explicit methods with higher order of convergence than Euler s method. The main difficult of these methods is the computation

More information

Explicit One-Step Methods

Explicit One-Step Methods Chapter 1 Explicit One-Step Methods Remark 11 Contents This class presents methods for the numerical solution of explicit systems of initial value problems for ordinary differential equations of first

More information

COMMENTS ON HIGH ORDER INTEGRATORS EMBEDDED WITHIN INTEGRAL DEFERRED CORRECTION METHODS

COMMENTS ON HIGH ORDER INTEGRATORS EMBEDDED WITHIN INTEGRAL DEFERRED CORRECTION METHODS COMMENTS ON HIGH ORDER INTEGRATORS EMBEDDED WITHIN INTEGRAL DEFERRED CORRECTION METHODS ANDREW CHRISTLIEB, BENJAMIN ONG, AND JING-MEI QIU Abstract. Spectral deferred correction (SDC) methods for solving

More information

Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation

Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation MATCH Communications in Mathematical and in Computer Chemistry MATCH Commun. Math. Comput. Chem. (8) 7-77 ISSN - Two Optimized Runge-Kutta Methods for the Solution of the Schrödinger Equation T.V. Triantafyllidis,

More information

6.2 Mathematical description of the problem. i = m j (y j y i )=r 3 2

6.2 Mathematical description of the problem. i = m j (y j y i )=r 3 2 II-6-1 6 Pleiades problem 6.1 General information The problem consists of a nonsti system of 14 special second order dierential equations rewritten to rst order form, thus providing a nonsti system of

More information

CONVERGENCE AND STABILITY CONSTANT OF THE THETA-METHOD

CONVERGENCE AND STABILITY CONSTANT OF THE THETA-METHOD Conference Applications of Mathematics 2013 in honor of the 70th birthday of Karel Segeth. Jan Brandts, Sergey Korotov, Michal Křížek, Jakub Šístek, and Tomáš Vejchodský (Eds.), Institute of Mathematics

More information

IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM

IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM COMPUTATIONAL METHODS IN SCIENCE AND TECHNOLOGY 8 (1), 17-30 (2002) IMPLICIT INTERVAL MULTISTEP METHODS FOR SOLVING THE INITIAL VALUE PROBLEM MAŁGORZATA JANKOWSKA 1, ANDRZEJ MARCINIAK 1,2 1 Poznań University

More information

Reducing round-off errors in symmetric multistep methods

Reducing round-off errors in symmetric multistep methods Reducing round-off errors in symmetric multistep methods Paola Console a, Ernst Hairer a a Section de Mathématiques, Université de Genève, 2-4 rue du Lièvre, CH-1211 Genève 4, Switzerland. (Paola.Console@unige.ch,

More information

multistep methods Last modified: November 28, 2017 Recall that we are interested in the numerical solution of the initial value problem (IVP):

multistep methods Last modified: November 28, 2017 Recall that we are interested in the numerical solution of the initial value problem (IVP): MATH 351 Fall 217 multistep methods http://www.phys.uconn.edu/ rozman/courses/m351_17f/ Last modified: November 28, 217 Recall that we are interested in the numerical solution of the initial value problem

More information

Research Article P-Stable Higher Derivative Methods with Minimal Phase-Lag for Solving Second Order Differential Equations

Research Article P-Stable Higher Derivative Methods with Minimal Phase-Lag for Solving Second Order Differential Equations Hindawi Publishing Corporation Journal of Applied Mathematics Volume 2011, Article ID 407151, 15 pages doi:10.1155/2011/407151 Research Article P-Stable Higher Derivative Methods with Minimal Phase-Lag

More information

Lecture 8: Calculus and Differential Equations

Lecture 8: Calculus and Differential Equations Lecture 8: Calculus and Differential Equations Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE201: Computer Applications. See Textbook Chapter 9. Numerical Methods MATLAB provides

More information

Lecture 8: Calculus and Differential Equations

Lecture 8: Calculus and Differential Equations Lecture 8: Calculus and Differential Equations Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE21: Computer Applications. See Textbook Chapter 9. Numerical Methods MATLAB provides

More information

A Composite Runge Kutta Method for the Spectral Solution of Semilinear PDEs

A Composite Runge Kutta Method for the Spectral Solution of Semilinear PDEs Journal of Computational Physics 8, 57 67 (00) doi:0.006/jcph.00.77 A Composite Runge Kutta Method for the Spectral Solution of Semilinear PDEs Tobin A. Driscoll Department of Mathematical Sciences, University

More information

The Plan. Initial value problems (ivps) for ordinary differential equations (odes) Review of basic methods You are here: Hamiltonian systems

The Plan. Initial value problems (ivps) for ordinary differential equations (odes) Review of basic methods You are here: Hamiltonian systems Scientific Computing with Case Studies SIAM Press, 2009 http://www.cs.umd.edu/users/oleary/sccswebpage Lecture Notes for Unit V Solution of Differential Equations Part 2 Dianne P. O Leary c 2008 The Plan

More information

Ordinary Differential Equations

Ordinary Differential Equations Chapter 13 Ordinary Differential Equations We motivated the problem of interpolation in Chapter 11 by transitioning from analzying to finding functions. That is, in problems like interpolation and regression,

More information

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 18. HW 7 is posted, and will be due in class on 4/25.

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 18. HW 7 is posted, and will be due in class on 4/25. Logistics Week 12: Monday, Apr 18 HW 6 is due at 11:59 tonight. HW 7 is posted, and will be due in class on 4/25. The prelim is graded. An analysis and rubric are on CMS. Problem du jour For implicit methods

More information

TMA4215: Lecture notes on numerical solution of ordinary differential equations.

TMA4215: Lecture notes on numerical solution of ordinary differential equations. TMA45: Lecture notes on numerical solution of ordinary differential equations. Anne Kværnø November, 6 Contents Eulers method. 3 Some background on ODEs. 6 3 Numerical solution of ODEs. 8 3. Some examples

More information

Solving Orthogonal Matrix Differential Systems in Mathematica

Solving Orthogonal Matrix Differential Systems in Mathematica Solving Orthogonal Matrix Differential Systems in Mathematica Mark Sofroniou 1 and Giulia Spaletta 2 1 Wolfram Research, Champaign, Illinois, USA. marks@wolfram.com 2 Mathematics Department, Bologna University,

More information

Adaptive nested implicit Runge Kutta formulas of Gauss type

Adaptive nested implicit Runge Kutta formulas of Gauss type Applied Numerical Mathematics 59 (9) 77 7 www.elsevier.com/locate/apnum Adaptive nested implicit Runge Kutta formulas of Gauss type G.Yu. Kulikov, S.K. Shindin School of Computational and Applied Mathematics,

More information

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form Qualifying exam for numerical analysis (Spring 2017) Show your work for full credit. If you are unable to solve some part, attempt the subsequent parts. 1. Consider the following finite difference: f (0)

More information

Southern Methodist University.

Southern Methodist University. Title: Continuous extensions Name: Lawrence F. Shampine 1, Laurent O. Jay 2 Affil./Addr. 1: Department of Mathematics Southern Methodist University Dallas, TX 75275 USA Phone: +1 (972) 690-8439 E-mail:

More information

Exam in TMA4215 December 7th 2012

Exam in TMA4215 December 7th 2012 Norwegian University of Science and Technology Department of Mathematical Sciences Page of 9 Contact during the exam: Elena Celledoni, tlf. 7359354, cell phone 48238584 Exam in TMA425 December 7th 22 Allowed

More information

16.7 Multistep, Multivalue, and Predictor-Corrector Methods

16.7 Multistep, Multivalue, and Predictor-Corrector Methods 740 Chapter 16. Integration of Ordinary Differential Equations 16.7 Multistep, Multivalue, and Predictor-Corrector Methods The terms multistepand multivaluedescribe two different ways of implementing essentially

More information

Discontinuous Collocation Methods for DAEs in Mechanics

Discontinuous Collocation Methods for DAEs in Mechanics Discontinuous Collocation Methods for DAEs in Mechanics Scott Small Laurent O. Jay The University of Iowa Iowa City, Iowa, USA July 11, 2011 Outline 1 Introduction of the DAEs 2 SPARK and EMPRK Methods

More information

4 Stability analysis of finite-difference methods for ODEs

4 Stability analysis of finite-difference methods for ODEs MATH 337, by T. Lakoba, University of Vermont 36 4 Stability analysis of finite-difference methods for ODEs 4.1 Consistency, stability, and convergence of a numerical method; Main Theorem In this Lecture

More information

Partitioned Runge-Kutta Methods for Semi-explicit Differential-Algebraic Systems of Index 2

Partitioned Runge-Kutta Methods for Semi-explicit Differential-Algebraic Systems of Index 2 Partitioned Runge-Kutta Methods for Semi-explicit Differential-Algebraic Systems of Index 2 A. Murua Konputazio Zientziak eta A. A. Saila, EHU/UPV, Donostia-San Sebastián email ander@si.ehu.es December

More information

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations Outline ODEs and initial conditions. Explicit and implicit Euler methods. Runge-Kutta methods. Multistep

More information

Blended implementation of block implicit methods for ODEs

Blended implementation of block implicit methods for ODEs Applied Numerical Mathematics 42 (2002) 29 45 www.elsevier.com/locate/apnum Blended implementation of block implicit methods for ODEs Luigi Brugnano, Cecilia Magherini Dipartimento di Matematica U. Dini,

More information

Jim Lambers MAT 772 Fall Semester Lecture 21 Notes

Jim Lambers MAT 772 Fall Semester Lecture 21 Notes Jim Lambers MAT 772 Fall Semester 21-11 Lecture 21 Notes These notes correspond to Sections 12.6, 12.7 and 12.8 in the text. Multistep Methods All of the numerical methods that we have developed for solving

More information

c 2012 Society for Industrial and Applied Mathematics

c 2012 Society for Industrial and Applied Mathematics SIAM J. NUMER. ANAL. Vol. 50, No. 4, pp. 849 860 c 0 Society for Industrial and Applied Mathematics TWO RESULTS CONCERNING THE STABILITY OF STAGGERED MULTISTEP METHODS MICHELLE GHRIST AND BENGT FORNBERG

More information

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester HIGHER ORDER METHODS School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE 1 REVIEW 2 HIGHER ORDER METHODS 3 MULTISTEP METHODS 4 SUMMARY OUTLINE

More information

COMPOSITION CONSTANTS FOR RAISING THE ORDERS OF UNCONVENTIONAL SCHEMES FOR ORDINARY DIFFERENTIAL EQUATIONS

COMPOSITION CONSTANTS FOR RAISING THE ORDERS OF UNCONVENTIONAL SCHEMES FOR ORDINARY DIFFERENTIAL EQUATIONS MATHEMATICS OF COMPUTATION Volume 66, Number 219, July 1997, Pages 1089 1099 S 0025-5718(97)00873-9 COMPOSITION CONSTANTS FOR RAISING THE ORDERS OF UNCONVENTIONAL SCHEMES FOR ORDINARY DIFFERENTIAL EQUATIONS

More information

Applied Numerical Analysis

Applied Numerical Analysis Applied Numerical Analysis Using MATLAB Second Edition Laurene V. Fausett Texas A&M University-Commerce PEARSON Prentice Hall Upper Saddle River, NJ 07458 Contents Preface xi 1 Foundations 1 1.1 Introductory

More information

Consistency and Convergence

Consistency and Convergence Jim Lambers MAT 77 Fall Semester 010-11 Lecture 0 Notes These notes correspond to Sections 1.3, 1.4 and 1.5 in the text. Consistency and Convergence We have learned that the numerical solution obtained

More information

Parallel Methods for ODEs

Parallel Methods for ODEs Parallel Methods for ODEs Levels of parallelism There are a number of levels of parallelism that are possible within a program to numerically solve ODEs. An obvious place to start is with manual code restructuring

More information