MAT 22B - Lecture Notes

Similar documents
MAT 22B - Lecture Notes

1 The pendulum equation

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

Calculus and Differential Equations II

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

Linearization of Differential Equation Models

Nonlinear Autonomous Systems of Differential

Problem set 7 Math 207A, Fall 2011 Solutions

Complex Dynamic Systems: Qualitative vs Quantitative analysis

1 The relation between a second order linear ode and a system of two rst order linear odes

Math 266: Phase Plane Portrait

Department of Mathematics IIT Guwahati

Stability of Dynamical systems

Phase portraits in two dimensions

Autonomous Systems and Stability

Solutions to Math 53 Math 53 Practice Final

MathQuest: Differential Equations

Solutions for B8b (Nonlinear Systems) Fake Past Exam (TT 10)

7 Planar systems of linear ODE

A plane autonomous system is a pair of simultaneous first-order differential equations,

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

4 Second-Order Systems

In these chapter 2A notes write vectors in boldface to reduce the ambiguity of the notation.

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

MTH 464: Computational Linear Algebra

ECON : diff.eq. (systems).

Section 9.3 Phase Plane Portraits (for Planar Systems)

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

MCE693/793: Analysis and Control of Nonlinear Systems

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

Question: Total. Points:

Dynamical Systems. August 13, 2013

Math Camp Notes: Everything Else

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

Math 215/255: Elementary Differential Equations I Harish N Dixit, Department of Mathematics, UBC

3.3. SYSTEMS OF ODES 1. y 0 " 2y" y 0 + 2y = x1. x2 x3. x = y(t) = c 1 e t + c 2 e t + c 3 e 2t. _x = A x + f; x(0) = x 0.

Nonlinear Control Lecture 2:Phase Plane Analysis

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

Fundamentals of Dynamical Systems / Discrete-Time Models. Dr. Dylan McNamara people.uncw.edu/ mcnamarad

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

Section 8.2 : Homogeneous Linear Systems

Section 5.4 (Systems of Linear Differential Equation); 9.5 Eigenvalues and Eigenvectors, cont d

2.10 Saddles, Nodes, Foci and Centers

Math Ordinary Differential Equations

Linear algebra and differential equations (Math 54): Lecture 19

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

MATH 215/255 Solutions to Additional Practice Problems April dy dt

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Our goal is to solve a general constant coecient linear second order. this way but that will not always happen). Once we have y 1, it will always

Math 312 Lecture Notes Linearization

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.

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

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

Math 2930 Worksheet Final Exam Review

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons:

Solutions to Dynamical Systems 2010 exam. Each question is worth 25 marks.

Differential Equations 2280 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 2015 at 12:50pm

Math 20D: Form B Final Exam Dec.11 (3:00pm-5:50pm), Show all of your work. No credit will be given for unsupported answers.

Lecture 2: Review of Prerequisites. Table of contents

LECTURE 8: DYNAMICAL SYSTEMS 7

Matrices and Deformation

Lecture Notes for Math 251: ODE and PDE. Lecture 27: 7.8 Repeated Eigenvalues

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

Nonlinear dynamics & chaos BECS

Even-Numbered Homework Solutions

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

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

Systems of Ordinary Differential Equations

Mathematical Foundations of Neuroscience - Lecture 7. Bifurcations II.

MITOCW ocw f99-lec23_300k

Linear Planar Systems Math 246, Spring 2009, Professor David Levermore We now consider linear systems of the form

CDS 101 Precourse Phase Plane Analysis and Stability

Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be.

Classification of Phase Portraits at Equilibria for u (t) = f( u(t))

Math 322. Spring 2015 Review Problems for Midterm 2

Systems of Linear ODEs

Dynamical Systems & Scientic Computing: Homework Assignments

PHY411 Lecture notes Part 5

You may use a calculator, but you must show all your work in order to receive credit.

Matrix-Exponentials. September 7, dx dt = ax. x(t) = e at x(0)

An Undergraduate s Guide to the Hartman-Grobman and Poincaré-Bendixon Theorems

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

3 Stability and Lyapunov Functions

Instructor (Brad Osgood)

4. Complex Oscillations

MITOCW MITRES18_005S10_DiffEqnsMotion_300k_512kb-mp4

Nonlinear differential equations - phase plane analysis

B. Differential Equations A differential equation is an equation of the form

ENGI Duffing s Equation Page 4.65

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces

Qualitative Analysis of Tumor-Immune ODE System

DIFFERENTIAL EQUATIONS

Chapter 8 Equilibria in Nonlinear Systems

Chapter #4 EEE8086-EEE8115. Robust and Adaptive Control Systems

MIDTERM REVIEW AND SAMPLE EXAM. Contents

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

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

Copyright (c) 2006 Warren Weckesser

