Runge Kutta Behavior in the Presence of a Jump Discontinuity

Size: px
Start display at page:

Download "Runge Kutta Behavior in the Presence of a Jump Discontinuity"

Transcription

1 Runge Kutta Behavior in the Presence of a Jump Discontinuity Allen Back July, 5 The graphs below appear to show motion at constant speed v = 4 along a straight line They were generated by numerical integration of a second order system of differential equations But the slope of the straight line x = x(t) is not the constant v! In fact the apparent velocity is v 6 Velocity vs Time Position vs Time v x time time The above system arose from numerical integration of v = f(v) x = v

2 where f(v) = b sgn(v) and b = By sgn(v) we mean if v > sgn(v) = if v = if v < The numerical integration method was fourth order Runge-Kutta with a step size of and an initial value of (v, x) = (4, ) The Runge Kutta method (eg []) for the two dimensional system (v, x ) = F (t, v, x) is derived under the assumption that F is three times differentiable Here we see that the right hand side of the equation is not even a continuous function of v So it is not surprising that Runge Kutta fails to give an accurate solution to this system What is striking is the manner of its failure The following result shows that the behavior with the above initial condition always happens for initial values of v close enough to Theorem A: Let b > and consider the system of ODE s (v, x ) = ( b sgn(v), v) with initial condition (v(t ), x(t )) = (v, x ) Then for any step size h > with < v < bh, one step of fourth order Runge Kutta leaves v unchanged at v and x changed from x to ( x + h v sgn(v ) bh ) 6 Since numerical integration preserves the condition v < bh, we can repeat as many steps as we like resulting in a numerical solution with constant velocity (v value) v and constant apparent velocity (rate of change of x) of (v bh 6 ) Intuitively, Runge Kutta involves making four preliminary estimates of where the next step ends up, each making use of what has been learned thusfar We will refer to the process of obtaining the next preliminary estimate as a substep and use the superscripts st, nd, rd, or 4th to indicate which of the four preliminary estimates is being reported We finalize the step by taking a suitable weighted average

3 In referring to the details of the Runge-Kutta compution, we will also use the subscripts IN, MID, or NXT These indicate which time value (t, t + h, or t + h respectively) a y value pertains to In vector form for the system y = F (t, y) with initial condition y(t ) = y IN, the Runge-Kutta method may be expressed precisely as follows: Substep Value of F st F st = F (t, y IN ) nd F nd = F (t + h, yst rd F rd = F (t + h, ynd 4th F 4th = F (t + h, y rd MID ) MID ) NXT ) Substep Estimate of y(t + h ) Estimate of y(t + h) st y MID st = y IN + h F st y NXT st = y IN + hf st nd y MID nd = y IN + h F nd y NXT nd = y IN + hf nd rd y NXT rd = y IN + hf rd 4th y NXT 4th = y IN + hf 4th The final resultant estimate of y(t + h) given by one step in Runge- Kutta then is y NXT = yst NXT + ynd NXT + yrd NXT + y4th NXT 6 With this description of the algorithm, we are ready for: Proof of Theorem A: First note that replacing (v, x) by ( v, x) leaves the differential equation unchanged Every step in Runge- Kutta also picks up a factor of, as does the conclusion of Theorem A So once we have proven the theorem for < v < bh, the case > v > bh follows immediately We start by specializing the tabular description of one step in Runge-Kutta to the ODE system in Theorem A

