Eigenvalues and Eigenvectors, More Direction Fields and Systems of ODEs

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

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

1 The pendulum equation

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

Matrices and Linear Algebra

Chapter 5. Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors

Linear Algebra - Part II

Eigenvalues, Eigenvectors, and Diagonalization

Math 250B Midterm III Information Fall 2018 SOLUTIONS TO PRACTICE PROBLEMS

Calculating determinants for larger matrices

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Elementary Linear Algebra

Recall : Eigenvalues and Eigenvectors

Systems of Linear ODEs

Announcements Wednesday, November 7

Linear algebra II Tutorial solutions #1 A = x 1

Properties of Linear Transformations from R n to R m

Symmetric and anti symmetric matrices

MATH 1553-C MIDTERM EXAMINATION 3

Solutions Problem Set 8 Math 240, Fall

Math 240 Calculus III

235 Final exam review questions

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Some Notes on Linear Algebra

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Generalized Eigenvectors and Jordan Form

MATH 423 Linear Algebra II Lecture 20: Geometry of linear transformations. Eigenvalues and eigenvectors. Characteristic polynomial.

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

Math 215 HW #9 Solutions

Math Ordinary Differential Equations

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Algebra. Carleton DeTar February 27, 2017

Eigenvalues and Eigenvectors. Review: Invertibility. Eigenvalues and Eigenvectors. The Finite Dimensional Case. January 18, 2018

Linear Algebra Review

Diagonalization of Matrices

LINEAR ALGEBRA KNOWLEDGE SURVEY

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].

Section 8.2 : Homogeneous Linear Systems

1. Diagonalize the matrix A if possible, that is, find an invertible matrix P and a diagonal

18.06 Professor Strang Quiz 3 May 2, 2008

EE263: Introduction to Linear Dynamical Systems Review Session 5

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

Tutorial 6 (week 6) Solutions

What s Eigenanalysis? Matrix eigenanalysis is a computational theory for the matrix equation

Math Matrix Algebra

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

Eigenvalues and Eigenvectors. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Linear Algebra for Machine Learning. Sargur N. Srihari

Announcements Monday, November 13

Lecture 13 - Wednesday April 29th

Proofs for Quizzes. Proof. Suppose T is a linear transformation, and let A be a matrix such that T (x) = Ax for all x R m. Then

Solutions to Math 53 Math 53 Practice Final

Practice problems for Exam 3 A =

8-15. Stop by or call (630)

Section 4.3 Vector Fields

MSc Mas6002, Introductory Material Mathematical Methods Exercises

Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

A Note on the Eigenvalues and Eigenvectors of Leslie matrices. Ralph Howard Department of Mathematics University of South Carolina

Linear algebra II Homework #1 solutions A = This means that every eigenvector with eigenvalue λ = 1 must have the form

and let s calculate the image of some vectors under the transformation T.

MATH 221, Spring Homework 10 Solutions

Announcements Wednesday, November 7

Dimension. Eigenvalue and eigenvector

4. Linear transformations as a vector space 17

Math 107: Calculus II, Spring 2015: Midterm Exam II Monday, April Give your name, TA and section number:

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0

Repeated Eigenvalues and Symmetric Matrices

NAME: MA Sample Final Exam. Record all your answers on the answer sheet provided. The answer sheet is the only thing that will be graded.

Lecture 2: Eigenvalues and their Uses

Practice Final Exam Solutions for Calculus II, Math 1502, December 5, 2013

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

A simple dynamic model of labor market

Matrices and Deformation

Eigenspaces and Diagonalizable Transformations

Mathematics 1EM/1ES/1FM/1FS Notes, weeks 18-23

33AH, WINTER 2018: STUDY GUIDE FOR FINAL EXAM

NOTES ON LINEAR ALGEBRA CLASS HANDOUT

Eigenvalues and Eigenvectors

Systems of Linear Differential Equations Chapter 7

21 Linear State-Space Representations

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

Diagonalization. Hung-yi Lee

Eigenvalues and Eigenvectors

Linear Algebra: Matrix Eigenvalue Problems

Linear Algebra Practice Problems

Math 322. Spring 2015 Review Problems for Midterm 2

Chapter 7. Canonical Forms. 7.1 Eigenvalues and Eigenvectors

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Information About Ellipses

Lecture 10: Powers of Matrices, Difference Equations

What is on this week. 1 Vector spaces (continued) 1.1 Null space and Column Space of a matrix

MIT Final Exam Solutions, Spring 2017

Chapter 2 Notes, Linear Algebra 5e Lay

SOLUTIONS: ASSIGNMENT Use Gaussian elimination to find the determinant of the matrix. = det. = det = 1 ( 2) 3 6 = 36. v 4.

Eigenvalues and diagonalization

Usually, when we first formulate a problem in mathematics, we use the most familiar

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

Transcription:

Eigenvalues and Eigenvectors, More Direction Fields and Systems of ODEs First let us speak a bit about eigenvalues. Defn. An eigenvalue λ of an nxn matrix A means a scalar (perhaps a complex number) such that Av=λv has a solution v which is not the 0 vector. We call such a v an eigenvector of A corresponding to the eigenvalue λ. Note that Av=λv if and only if 0 = Av-λv = (A- λi)v, where I is the nxn identity matrix. Moreover, (A-λI)v=0 has a non-0 solution v if and only if det(a-λi)=0. This gives: Theorem. The scalar λ is an eigenvalue of the nxn matrix A if and only if det(a-λi)=0. Eigenvalue Example. Find the eigenvalues of the matrix 2 A =. 2 By the preceding theorem, we need to solve det λ det(a-λi)=0. That is 2 0 2 0 2 λ = det = 0. 2 λ