EE222 - Spring 16 - Lecture 2 Notes 1

ENGI Linear Approximation (2) Page Linear Approximation to a System of Non-Linear ODEs (2)

Transcription:

MAT 22B - Lecture Notes 4 September 205 Solving Systems of ODE Last time we talked a bit about how systems of ODE arise and why they are nice for visualization. Now we'll talk about the basics of how to solve linear systems, with some linear algebra review along the way. The model system we will consider is rst order, linear, homogeneous, and has constant coecients. That is, we can write the system as d y dt = A y where y is an n-dimensional vector depending on time t and A is a xed n n matrix. Eigenvectors and Eigenvalues As we noticed before, eigenvector/eigenvalue pairs provide us with solutions to the ODE above. To recall, say y 0 is an eigenvector of A with eigenvalue λ. That is, we have A y 0 = λ y 0 so that A acts on y 0 by simply stretching it by a factor λ. We might sometimes refer to ( y 0, λ) as an eigenpair, to emphasize that they come together - the eigenvalue means nothing unless we know the corresponding eigenvector, and vice versa. Given such an eigenpair, we can construct a vector-valued function of t, by the formula y(t) = e λt y 0 If you visualize this function as a point moving around n-dimensional space through time, then it traces out a straight line, which is the ray spanned by y 0. If λ > 0, then y(t) will get longer (i.e. move away from the origin) as t increases, and if λ < 0, then y(t) will move towards the origin as t increases. The key thing about this function is that it is a solution to the ODE. To see this, we can compute each side of the equation. First, the derivative is d y dt = d dt (eλt ) y 0 = λe λt y 0

Next, the matrix A acts on this function as A y(t) = Ae λt y 0 = e λt A y 0 = λe λt y 0 where we have used that matrix multiplication is linear (i.e. that A(c x + c 2 x 2 ) = c A x + c 2 A x 2 ). So, viola! The function y(t) satises the ODE. Fundamnetal Sets of Solutions - Just like before Based on the line of reasoning we followed solving rst and second order equations, the next logical step should be to determine if we've captured all the solutions to the ODE. This question warrants thinking about the set of solutions we can expect to nd. First, when our system is linear and homogeneous, the set of solutions form a vector space - that is, we can take linear combinations of solutions and get another solution. In symbols, we have that for any constants c, c 2 and any two solutions y, y 2 to the ODE, the function y = c y + c 2 y 2 is also a solution. The proof works just how it did in the scalar case: (c y + c 2 y 2 ) = c y + c 2 y 2 = c A y + c 2 A y 2 = A (c y + c 2 y 2 ) Since the set of solutions forms a vector space, it has a basis. ( y, y 2,..., y n ), then every solution will be of the form If we nd such a basis, say c y + c 2 y 2 +... + c n y n for some choice of contants (c i ). The key issue now is to gure out where to look for such a basis, and how to know when we've found it. The discussion of eigenvectors above indicates that this might be a fruitful place to look for solutions that might form a basis. To check whether we've gotten everything, we'll do something just like we did in the second-order scalar case: make sure that we can meet any initial condition we might want to impose. That is, given some collection of solutions ( y, y 2,..., y n ) and an initial condition y(0) = y 0, we want to make sure there exist constants (c,..., c n ) so that c y (0) +... + c n y n (0) = y 0 From linear algebra, this is the case precisely if the set of vectors { y (0), y 2 (0),..., y n (0)} is linearly independent. Equivalently, we can write the equation above in matrix form as y (0) y 2 (0)... y n(0) c y 2(0) y2 2 (0)... y2 n(0) c 2.... y n(0) yn 2 (0)... yn n(0) y 0 y 2 0 =. c 4 y0 n 2 or Ψ(0) c = y 0

where superscripts specify components of the various vectors, i.e. y (0) y 2 y (0) = (0). y n(0) So, to check if the matrix equation above as a solution c for every initial condition vector y 0, we can check if the determinant of the matrix Ψ(0) is or is not zero. The Phase Plane Because we're rather short on time to give the general treatement of systems of ODE, we're skipping ahead to chapter 9 to see how the linear, constant coecient, homogeneous claptrap we've been peddling all session is really more powerful and informative than you might initially think. For the remainder of the discussion, we'll focus on a two-dimensional ODE. That is, solutions will be functions of time which take values in the plane. To start, we'll consider systems of the form x = A x and consider the dierent kinds of solutions we can get, based on the eigenvalues and eigenvectors of A. To be clear, x is a two-dimensional vector, and A is a 2 2 matrix. Notice that regardless of A, the function x(t) = 0 is always a solution of the system. A boring solution, but a solution. Recalling our discussion of autonomous equations, we say that x = 0 is an equilibrium point of the system. In our discussion before, we talked about the stability of equilibria, in terms of whether nearby trajectories move towards or away from the equilibrium. We'll do the same thing in the two-dimensional case, and nd that there are decidedly more possibilities for what kind of stability an equilibrium can possess (and there become yet more in higher dimensions). Real, Distinct Eigenvalues Let's say A has two distinct, real eigenvalues λ and λ 2 with eigenvectors ξ and ξ 2, respectively. Then the function x = c ξ e λ t + c 2 ξ2 e λ 2t is a solution to the system for any c, c 2. How can we visualize this? Well, that depends. If λ and λ 2 are both positive, then every solution goes away to innity as t. In this case, we say that the equilibrium x = 0 is an unstable node. Likewise, if both λ and λ 2 are negative, then every solution will approach 0 as t. In this case, we say that the equilibrium x = 0 is a stable node. If λ and λ 2 have opposite signs, however, the behavior is more interesting. Say λ > 0 and λ 2 < 0. Then if c 0 in the above expression, then x(t) contains a term that will grow very large as t (namely, e λ t ). However, if c = 0, then the only term left is c 2 ξ2 e λ 2t, which approaches zero as t. 3