4 Substep Value of F st F st = ( b, v ) nd F nd = (b, v bh ) rd 4th F rd = ( b, v + bh ) F 4th = (b, v bh) Substep Estimate of y(t + h ) Estimate of y(t + h) st y MID st = (v bh, x + hv ) yst NXT = (v bh, x + hv ) nd y MID nd = (v + bh, x + h (v bh )) ynd NXT = (v + bh, x + h(v bh )) rd y NXT rd = (v bh, x + h(v + bh )) 4th y NXT 4th = (v + bh, x + h(v bh)) The proof of theorem A is now completed by inspecting the last column of the above table and observing that ( ) y st NXT + y NXT nd + y NXT rd + y NXT 4th = (v, x + h(v bh 6 6 )) What about other values of v? When v =, numerical integration by this method will leave (v, x ) unchanged; we have an equilibrium point of a discontinuous vector field For v > bh, numerical integration avoids the line v = and simply produces the expected answer (v bh, x + h(v bh )) The other cases are covered below Theorem B: Let b > and consider the system of ODE s (v, x ) = ( b sgn(v), v) with initial condition (v(t ), x(t )) = (v, x ) Then a) For any step size h > with bh < v < bh, one step of fourth order Runge Kutta changes (v, x ) to ( v sgn(v ) bh (, x + h v sgn(v ) bh )) b) For a step size h > with v = ±bh, one step of fourth order Runge Kutta changes (v, x ) to ( ( )) v 6, x v + h 4

5 c) For a step size h > with v = ± bh, one step of fourth order Runge Kutta changes (v, x ) to ( v, x + h ( v )) The proofs are readily constructed by adjusting the entries in the proof of Theorem A to these slightly different v values These answers are of a similar character to theorem A above But since v is not preserved, they only apply to one step and so will not be as striking if encountered Also, since equality of real numbers is unstable in a floating point environment, there is no reason to expect the cases v = ±bh, v = ± bh, or v = to readily show up in practice Another question one may ask is what happens if the second order system is generalized to the d dimensional system in y = (y, y,, y d ): y = b sgn(y ) y = y = y d = y d Here y plays the role of the earlier v, and y = x And so y IN replaces what we earlier denoted by v Theorem D: Let b > and y IN an initial velocity satisfying < y IN < bh Then one step of fourth order Runge Kutta changes y from y IN = (y IN, y IN,, y INd ) 5

6 to y NXT = y IN + h(, y IN, y IN,, y INd ) + h (, b 6, 5 6 y IN, 5 6 y IN,, 5 6 y INd ) + h (,, b 6, y IN, y IN,, y INd ) + h 4 (,,, b 6, 6 y IN, 6 y IN,, 6 y INd 4) With the notation we used earlier, the above is easy to establish once one expands the terms in the proof of Theorem A in powers of h Recurrences are immediate which determine the h p coefficients of Y NXT r from the h p coefficients of Y NXT r The pictures in this note were made with the older software program dstool [] In fact the author first noted the phenomenon described here in the course of analyzing some bug reports (of a more complicated example) from that system References [] A Back, J Guckenheimer, M Myers, FJ Wicklin, P Worfolk, dstool: Computer Assisted Exploration of Dynamical Systems, Notices of the American Mathematical Society 9 (99) 9 [] J Stoer, R Bulirsch, Introduction to Numerical Analysis, Springer- Verlag, New York, 98 6

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0 Math 2250 Lab 4 Name/Unid: 1. (25 points) A man bails out of an airplane at the altitute of 12,000 ft, falls freely for 20 s, then opens his parachute. Assuming linear air resistance ρv ft/s 2, taking

More information

Ph 22.1 Return of the ODEs: higher-order methods

Ph 22.1 Return of the ODEs: higher-order methods Ph 22.1 Return of the ODEs: higher-order methods -v20130111- Introduction This week we are going to build on the experience that you gathered in the Ph20, and program more advanced (and accurate!) solvers

More information

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0 Math 2250 Lab 4 Name/Unid: 1. (35 points) Leslie Leroy Irvin bails out of an airplane at the altitude of 16,000 ft, falls freely for 20 s, then opens his parachute. Assuming linear air resistance ρv ft/s

More information

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation Lecture 18 : Direction Fields and Euler s Method A Differential Equation is an equation relating an unknown function and one or more of its derivatives. Examples Population growth : dp dp = kp, or = kp

More information

Comparison of Numerical Ordinary Differential Equation Solvers

