Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

Size: px
Start display at page:

Download "Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods"

Transcription

1 Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur

2 . Chapter 8 Numerical Solution of Ordinary Differential Equations Module No. 1 Runge-Kutta Methods

3 One of the most useful tools of applied mathematics is differential equation, it may be ordinary differential equation (ODE) or partial differential equation (PDE). Both ODE and PDE are widely used to model lots of mathematical and engineering problems. Unfortunately, it is not possible to find analytical solution of all ODEs or PDEs. Finding of analytic solution of an ODE or a PDE is a very difficult task. But, several numerical techniques are available to solve ODEs and PDEs. Let us consider the following first order differential equation with initial condition dy = f(x, y) (1.1) dx y(x 0 ) = y 0. (1.) If the analytic solution of an ODE is not available then we will go for numerical solution. The numerical solution of a differential equation can be determined in one of the following two forms: (i) A power series solution for y in terms of x. Then the values of y can be obtained by substituting x = x 0, x 1,..., x n. (ii) A set of tabulated values of y for x = x 0, x 1,..., x n with spacing h. The general solution of an ODE of order n contains n arbitrary constants. To find such constants, n conditions are required. The problems in which all the conditions are specified at the initial point only, are called initial value problems (IVPs). The ODEs of order two or more and for which the conditions are specified at two or more points are called boundary value problems (BVPs). There may not exist a solution of an ordinary differential equation always. sufficient condition for existence of unique solution is provided by Lipschitz. The methods to find approximate solution of an initial value problem are called finite difference methods or discrete variable methods. The solutions are determined at a set of discrete points called a grid or mesh of points. That is, a given differential equation is converted to a discrete algebraic equation. By solving such equation, we get an approximate solution of the given differential equation. The 1

4 Runge-Kutta Methods A finite difference method is convergent if the solution of the finite difference equation approaches to a limit as the size of the grid spacing tends to zero. But, in general, there is no guarantee, that this limit corresponds to the exact solution of the differential equation. Mainly, two types of numerical methods are used, viz. explicit method and implicit method. If the value of y i+1 depends only on the values of y i, h and f(x i, y i ) then the method is called explicit method, otherwise the method is called implicit method. In this chapter, we discuss some useful methods to solve ODEs. 1.1 Euler s method Euler s method is the most simple but crude method to solve the differential equation of the form dy dx = f(x, y), y(x 0) = y 0. (1.3) Let x 1 = x 0 + h, where h is small. Then by Taylor s series ( dy y 1 = y(x 0 + h) = y 0 + h + dx )x0 h ( d y ) dx, c 1 where c 1 lies between x 0 and x Thus, by neglecting second order term, we get = y 0 + hf(x 0, y 0 ) + h y (c 1 ) (1.4) y 1 = y 0 + hf(x 0, y 0 ). (1.5) In general, y n+1 = y n + hf(x n, y n ), n = 0, 1,,... (1.6) This is a very slow method. To find a reasonable accurate solution, the value of h must be taken as small. The Euler s method is less efficient in practical problems because if h is not sufficiently small then this method gives inaccurate result. This method is modified to get more better result as follows: The value of y 1 obtained by Euler s method is repeatedly modified to get a more accurate result. For this purpose, the term f(x 0, y 0 ) is replaced by the average of f(x 0, y 0 ) and f(x 0 + h, y (0) 1 ), where y(0) 1 = y 0 + hf(x 0, y 0 ).

5 1.1. Euler s method That is, the modified Euler s method is y (1) 1 = y 0 + h [f(x 0, y 0 ) + f(x 1, y (0) 1 )] (1.7) where y (0) 1 = y 0 + hf(x 0, y 0 ). Note that the value of y 1 depends on the value of y 1 obtained in previous iteration. So this method is known as implicit method, whereas Euler method is explicit method. Other simple methods, viz. Taylor s series, Picard, Runge-Kutta, etc. are also available to solve the differential equation of the form (1.1). Now, we describe Runge-Kutta method. In this method, several function evaluations are required at each step and it avoids the computation of higher order derivatives. There are several types of Runge-Kutta methods, such as second, third, fourth, fifth, etc. order. The fourth-order Runge-Kutta method is more popular. These are singlestep explicit methods. 1. Second-order Runge-Kutta method First we deduce second order Runge-Kutta method from modified Euler s method. The modified Euler s method is y 1 = y 0 + h [f(x 0, y 0 ) + f(x 1, y (0) 1 )] (1.8) where y (0) 1 = y 0 + hf(x 0, y 0 ). Now, we substitute the value of y (0) 1 to the equation (1.8). Then Let y 1 = y 0 + h [f(x 0, y 0 ) + f(x 0 + h, y 0 + hf(x 0, y 0 ))]. k 1 = hf(x 0, y 0 ) and k = hf(x 0 + h, y 0 + hf(x 0, y 0 )) = hf(x 0 + h, y 0 + k 1 ). (1.9) Using this notation the equation (1.8) becomes y 1 = y (k 1 + k ). (1.10) 3

