Worksheet 8 Sample Solutions

Size: px
Start display at page:

Download "Worksheet 8 Sample Solutions"

Transcription

1 Technische Universität München WS 2016/17 Lehrstuhl für Informatik V Scientific Computing Univ.-Prof. Dr. M. Bader / M.Sc. S. Seckler, M.Sc. D. Jarema Worksheet 8 Sample Solutions Ordinary Differential Equations: Numerical Methods (H) Exercise 1: Charged Particle Simulation Consider a spherical particle which carries a constant electric charge q > 0 and is suspended in water. The particle shall move at a velocity v(t) R 3. The force F R 3 acting on the particle due to an external electric field E(t) R 3 and a magnetic field B(t) R 3 is given by the Lorentz force: F lorentz (t) := q(e(t) + v(t) B(t)) (1) with the operator is defined as the cross-product a b := a 2 b 3 a 3 b 2 a 3 b 1 a 1 b 3 a 1 b 2 a 2 b 1 (2) for vectors a, b R 3. Due to the viscous resistance of the fluid, the drag force acts onto the particle as well: F drag (t) := 6πηrv(t) (3) where η > 0 is the fluid viscosity and r > 0 the radius of the particle. A system of ordinary differential equations evolves for the particle velocity v(t) as follows: dv = 1 ( ) Florentz + F m drag (4) where m denotes the mass of the particle. (a) Write down the specific differential equation for a magnetic field B(t) := (0, 0, 2t), an electric field E(t) := (1, 0, 0), a mass, viscosity and electric charge q = m = η = 1 as well as a radius r = 1 6π. You may further assume that the particle is initially at rest, i.e. v(t = 0) = 0. (b) Formulate the explicit Euler method for the equations derived in (a) and solve the first three time steps by hand using a time step τ =

2 (c) Write a python script to study the influence of the time step τ on your solution. Simplify the magnetic field to B(t) := (0, 0, 1) and compute the error for τ = 2 n, n 1: e(t) := (v analytic x (t) v euler x (t)) 2 + (vy analytic (t) v euler y (t)) 2 where v euler and v analytic are numerical and analytical solutions. The analytical solution of the simplified system is given by v x (t) = e t (sin(t) cos(t)) v y (t) = e t (sin(t) + cos(t)) Consider the time interval t [0, 10] in your studies. What do you observe? (d) Formulate the second-order Adams-Moulton method for the equations derived in (a) and solve the first time step for τ = 1 2. Solution: (a) We can first write down the differential equation for the particle velocity for every velocity component: dv x (t) dv y (t) dv z (t) = 1 ( ) q(e x (t) + v y (t)b z (t) v z (t)b y (t)) 6πηrv x (t) m = 1 ( ) q(e y (t) + v z (t)b x (t) v x (t)b z (t)) 6πηrv y (t) m = 1 ( ) q(e z (t) + v x (t)b y (t) v y (t)b x (t)) 6πηrv z (t) m Inserting all quantities according to the description of this exercise, the system reduces to: dv x (t) = v x (t) + 2t v y (t) + 1 dv y (t) = 2t v x (t) v y (t) dv z (t) = v z (t) Since the particle has zero velocity at the beginning, the third velocity component will always remain zero. Hence, it is enough to consider the two-dimensional system (5) (6) from now. dv x (t) dv y (t) = v x (t) + 2t v y (t) + 1 = 2t v x (t) v y (t) (7) 2

3 (b) The explicit Euler method for the equations (7) is given by: v x (t + τ) v x (t) τ v y (t + τ) v y (t) τ This results in the update rule: = v x (t) + 2t v y (t) + 1 = 2t v x (t) v y (t) (8) v x (t + τ) = (1 τ)v x (t) + 2τtv y (t) + τ v y (t + τ) = (1 τ)v y (t) 2τtv x (t) (9) For τ = 1 2, we obtain: v x (t ) = 1 2 v x(t) + tv y (t) v y (t ) = 1 2 v y(t) tv x (t) (10) Starting with v x (t = 0) = 0, v y (t = 0) = 0, we finally obtain: v x ( 1 2 ) = 1 2, v y( 1 2 ) = 0 v x (1) = 3 4, v y(1) = 1 4 (11) v x ( 3 2 ) = 5 8, v y( 3 2 ) = 7 8 (c) See ws8 ex1.py. Halving the time step yields a reduction of the error by a factor of two. For our problem, the explicit Euler method hence shows an error of order O(τ). (d) The Adams-Moulton method is given by the following update rule: y(t + τ) = y(t) + τ ( f (t, y(t)) + f (t + τ, y(t + τ))) (12) 2 Applying this discretization scheme to equation (7) results in v x (t + τ) = v x (t) + τ 2 ( vx (t) + 2tv y (t) + 1 v x (t + τ) + 2(t + τ)v y (t + τ) + 1 ) v y (t + τ) = v y (t) + τ ( 2tvx (t) v y (t) 2(t + τ)v x (t + τ) v y (t + τ) ) 2 or in matrix-vector form: 1 + τ 2 τ(t + τ) τ(t + τ) 1 + τ 2 ( ( ) 1 τ ) v x (t) + τtv y (t) + τ vx (t + τ) 2 = v y (t + τ) ( τtv x (t) + 1 τ ) v y (t) 2 (13) (14) 3