Comparison of Numerical Ordinary Differential Equation Solvers Adrienne Criss Due: October, 008 Comparison of Numerical Ordinary Differential Equation Solvers Many interesting physical systems can be modeled by ordinary differential equations (ODEs). Since it is always

More information

MATH 415, WEEKS 7 & 8: Conservative and Hamiltonian Systems, Non-linear Pendulum

MATH 415, WEEKS 7 & 8: Conservative and Hamiltonian Systems, Non-linear Pendulum MATH 415, WEEKS 7 & 8: Conservative and Hamiltonian Systems, Non-linear Pendulum Reconsider the following example from last week: dx dt = x y dy dt = x2 y. We were able to determine many qualitative features

More information

AIMS Exercise Set # 1

AIMS Exercise Set # 1 AIMS Exercise Set #. Determine the form of the single precision floating point arithmetic used in the computers at AIMS. What is the largest number that can be accurately represented? What is the smallest

More information

Ordinary Differential Equations II: Runge-Kutta and Advanced Methods

Ordinary Differential Equations II: Runge-Kutta and Advanced Methods Ordinary Differential Equations II: Runge-Kutta and Advanced Methods Sam Sinayoko Numerical Methods 3 Contents 1 Learning Outcomes 2 2 Introduction 2 2.1 Note................................ 4 2.2 Limitations

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

Section 7.4 Runge-Kutta Methods

Section 7.4 Runge-Kutta Methods Section 7.4 Runge-Kutta Methods Key terms: Taylor methods Taylor series Runge-Kutta; methods linear combinations of function values at intermediate points Alternatives to second order Taylor methods Fourth

More information

Figure 1: Schematic of ship in still water showing the action of bouyancy and weight to right the ship.

Figure 1: Schematic of ship in still water showing the action of bouyancy and weight to right the ship. MULTI-DIMENSIONAL SYSTEM: In this computer simulation we will explore a nonlinear multi-dimensional system. As before these systems are governed by equations of the form x 1 = f 1 x 2 = f 2.. x n = f n

More information

Delay Differential Equations with Constant Lags

Delay Differential Equations with Constant Lags Delay Differential Equations with Constant Lags L.F. Shampine Mathematics Department Southern Methodist University Dallas, TX 75275 shampine@smu.edu S. Thompson Department of Mathematics & Statistics Radford

More information

LIMITS AND DERIVATIVES

LIMITS AND DERIVATIVES 2 LIMITS AND DERIVATIVES LIMITS AND DERIVATIVES 1. Equation In Section 2.7, we considered the derivative of a function f at a fixed number a: f '( a) lim h 0 f ( a h) f ( a) h In this section, we change

More information

Quadratic and Other Inequalities in One Variable

Quadratic and Other Inequalities in One Variable Quadratic and Other Inequalities in One Variable If a quadratic equation is not in the standard form equaling zero, but rather uses an inequality sign ( , ), the equation is said to be a quadratic

More information

CDS 101 Precourse Phase Plane Analysis and Stability

CDS 101 Precourse Phase Plane Analysis and Stability CDS 101 Precourse Phase Plane Analysis and Stability Melvin Leok Control and Dynamical Systems California Institute of Technology Pasadena, CA, 26 September, 2002. mleok@cds.caltech.edu http://www.cds.caltech.edu/

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

Computers, Lies and the Fishing Season

Computers, Lies and the Fishing Season 1/47 Computers, Lies and the Fishing Season Liz Arnold May 21, 23 Introduction Computers, lies and the fishing season takes a look at computer software programs. As mathematicians, we depend on computers

More information

Definitions. Decade: A ten-to-one range of frequency. On a log scale, each 10X change in frequency requires the same distance on the scale.

Definitions. Decade: A ten-to-one range of frequency. On a log scale, each 10X change in frequency requires the same distance on the scale. Circuits II EECS 3220 Lecture notes on making Bode plots Definitions Network Transfer Function: The function H s Xout s X in s where X out represents the voltage or current response of the network to X

More information

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 6, 2013 Outline

More information

Clock Reading (t) Position (x) Clock Reading (t) Position (x)