6 Runge-Kutta Methods This method is known as second-order Runge-Kutta method. Note that this is an explicit formula, whereas modified Euler s method is an implicit method. The local truncation error of this method is O(h 3 ). This formula can also be derived independently. Independent derivation of second-order Runge-Kutta method Suppose the solution of the equation is of the following form: where By Taylor s theorem k 1 = hf(x 0, y 0 ) and dy dx = f(x, y), y(x 0) = y 0 (1.11) y 1 = y 0 + ak 1 + bk, (1.1) k = hf(x 0 + αh, y 0 + βk 1 ), a, b, α and β are constants. y 1 = y(x 0 + h) = y 0 + hy 0 + h 0 + = y 0 + hf(x 0, y 0 ) + h [( f ) ( f ) ] x + f(x 0, y 0 ) + O(h 3 ) (x 0,y 0 ) y (x 0,y 0 ) [ since df dx = f ] + f(x, y) f x y k = hf(x 0 + αh, y 0 + βk 1 ) [ ( f ) ( f ) ] = h f(x 0, y 0 ) + αh x + βk 1 (x 0,y 0 ) y + (x 0,y 0 ) O(h ) = hf(x 0, y 0 ) + αh ( f ) ( f ) x + (x 0,y 0 ) βh f(x 0, y 0 ) y + (x 0,y 0 ) O(h3 ). y 0 + h3 6 y Substituting these values to the equation (1.1), we get 4 y 0 + hf(x 0, y 0 ) + h [f x(x 0, y 0 ) + f(x 0, y 0 )f y (x 0, y 0 )] + O(h 3 ) = y 0 + (a + b)hf(x 0, y 0 ) + bh [αf x (x 0, y 0 ) + βf(x 0, y 0 )f y (x 0, y 0 )] + O(h 3 ).

7 1.1. Euler s method Equating the coefficients of f, f x and f y both sides we get the following equations. a + b = 1, bα = 1 and bβ = 1. (1.13) Obviously, α = β. Here, number of equations is three and variables is four. Therefore, the system of equations has many solutions. However, usually the parameters are chosen as α = β = 1, then a = b = 1. For this set of parameters, the equation (1.1) becomes y 1 = y (k 1 + k ) + O(h 3 ), (1.14) where k 1 = hf(x 0, y 0 ) and k = hf(x 0 + h, y 0 + k 1 ). (1.15) 1.3 Fourth-order Runge-Kutta method The fourth-order Runge-Kutta formula to calculate y 1 is y 1 = y (k 1 + k + k 3 + k 4 ) (1.16) where k 1 = hf(x 0, y 0 ) k = hf(x 0 + h/, y 0 + k 1 /) k 3 = hf(x 0 + h/, y 0 + k /) k 4 = hf(x 0 + h, y 0 + k 3 ). Using the value of y 1 one can find the value of y as y = y (k 1 + k + k 3 + k 4 ) (1.17) where k 1 = hf(x 1, y 1 ) k = hf(x 1 + h/, y 1 + k 1 /) k 3 = hf(x 1 + h/, y 1 + k /) k 4 = hf(x 1 + h, y 1 + k 3 ). 5

8 Runge-Kutta Methods In general, y i+1 = y i (k(i) ) (1.18) where 1 = hf(x i, y i ) = hf(x i + h/, y i + 1 /) 3 = hf(x i + h/, y i + /) 4 = hf(x i + h, y i + 3 ), for i = 0, 1,,.... Example 1.1 Given y = x y with x = 0, y = 1. Find y(0.) by second and fourthorder Runge-Kutta methods. Solution. Here, x 0 = 0, y 0 = 1, f(x, y) = x y. By Second order Runge-Kutta method Let h = 0.1. k 1 = hf(x 0, y 0 ) = 0.1 (0 1 ) = k = hf(x 0 + h, y 0 + k 1 ) = 0.1 f(0.1, 0.9) = Now, we calculate, y 1 = y(0.1) = y(0) + 1 (k 1 + k ) = ( ) = To determine y = y(0.), x 1 = 0.1 and y 1 = k 1 = hf(x 1, y 1 ) = 0.1 {0.1 ( ) } = k = hf(x 1 + h, y 1 + k 1 ) = 0.1 [0. ( ) ] = Therefore, y = y(0.) = y(0.1) + 1 (k 1 + k ) = ( ) =