This is a situation we don't see for one-dimensional rst order equations. For many initial conditions, the trajectory will run o to innity, but for some initial conditions, the trajectory will go towards the xed point x = 0. In this case, we say that the equilibrium is a saddle or saddle point. To see why, consider rolling a ball on a saddle-shaped surface. The ball will settle down into the middle if rolled exactly at the right angle, but will fall o and move away from the middle otherwise. Repeated Eigenvalues Degenerate node. The interesting/complicated ratio is too low to talk about right now. Complex Eigenvalues We can do some abstract junk with complex solutions and yadda yadda but there's a simpler way to deal with the system in our current (2D) setting. Consider the system x λ µ = x µ λ You can check that the matrix above has eigenvalues λ ± iµ. In scalar form, we have x = λx + µx 2 x 2 = µx + λx 2 Since your brain should by now be primed to think rotation whenever you see complex numbers, let's convert to polar coordinates. Recall r 2 = x 2 + x 2 2, tan θ = x 2 x We're going to convert the system into ODEs for r and θ. Dierentiating the rst equation with respect to t we get so r = λr. What a relief! Now for θ 2rr = 2x x + 2x 2 x 2 rr = x (λx + µx 2 ) + x 2 ( µx + λx 2 ) rr = λ x 2 + x 2 2 = λr 2 sec 2 θ θ = x x 2 x 2x x 2 sec 2 θ θ = x 2 (x ( µx + λx 2 ) x 2 (λx + µx 2 )) sec 2 θ θ = µ(x2 + x2 2 ) x 2 = µ r2 x 2 4

By geometry, cos θ = x r, so this reduces to θ = µ. WAHOO. As if by magic, these coupled dierential equations for x and x 2 have turned into a pair of uncoupled equations for r and θ. We can solve them in a moment; r(t) = r 0 e λt, θ(t) = θ 0 µt In other words, the point x(t) rotates around the origin at frequency µ, and moves either towards or away from the origin in a way dictated by λ. If λ > 0, then all trajectories go o to innity as t, and we say that the origin is an unstable spiral. Conversely, if λ < 0, all trajectories fall into the origin, and we call the origin a stable spiral. Pure Imaginary Eigenvalues You may notice that we left out the case λ = 0 above. It's not that dierent from the spiral case, except that trajectories neither move towards nor away from the origin. In this case the origin is called a center. It has neutral stability. This happens with an undamped mass on a spring - oscillations continue forever and ever, without dying out or blowing up to innity. Approximating a Nonlinear ODE by a Linear ODE near an equilibrium point If I have a nonlinear two-dimensional ODE x = F ( x) then I can nd its equilibria, that is, vectors x such that F ( x ) = 0, so that a trajectory that starts there will never leave. It turns out that if F is smooth enough, we can classify its equilibria into exactly the same categories as we just found above. This is because of the multi-dimensional Taylor's formula. The idea is to approximate F by a simpler function in the vicinity of some interesting behavior - in this case, an equilibrium. Taylor's formula does exactly that. We have F ( x) = F ( x ) + d F d x ( x x ) + O (( x x ) 2) where the rst derivative is the Jacobian, dened as d F d x = ( df dx df 2 dx 2 df 2 df dx dx 2 and all the functions are to be evaluated at the point x (where we are centering the Taylor expansion). Given also that F ( x ) = 0, we have that for x near x, x J x where J is the Jacobian matrix we just dened. So near the equilibrium, this ODE looks just like a homogeneous, linear system with constant coecients! All the analysis above then carries through and we can talk about equilibria being saddles, nodes, spirals, and so on. If this revs your engine, take MAT 9 next time it's oered. The A quarter starts with this stu, and the B quarter gets into chaos theory. ) 5