Clock Reading (t) Position (x) Clock Reading (t) Position (x) How Fast are you Moving? 2.1 Observe and represent Find a starting position on the floor. You will need to use 2 cars for this experiment (try to use one fast and one slow). Practice releasing the car

More information

AP Calculus Worksheet: Chapter 2 Review Part I

AP Calculus Worksheet: Chapter 2 Review Part I AP Calculus Worksheet: Chapter 2 Review Part I 1. Given y = f(x), what is the average rate of change of f on the interval [a, b]? What is the graphical interpretation of your answer? 2. The derivative

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

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras

Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Computational Techniques Prof. Dr. Niket Kaisare Department of Chemical Engineering Indian Institute of Technology, Madras Module No. # 07 Lecture No. # 04 Ordinary Differential Equations (Initial Value

More information

Remember... Average rate of change slope of a secant (between two points)

Remember... Average rate of change slope of a secant (between two points) 3.7 Rates of Change in the Natural and Social Sciences Remember... Average rate of change slope of a secant (between two points) Instantaneous rate of change slope of a tangent derivative We will assume

More information

Resonance and response

Resonance and response Chapter 2 Resonance and response Last updated September 20, 2008 In this section of the course we begin with a very simple system a mass hanging from a spring and see how some remarkable ideas emerge.

More information

Motion Along a Straight Line (Motion in One-Dimension)

Motion Along a Straight Line (Motion in One-Dimension) Chapter 2 Motion Along a Straight Line (Motion in One-Dimension) Learn the concepts of displacement, velocity, and acceleration in one-dimension. Describe motions at constant acceleration. Be able to graph

More information

Calculus for the Life Sciences

Calculus for the Life Sciences Improved Calculus for the Life Sciences ntial Equations Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center

More information

Lecture 3 (Limits and Derivatives)

Lecture 3 (Limits and Derivatives) Lecture 3 (Limits and Derivatives) Continuity In the previous lecture we saw that very often the limit of a function as is just. When this is the case we say that is continuous at a. Definition: A function

More information

Numerical Mathematics & Computing, 7 Ed. 4.1 Interpolation

Numerical Mathematics & Computing, 7 Ed. 4.1 Interpolation Numerical Mathematics & Computing, 7 Ed. 4.1 Interpolation Ward Cheney/David Kincaid c UT Austin Engage Learning: Thomson-Brooks/Cole www.engage.com www.ma.utexas.edu/cna/nmc6 November 7, 2011 2011 1 /

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

16.1 Runge-Kutta Method