4 Due to the implicit nature of the Adams-Moulton method, we need to solve this linear system of equations in each time step. For the first time step, we can insert τ = 1 2, t = 0 and v x (t = 0) = v y (t = 0) = 0 into equation (14): v x( 1 2 ) 1 = 5 v y ( 1 2 ) 2 (15) 0 4 Solving this system of equations yields v x ( 1 2 ) = 5 13, v y( 1 2 ) = Remark: The second-order Adams-Moulton method is just the trapezoidal rule from the last exercise. In terms of solving partial differential equations, the arising time stepping method is also known as Crank-Nicolson scheme. (I) Exercise 2: Runge-Kutta Methods and Direction Fields Consider the direction field of a one-dimensional ODE dp = f (t, p(t)) as given in Figure 1. Figure 1: Direction field for Exercise 2 task (a), the initial value p 0 = is marked by a point. To compute approximate solutions p n p(t n ) at times t n = n τ, the following second-order 4

5 Runge-Kutta scheme is given to compute the population size p n+1 of the next time step: p n+1 = p n + τ f (t n, p n ) p n+1 = 1 2 (p n + τ f (t n+1, p n+1 ) + p n+1 ) (16) (a) With initial condition p 0 = p(0) = 0.125, perform the first four steps of this scheme (to compute p 1, p 2, p 3, p 4 ) by drawing the approximate solutions into the direction field in Figure 1 (graphical solution only). The step size shall be τ = 2, as illustrated by the four intervals drawn into the direction field. Mark from which arrows you obtain the directions of the numerical steps you are allowed to add an arrow to the direction field, if no arrow is plotted at the precise required position. (b) Consider the direction field in Figure 2. Perform the first three steps of the explicit Euler Figure 2: Direction field for Exercise 2 task (b). scheme by drawing the approximate solution in this direction field. Start at y(t = 0) = 1 and use a time step τ = 3. What do you observe? What happens for τ = 2 and τ = 1.5? Solution: (a) The drawing is shown in Figure 3. We further introduce a point p n+1 := p n + τ f (t n+1, p n+1 ). Using this new point, we can write the update rule as: p n+1 = p n + τ f (t n, p n ) p n+1 = p n + τ f (t n+1, p n+1 ) p n+1 = 1 2 ( p n+1 + p n+1 ) (17) From this, we can understand how the drawing works: 5

6 Figure 3: Solution of Exercise 2 task (a). 1. Determine the gradient at the point (t n, p n (t n )); for t 0 = 0, this point is given by (0, 0.125). The gradient is given by the respective vector in the plot. If there s no arrow, you need to draw it yourself considering the neighborhood of the respective point. 2. Walk along this vector until you reach the time t n+1 = t n + τ. The point at this position corresponds to (t n+1, p n+1 = p n + τ f (t n, p n )). 3. In order to determine p n+1, we need the gradient at (t n+1, p n+1 ). This gradient corresponds to the vector of the direction field at the position (t n+1, p n+1 ). We draw a straight line parallel to this vector through p n. The point of this straight line at t n+1 = t n + τ corresponds to p n Finally, we obtain p n+1 from averaging the values p n+1 and p n+1. (b) The explicit Euler method corresponds to the very first step of the Runge-Kutta method from (a), i.e. p n+1 corresponds to the explicit Euler solution. You can hence just carry out steps 1 and 2 from (a) and use p n+1 = p n+1. The solutions are sketched in Figure 4. The blue crosses correspond to the time step τ = 1.5, the red crosses represent the explicit Euler method for τ = 2 and the green crosses illustrate the behavior of the explicit Euler method for τ = 3. We can observe that the method is unstable for τ = 3. In this case, we diverge from the critical point with each time step in an oscillatory manner. 6

7 Figure 4: Solution of Exercise 2 task (a). the method is close to the stability regime for τ = 2. The solution oscillates around the critical point. It neither converges nor diverges further away from the solution. the method is stable and converges towards the critical point for τ = 1.5. The numerical solution oscillates around the critical point. However, the amplitude of the oscillations is reduced with each time step. Remark: The vector field that was used corresponds to the ODE dy = y. The explicit Euler method reads y n+1 = y n + τ( y n ) = (1 τ)y n in this case. Since 1 τ represents the eigenvalue of this iterative scheme, we observe for τ > 0: 0 for 1 τ < 1 τ (0, 2) n y n ± for 1 τ > 1 τ (2, ) n y n ±y 0 for 1 τ = 1 τ = 2 y n n (18) (I) Exercise 3: One-step and Multistep Numerical Methods Consider the direction field of a one-dimensional differential equation dp/ = f (t, p), where f (t, p) = (1 p(t))/2 (Verhust model - saturation), as given in Figure 5. (a) To compute approximate solutions p n p(t n ) at times t n = nτ, the following multistep 7

