Advanced methods for ODEs and DAEs

Size: px
Start display at page:

Download "Advanced methods for ODEs and DAEs"

Transcription

1 Advanced methods for ODEs and DAEs Lecture 13: Overview Bojana Rosic, 13. Juli 2016

2 Dynamical system is a system that evolves over time possibly under external excitations: river flow, car, etc. The dynamics of the system is the way the system evolves and the dynamical model is a set of mathematical laws that describe the system up to certain precision. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 2

3 Dynamical system 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 3

4 Different mathematical models difference equations xn+1 = 5xn + 3xn 2 non-stiff ODEs x = sin(t) + x stiff ODEs x = x 2 (1 x) 0 6 t 6 2/, y(0) = DAEs x = xy + 0 = x2 + y Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 4

5 Stiff ODEs: Combustion processes Moler, Matlab exchange 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 5

6 DAEs: robot arm Riley, Matlab exchange 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 6

7 Well posed ODE The process of solving an ODE x = f (t, x) is a well-posed problem, i.e. 1. A solution exists 2. The solution is unique 3. The solution s behavior changes continuously with the initial conditions, only if Lipschitz condition is satsified kf (x) f (y)k 6 Lkx yk and the ODE is dissipative, i.e. that the two solutions x(t) and y(t) of the same ODE with different initial values x0 and y0 are contractive. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 7