16.1 Runge-Kutta Method 704 Chapter 6. Integration of Ordinary Differential Equations CITED REFERENCES AND FURTHER READING: Gear, C.W. 97, Numerical Initial Value Problems in Ordinary Differential Equations (Englewood Cliffs,

More information

Solving systems of ODEs with Matlab

Solving systems of ODEs with Matlab Solving systems of ODEs with Matlab James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 20, 2013 Outline 1 Systems of ODEs 2 Setting Up

More information

Math 122 Fall Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations

Math 122 Fall Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations 1 Math 122 Fall 2008 Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations The purpose of this handout is to review the techniques that you will learn for

More information

Multistep Methods for IVPs. t 0 < t < T

Multistep Methods for IVPs. t 0 < t < T Multistep Methods for IVPs We are still considering the IVP dy dt = f(t,y) t 0 < t < T y(t 0 ) = y 0 So far we have looked at Euler s method, which was a first order method and Runge Kutta (RK) methods

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

Backward error analysis

Backward error analysis Backward error analysis Brynjulf Owren July 28, 2015 Introduction. The main source for these notes is the monograph by Hairer, Lubich and Wanner [2]. Consider ODEs in R d of the form ẏ = f(y), y(0) = y

More information

Particle Motion. Typically, if a particle is moving along the x-axis at any time, t, x()

Particle Motion. Typically, if a particle is moving along the x-axis at any time, t, x() Typically, if a particle is moving along the x-axis at any time, t, x() t represents the position of the particle; along the y-axis, yt () is often used; along another straight line, st () is often used.

More information

INTEGRALS5 INTEGRALS

INTEGRALS5 INTEGRALS INTEGRALS5 INTEGRALS INTEGRALS 5.3 The Fundamental Theorem of Calculus In this section, we will learn about: The Fundamental Theorem of Calculus and its significance. FUNDAMENTAL THEOREM OF CALCULUS The

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

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the Area and Tangent Problem Calculus is motivated by two main problems. The first is the area problem. It is a well known result that the area of a rectangle with length l and width w is given by A = wl.

More information

5.4 Continuity: Preliminary Notions

5.4 Continuity: Preliminary Notions 5.4. CONTINUITY: PRELIMINARY NOTIONS 181 5.4 Continuity: Preliminary Notions 5.4.1 Definitions The American Heritage Dictionary of the English Language defines continuity as an uninterrupted succession,

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

Slope Fields: Graphing Solutions Without the Solutions

Slope Fields: Graphing Solutions Without the Solutions 8 Slope Fields: Graphing Solutions Without the Solutions Up to now, our efforts have been directed mainly towards finding formulas or equations describing solutions to given differential equations. Then,

More information

Higher Order Taylor Methods

Higher Order Taylor Methods Higher Order Taylor Methods Marcelo Julio Alvisio & Lisa Marie Danz May 6, 2007 Introduction Differential equations are one of the building blocks in science or engineering. Scientists aim to obtain numerical

More information

Cofactors and Laplace s expansion theorem

Cofactors and Laplace s expansion theorem Roberto s Notes on Linear Algebra Chapter 5: Determinants Section 3 Cofactors and Laplace s expansion theorem What you need to know already: What a determinant is. How to use Gauss-Jordan elimination to

More information

Math 116 Second Midterm November 17, 2010

Math 116 Second Midterm November 17, 2010 Math 6 Second Midterm November 7, Name: EXAM SOLUTIONS Instructor: Section:. Do not open this exam until you are told to do so.. This exam has pages including this cover. There are problems. Note that

More information

Period-doubling cascades of a Silnikov equation

Period-doubling cascades of a Silnikov equation Period-doubling cascades of a Silnikov equation Keying Guan and Beiye Feng Science College, Beijing Jiaotong University, Email: keying.guan@gmail.com Institute of Applied Mathematics, Academia Sinica,

More information

A Method for the Numerical Integration of Coupled First-Order Differential Equations with Greatly Different Time Constants

A Method for the Numerical Integration of Coupled First-Order Differential Equations with Greatly Different Time Constants A Method for the Numerical Integration of Coupled First-Order Differential Equations with Greatly Different Time Constants By Charles E. Treanor Abstract. Coupled differential equations which describe

More information

CHAPTER 80 NUMERICAL METHODS FOR FIRST-ORDER DIFFERENTIAL EQUATIONS

CHAPTER 80 NUMERICAL METHODS FOR FIRST-ORDER DIFFERENTIAL EQUATIONS CHAPTER 8 NUMERICAL METHODS FOR FIRST-ORDER DIFFERENTIAL EQUATIONS EXERCISE 33 Page 834. Use Euler s method to obtain a numerical solution of the differential equation d d 3, with the initial conditions

More information

Math 128A Spring 2003 Week 12 Solutions

Math 128A Spring 2003 Week 12 Solutions Math 128A Spring 2003 Week 12 Solutions Burden & Faires 5.9: 1b, 2b, 3, 5, 6, 7 Burden & Faires 5.10: 4, 5, 8 Burden & Faires 5.11: 1c, 2, 5, 6, 8 Burden & Faires 5.9. Higher-Order Equations and Systems

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

Solution of ordinary Differential Equations

Solution of ordinary Differential Equations 42 Chapter 4 Solution of ordinary Differential Equations Highly suggested Reading Press et al., 1992. Numerical Recipes, 2nd Edition. Chapter 16. (Good description). See also chapter 17. And Matlab help

More information

Use separation of variables to solve the following differential equations with given initial conditions. y 1 1 y ). y(y 1) = 1