8 p(t) t Figure 5: Direction field for dp/ = (1 p(t))/2. numerical scheme is given: p 0 = p(0) = 1/2 (initial condition) (19) p 1 = p 0 + τ f (t 0, p 0 ) (20) p n+2 = 5p n 4p n+1 + τ(2 f (t n, p n ) + 4 f (t n+1, p n+1 )) (21) Compute the first four steps of this scheme (p 1, p 2, p 3, p 4 ) with time step size τ = 1, and draw the numerical solution (points connected by lines) on Figure 5. If a point is outside the plot domain, you do not have to visualize it. (b) Consider the one-step Midpoint method: p 0 = p(0) = 3.0 (initial condition) (22) ( p n+1 = p n + τ f t n τ, p n + τ ) 2 f (t n, p n ). (23) Perform the first four steps of this scheme (to compute p 1, p 2, p 3, p 4 ) by drawing the approximate solutions into the direction field in Figure 5 (graphical solution only). The 8

9 step size shall be τ = 1, as illustrated by the four intervals drawn into the direction field. Mark from which arrows you obtain the directions of the numerical steps you are allowed to add an arrow to the direction field, if no arrow is plotted at the precise required position. (c) What can you conclude about the numerical stability of the methods from a) and b) for τ = 1? (d) List two advantages and two disadvantages of multistep methods in comparison to one-step methods. Solution: (a) Computation of the first four steps: The first step is computed from the explicit Euler scheme f (p 0 ) = f (1/2) = 1/4, p 1 = p 0 + τ f (p 0 ) = 1/2 + 1/4 = 3/4. For the next time steps we apply the multistep method. The second step: f (p 1 ) = f (3/4) = 1/8, p 2 = 5p 0 4p 1 + τ(2 f (p 0 ) + 4 f (p 1 )) = 5/ /2 + 1/2 = 1/2. The third step: f (p 2 ) = f (1/2) = 1/4, p 3 = 5p 1 4p 2 + τ(2 f (p 1 ) + 4 f (p 2 )) = 15/ /4 + 1 = 3. Finally, the fourth step: f (p 3 ) = f (3) = 1.0, p 4 = 5p 2 4p 3 + τ(2 f (p 2 ) + 4 f (p 3 )) = 5/ /2 4 = 13. (b) For the graphical solution of the method see Figure 6. (c) Multistep method. From the evaluation we see that the magnitude of p from the stationary solution p s = 1 is growing (the fifth step already gives p 5 = 93), that means that the numerical method is unstable for the time step size τ =

10 Figure 6: Direction field for dp/ = (1 p(t))/2. The multistep method numerical solution is plotted in blue. The midpoint one-step method numerical solution is plotted in green, the arrows from which we obtain the direction of numerical steps are drawn in red. Midpoint method. Now, the numerical solution approaches the critical value p s = 1 during the first four steps. The method might be stable. But we cannot be sure about that just from the first four steps for the given initial condition. To investigate the numerical stability of this multistep method more rigorous analysis is required. (d) Main advantage of the multistep methods is that they reuse computed right hand side function values from the previous steps. It can be beneficial in cases when a right hand side of an ODE is computationally expensive. Furthermore, with multistep methods it is simple to get higher order numerical schemes. The disadvantage of the multistep methods is that they are very often numerically unstable. Another disadvantage is that for the first time steps one need not only the initial value, but values in the consecutive time steps to be specified. 10

11 (H*) Exercise 4: Particle in Rotating Tube A small spherical particle is located in a very long rotating tube full of liquid, which does not move relative to the tubes walls. We are interested in the particle motion along the tube axis x, see Figure 7. Therefore, the x 0 Figure 7: A rotating tube with liquid and particle inside. rotating reference frame is used to derive the equation of the particle motion. In this reference frame, we consider two dominating forces acting on the particle along x axis: the Stokes drag force and the buoyancy type force. The model is approximated by the following ODE d 2 x = (1 γ) x λdx 2, (24) where γ = ρ l /ρ p > 0 is the ratio of densities (ρ l, ρ p liquid and particle densities) and λ 0 is the friction coefficient. (a) Transform the second order ODE (24) into a system of first-order ODEs. (b) The matrix-vector form of the linear system of ODEs is given by Find the critical point of the system. ( ) dy 0 1 = y. (25) 1 γ λ 11

12 Spiral sink δ= det(a) Spiral source τ 2 = 4δ Sink node Source node Center 0 τ= tr(a) Saddle Saddle Figure 8: Type and stability of a critical point in two dimensions. (c) Study how the type of the fixed point depends on γ, when λ = 1. Name all possible types of critical points and γ ranges at which these types occur. For the critical point classification you may use Figure 8. (d) Sketch the direction field of the system of ODEs with fixed γ = 1/4 and λ = 1. Use eigenvalues and eigenvectors to determine the direction field. Solution: (a) To obtain the first order linear system of ODEs we denote y 0 = x and y 1 = u as vector y components. The resulting system takes the form dy 0 dy 1 = y 1, = (1 γ)y 0 λy 1. (b) We have a linear homogeneous system of ODEs. Therefore, it has a critical point given by y c = (0, 0). Indeed, y c satisfies the critical point equation ( ) 0 1 y 1 γ λ c = 0 12