(2+λ) 2 -=0 4+4λ+λ 2 -=0 3+4λ+λ 2 =0 (3+λ)(+λ)=0 λ=-,-3. These are the eigenvalues of A. You can use Gaussian elimination to find the corresponding eigenvectors. (A+3I)v=0 is solved as follows: 2 3 0 A+ 3 I = + =. 2 0 3 To find v, do the Gauss thing: 0 0. 0 0 0 0 Here we replaced row 2 by row 2 row. Now a solution v of (A+3I)v=0 means v = + = v such that v v2 v2 So v =-v 2. Take v 2 =- (the free unknown coefficient) and then v =. An eigenvector of A for the eigenvalue -3 is v =. 0. Any scalar multiple of v is also an eigenvector. 2

Similarly we find a solution w of (A+I)w=0. 2 0 A+ I = + =. 2 0 0 0. 0 0 0 0 Here we replaced row 2 by row 2 + row. Now a solution of (A+I)w=0 means w = + = w such that w w2 w2 Taking the free variable w 2 =, we see w =. An eigenvector of A corresponding to the eigenvalue - is w =. Any scalar multiple of w is also an eigenvector. 0. ODE Example. Consider a system of st order ODEs corresponding to the matrix A above: x =Ax. This means ' x () t 2 x() t 2 x() t + x2() t. ' = = x 2 2() t x2() t x() t 2 x2() t 3

We can get Matlab to plot tangent vectors to solutions. Matlab s program pplane7 (in next week s Matlab assignment) will plot tangent lines to solution curves by noting that the chain rule says: dx2 dx2 dt x() t 2 x2() t = =. dx dx 2 x( t) + x2( t) dt So the slope of the tangent at x =, x 2 =3 is (-2*3)/( -2+3)=-5, for example. Look at the direction field picture below and check it! In Matlab, we set x =x and x 2 =y. Given a system of st order ODEs: x =f(x,t), y =g(x,t), the arrows at point (x,y) have slope dy/dx = g/f. Think about the slope of the line (we found to be -5) at (,3). 4

x ' = - 2 x + y y ' = x - 2 y 5 4 3 2 y 0 - -2-3 -4-5 -5-4 -3-2 - 0 2 3 4 5 x Next we plot a few solutions starting at points with y coordinate 3 and x coordinates -3,0,,3. It looks like all the solutions end up going through the origin. 5

x ' = - 2 x + y y ' = x - 2 y 5 4 3 2 y 0 - -2-3 -4-5 -5-4 -3-2 - 0 2 3 4 5 To understand what is happening, let s make use of our eigenvectors of A: v = w = for the eigenvalue -3 for the eigenvalue -. 6

The corresponding solutions of the differential equation ' x () t 2 x() t 2 x() t + x2() t ' = = x 2 2() t x2() t x() t 2 x2() t are the vectors: x=e -3t v & x=e -t w. Check that it works. To check that x=e -3t v solves our ODE: de ' x 2 () t dx e? ' = = ( ) x 2 2() t d e e dx The left hand side is The right hand side is de dx = e ( d e ) dx 3. 2 e 3 e. = 2 e A similar check will work for x=e -t w. We leave that to you. 7

So our solutions for the ODE are: t e e and. 3 t t e e The st solution lies on the line y=-x (direction determined by the eigenvector v of A). The 2nd is on the line y=x (direction determined by the eigenvector w of A). These are the 2 lines visible in our plot of solutions. The first solution is in the second quadrant. The second solution is in the first quadrant. The general solution of the ODE has the form: t x e e = c c + 2 t y e e t ce + ce 2 =. t ce + ce 2 Here c and c 2 are scalars. It follows that as t goes to infinity the solution point (x,y) approaches (0,0). 8

ODE Example 2. In the next section (7.6) we consider the case of complex eigenvalues for the matrix A in x =Ax. x ' = y y ' = - x 0 8 6 4 2 y 0-2 -4-6 -8-0 -0-8 -6-4 -2 0 2 4 6 8 0 x 9

Here we plot the direction field for x =y, y =-x which is the separable equation dy/dx = (dy/dt)/(dx/dt) = -x/y. The slopes of direction lines are -x/y. (ODE is separable. So ydy=-xdx and x 2 +y 2 =c. Circles!) Now x =y, y =-x is the matrix equation x ' 0 x =. y' 0 y To find the eigenvalues, solve det(a-λi)=0=λ 2 +. The eigenvalues are i and -i, where i= -. Matlab can find eigenvalues of our matrix with the command: eig([0 ;- 0]). It responds: 0 +.0000i 0 -.0000i You might want to use Matlab for eigenvalue problems with matrices larger than 2x2. 0

ODE Example 3. Consider the system of ODEs: x =x+y, y =y The matrix here is 0 which has as a repeated eigenvalue (a double root of det(a-λi)=0. But there is only a dimensional space of eigenvectors v. The matrix is then called deficient. We study this sort of thing in Section 7.8. To get 2 fundamental solutions of the ODE system, we take the first solution e t v and multiply it by t. Sound familiar? We discuss this in more detail next week. x ' = x + y y ' = y

ODE Example 4. Matlab can also draw direction fields and solution curves for non-linear systems of first order equations. Here we do predator prey equations x =x(-y), y =y(x-). Start the big curve solutions with x=6, y=3. The middle curve had x=3 y=2. The smaller curve had x=y=2. x ' = x ( - y) y ' = y (x - ) 0 8 6 4 2 y 0-2 -4-6 -8-0 -0-8 -6-4 -2 0 2 4 6 8 0 x 2