8 Stiff ODE Note that the stiff ODE is a well-posed problem only if a one-sided Lipschitz condition is satisfied: hf (x) f (y), x yi 6 `kx yk2 and the ODE is dissipative, i.e. that the two solutions x(t) and y(t) of the same ODE with different initial values x0 and y0 are contractive. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 8

9 DAEs It is well known that one of the key aspects in which a system of DAEs differs from a system of ODEs is that, to get the solutions of DAEs, only continuity of the right-hand side f (t) may not be sufficient and therefore higher derivatives of f (t) may be required. For linear systems that relies on Theorem Let (A, B) be the regular pair of square matrices and let P and Q be nonsingular matrices which transform original problem into the canonical form such that A x = B x + f (t) Furthermore, let ν be the index of the matrix pair and f be at least ν times differentiable. Then, we have the following: the differential equation is solvable, an initial condition is consistent and every equation with consistent initial condition is uniquely solvable. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 9

10 Numerical integration of ODEs After numerical integration of ODE x = f (x, t) by time step size h and slight mathematical transformations to a form xn+1 = M(xn ) one obtains difference equation. Hence, one may study the following 1. is ODE stable? What are its equilibria points? (ODE1) 2. which numerical scheme to use to integrate the system? 3. is the numerical scheme stable wrt changes in initial condititions? (zero stability) 4. what about the choice of the step-size h to keep the numerical scheme stable? (A,AN,B,BN stability) 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 10

11 2) which numerical scheme to use to integrate the system? 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 11

12 Numerical schemes Numerical methods for solving ODE x = f (x, t) can be classified as one step methods : these methods use only information from one time point to compute the next xn+1 = xn + hf (tn, xn ) requires knowledge on xn multistep methods: these methods require knowledge on more than one time point 3 1 xn+1 = xn + h fn fn 1 requires knowledge on xn, xn Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 12

13 One step methods: IRK General implicit Runge Kutta method is presented by Butcher table: c1 a11 a12 c2 a21 a cs as1 as2 b1 b2... a1s... a2s......,... ass... bs or c A bt Here, A may be such that aij = 0, j > i explicit Runge Kutta method (ERK) such that aij = 0, j > i and at least one aii 6= 0 diagonal implicit Runge Kutta method (DIRK) such that aij = 0, j > i and all aii 6= 0 and identical singly diagonal implicit Runge Kutta method (SDIRK) full matrix fully implicit Runge Kutta method (IRK) 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 13

14 Explicit RK first order Taylor expansion explicit Euler xn = xn 1 + dx t h = xn 1 + hf (tn 1, xn 1 ), dt n 1 xa (tn ) = xn + O(h2 ) higher order Taylor methods xn = xn 1 + dx d 2x (tn tn 1 ) + 2 (tn tn 1 ) dt tn 1 dt tn 1 xa (tn ) = xn + O(hp+1 ) xa (tn ) = x(tn 1 ) + h(b1 k1 + b2 k bs ks ) + O(hp+1 ) the local error loc = xa (tn ) x(tn 1 ) h s X bi f (tn 1 + hci, x(tn 1 + hci )) i=1 satisfies consistency condition maxk loc h 1 k 6 Chp 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 14

15 Example of Runge Kutta method of second 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 15

16 Collocation based RKM To numerically evaluate the integral in Z tn x(tn ) = x(tn 1 ) + f (τ, x)dτ, tn 1 we assume P(tn 1 ) = x(tn 1 ), P(tn 1 + h) = x(tn ). and dp (tn 1 +ci h) = f (tn 1 +ci h, P(tn 1 +ci h)) =: ki, i = 1,..., s dt in which P(t) is the polynomial of degree s N whose derivative dp dt coincides with the function f at the distinct collocation points (tn 1 + ci h) for i = 1,..., s and c1,..., cs being distinct real numbers between 0 and Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 16

17 Order conditions These three equalities can be gathered to B(p) : s X bi cim 1 = i=1 C(q) : s X aij cjm 1 = j=1 D(r) : s X 1, m cim, m bi cim 1 aij = bj i=1 k = 1,..., p bt c m 1 = 1 m i = 1,..., s, m = 1,...q (1 cjm ) m, j = 1,..., s, m = 1,..., r with r=q = s and p = s. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 17

18 Rosenbrock Wanner method The ROW method is derived from the autonomous system of ODEs x = f(x). Namely, by transforming the system to x = Jx + f(x) Jx in which J = fx (x0 ), one may distinguish stiff and linear part of ODE Jx from the non-stiff and nonlinear part of ODE f(x) Jx. Integrating the stiff part by DIRK method (characterised by coefficients aij ), and non-stff by explicit Runge Kutta (characterised by coefficients αij ) one obtains the ROW method (I haii J)ki = f(x0 + h i 1 X j=1 αij kj ) + hj i 1 X (aij αij )kj j=1 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 18

19 Adaptive Runge Kutta methods The accuracy of Runge Kutta methods can be numerically estimated: by halving step size (Richardson s method) by increasing the order (embedded Runge Kutta methods) These error estimates then further can help us to control the step size adaptive technique. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 19

20 Multistep methods (MM) To integrate ODE x = f (x, t) one may use explicit MM : interpolate f (rhs/derivative) by using points xn = x(tn ), xn 1 = x(tn 1 ),..., xn k+1 = x(tn k+1 ) implicit MM: interpolate f (rhs/derivative) by using points xn+1 = x(tn+1 ), xn = x(tn ),,..., xn k+1 = x(tn k+1 ) such that P(ti ) = f (ti, x(ti )) and Z tn+1 x(tn+1 ) x(tn j ) = Z tn+1 f (t, x(t))dt = tn j P(t)dt, tn j 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 20 j > 0, j 6 k

21 Backward differentiation formulas Similar to Adams-Moulton formulas with the only difference that the solution is being interpolated, i.e. (tn+1, x(tn+1 )),..., (tk p, x(tk p )) are used for the approximation of the solution x(t) P(ti ) = x(ti ) and not its derivative f (t, x). However, one also has to satisfy dp (tn+1 ) = f (tn+1, xn+1 ). dt In general, all linear multistep methods can be written as k X i=0 ai xn+i = h k X bi fn+i, i=0 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 21 (1)

22 Comparison: order and efficiency explicit methods order p 6 s but very efficient as one does not need to solve any system of equations DIRK order p = 1 (SDIRK) and p = 2 (EDIRK) but one has to solve nonlinear system though simpler than in case of IRK collocation based IRK order is p = 2s for Gauss-Legendre, p = 2s 1 for Radau and p = 2s 2 for Lobatto. One has to solve nonlinear system. Rosenbrock Wanner order is p if s > p 1. One solves linear system. multistep methods order is p = s (AB, BDF), p = s + 1 (AM). Linear and nonlinear equatons possible. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 22

23 Problem by integrating stiff system xa (tn ) = x(tn ) + O(hp ) + Res(λ, h) in non-stiff case h 0, z = λh 0, h 0, z = λh while in stiff Fro Protero-Robinson the error x(tn + h) xa (tn + h) = R(z)(x(tn ) g(tn )) zbt (I za) 1 n 0,h Stability is clearly necessary R(z) < 1 but it is not sufficient to obtain accurate solutions to stiff systems of ordinary differential equations. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 23

24 Problem by integrating stiff system For stiff system we have to be careful about stage errors n quadrature errors 0,h In other words, our accuracy can be reduced by a low stage order as well as by a low quadrature order. This leads to order reduction. Definition An IRK with a non-singular matrix A which satisfies the following condition asj = bj AT e = b is called stiffly accurate. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 24

25 is the numerical scheme stable wrt changes in initial condititions or time step size? 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 25

26 Zero stability of one and multistep methods To check zero stability, one applies the numerical scheme on x = 0 and obtains the difference equation: s X ai xi = 0 i=1 Taking the ansatz xi = cξi one obtains the characteristic root equation ρ(ξ) = k X ai ξi = 0 i=0 A scheme is zero stable if every root ξi of the first characteristic polynomial has magnitude smaller than one, ξi 6 1, and if every root ξi with ξi = 1 is a simple root of ρ. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 26

27 Stability wrt to the system type and h In order to discuss this point, one may distingusih different cases of systems A stability (linear autonomous system) A := {f : f (t, x) = qx, q C 1 } AN stability (linear non-autonomous system) AN := {f : f (t, x) = q(t)x, q(t) C 1, t R+ } B stability (non-linear autonomous system) B := {f : x, y Rn } (f (x) f (y), x y) 6 0, BN stability (non-linear non-autonomous system) BN := {f : (f (t, x) f (t, y), x y) 6 0, x, y Rn, 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 27 t R+ }

28 A-stability A Runge-Kutta method is called A-stable, if the stability function R0 (z) satisfies R0 (z) 6 1, z C := {z C Re z 6 0}. A Runge-Kutta method is called strongly A-stable, if the RK-method is A-stable and the stability function R0 (z) satisfies lim R0 (z) < 1. z A Runge-Kutta method is called L-stable (left-stability, see Ehle (1973), if the RK-method is stongly A-stable and the stability function R0 (z) satisfies lim R0 (z) = 0. z 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 28

29 A(α) stability Where A-stability is impossible or difficult to achieve, a weaker property is acceptable for the solution of many problems. Definition Let α denote an angle satisfying α (0, π) and let S(α) denote the set of points x + iy in the complex plane such that x 6 0 and tan(α) x 6 y 6 tan(α) x. A Runge Kutta method with stability function R(z) is A(α)-stable if R(z) 6 1 for all z 2008, book 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 29

30 AN Stability We consider the stability properties of the IRK method applied to a single homogeneous linear equation in which the complex valued coefficient is not necessarily constant x = λ(t)x and λ(t) : R C is continuous (to ensure that the problem is well posed). Furthermore, we suppose that λ takes values only with nonpositive real part, to ensure that the ODE has a solution with nonincreasing magnitude. Definition A Runge-Kutta method is AN-stable if its the stability function R(Z satisfies R(Z) = 1 + bt Z(I AZ) 1 e) < 1 for all Z = diag(z1, z2,.., zs ) such that zi = zj whenever ci = cj and such that Re(Z) =< 0 for 1, 2,., s. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 30

31 What about nonlinear equations?ity If the right hand side of the ODE x = f (x), x(t0 ) = x0 is satisfying monotonicity condition hf (x) f (y), x yi 6 0 in which h, i is inner product with corresponding norm k k and x and y two solutions corresponding to the exact and perturbed initial values. Then, the previous condition means the following d kx yk2 6 0 dt which shows that kx yk does not increase with time. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 31

32 BN stability Definition A Runge Kutta method applied to the non-autonomous non-linear system dx = f (t, x) dt which verifies dissipative condition hf (t, y) f (t, z), y zi < 0 is called BN-stable if this condition implies kxn+1 yn+1 k 6 kxn yn k for two numerical solutions x and y starting from two different initial conditions. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 32

33 DAEs 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 33

34 Differential algebraic equations The problem described by F (x, x, t) = 0 for which J = x F is singular, is not ODE but differential algebraic equation (DAE). ODEs are only special cases of DAE for which Jacobian is regular. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 34

35 Differentiation index Definition The nonlinear DAE F (x, x, t) = 0 has differentiation index id if id is the minimal number of differntiations df = 0, dt d 2F = 0, dt 2 d id F =0 dt id such that equations allow to extract an explicit ordinary differential system x = f (x, t) using only algebraic manipulations. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 35

36 Perturbation index-definition Definition The DAE has the perturbation index ip along the solution x on [t0, t], if ip is the smallest integer such that for all x having a defect δ there exists an estimate of the form kx (t) x(t)k Zt 6 C kx (0) x(0)k + sup τ I δ(τ) dτ + t0 ip X j=1 j 1 δ(τ). sup ( τ)j 1 τ J on [0, T ]. Here, C is a constant that depends on F, the length I of the time interval [t0, t], and on the solution x. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 36

37 Index-1 and Index-2 problems We have focused on two groups of DAEs classified by the value of differentiation index to Index-1 problems y = f (t, y, x), y(t0 ) = y0 0 = g(t, y, x) if gx is invertible. Index-2 problems y = f (t, y, x), y(t0 ) = y0 0 = g(t, y) if gy fx is invertible. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 37

38 Numerical integration of DAEs Numerical methods for DAE can be classified to direct discretisation index reduction techniques The first one does not require reformulation (differentiation), whereas the second does. However, the problem is that the direct discretisation can only be used for special classes of systems such as index-1 and index-2 problems. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 38

39 Numerical solution of Index-1 problem To numerically solve the index-1 DAE one may use one of the following techniques: state-space form method x = G(t, y) y = f (t, y, G(t, y)), y(t0 ) = y0 ε-embedding method y = f (t, y, x), y(t0 ) = y0 εx = g(t, y, x) index reduction method 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 39

40 Problems Methods often exhibit order reduction as they do when solving stiff ODEs. A major practical difference between numerically solving ODEs and DAEs is that the DAE system must be initialized with values that are consistent with all the constraints even the hidden ones! It can be shown that the condition number of the Newton iteration matrix is O(h id ). For small h, the Newton iteration might fail. Hence, one would have to use projection or stabilisation algorithms to prevent the dirft offs. Basically obtained ODE of first order can become unstable linearly or even exponentially 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 40

41 Projected Runge Kutta method To prevent the dirft off, one may project the solution back to the manifold defined by the original constraint. Let (xn 1, yn 1 ) be the point consistent to the system. After one step of RK we obtain x n and y n which is then projected back onto the original manifold. One way of doing this is to minimise minky n yn k yn under constraint g(yn ) = Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 41

42 Baumgarte stabilisation Let us observe the constraint g(y) = 0 and differentiate with respect to time g = gy f = 0 To prevent drift off one would like to satisfy the first two equations in time when using numerical procedure. However, this is usually not achieved with classical numerical method. Thus, Baumgarte came to idea to combine them into g + αg = 0 and take it as a new constraint instead of g(y) = Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 42

43 Hamiltonian systems The Hamiltonian system is defined by the total energy formulated as H = Ek (p) + Ep (q), in which H is the Hamiltonian, and Ek and Ep denote the kinetic and potential energy, respectively. Here, (p, q) are so-called canonical coordinates of the mechanical system in which p is the generalised momentum and q are generalised coordinates. Given so, one may model the mechanical system in a following form p k = H, qk q k = having that H(p, q) = const =: c H pk t 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 43

44 Symlectic Runge Kutta method The Runge Kutta method ki = f (tn + ci h, yn + h s X aij kj ), i = 1,.., s j=1 yn+1 = yn + h s X bi ki i=1 is symplectic if it conserves quadratic first integrals I(yn+1 ) = I(yn ) whenever I(y) = y T Cy is a first integral of y = f (y). Here, C is the symmetric matrix. One may show that this holds when the coefficients of Runge Kutta method satisfy the relation bi aij + bj aji = bi bj, i, j = 1,..., s Example of these methods are Gauss collocation methods. 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 44

45 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 45

46 Is it the end?! No. This is just beginning. The universe may be timeless, but if you imagine breaking it into pieces, some of the pieces can serve as clocks for the others. Time emerges from timelessness. We perceive time because we are, by our very nature, one of those pieces. Craig Callender Scientific American June 2010 Thank you for following lectures and good luck! 13. Juli 2016 Bojana Rosic Advanced methods for ODEs and DAEs Seite 46

Advanced methods for ODEs and DAEs

Advanced methods for ODEs and DAEs Advanced methods for ODEs and DAEs Lecture 8: Dirk and Rosenbrock Wanner methods Bojana Rosic, 14 Juni 2016 General implicit Runge Kutta method Runge Kutta method is presented by Butcher table: c1 a11

More information

Advanced methods for ODEs and DAEs. Lecture 9: Multistep methods/ Differential algebraic equations

Advanced methods for ODEs and DAEs. Lecture 9: Multistep methods/ Differential algebraic equations Advanced methods for ODEs and DAEs Lecture 9: Multistep methods/ Differential algebraic equations Bojana Rosic, 22. Juni 2016 PART I: MULTISTEP METHODS 22. Juni 2016 Bojana Rosić Advanced methods for ODEs

More information

Advanced methods for ODEs and DAEs

Advanced methods for ODEs and DAEs Lecture : Implicit Runge Kutta method Bojana Roić, 9. April 7 What you need to know before thi lecture numerical integration: Lecture from ODE iterative olver: Lecture 5-8 from ODE 9. April 7 Bojana Roić

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

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

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

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

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 Methods for Differential Equations Mathematical and Computational Tools

Numerical Methods for Differential Equations Mathematical and Computational Tools Numerical Methods for Differential Equations Mathematical and Computational Tools Gustaf Söderlind Numerical Analysis, Lund University Contents V4.16 Part 1. Vector norms, matrix norms and logarithmic

More information

COSC 3361 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods

COSC 3361 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods COSC 336 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods Fall 2005 Repetition from the last lecture (I) Initial value problems: dy = f ( t, y) dt y ( a) = y 0 a t b Goal:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The collocation method for ODEs: an introduction

The collocation method for ODEs: an introduction 058065 - Collocation Methods for Volterra Integral Related Functional Differential The collocation method for ODEs: an introduction A collocation solution u h to a functional equation for example an ordinary

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

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

Numerical integration of DAE s

Numerical integration of DAE s Numerical integration of DAE s seminar Sandra Allaart-Bruin sbruin@win.tue.nl seminar p.1 Seminar overview February 18 Arie Verhoeven Introduction to DAE s seminar p.2 Seminar overview February 18 Arie

More information

Runge-Kutta and Collocation Methods Florian Landis

Runge-Kutta and Collocation Methods Florian Landis Runge-Kutta and Collocation Methods Florian Landis Geometrical Numetric Integration p.1 Overview Define Runge-Kutta methods. Introduce collocation methods. Identify collocation methods as Runge-Kutta methods.

More information

Partitioned Methods for Multifield Problems

Partitioned Methods for Multifield Problems C Partitioned Methods for Multifield Problems Joachim Rang, 6.7.2016 6.7.2016 Joachim Rang Partitioned Methods for Multifield Problems Seite 1 C One-dimensional piston problem fixed wall Fluid flexible

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

Time-adaptive methods for the incompressible Navier-Stokes equations

Time-adaptive methods for the incompressible Navier-Stokes equations Time-adaptive methods for the incompressible Navier-Stokes equations Joachim Rang, Thorsten Grahs, Justin Wiegmann, 29.09.2016 Contents Introduction Diagonally implicit Runge Kutta methods Results with

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

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Professor Dr. E F Toro Laboratory of Applied Mathematics University of Trento, Italy eleuterio.toro@unitn.it http://www.ing.unitn.it/toro September 19, 2014 1 / 55 Motivation

More information

Numerical Algorithms for ODEs/DAEs (Transient Analysis)

Numerical Algorithms for ODEs/DAEs (Transient Analysis) Numerical Algorithms for ODEs/DAEs (Transient Analysis) Slide 1 Solving Differential Equation Systems d q ( x(t)) + f (x(t)) + b(t) = 0 dt DAEs: many types of solutions useful DC steady state: state no

More information

1 Ordinary Differential Equations

1 Ordinary Differential Equations Ordinary Differential Equations.0 Mathematical Background.0. Smoothness Definition. A function f defined on [a, b] is continuous at ξ [a, b] if lim x ξ f(x) = f(ξ). Remark Note that this implies existence

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

Numerical Methods for Differential Equations

Numerical Methods for Differential Equations CHAPTER 5 Numerical Methods for Differential Equations In this chapter we will discuss a few of the many numerical methods which can be used to solve initial value problems and one-dimensional boundary

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

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

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

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

Notes for Numerical Analysis Math 5466 by S. Adjerid Virginia Polytechnic Institute and State University (A Rough Draft) Contents Numerical Methods for ODEs 5. Introduction............................

More information

Modeling & Simulation 2018 Lecture 12. Simulations

Modeling & Simulation 2018 Lecture 12. Simulations Modeling & Simulation 2018 Lecture 12. Simulations Claudio Altafini Automatic Control, ISY Linköping University, Sweden Summary of lecture 7-11 1 / 32 Models of complex systems physical interconnections,

More information

Solving Ordinary Differential Equations

Solving Ordinary Differential Equations Solving Ordinary Differential Equations Sanzheng Qiao Department of Computing and Software McMaster University March, 2014 Outline 1 Initial Value Problem Euler s Method Runge-Kutta Methods Multistep Methods

More information

Introduction to standard and non-standard Numerical Methods

Introduction to standard and non-standard Numerical Methods Introduction to standard and non-standard Numerical Methods Dr. Mountaga LAM AMS : African Mathematic School 2018 May 23, 2018 One-step methods Runge-Kutta Methods Nonstandard Finite Difference Scheme

More information

University of Houston, Department of Mathematics Numerical Analysis II. Chapter 4 Numerical solution of stiff and differential-algebraic equations

University of Houston, Department of Mathematics Numerical Analysis II. Chapter 4 Numerical solution of stiff and differential-algebraic equations Chapter 4 Numerical solution of stiff and differential-algebraic equations 4.1 Characteristics of stiff systems The solution has components with extremely different growth properties. Example: 2 u (x)

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

Math Ordinary Differential Equations

Math Ordinary Differential Equations Math 411 - Ordinary Differential Equations Review Notes - 1 1 - Basic Theory A first order ordinary differential equation has the form x = f(t, x) (11) Here x = dx/dt Given an initial data x(t 0 ) = x

More information

2 Numerical Methods for Initial Value Problems

2 Numerical Methods for Initial Value Problems Numerical Analysis of Differential Equations 44 2 Numerical Methods for Initial Value Problems Contents 2.1 Some Simple Methods 2.2 One-Step Methods Definition and Properties 2.3 Runge-Kutta-Methods 2.4

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

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

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

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

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

Differential Equation Types. Moritz Diehl

Differential Equation Types. Moritz Diehl Differential Equation Types Moritz Diehl Overview Ordinary Differential Equations (ODE) Differential Algebraic Equations (DAE) Partial Differential Equations (PDE) Delay Differential Equations (DDE) Ordinary

More information

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008 Outlines Module 4: for ODE Part I: Basic Part II: Advanced Lehrstuhl Informatik V Winter 2007/2008 Part I: Basic 1 Direction Fields 2 Euler s Method Outlines Part I: Basic Part II: Advanced 3 Discretized

More information

Efficient Simulation of Physical System Models Using Inlined Implicit Runge Kutta Algorithms

Efficient Simulation of Physical System Models Using Inlined Implicit Runge Kutta Algorithms Efficient Simulation of Physical System Models Using Inlined Implicit Runge Kutta Algorithms by Vicha Treeaporn A Thesis Submitted to the Faculty of the Department of Electrical and Computer Engineering

More information

Math Numerical Analysis Homework #4 Due End of term. y = 2y t 3y2 t 3, 1 t 2, y(1) = 1. n=(b-a)/h+1; % the number of steps we need to take

Math Numerical Analysis Homework #4 Due End of term. y = 2y t 3y2 t 3, 1 t 2, y(1) = 1. n=(b-a)/h+1; % the number of steps we need to take Math 32 - Numerical Analysis Homework #4 Due End of term Note: In the following y i is approximation of y(t i ) and f i is f(t i,y i ).. Consider the initial value problem, y = 2y t 3y2 t 3, t 2, y() =.

More information

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b) Numerical Methods - PROBLEMS. The Taylor series, about the origin, for log( + x) is x x2 2 + x3 3 x4 4 + Find an upper bound on the magnitude of the truncation error on the interval x.5 when log( + x)

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

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems Index A-conjugate directions, 83 A-stability, 171 A( )-stability, 171 absolute error, 243 absolute stability, 149 for systems of equations, 154 absorbing boundary conditions, 228 Adams Bashforth methods,

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 33 Almost Done! Last

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

Numerical Analysis: Interpolation Part 1

Numerical Analysis: Interpolation Part 1 Numerical Analysis: Interpolation Part 1 Computer Science, Ben-Gurion University (slides based mostly on Prof. Ben-Shahar s notes) 2018/2019, Fall Semester BGU CS Interpolation (ver. 1.00) AY 2018/2019,

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

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

Modified Defect Correction Algorithms for ODEs. Part II: Stiff Initial Value Problems

Modified Defect Correction Algorithms for ODEs. Part II: Stiff Initial Value Problems Modified Defect Correction Algorithms for ODEs. Part II: Stiff Initial Value Problems Winfried Auzinger Harald Hofstätter Wolfgang Kreuzer Ewa Weinmüller to appear in Numerical Algorithms ANUM Preprint

More information

Solution of Linear State-space Systems

Solution of Linear State-space Systems Solution of Linear State-space Systems Homogeneous (u=0) LTV systems first Theorem (Peano-Baker series) The unique solution to x(t) = (t, )x 0 where The matrix function is given by is called the state

More information

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by 1. QUESTION (a) Given a nth degree Taylor polynomial P n (x) of a function f(x), expanded about x = x 0, write down the Lagrange formula for the truncation error, carefully defining all its elements. How

More information

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique Int. Journal of Math. Analysis, Vol. 7, 3, no. 53, 65-636 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.988/ijma.3.3894 A Study on Linear and Nonlinear Stiff Problems Using Single-Term Haar Wavelet Series

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

Symplectic integration with Runge-Kutta methods, AARMS summer school 2015

Symplectic integration with Runge-Kutta methods, AARMS summer school 2015 Symplectic integration with Runge-Kutta methods, AARMS summer school 2015 Elena Celledoni July 13, 2015 1 Hamiltonian systems and their properties We consider a Hamiltonian system in the form ẏ = J H(y)

More information

Introduction to the Numerical Solution of IVP for ODE

Introduction to the Numerical Solution of IVP for ODE Introduction to the Numerical Solution of IVP for ODE 45 Introduction to the Numerical Solution of IVP for ODE Consider the IVP: DE x = f(t, x), IC x(a) = x a. For simplicity, we will assume here that

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 29 Almost Done! No

More information

CS 257: Numerical Methods

CS 257: Numerical Methods CS 57: Numerical Methods Final Exam Study Guide Version 1.00 Created by Charles Feng http://www.fenguin.net CS 57: Numerical Methods Final Exam Study Guide 1 Contents 1 Introductory Matter 3 1.1 Calculus

More information

Runge Kutta Theory and Constraint Programming

Runge Kutta Theory and Constraint Programming Runge Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto julien.alexandre-dit-sandretto@ensta-paristech.fr U2IS, ENSTA ParisTech, Université Paris-Saclay, 828 bd des Maréchaux, 9762

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

Numerical Algorithms as Dynamical Systems

Numerical Algorithms as Dynamical Systems A Study on Numerical Algorithms as Dynamical Systems Moody Chu North Carolina State University What This Study Is About? To recast many numerical algorithms as special dynamical systems, whence to derive

More information

Runge-Kutta type methods for differentialalgebraic equations in mechanics

Runge-Kutta type methods for differentialalgebraic equations in mechanics University of Iowa Iowa Research Online Theses and Dissertations Spring 211 Runge-Kutta type methods for differentialalgebraic equations in mechanics Scott Joseph Small University of Iowa Copyright 211

More information

Numerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018

Numerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018 Numerical Analysis Preliminary Exam 1 am to 1 pm, August 2, 218 Instructions. You have three hours to complete this exam. Submit solutions to four (and no more) of the following six problems. Please start

More information

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 45 Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems Peter J. Hammond latest revision 2017 September

More information

An Implicit Runge Kutta Solver adapted to Flexible Multibody System Simulation

An Implicit Runge Kutta Solver adapted to Flexible Multibody System Simulation An Implicit Runge Kutta Solver adapted to Flexible Multibody System Simulation Johannes Gerstmayr 7. WORKSHOP ÜBER DESKRIPTORSYSTEME 15. - 18. March 2005, Liborianum, Paderborn, Germany Austrian Academy

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

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

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

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

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li Numerical Methods for ODEs Lectures for PSU Summer Programs Xiantao Li Outline Introduction Some Challenges Numerical methods for ODEs Stiff ODEs Accuracy Constrained dynamics Stability Coarse-graining

More information

Linear ODEs. Existence of solutions to linear IVPs. Resolvent matrix. Autonomous linear systems

Linear ODEs. Existence of solutions to linear IVPs. Resolvent matrix. Autonomous linear systems Linear ODEs p. 1 Linear ODEs Existence of solutions to linear IVPs Resolvent matrix Autonomous linear systems Linear ODEs Definition (Linear ODE) A linear ODE is a differential equation taking the form

More information

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat. Numerical Methods for Engineers An Introduction with and Scientists Applications using MATLAB Third Edition Amos Gilat Vish- Subramaniam Department of Mechanical Engineering The Ohio State University Wiley

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

Ordinary Differential Equations I

Ordinary Differential Equations I Ordinary Differential Equations I CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations I 1 / 32 Theme of Last Few

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

Do not turn over until you are told to do so by the Invigilator.

Do not turn over until you are told to do so by the Invigilator. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 216 17 INTRODUCTION TO NUMERICAL ANALYSIS MTHE612B Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions.

More information

Fixed point iteration and root finding

Fixed point iteration and root finding Fixed point iteration and root finding The sign function is defined as x > 0 sign(x) = 0 x = 0 x < 0. It can be evaluated via an iteration which is useful for some problems. One such iteration is given

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

Part 1: Overview of Ordinary Dierential Equations 1 Chapter 1 Basic Concepts and Problems 1.1 Problems Leading to Ordinary Dierential Equations Many scientic and engineering problems are modeled by systems

More information

CHAPTER 10 Shape Preserving Properties of B-splines

CHAPTER 10 Shape Preserving Properties of B-splines CHAPTER 10 Shape Preserving Properties of B-splines In earlier chapters we have seen a number of examples of the close relationship between a spline function and its B-spline coefficients This is especially

More information

Review for Exam 2 Ben Wang and Mark Styczynski

Review for Exam 2 Ben Wang and Mark Styczynski Review for Exam Ben Wang and Mark Styczynski This is a rough approximation of what we went over in the review session. This is actually more detailed in portions than what we went over. Also, please note

More information