Use separation of variables to solve the following differential equations with given initial conditions. y 1 1 y ). y(y 1) = 1 Chapter 11 Differential Equations 11.1 Use separation of variables to solve the following differential equations with given initial conditions. (a) = 2ty, y(0) = 10 (b) = y(1 y), y(0) = 0.5, (Hint: 1 y(y

More information

INTRODUCTION TO COMPUTER METHODS FOR O.D.E.

INTRODUCTION TO COMPUTER METHODS FOR O.D.E. INTRODUCTION TO COMPUTER METHODS FOR O.D.E. 0. Introduction. The goal of this handout is to introduce some of the ideas behind the basic computer algorithms to approximate solutions to differential equations.

More information

Relations and Functions

Relations and Functions Algebra 1, Quarter 2, Unit 2.1 Relations and Functions Overview Number of instructional days: 10 (2 assessments) (1 day = 45 60 minutes) Content to be learned Demonstrate conceptual understanding of linear

More information

Ordinary Differential Equations. Monday, October 10, 11

Ordinary Differential Equations. Monday, October 10, 11 Ordinary Differential Equations Monday, October 10, 11 Problems involving ODEs can always be reduced to a set of first order differential equations. For example, By introducing a new variable z, this can

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

ERROR IN LINEAR INTERPOLATION

ERROR IN LINEAR INTERPOLATION ERROR IN LINEAR INTERPOLATION Let P 1 (x) be the linear polynomial interpolating f (x) at x 0 and x 1. Assume f (x) is twice continuously differentiable on an interval [a, b] which contains the points

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

converges to a root, it may not always be the root you have in mind.

converges to a root, it may not always be the root you have in mind. Math 1206 Calculus Sec. 4.9: Newton s Method I. Introduction For linear and quadratic equations there are simple formulas for solving for the roots. For third- and fourth-degree equations there are also

More information

There are two things that are particularly nice about the first basis

There are two things that are particularly nice about the first basis Orthogonality and the Gram-Schmidt Process In Chapter 4, we spent a great deal of time studying the problem of finding a basis for a vector space We know that a basis for a vector space can potentially

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

Geometric methods for orbit integration. PiTP 2009 Scott Tremaine

Geometric methods for orbit integration. PiTP 2009 Scott Tremaine Geometric methods for orbit integration PiTP 2009 Scott Tremaine spacecraft trajectories Cassini-Huygens trajectory around Saturn, 2004-2008 Planetary orbits lines = current orbits of the four inner planets

More information

Section 3.7. Rolle s Theorem and the Mean Value Theorem

Section 3.7. Rolle s Theorem and the Mean Value Theorem Section.7 Rolle s Theorem and the Mean Value Theorem The two theorems which are at the heart of this section draw connections between the instantaneous rate of change and the average rate of change of

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

Worksheet 8 Sample Solutions

Worksheet 8 Sample Solutions Technische Universität München WS 2016/17 Lehrstuhl für Informatik V Scientific Computing Univ.-Prof. Dr. M. Bader 19.12.2016/21.12.2016 M.Sc. S. Seckler, M.Sc. D. Jarema Worksheet 8 Sample Solutions Ordinary

More information

Mechanical Translational Systems

Mechanical Translational Systems QUESTION 1 For the system in Figure 1.1, the springs are at their free lengths when the mass displacements are zero. Complete the following: Figure 1.1 QUESTION 2 For the system in Figure 2.1, the mass

More information

Physics 299: Computational Physics II Project II

Physics 299: Computational Physics II Project II Physics 99: Computational Physics II Project II Due: Feb 01 Handed out: 6 Jan 01 This project begins with a description of the Runge-Kutta numerical integration method, and then describes a project to

More information

Computational Physics (6810): Session 8

Computational Physics (6810): Session 8 Computational Physics (6810): Session 8 Dick Furnstahl Nuclear Theory Group OSU Physics Department February 24, 2014 Differential equation solving Session 7 Preview Session 8 Stuff Solving differential

More information

Math 308 Week 8 Solutions

Math 308 Week 8 Solutions Math 38 Week 8 Solutions There is a solution manual to Chapter 4 online: www.pearsoncustom.com/tamu math/. This online solutions manual contains solutions to some of the suggested problems. Here are solutions

More information

Lab 5. Simple Pendulum

Lab 5. Simple Pendulum Lab 5. Simple Pendulum Goals To design and perform experiments that show what factors, or parameters, affect the time required for one oscillation of a compact mass attached to a light string (a simple

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

6x 2 8x + 5 ) = 12x 8

6x 2 8x + 5 ) = 12x 8 Example. If f(x) = x 3 4x + 5x + 1, then f (x) = 6x 8x + 5 Observation: f (x) is also a differentiable function... d dx ( f (x) ) = d dx ( 6x 8x + 5 ) = 1x 8 The derivative of f (x) is called the second

More information

Relativistic Electrodynamics

Relativistic Electrodynamics Relativistic Electrodynamics Notes (I will try to update if typos are found) June 1, 2009 1 Dot products The Pythagorean theorem says that distances are given by With time as a fourth direction, we find

More information

16.07 Dynamics. Problem Set 3

16.07 Dynamics. Problem Set 3 NAME :..................... Massachusetts Institute of Technology 16.07 Dynamics Problem Set 3 Out date: Sept 17, 2007 Due date: Sept 26, 2007 Problem 1 Problem 2 Problem 3 Problem 4 Study Time Time Spent

More information

Equilibrium, Positive and Negative Feedback

Equilibrium, Positive and Negative Feedback Equilibrium, Positive and Negative Feedback Most ecosystems are very complex. There are many flows and storages. A high level of complexity makes for a more stable system which can withstand stress and

More information

Math 116 Practice for Exam 2

Math 116 Practice for Exam 2 Math 116 Practice for Exam 2 Generated October 28, 2016 Name: Instructor: Section Number: 1. This exam has 6 questions. Note that the problems are not of equal difficulty, so you may want to skip over

More information

Initial-Value Problems for ODEs. Introduction to Linear Multistep Methods

Initial-Value Problems for ODEs. Introduction to Linear Multistep Methods Initial-Value Problems for ODEs Introduction to Linear Multistep Methods Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University

More information

Introduction to limits

Introduction to limits Introduction to limits 9 Secants and Tangents Let f be a function whose domain/codomain are intervals D and C. 9. Secant slope For r, s D, the secant line is the one through the graph points (r,f(r)),

More information

1 Ordinary differential equations

1 Ordinary differential equations Numerical Analysis Seminar Frühjahrssemester 08 Lecturers: Prof. M. Torrilhon, Prof. D. Kressner The Störmer-Verlet method F. Crivelli (flcrivel@student.ethz.ch May 8, 2008 Introduction During this talk

More information

x(t+ δt) - x(t) = slope δt t+δt

x(t+ δt) - x(t) = slope δt t+δt Techniques of Physics Worksheet 2 Classical Vibrations and Waves Introduction You will have encountered many different examples of wave phenomena in your courses and should be familiar with most of the

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

Math 116 Final Exam December 17, 2010

Math 116 Final Exam December 17, 2010 Math 116 Final Exam December 17, 2010 Name: Instructor: Section: 1. Do not open this exam until you are told to do so. 2. This exam has 11 pages including this cover. There are 9 problems. Note that the

More information

MATH CALCULUS I 2.2: Differentiability, Graphs, and Higher Derivatives

MATH CALCULUS I 2.2: Differentiability, Graphs, and Higher Derivatives MATH 12002 - CALCULUS I 2.2: Differentiability, Graphs, and Higher Derivatives Professor Donald L. White Department of Mathematical Sciences Kent State University D.L. White (Kent State University) 1 /

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Chapter 1 Introduction and Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

Math 1270 Honors ODE I Fall, 2008 Class notes # 14. x 0 = F (x; y) y 0 = G (x; y) u 0 = au + bv = cu + dv

Math 1270 Honors ODE I Fall, 2008 Class notes # 14. x 0 = F (x; y) y 0 = G (x; y) u 0 = au + bv = cu + dv Math 1270 Honors ODE I Fall, 2008 Class notes # 1 We have learned how to study nonlinear systems x 0 = F (x; y) y 0 = G (x; y) (1) by linearizing around equilibrium points. If (x 0 ; y 0 ) is an equilibrium

More information

Continuing Quadratic/Polynomial Real-World Problems

Continuing Quadratic/Polynomial Real-World Problems Algebra 1, Quarter 3, Unit 3.1 Continuing Quadratic/Polynomial Real-World Problems Overview Number of instructional days: 15 (1 day = 45 60 minutes) Content to be learned Understand closed operations.

More information

Impulsive Stabilization and Application to a Population Growth Model*

Impulsive Stabilization and Application to a Population Growth Model* Nonlinear Dynamics and Systems Theory, 2(2) (2002) 173 184 Impulsive Stabilization and Application to a Population Growth Model* Xinzhi Liu 1 and Xuemin Shen 2 1 Department of Applied Mathematics, University

More information

Numerical Methods for Ordinary Differential Equations

Numerical Methods for Ordinary Differential Equations CHAPTER 1 Numerical Methods for Ordinary Differential Equations In this chapter we discuss numerical method for ODE. We will discuss the two basic methods, Euler s Method and Runge-Kutta Method. 1. Numerical

More information

GUIDED NOTES 2.2 LINEAR EQUATIONS IN ONE VARIABLE

GUIDED NOTES 2.2 LINEAR EQUATIONS IN ONE VARIABLE GUIDED NOTES 2.2 LINEAR EQUATIONS IN ONE VARIABLE LEARNING OBJECTIVES In this section, you will: Solve equations in one variable algebraically. Solve a rational equation. Find a linear equation. Given

More information

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

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

More information

Remember... Average rate of change slope of a secant (between two points)

Remember... Average rate of change slope of a secant (between two points) 3.7 Rates of Change in the Natural and Social Sciences Remember... Average rate of change slope of a secant (between two points) Instantaneous rate of change slope of a tangent derivative We will assume

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

TEACHER NOTES MATH NSPIRED

TEACHER NOTES MATH NSPIRED Math Objectives Students will produce various graphs of Taylor polynomials. Students will discover how the accuracy of a Taylor polynomial is associated with the degree of the Taylor polynomial. Students

More information

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y Calculus for the Life Sciences II Assignment 6 solutions Find the tangent plane to the graph of the function at the point (0, π f(x, y = 3π 3 cos 2x + 2 sin 3y Solution: The tangent plane of f at a point

More information

Solutions to Math 53 First Exam April 20, 2010

Solutions to Math 53 First Exam April 20, 2010 Solutions to Math 53 First Exam April 0, 00. (5 points) Match the direction fields below with their differential equations. Also indicate which two equations do not have matches. No justification is necessary.

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

Torsion Spring Oscillator with Dry Friction

Torsion Spring Oscillator with Dry Friction Torsion Spring Oscillator with Dry Friction Manual Eugene Butikov Annotation. The manual includes a description of the simulated physical system and a summary of the relevant theoretical material for students

More information

Networks and Systems Prof V.G K. Murti Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 10 Fourier Series (10)

Networks and Systems Prof V.G K. Murti Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 10 Fourier Series (10) Networks and Systems Prof V.G K. Murti Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 10 Fourier Series (10) What we have seen in the previous lectures, is first

More information

Formulation of Linear Constant Coefficient ODEs

Formulation of Linear Constant Coefficient ODEs E E 380 Linear Control Systems Supplementary Reading Methods for Solving Linear Constant Coefficient ODEs In this note, we present two methods for solving linear constant coefficient ordinary differential

More information