13 Spiral sink δ= det(a) Spiral source τ 2 = 4δ Sink node Source node Center τ= -1 0 τ= tr(a) Saddle Saddle Figure 9: Type and stability of a critical point in two dimensions. Remark: when γ = 1, our linear system matrix is singular and we have a line of critical points given by y c = (x, 0). (c) The trace of our linear system matrix τ = tr(a) = 1 and the determinant δ = det(a) = γ 1. The density ratio γ 0, therefore, the determinant δ 1. In Figure 9 the vertical line with fixed τ = 1 shows that the critical point can be a spiral sink, sink node, or a saddle. The critical point is a saddle when δ < 0 or γ < 1. As a result the particle will move away from the center of rotation when its density is large than the liquid density. Remark: when γ = 1 we obtain a line of stable critical points. In this case, the particle has the same density as the liquid and in the long time run can be positioned at any x. The critical point is a sink node when δ > 0 and δ < τ 2 /4 = 1/4. Then 1 < γ < 5/4 corresponds to a sink node and the particle will approaches the center of rotation without oscillations. Remark: when γ = 5/4 we have a degenerate node. Finally, when γ > 5/4 the critical point is a spiral sink. Therefore, the particle will move to the center of rotation with oscillations. (d) With given parameters the matrix A takes the form ( ) 0 1 A = Eigenvalues and corresponding eigenvectors are e 1 = 1/2, v 1 = (2, 1) and e 2 = 3/2, 13

14 v 2 = (2, 3). The corresponding direction field is shown in Figure v 2 2 v 1 1 u x Figure 10: Direction field for the system of ODEs with γ = 1/4 and λ = 1. (H*) Exercise 5: Indoor Air Quality Modeling The quality of indoor air can be characterized by the concentration of volatile organic compounds (VOCs). The sources of VOCs may be located outdoors or within a building. In the simplest indoor air quality model, the concentration of VOC is described by two differential equations: V x t = Qc in Qx k a Ax + k d Ay + q, y t = k ax k d y, (26) where the following notations are used: 14

15 x VOC concentration within the room, c in = 1 VOC inflow concentration, V = 64 volume of the room, Q = 192 air inflow and outflow, q = 192 rate of VOC sources inside the room, A = 32 area of reacting surface, k a = 4, k d = 2 ad- and desorption coefficients, y adsorbed concentration of VOC on area A. (a) Use the parameter values from the table above and write the final set of equations for unknowns x and y in the matrix-vector form c/ t = A c + b, where c = [x, y] T. (b) Compute the critical points, and the eigenvalues and eigenvectors of the matrix A R 2 2 of the system c/ t = A c + b. Use the eigenvectors and eigenvalues of matrix A to sketch the x, y direction field. (c) In case the inflow air is clean from VOCs (c in = 0) and there are no VOC sources inside the room (q = 0), formulate the Implicit Euler method for the corresponding ODE from task (a) using a time step size τ. Compute the explicit form of the resulting update scheme for x(t + τ), y(t + τ). Hint: you may use the following formula to invert 2 2 matrices: [ ] 1 a b = c d 1 ad bc [ d ] b c a (27) Solution: (a) After constituting the parameters values into (26) set of equation we obtain: 64 x = x + 64y, t y = 4x 2y. t The matrix-vector form of this set of equations is [ ] x [ ] [ ] t 5 1 x y = y t (b) To compute the critical points we set all time derivatives to zero and solve the following linear system of equations 6 5x + y = 0, 2x y = 0. The solution of this set of equations is x = 2, y = 4. 1 [ ]

16 5.0 v 2 v Figure 11: Direction field for air quality model set of equations. To find the eigenvalues of matrix A we solve the characteristic equation [ ] 5 λ 1 det = (5 + λ)(2 + λ) 4 = λ The roots of the arising differential equation are λ 1 = 1 and λ 2 = 6. The eigenvectors can be computed from the equation: [ ] [ ] 5 λ1,2 1 vx = λ 1,2 v y From this equation we find the corresponding eigenvectors v 1 = c[1 4] and v 2 = c[1 1]. For the direction field of equation (26) see Figure 11. All arrows tend to the critical point. We thus have a single node as a critical point which in the current case represents a stable equilibrium point. (c) The Implicit Euler method reads: c (n+1) = c (n) + τ f (t (n+1), c (n+1) ) 16

17 In the current example, we obtain: [ ] c (n+1) = c (n) τ c (n+1) 4 2 We first bring all contributions invoking c (n+1) to the left side: Inverting the matrix on the left side yields: c (n+1) = [ ] 1 + 5τ τ c 4τ 1 + (n+1) = c (n) 2τ [ ] τ τ 1 + 7τ + 6τ 2 c 4τ 1 + (n) 5τ 17

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems. Review Outline To review for the final, look over the following outline and look at problems from the book and on the old exam s and exam reviews to find problems about each of the following topics.. Basics

More information

Even-Numbered Homework Solutions

Even-Numbered Homework Solutions -6 Even-Numbered Homework Solutions Suppose that the matric B has λ = + 5i as an eigenvalue with eigenvector Y 0 = solution to dy = BY Using Euler s formula, we can write the complex-valued solution Y

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

Section 9.3 Phase Plane Portraits (for Planar Systems)

Section 9.3 Phase Plane Portraits (for Planar Systems) Section 9.3 Phase Plane Portraits (for Planar Systems) Key Terms: Equilibrium point of planer system yꞌ = Ay o Equilibrium solution Exponential solutions o Half-line solutions Unstable solution Stable

More information

MathQuest: Differential Equations