9 1.1. Euler s method By fourth-order Runge-Kutta methods: Here h = 0.1, x 0 = 0, y 0 = 1, f(x, y) = x y. Then, k 1 = hf(x 0, y 0 ) = 0.1 (0 (1) ) = 0.1. Therefore, k = hf(x 0 + h/, y 0 + k 1 /) = 0.1 {( ) (1 ) } = k 3 = hf(x 0 + h/, y 0 + k /) = 0.1 {( 0.1 k 4 = 0.1 {( ) (1 ) } = ) (1 ) } = y 1 = y(0.1) = y (k 1 + k + k 3 + k 4 ) = [ {( ) + ( )} ] = To find, y = y(0.), h = 0.1, x 1 = 0.1, y 1 = Then, k 1 = hf(x 1, y 1 ) = 0.1 {0.1 ( ) } = k = hf(x 1 + h/, y 1 + k 1 /) = 0.1 {( ) ( ) } = k 3 = hf(x 1 + h/, y 1 + k /) = 0.1 {( ) ( ) } = k 4 = hf(x 1 + h, y 1 + k 3 ) = 0.1 {( ) ( ) } = Therefore, y = y(0.) = y(0) (k 1 + k + k 3 + k 4 ) = [ {( ) + ( )} ] 6 =

10 Runge-Kutta Methods Note 1.1 The fourth order Runge-Kutta method gives better result, though, this method has some disadvantages. In this method, a lot of function calculations are required. Thus, if the function f(x, y) is complicated, then the Runge-Kutta method is very laborious. Error in fourth-order Runge-Kutta method The fourth-order Runge-Kutta formula can be written as y 1 = y 0 + (h/) [ k 1 + 4(k + k 3 ) + k 4 ]. 3 This form is similar to the Simpson s 1/3 formula with step size h/. Thus, the local truncation error of this formula is h5 880 yiv (c 1 ), i.e. of O(h 5 ). After n steps, the accumulated error is n i=1 h yiv (c i ) = x n x yiv (c)h 4 = O(h 4 ). 1.4 Runge-Kutta method for a pair of equations The second and fourth-order Runge-Kutta methods can also used to solve a pair of first order differential equations. Let us consider a pair of first-order differential equations dy = f(x, y, z) dx dz = g(x, y, z) dx (1.19) with initial conditions x = x 0, y(x 0 ) = y 0, z(x 0 ) = z 0. (1.0) Here, x is the independent variable and y, z are the dependent variables. So, in this problem we have to determine the values of y, z for different values of x. 8

11 1.1. Euler s method The fourth-order Runge-Kutta method to find the values of y i and z i for x = x i from a pair of equations is y i+1 = y i [k(i) ], z i+1 = z i [l(i) 1 + l(i) + l(i) 3 + l(i) 4 ], (1.1) where 1 = hf(x i, y i, z i ) l (i) 1 = hg(x i, y i, z i ) = hf(x i + h/, y i + 1 /, z i + l (i) 1 /) l (i) = hg(x i + h/, y i + 1 /, z i + l (i) 1 /) 3 = hf(x i + h/, y i + /, z i + l (i) /) l (i) 3 = hg(x i + h/, y i + /, z i + l (i) /) 4 = hf(x i + h, y i + 3, z i + l (i) 3 ) l (i) 4 = hg(x i + h, y i + 3, z i + l (i) 3 ). (1.) Example 1. Solve the following pair of differential equations dy dz = z and = y + xz at x = 0. given y(0) = 1, z(0) = 0. dx dx Solution. Let h = 0.. Here f(x, y, z) = z, g(x, y, z) = y + xz. We calculate the values of k 1, k, k 3, k 4 ; l 1, l, l 3, l 4 as follows. k 1 = hf(x 0, y 0, z 0 ) = 0. 0 = 0 l 1 = hg(x 0, y 0, z 0 ) = 0. (1 + 0) = 0. k = hf(x 0 + h/, y 0 + k 1 /, z 0 + l 1 /) = = 0.0 l = hg(x 0 + h/, y 0 + k 1 /, z 0 + l 1 /) = 0. [(1 + 0) + ( = 0. ( ) = 0.00 ) ( )] k 3 = hf(x 0 + h/, y 0 + k /, z 0 + l /) = = l 3 = hg(x 0 + h/, y 0 + k /, z 0 + l /) = 0. [( ) + (0 + ) (0 + )] = k 4 = hf(x 0 + h, y 0 + k 3, z 0 + l 3 ) = = l 4 = hg(x 0 + h, y 0 + k 3, z 0 + l 3 ) = 0. [( ) + (0 + 0.) ( )] =