MathQuest: Differential Equations MathQuest: Differential Equations Geometry of Systems 1. The differential equation d Y dt = A Y has two straight line solutions corresponding to [ ] [ ] 1 1 eigenvectors v 1 = and v 2 2 = that are shown

More information

7 Planar systems of linear ODE

7 Planar systems of linear ODE 7 Planar systems of linear ODE Here I restrict my attention to a very special class of autonomous ODE: linear ODE with constant coefficients This is arguably the only class of ODE for which explicit solution

More information

Def. (a, b) is a critical point of the autonomous system. 1 Proper node (stable or unstable) 2 Improper node (stable or unstable)

Def. (a, b) is a critical point of the autonomous system. 1 Proper node (stable or unstable) 2 Improper node (stable or unstable) Types of critical points Def. (a, b) is a critical point of the autonomous system Math 216 Differential Equations Kenneth Harris kaharri@umich.edu Department of Mathematics University of Michigan November

More information

Examples include: (a) the Lorenz system for climate and weather modeling (b) the Hodgkin-Huxley system for neuron modeling

Examples include: (a) the Lorenz system for climate and weather modeling (b) the Hodgkin-Huxley system for neuron modeling 1 Introduction Many natural processes can be viewed as dynamical systems, where the system is represented by a set of state variables and its evolution governed by a set of differential equations. Examples

More information

Numerical Methods for the Solution of Differential Equations

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

More information

Copyright (c) 2006 Warren Weckesser