12 Runge-Kutta Methods Hence, y(0.) = y 1 = y(0) [k 1 + (k + k 3 ) + k 4 ] = [0 + ( ) ] = z(0.) = z 1 = z(0) [l 1 + (l + l 3 ) + l 4 ] = [0. + ( ) ] = Runge-Kutta method for a system of equations The above method can be extended to solve a system of first order differential equations. Let us consider the following system of first order differential equations with initial conditions dy 1 dx = f 1(x, y 1, y,..., y n ) dy dx = f (x, y 1, y,..., y n ) (1.3) dy n dx = f n(x, y 1, y,..., y n ) y 1 (x 0 ) = y 10, y (x 0 ) = y 0,..., y n (x 0 ) = y n0. (1.4) In this problem, x is the independent variable and y 1, y,..., y n are n dependent variables. The above system of equations can be written as a vector notation as follows: dy dx = f(x, y 1, y,..., y n ) with y(x 0 ) = y 0. (1.5) The fourth-order Runge-Kutta method for the equation (1.5) is y j+1 = y j [k 1 + k + k 3 + k 4 ] (1.6) where 10 k 1 = k 11 k 1. k n1, k = k 1 k. k n, k 3 = k 13 k 3. k n3, k 4 = k 14 k 4. k n4 (1.7)

13 1.1. Euler s method and k i1 = hf i (x j, y 1j, y j,..., y nj ) k i = hf i (x j + h/, y 1j + k 11 /, y j + k 1 /,..., y nj + k n1 /) k i3 = hf i (x j + h/, y 1j + k 1 /, y j + k /,..., y nj + k n /) k i4 = hf i (x j + h, y 1j + k 13, y j + k 3,..., y nj + k n3 ) for i = 1,,..., n. Here, y kj is the value of the variable y k evaluated at x j. 1.6 Runge-Kutta method for second order IVP The Runge-Kutta methods can be used to solve second order IVP by converting the IVP to a pair of first order differential equations. Let the second order differential equation be and the initial conditions be To convert it to first order equation, let a(x)y + b(x)y + c(x)y = f(x) (1.8) x = x 0, y(x 0 ) = y 0, y (x 0 ) = z 0. (1.9) y (x) = z(x). (1.30) Then y (x) = z (x). Therefore, the equation (1.9) reduces to with initial conditions dy dx = z dz dx = 1 [f(x) b(x)z c(x)y] = g(x, y, z) (1.31) a(x) x = x 0, y(x 0 ) = y 0, z(x 0 ) = z 0. (1.3) This is a pair of first order differential equations. Now, Runge-Kutta methods may be used to solve this pair of equations (1.31) with initial conditions (1.3). The value of y is the solution of the given IVP and z is the first order derivatives. 11

14 Runge-Kutta Methods Example 1.3 Find the value of y(0.1) for the following second order differential equation by fourth-order Runge-Kutta method. y (x) y (x) + y(x) = x + 1 with y(0) = 1, y (0) = 0. Solution. Substituting y = z. Then the given equation reduces to z z + y = x + 1, or z = z y + x + 1 = g(x, y, z) (say). Therefore, y = z and z = (z y + x + 1). Here, x 0 = 0, y 0 = 1, z 0 = 0, h = 0.1. k 1 = h z 0 = = 0 l 1 = hg(x 0, y 0, z 0 ) = 0.1 [( 0) ] = 0 k = h (z 0 + l 1 /) = = 0 l = hg(x 0 + h/, y 0 + k 1 /, z 0 + l 1 /) = 0.1 [( 0) ( ) + (0 + ) + 1] = 0.1 [ ] = k 3 = h (z 0 + l /) = = l 3 = hg(x 0 + h/, y 0 + k /, z 0 + l /) = 0.1 [ ] = k 4 = h (z 0 + l 3 ) = = l 4 = hg(x 0 + h, y 0 + k 3, z 0 + l 3 ) = 0.1 [{ ( )} ( ) + ( ) + 1] = Therefore, 1 y(0.1) = y 1 = y [k 1 + (k + k 3 ) + k 4 ] = [0 + ( ) ] = z(0) = y (0.1) = z(0) [l 1 + (l + l 3 ) + l 4 ] = [0 + ( ) ] = The required value of y(0.1) is In addition, y (0.1) is

15 1.1. Euler s method Runge-Kutta-Fehlberg method Many variant of Runge-Kutta methods are available in literature. The Runge-Kutta- Fehlberg method gives better result by solving the differential equation twice using step sizes h and h/. In this method, at each step two different approximations for the solution are calculated. If the two approximations are closed then the solution is obtained. If the approximation does not meet the required accuracy, then the step size may be reduced. In each step the following six values are required. k 1 = hf(x i, y i ) ( k = hf x i + h 4, y i + k ) 1 4 ( k 3 = hf x i + 3h 8, y i k ) 3 k ( k 4 = hf x i h, y i k k ) 197 k 3 ( k 5 = hf x i + h, y i k 1 8k k ) 4104 k 4 ( k 6 = hf x i + h, y i 8 7 k 1 + k k k 4 11 ) 40 k 5. (1.33) Then the approximate value of y i+1 using fourth-order Runge-Kutta method is y i+1 = y i k k k k 5. (1.34) In this formula, the value of k is not used. Another value of y is determined by the following fifth order Runge-Kutta method: y i+1 = y i k k k k k 6. (1.35) If these two values are closed, i.e. if y i+1 yi+1 is small enough, then the method gives the solution of the given problem, otherwise, the computation is repeated by reducing the step size h. 13

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

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Matematics National Institute of Tecnology Durgapur Durgapur-7109 email: anita.buie@gmail.com 1 . Capter 8 Numerical Solution of Ordinary

More information