Copyright (c) 2006 Warren Weckesser 2.2. PLANAR LINEAR SYSTEMS 3 2.2. Planar Linear Systems We consider the linear system of two first order differential equations or equivalently, = ax + by (2.7) dy = cx + dy [ d x x = A x, where x =, and

More information

Math 216 First Midterm 19 October, 2017

Math 216 First Midterm 19 October, 2017 Math 6 First Midterm 9 October, 7 This sample exam is provided to serve as one component of your studying for this exam in this course. Please note that it is not guaranteed to cover the material that

More information

MA 527 first midterm review problems Hopefully final version as of October 2nd

MA 527 first midterm review problems Hopefully final version as of October 2nd MA 57 first midterm review problems Hopefully final version as of October nd The first midterm will be on Wednesday, October 4th, from 8 to 9 pm, in MTHW 0. It will cover all the material from the classes

More information

Part II Problems and Solutions

Part II Problems and Solutions Problem 1: [Complex and repeated eigenvalues] (a) The population of long-tailed weasels and meadow voles on Nantucket Island has been studied by biologists They measure the populations relative to a baseline,

More information

Final 09/14/2017. Notes and electronic aids are not allowed. You must be seated in your assigned row for your exam to be valid.

Final 09/14/2017. Notes and electronic aids are not allowed. You must be seated in your assigned row for your exam to be valid. Final 09/4/207 Name: Problems -5 are each worth 8 points. Problem 6 is a bonus for up to 4 points. So a full score is 40 points and the max score is 44 points. The exam has 6 pages; make sure you have

More information

dy dt = ty, y(0) = 3. (1)

dy dt = ty, y(0) = 3. (1) 2. (10pts) Solve the given intial value problem (IVP): dy dt = ty, y(0) = 3. (1) 3. (10pts) A plot of f(y) =y(1 y)(2 y) of the right hand side of the differential equation dy/dt = f(y) is shown below.

More information

Math 3301 Homework Set Points ( ) ( ) I ll leave it to you to verify that the eigenvalues and eigenvectors for this matrix are, ( ) ( ) ( ) ( )

Math 3301 Homework Set Points ( ) ( ) I ll leave it to you to verify that the eigenvalues and eigenvectors for this matrix are, ( ) ( ) ( ) ( ) #7. ( pts) I ll leave it to you to verify that the eigenvalues and eigenvectors for this matrix are, λ 5 λ 7 t t ce The general solution is then : 5 7 c c c x( 0) c c 9 9 c+ c c t 5t 7 e + e A sketch of

More information

4 Second-Order Systems

4 Second-Order Systems 4 Second-Order Systems Second-order autonomous systems occupy an important place in the study of nonlinear systems because solution trajectories can be represented in the plane. This allows for easy visualization

More information

Practical Course Scientific Computing and Visualization

Practical Course Scientific Computing and Visualization Technische Universität München WT 007/00 Institut für Informatik Dr. Miriam Mehl Tobias Weinzierl Csaba Vigh Practical Course Scientific Computing and Visualization Worksheet distributed: 07..007 due to:

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

Streamline calculations. Lecture note 2

Streamline calculations. Lecture note 2 Streamline calculations. Lecture note 2 February 26, 2007 1 Recapitulation from previous lecture Definition of a streamline x(τ) = s(τ), dx(τ) dτ = v(x,t), x(0) = x 0 (1) Divergence free, irrotational

More information

Chapter 5. Formulation of FEM for Unsteady Problems

Chapter 5. Formulation of FEM for Unsteady Problems Chapter 5 Formulation of FEM for Unsteady Problems Two alternatives for formulating time dependent problems are called coupled space-time formulation and semi-discrete formulation. The first one treats

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

Math 215/255 Final Exam (Dec 2005)

Math 215/255 Final Exam (Dec 2005) Exam (Dec 2005) Last Student #: First name: Signature: Circle your section #: Burggraf=0, Peterson=02, Khadra=03, Burghelea=04, Li=05 I have read and understood the instructions below: Please sign: Instructions:.

More information

Solution: In standard form (i.e. y + P (t)y = Q(t)) we have y t y = cos(t)

Solution: In standard form (i.e. y + P (t)y = Q(t)) we have y t y = cos(t) Math 380 Practice Final Solutions This is longer than the actual exam, which will be 8 to 0 questions (some might be multiple choice). You are allowed up to two sheets of notes (both sides) and a calculator,

More information

Math 266: Phase Plane Portrait

Math 266: Phase Plane Portrait Math 266: Phase Plane Portrait Long Jin Purdue, Spring 2018 Review: Phase line for an autonomous equation For a single autonomous equation y = f (y) we used a phase line to illustrate the equilibrium solutions

More information

ENGI 9420 Lecture Notes 4 - Stability Analysis Page Stability Analysis for Non-linear Ordinary Differential Equations

ENGI 9420 Lecture Notes 4 - Stability Analysis Page Stability Analysis for Non-linear Ordinary Differential Equations ENGI 940 Lecture Notes 4 - Stability Analysis Page 4.01 4. Stability Analysis for Non-linear Ordinary Differential Equations A pair of simultaneous first order homogeneous linear ordinary differential

More information

Math 312 Lecture Notes Linear Two-dimensional Systems of Differential Equations

Math 312 Lecture Notes Linear Two-dimensional Systems of Differential Equations Math 2 Lecture Notes Linear Two-dimensional Systems of Differential Equations Warren Weckesser Department of Mathematics Colgate University February 2005 In these notes, we consider the linear system of

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

Chapter 6 Nonlinear Systems and Phenomena. Friday, November 2, 12

Chapter 6 Nonlinear Systems and Phenomena. Friday, November 2, 12 Chapter 6 Nonlinear Systems and Phenomena 6.1 Stability and the Phase Plane We now move to nonlinear systems Begin with the first-order system for x(t) d dt x = f(x,t), x(0) = x 0 In particular, consider

More information

Find the general solution of the system y = Ay, where

Find the general solution of the system y = Ay, where Math Homework # March, 9..3. Find the general solution of the system y = Ay, where 5 Answer: The matrix A has characteristic polynomial p(λ = λ + 7λ + = λ + 3(λ +. Hence the eigenvalues are λ = 3and λ

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

Kinematics of fluid motion

Kinematics of fluid motion Chapter 4 Kinematics of fluid motion 4.1 Elementary flow patterns Recall the discussion of flow patterns in Chapter 1. The equations for particle paths in a three-dimensional, steady fluid flow are dx

More information

Math 331 Homework Assignment Chapter 7 Page 1 of 9

Math 331 Homework Assignment Chapter 7 Page 1 of 9 Math Homework Assignment Chapter 7 Page of 9 Instructions: Please make sure to demonstrate every step in your calculations. Return your answers including this homework sheet back to the instructor as a

More information

Solutions to Math 53 Math 53 Practice Final

Solutions to Math 53 Math 53 Practice Final Solutions to Math 5 Math 5 Practice Final 20 points Consider the initial value problem y t 4yt = te t with y 0 = and y0 = 0 a 8 points Find the Laplace transform of the solution of this IVP b 8 points

More information

Woods Hole Methods of Computational Neuroscience. Differential Equations and Linear Algebra. Lecture Notes

Woods Hole Methods of Computational Neuroscience. Differential Equations and Linear Algebra. Lecture Notes Woods Hole Methods of Computational Neuroscience Differential Equations and Linear Algebra Lecture Notes c 004, 005 William L. Kath MCN 005 ODE & Linear Algebra Notes 1. Classification of differential

More information

MATH 24 EXAM 3 SOLUTIONS

MATH 24 EXAM 3 SOLUTIONS MATH 4 EXAM 3 S Consider the equation y + ω y = cosω t (a) Find the general solution of the homogeneous equation (b) Find the particular solution of the non-homogeneous equation using the method of Undetermined

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

Math 273 (51) - Final

Math 273 (51) - Final Name: Id #: Math 273 (5) - Final Autumn Quarter 26 Thursday, December 8, 26-6: to 8: Instructions: Prob. Points Score possible 25 2 25 3 25 TOTAL 75 Read each problem carefully. Write legibly. Show all

More information

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015. APPM 23: Final Exam :3am :pm, May, 25. ON THE FRONT OF YOUR BLUEBOOK write: ) your name, 2) your student ID number, 3) lecture section, 4) your instructor s name, and 5) a grading table for eight questions.

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

First Midterm Exam Name: Practice Problems September 19, x = ax + sin x.