2.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS. differential equations with the initial values y(x 0. ; l.

2.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS. differential equations with the initial values y(x 0. ; l. Numerical Methods II UNIT.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS.1.1 Runge-Kutta Method of Fourth Order 1. Let = f x,y,z, = gx,y,z be the simultaneous first order

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

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS The general form of a first order differential equations is = f(x, y) with initial condition y(a) = y a We seek the solution y = y(x) for x > a This is shown

More information

Integration of Ordinary Differential Equations

Integration of Ordinary Differential Equations Integration of Ordinary Differential Equations Com S 477/577 Nov 7, 00 1 Introduction The solution of differential equations is an important problem that arises in a host of areas. Many differential equations

More information

Chapter 1. Numerical Errors. Module No. 3. Operators in Numerical Analysis

Chapter 1. Numerical Errors. Module No. 3. Operators in Numerical Analysis Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com . Chapter 1 Numerical Errors Module

More information

EXAMPLE OF ONE-STEP METHOD

EXAMPLE OF ONE-STEP METHOD EXAMPLE OF ONE-STEP METHOD Consider solving y = y cos x, y(0) = 1 Imagine writing a Taylor series for the solution Y (x), say initially about x = 0. Then Y (h) = Y (0) + hy (0) + h2 2 Y (0) + h3 6 Y (0)

More information

Differential Equations

Differential Equations Differential Equations Definitions Finite Differences Taylor Series based Methods: Euler Method Runge-Kutta Methods Improved Euler, Midpoint methods Runge Kutta (2nd, 4th order) methods Predictor-Corrector

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

ODE Runge-Kutta methods

ODE Runge-Kutta methods ODE Runge-Kutta methods The theory (very short excerpts from lectures) First-order initial value problem We want to approximate the solution Y(x) of a system of first-order ordinary differential equations

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 6 Chapter 20 Initial-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations (MA102 Mathematics II) Shyamashree Upadhyay IIT Guwahati Shyamashree Upadhyay ( IIT Guwahati ) Ordinary Differential Equations 1 / 1 Books Shyamashree Upadhyay ( IIT Guwahati

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

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

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 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

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations S. Y. Ha and J. Park Department of Mathematical Sciences Seoul National University Sep 23, 2013 Contents 1 Logistic Map 2 Euler and

More information

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177

Second Order ODEs. CSCC51H- Numerical Approx, Int and ODEs p.130/177 Second Order ODEs Often physical or biological systems are best described by second or higher-order ODEs. That is, second or higher order derivatives appear in the mathematical model of the system. For

More information

The Definition and Numerical Method of Final Value Problem and Arbitrary Value Problem Shixiong Wang 1*, Jianhua He 1, Chen Wang 2, Xitong Li 1

The Definition and Numerical Method of Final Value Problem and Arbitrary Value Problem Shixiong Wang 1*, Jianhua He 1, Chen Wang 2, Xitong Li 1 The Definition and Numerical Method of Final Value Problem and Arbitrary Value Problem Shixiong Wang 1*, Jianhua He 1, Chen Wang 2, Xitong Li 1 1 School of Electronics and Information, Northwestern Polytechnical

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

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

Mini project ODE, TANA22

Mini project ODE, TANA22 Mini project ODE, TANA22 Filip Berglund (filbe882) Linh Nguyen (linng299) Amanda Åkesson (amaak531) October 2018 1 1 Introduction Carl David Tohmé Runge (1856 1927) was a German mathematician and a prominent

More information

Chap. 20: Initial-Value Problems

Chap. 20: Initial-Value Problems Chap. 20: Initial-Value Problems Ordinary Differential Equations Goal: to solve differential equations of the form: dy dt f t, y The methods in this chapter are all one-step methods and have the general

More information

SYSTEMS OF ODES. mg sin ( (x)) dx 2 =

SYSTEMS OF ODES. mg sin ( (x)) dx 2 = SYSTEMS OF ODES Consider the pendulum shown below. Assume the rod is of neglible mass, that the pendulum is of mass m, and that the rod is of length `. Assume the pendulum moves in the plane shown, and

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

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 6 Chapter 20 Initial-Value Problems PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

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

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

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

Initial Value Problems

Initial Value Problems Numerical Analysis, lecture 13: Initial Value Problems (textbook sections 10.1-4, 10.7) differential equations standard form existence & uniqueness y 0 y 2 solution methods x 0 x 1 h h x 2 y1 Euler, Heun,

More information

Lecture 42 Determining Internal Node Values

Lecture 42 Determining Internal Node Values Lecture 42 Determining Internal Node Values As seen in the previous section, a finite element solution of a boundary value problem boils down to finding the best values of the constants {C j } n, which

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

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

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Ordinary Differential Equations (ODEs) NRiC Chapter 16. ODEs involve derivatives wrt one independent variable, e.g. time t. ODEs can always be reduced to a set of firstorder equations (involving only first

More information

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-713209 email: anita.buie@gmail.com 1 . Chapter 4 Solution of Non-linear

More information

Numerical Solution of Differential Equations

Numerical Solution of Differential Equations 1 Numerical Solution of Differential Equations A differential equation (or "DE") contains derivatives or differentials. In a differential equation the unknown is a function, and the differential equation

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

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 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

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

Lecture Notes on Numerical Differential Equations: IVP

Lecture Notes on Numerical Differential Equations: IVP Lecture Notes on Numerical Differential Equations: IVP Professor Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University DeKalb, IL. 60115 USA E mail: dattab@math.niu.edu URL:

More information

Numerical Methods for Partial Differential Equations

Numerical Methods for Partial Differential Equations Numerical Methods for Partial Differential Equations Seongjai Kim Department of Mathematics and Statistics Mississippi State University Mississippi State, MS 39762 USA Email: skim@math.msstate.edu September

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

Numerical Methods. King Saud University

Numerical Methods. King Saud University Numerical Methods King Saud University Aims In this lecture, we will... find the approximate solutions of derivative (first- and second-order) and antiderivative (definite integral only). Numerical Differentiation

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

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation

More information

Euler s Method, cont d

Euler s Method, cont d Jim Lambers MAT 461/561 Spring Semester 009-10 Lecture 3 Notes These notes correspond to Sections 5. and 5.4 in the text. Euler s Method, cont d We conclude our discussion of Euler s method with an example

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

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 Methods for Initial Value Problems; Harmonic Oscillators

Numerical Methods for Initial Value Problems; Harmonic Oscillators Lab 1 Numerical Methods for Initial Value Problems; Harmonic Oscillators Lab Objective: Implement several basic numerical methods for initial value problems (IVPs), and use them to study harmonic oscillators.

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

Numerical Methods for Partial Differential Equations

Numerical Methods for Partial Differential Equations Numerical Methods for Partial Differential Equations Seongjai Kim Department of Mathematics and Statistics Mississippi State University Mississippi State, MS 39762 USA Email: skim@math.msstate.edu September

More information

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ). 1 Interpolation: The method of constructing new data points within the range of a finite set of known data points That is if (x i, y i ), i = 1, N are known, with y i the dependent variable and x i [x

More information

Numerical Methods for Initial Value Problems; Harmonic Oscillators

Numerical Methods for Initial Value Problems; Harmonic Oscillators 1 Numerical Methods for Initial Value Problems; Harmonic Oscillators Lab Objective: Implement several basic numerical methods for initial value problems (IVPs), and use them to study harmonic oscillators.

More information

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability.

Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. Euler s Method, Taylor Series Method, Runge Kutta Methods, Multi-Step Methods and Stability. REVIEW: We start with the differential equation dy(t) dt = f (t, y(t)) (1.1) y(0) = y 0 This equation can be

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

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

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS LECTURE 10 APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS Ordinary Differential Equations Initial Value Problems For Initial Value problems (IVP s), conditions are specified

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 5 Chapter 21 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University 1 All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Ordinary Differential Equations

Ordinary Differential Equations Chapter 7 Ordinary Differential Equations Differential equations are an extremely important tool in various science and engineering disciplines. Laws of nature are most often expressed as different equations.

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

Ordinary Differential Equation Theory

Ordinary Differential Equation Theory Part I Ordinary Differential Equation Theory 1 Introductory Theory An n th order ODE for y = y(t) has the form Usually it can be written F (t, y, y,.., y (n) ) = y (n) = f(t, y, y,.., y (n 1) ) (Implicit

More information

Checking the Radioactive Decay Euler Algorithm

Checking the Radioactive Decay Euler Algorithm Lecture 2: Checking Numerical Results Review of the first example: radioactive decay The radioactive decay equation dn/dt = N τ has a well known solution in terms of the initial number of nuclei present

More information

Exercises, module A (ODEs, numerical integration etc)

Exercises, module A (ODEs, numerical integration etc) FYTN HT18 Dept. of Astronomy and Theoretical Physics Lund University, Sweden Exercises, module A (ODEs, numerical integration etc) 1. Use Euler s method to solve y (x) = y(x), y() = 1. (a) Determine y

More information

Essential Ordinary Differential Equations

Essential Ordinary Differential Equations MODULE 1: MATHEMATICAL PRELIMINARIES 10 Lecture 2 Essential Ordinary Differential Equations In this lecture, we recall some methods of solving first-order IVP in ODE (separable and linear) and homogeneous

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

(1) Rate of change: A swimming pool is emptying at a constant rate of 90 gal/min.

(1) Rate of change: A swimming pool is emptying at a constant rate of 90 gal/min. CHAPTER 1 Introduction 1. Bacground Models of physical situations from Calculus (1) Rate of change: A swimming pool is emptying at a constant rate of 90 gal/min. With V = volume in gallons and t = time

More information

Differential Equations

Differential Equations Differential Equations Overview of differential equation! Initial value problem! Explicit numeric methods! Implicit numeric methods! Modular implementation Physics-based simulation An algorithm that

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

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

Computation Fluid Dynamics

Computation Fluid Dynamics Computation Fluid Dynamics CFD I Jitesh Gajjar Maths Dept Manchester University Computation Fluid Dynamics p.1/189 Garbage In, Garbage Out We will begin with a discussion of errors. Useful to understand

More information

Initial Value Problems

Initial Value Problems Chapter 2 Initial Value Problems 21 Introduction The first part of this introduction is based on [5, Chap 6] The rest of the notes mostly follow [1, Chap 12] The growth of some tumours can be modelled

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Ordinary Differential Equations (ODEs) 1 Computer Simulations Why is computation becoming so important in physics? One reason is that most of our analytical tools such as differential calculus are best

More information

Math 225 Differential Equations Notes Chapter 1

Math 225 Differential Equations Notes Chapter 1 Math 225 Differential Equations Notes Chapter 1 Michael Muscedere September 9, 2004 1 Introduction 1.1 Background In science and engineering models are used to describe physical phenomena. Often these

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

Basic Theory of Linear Differential Equations

Basic Theory of Linear Differential Equations Basic Theory of Linear Differential Equations Picard-Lindelöf Existence-Uniqueness Vector nth Order Theorem Second Order Linear Theorem Higher Order Linear Theorem Homogeneous Structure Recipe for Constant-Coefficient

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

A Brief Introduction to Numerical Methods for Differential Equations

A Brief Introduction to Numerical Methods for Differential Equations A Brief Introduction to Numerical Methods for Differential Equations January 10, 2011 This tutorial introduces some basic numerical computation techniques that are useful for the simulation and analysis

More information

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

An Introduction to Numerical Methods for Differential Equations. Janet Peterson An Introduction to Numerical Methods for Differential Equations Janet Peterson Fall 2015 2 Chapter 1 Introduction Differential equations arise in many disciplines such as engineering, mathematics, sciences

More information

Selected HW Solutions

Selected HW Solutions Selected HW Solutions HW1 1 & See web page notes Derivative Approximations. For example: df f i+1 f i 1 = dx h i 1 f i + hf i + h h f i + h3 6 f i + f i + h 6 f i + 3 a realmax 17 1.7014 10 38 b realmin

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

You may not use your books, notes; calculators are highly recommended.

You may not use your books, notes; calculators are highly recommended. Math 301 Winter 2013-14 Midterm 1 02/06/2014 Time Limit: 60 Minutes Name (Print): Instructor This exam contains 8 pages (including this cover page) and 6 problems. Check to see if any pages are missing.

More information

Astronomy 8824: Numerical Methods Notes 2 Ordinary Differential Equations

Astronomy 8824: Numerical Methods Notes 2 Ordinary Differential Equations Astronomy 8824: Numerical Methods Notes 2 Ordinary Differential Equations Reading: Numerical Recipes, chapter on Integration of Ordinary Differential Equations (which is ch. 15, 16, or 17 depending on

More information

HIGHER ORDER METHODS. There are two principal means to derive higher order methods. b j f(x n j,y n j )

HIGHER ORDER METHODS. There are two principal means to derive higher order methods. b j f(x n j,y n j ) HIGHER ORDER METHODS There are two principal means to derive higher order methods y n+1 = p j=0 a j y n j + h p j= 1 b j f(x n j,y n j ) (a) Method of Undetermined Coefficients (b) Numerical Integration

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

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

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method) Section 2.7 Euler s Method (Computer Approximation) Key Terms/ Ideas: Numerical method for approximating the solution of an IVP Linear Approximation; Tangent Line Euler Algorithm (the simplest approximation

More information

FORTRAN 77 Lesson 7. Reese Haywood Ayan Paul

FORTRAN 77 Lesson 7. Reese Haywood Ayan Paul FORTRAN 77 Lesson 7 Reese Haywood Ayan Paul 1 Numerical Integration A general all purpose Numerical Integration technique is the Trapezoidal Method. For most functions, this method is fast and accurate.

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK KINGS COLLEGE OF ENGINEERING MA5-NUMERICAL METHODS DEPARTMENT OF MATHEMATICS ACADEMIC YEAR 00-0 / EVEN SEMESTER QUESTION BANK SUBJECT NAME: NUMERICAL METHODS YEAR/SEM: II / IV UNIT - I SOLUTION OF EQUATIONS

More information

Solutions Definition 2: a solution

Solutions Definition 2: a solution Solutions As was stated before, one of the goals in this course is to solve, or find solutions of differential equations. In the next definition we consider the concept of a solution of an ordinary differential

More information

Computational Methods CMSC/AMSC/MAPL 460. Ordinary differential equations

Computational Methods CMSC/AMSC/MAPL 460. Ordinary differential equations /0/0 Computational Methods CMSC/AMSC/MAPL 460 Ordinar differential equations Ramani Duraiswami Dept. of Computer Science Several slides adapted from Profs. Dianne O Lear and Eric Sandt TAMU Higher Order

More information

FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS III: Numerical and More Analytic Methods David Levermore Department of Mathematics University of Maryland

FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS III: Numerical and More Analytic Methods David Levermore Department of Mathematics University of Maryland FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS III: Numerical and More Analytic Methods David Levermore Department of Mathematics University of Maryland 30 September 0 Because the presentation of this material

More information

Integration, Separation of Variables

Integration, Separation of Variables Week #1 : Integration, Separation of Variables Goals: Introduce differential equations. Review integration techniques. Solve first-order DEs using separation of variables. 1 Sources of Differential Equations

More information

One-Step Hybrid Block Method with One Generalized Off-Step Points for Direct Solution of Second Order Ordinary Differential Equations

One-Step Hybrid Block Method with One Generalized Off-Step Points for Direct Solution of Second Order Ordinary Differential Equations Applied Mathematical Sciences, Vol. 10, 2016, no. 29, 142-142 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2016.6127 One-Step Hybrid Block Method with One Generalized Off-Step Points for

More information

AN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta)

AN OVERVIEW. Numerical Methods for ODE Initial Value Problems. 1. One-step methods (Taylor series, Runge-Kutta) AN OVERVIEW Numerical Methods for ODE Initial Value Problems 1. One-step methods (Taylor series, Runge-Kutta) 2. Multistep methods (Predictor-Corrector, Adams methods) Both of these types of methods are

More information

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy)

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Srikanth K S 1 Syllabus Taylor s and Maclaurin s theorems for function of one variable(statement only)- problems.

More information

Numerical solution of ODEs

Numerical solution of ODEs Numerical solution of ODEs Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology November 5 2007 Problem and solution strategy We want to find an approximation

More information

On A General Formula of Fourth Order Runge-Kutta Method

On A General Formula of Fourth Order Runge-Kutta Method On A General Formula of Fourth Order Runge-Kutta Method Delin Tan Zheng Chen Abstract In this paper we obtain a general formula of Runge-Kutta method in order with a free parameter t By picking the value

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