First Midterm Exam Name: Practice Problems September 19, x = ax + sin x. Math 54 Treibergs First Midterm Exam Name: Practice Problems September 9, 24 Consider the family of differential equations for the parameter a: (a Sketch the phase line when a x ax + sin x (b Use the graphs

More information

Autonomous systems. Ordinary differential equations which do not contain the independent variable explicitly are said to be autonomous.

Autonomous systems. Ordinary differential equations which do not contain the independent variable explicitly are said to be autonomous. Autonomous equations Autonomous systems Ordinary differential equations which do not contain the independent variable explicitly are said to be autonomous. i f i(x 1, x 2,..., x n ) for i 1,..., n As you

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

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

Lecture 17: Ordinary Differential Equation II. First Order (continued)

Lecture 17: Ordinary Differential Equation II. First Order (continued) Lecture 17: Ordinary Differential Equation II. First Order (continued) 1. Key points Maple commands dsolve dsolve[interactive] dsolve(numeric) 2. Linear first order ODE: y' = q(x) - p(x) y In general,

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. # 05 Ordinary Differential Equations (Refer Slide

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University The Implicit Schemes for the Model Problem The Crank-Nicolson scheme and θ-scheme

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

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below.

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below. 54 Chapter 9 Hints, Answers, and Solutions 9. The Phase Plane 9.. 4. The particular trajectories are highlighted in the phase portraits below... 3. 4. 9..5. Shown below is one possibility with x(t) and

More information

Math 266: Ordinary Differential Equations

Math 266: Ordinary Differential Equations Math 266: Ordinary Differential Equations Long Jin Purdue University, Spring 2018 Basic information Lectures: MWF 8:30-9:20(111)/9:30-10:20(121), UNIV 103 Instructor: Long Jin (long249@purdue.edu) Office

More information

Problem set 7 Math 207A, Fall 2011 Solutions

Problem set 7 Math 207A, Fall 2011 Solutions Problem set 7 Math 207A, Fall 2011 s 1. Classify the equilibrium (x, y) = (0, 0) of the system x t = x, y t = y + x 2. Is the equilibrium hyperbolic? Find an equation for the trajectories in (x, y)- phase

More information

FINAL EXAM MATH303 Theory of Ordinary Differential Equations. Spring dx dt = x + 3y dy dt = x y.

FINAL EXAM MATH303 Theory of Ordinary Differential Equations. Spring dx dt = x + 3y dy dt = x y. FINAL EXAM MATH0 Theory of Ordinary Differential Equations There are 5 problems on 2 pages. Spring 2009. 25 points Consider the linear plane autonomous system x + y x y. Find a fundamental matrix of the

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

Systems of Linear ODEs

Systems of Linear ODEs P a g e 1 Systems of Linear ODEs Systems of ordinary differential equations can be solved in much the same way as discrete dynamical systems if the differential equations are linear. We will focus here

More information

Modeling and Simulation with ODE for MSE

Modeling and Simulation with ODE for MSE Zentrum Mathematik Technische Universität München Prof. Dr. Massimo Fornasier WS 6/7 Dr. Markus Hansen Sheet 7 Modeling and Simulation with ODE for MSE The exercises can be handed in until Wed, 4..6,.

More information

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University Old Math 330 Exams David M. McClendon Department of Mathematics Ferris State University Last updated to include exams from Fall 07 Contents Contents General information about these exams 3 Exams from Fall

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

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

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Michael H. F. Wilkinson Institute for Mathematics and Computing Science University of Groningen The Netherlands December 2005 Overview What are Ordinary Differential Equations

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

8.1 Bifurcations of Equilibria

8.1 Bifurcations of Equilibria 1 81 Bifurcations of Equilibria Bifurcation theory studies qualitative changes in solutions as a parameter varies In general one could study the bifurcation theory of ODEs PDEs integro-differential equations

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

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t) IV. DIFFERENTIAL RELATIONS FOR A FLUID PARTICLE This chapter presents the development and application of the basic differential equations of fluid motion. Simplifications in the general equations and common

More information

Question: Total. Points:

Question: Total. Points: MATH 308 May 23, 2011 Final Exam Name: ID: Question: 1 2 3 4 5 6 7 8 9 Total Points: 0 20 20 20 20 20 20 20 20 160 Score: There are 9 problems on 9 pages in this exam (not counting the cover sheet). Make

More information

Nonlinear Autonomous Systems of Differential

Nonlinear Autonomous Systems of Differential Chapter 4 Nonlinear Autonomous Systems of Differential Equations 4.0 The Phase Plane: Linear Systems 4.0.1 Introduction Consider a system of the form x = A(x), (4.0.1) where A is independent of t. Such

More information

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 4 Material Prof. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University April 15, 2018 Linear Algebra (MTH 464)

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

Math 216 Final Exam 14 December, 2012

Math 216 Final Exam 14 December, 2012 Math 216 Final Exam 14 December, 2012 This sample exam is provided to serve as one component of your studying for this exam in this course. Please note that it is not guaranteed to cover the material that

More information

Math 207 Honors Calculus III Final Exam Solutions

Math 207 Honors Calculus III Final Exam Solutions Math 207 Honors Calculus III Final Exam Solutions PART I. Problem 1. A particle moves in the 3-dimensional space so that its velocity v(t) and acceleration a(t) satisfy v(0) = 3j and v(t) a(t) = t 3 for

More information

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Phase portrait Singular point Separatrix

More information

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016 Math 4B Notes Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: T 2:45 :45pm Last updated 7/24/206 Classification of Differential Equations The order of a differential equation is the

More information

Dynamical Systems & Scientic Computing: Homework Assignments

Dynamical Systems & Scientic Computing: Homework Assignments Fakultäten für Informatik & Mathematik Technische Universität München Dr. Tobias Neckel Summer Term Dr. Florian Rupp Exercise Sheet 3 Dynamical Systems & Scientic Computing: Homework Assignments 3. [ ]

More information

Linearization of Differential Equation Models

Linearization of Differential Equation Models Linearization of Differential Equation Models 1 Motivation We cannot solve most nonlinear models, so we often instead try to get an overall feel for the way the model behaves: we sometimes talk about looking

More information

Chapter 10. Solids and Fluids

Chapter 10. Solids and Fluids Chapter 10 Solids and Fluids Surface Tension Net force on molecule A is zero Pulled equally in all directions Net force on B is not zero No molecules above to act on it Pulled toward the center of the

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

Nonlinear dynamics & chaos BECS

Nonlinear dynamics & chaos BECS Nonlinear dynamics & chaos BECS-114.7151 Phase portraits Focus: nonlinear systems in two dimensions General form of a vector field on the phase plane: Vector notation: Phase portraits Solution x(t) describes

More information

+ i. cos(t) + 2 sin(t) + c 2.

+ i. cos(t) + 2 sin(t) + c 2. MATH HOMEWORK #7 PART A SOLUTIONS Problem 7.6.. Consider the system x = 5 x. a Express the general solution of the given system of equations in terms of realvalued functions. b Draw a direction field,

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

Chapter 9b: Numerical Methods for Calculus and Differential Equations. Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers

Chapter 9b: Numerical Methods for Calculus and Differential Equations. Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers Chapter 9b: Numerical Methods for Calculus and Differential Equations Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers Acceleration Initial-Value Problems Consider a skydiver

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

Third In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 3 December 2009 (1) [6] Given that 2 is an eigenvalue of the matrix

Third In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 3 December 2009 (1) [6] Given that 2 is an eigenvalue of the matrix Third In-Class Exam Solutions Math 26, Professor David Levermore Thursday, December 2009 ) [6] Given that 2 is an eigenvalue of the matrix A 2, 0 find all the eigenvectors of A associated with 2. Solution.

More information

ODE, part 2. Dynamical systems, differential equations

ODE, part 2. Dynamical systems, differential equations ODE, part 2 Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2011 Dynamical systems, differential equations Consider a system of n first order equations du dt = f(u, t),

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

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x Use of Tools from Interactive Differential Equations with the texts Fundamentals of Differential Equations, 5th edition and Fundamentals of Differential Equations and Boundary Value Problems, 3rd edition

More information

Matrix Theory and Differential Equations Practice For the Final in BE1022 Thursday 14th December 2006 at 8.00am

Matrix Theory and Differential Equations Practice For the Final in BE1022 Thursday 14th December 2006 at 8.00am Matrix Theory and Differential Equations Practice For the Final in BE1022 Thursday 14th December 2006 at 8.00am Question 1 A Mars lander is approaching the moon at a speed of five kilometers per second.

More information

Problem set 6 Math 207A, Fall 2011 Solutions. 1. A two-dimensional gradient system has the form

Problem set 6 Math 207A, Fall 2011 Solutions. 1. A two-dimensional gradient system has the form Problem set 6 Math 207A, Fall 2011 s 1 A two-dimensional gradient sstem has the form x t = W (x,, x t = W (x, where W (x, is a given function (a If W is a quadratic function W (x, = 1 2 ax2 + bx + 1 2

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

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide GENERAL INFORMATION AND FINAL EXAM RULES The exam will have a duration of 3 hours. No extra time will be given. Failing to submit your solutions

More information

Integration of Differential Equations

Integration of Differential Equations Integration of Differential Equations Gabriel S. Cabrera August 4, 018 Contents 1 Introduction 1 Theory.1 Linear 1 st Order ODEs................................. 3.1.1 Analytical Solution...............................

More information

Solutions for homework 11

Solutions for homework 11 Solutions for homework Section 9 Linear Sstems with constant coefficients Overview of the Technique 3 Use hand calculations to find the characteristic polnomial and eigenvalues for the matrix ( 3 5 λ T

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

AM205: Assignment 3 (due 5 PM, October 20)

AM205: Assignment 3 (due 5 PM, October 20) AM25: Assignment 3 (due 5 PM, October 2) For this assignment, first complete problems 1, 2, 3, and 4, and then complete either problem 5 (on theory) or problem 6 (on an application). If you submit answers

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

MB4018 Differential equations

MB4018 Differential equations MB4018 Differential equations Part II http://www.staff.ul.ie/natalia/mb4018.html Prof. Natalia Kopteva Spring 2015 MB4018 (Spring 2015) Differential equations Part II 0 / 69 Section 1 Second-Order Linear

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

Calculus C (ordinary differential equations)

Calculus C (ordinary differential equations) Calculus C (ordinary differential equations) Lesson 9: Matrix exponential of a symmetric matrix Coefficient matrices with a full set of eigenvectors Solving linear ODE s by power series Solutions to linear

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

First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 2018

First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 2018 First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 208 () [6] In the absence of predators the population of mosquitoes in a certain area would increase at a rate proportional

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

Department of Mathematics IIT Guwahati

Department of Mathematics IIT Guwahati Stability of Linear Systems in R 2 Department of Mathematics IIT Guwahati A system of first order differential equations is called autonomous if the system can be written in the form dx 1 dt = g 1(x 1,

More information