Systems of differential equations Handout

Similar documents
Higher-order differential equations

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it.

Section 9.8 Higher Order Linear Equations

MATH 54 - HINTS TO HOMEWORK 11. Here are a couple of hints to Homework 11! Enjoy! :)

Systems of Linear ODEs

MATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

MATH 24 EXAM 3 SOLUTIONS

Systems of Linear Differential Equations Chapter 7

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

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014

The Exponential of a Matrix

Problem Score Possible Points Total 150

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

APPM 2360: Midterm exam 3 April 19, 2017

Math 308 Final Exam Practice Problems

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

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

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

MATH 54 - FINAL EXAM STUDY GUIDE

Math 54: Mock Final. December 11, y y 2y = cos(x) sin(2x). The auxiliary equation for the corresponding homogeneous problem is

HINTS - BANK PEYAM RYAN TABRIZIAN

Differential equations

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

Chapter 5. Eigenvalues and Eigenvectors

0 2 0, it is diagonal, hence diagonalizable)

Solutions to Math 53 Math 53 Practice Final

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

Math Ordinary Differential Equations

MathQuest: Differential Equations

Systems of Second Order Differential Equations Cayley-Hamilton-Ziebur

Math 20D Final Exam 8 December has eigenvalues 3, 3, 0 and find the eigenvectors associated with 3. ( 2) det

20D - Homework Assignment 5

EXAM 2 MARCH 17, 2004

Math 304 Answers to Selected Problems

Exam Basics. midterm. 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material.

4. Linear Systems. 4A. Review of Matrices ) , show that AB BA (= A A A).

LS.2 Homogeneous Linear Systems with Constant Coefficients

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

CS 246 Review of Linear Algebra 01/17/19

MATH 2250 Final Exam Solutions

Test #2 Math 2250 Summer 2003

Section 8.2 : Homogeneous Linear Systems

Modal Decomposition and the Time-Domain Response of Linear Systems 1

Even-Numbered Homework Solutions

Math : Solutions to Assignment 10

We have already seen that the main problem of linear algebra is solving systems of linear equations.

1 Systems of Differential Equations

Homogeneous Linear Systems of Differential Equations with Constant Coefficients

MATH 310, REVIEW SHEET 2

Exam in TMA4110 Calculus 3, June 2013 Solution

Homework 3 Solutions Math 309, Fall 2015

MATH 213 Linear Algebra and Ordinary Differential Equations Spring 2015 Study Sheet for Final Exam. Topics

Recall : Eigenvalues and Eigenvectors

18.06 Problem Set 8 Solution Due Wednesday, 22 April 2009 at 4 pm in Total: 160 points.

4. Linear Systems. 4A. Review of Matrices A-1. Verify that =

2 Eigenvectors and Eigenvalues in abstract spaces.

18.06 Problem Set 7 Solution Due Wednesday, 15 April 2009 at 4 pm in Total: 150 points.

Generalized Eigenvectors and Jordan Form

Announcements Monday, November 06

REVIEW FOR EXAM III SIMILARITY AND DIAGONALIZATION

Math 216 Second Midterm 28 March, 2013

Math 312 Final Exam Jerry L. Kazdan May 5, :00 2:00

Exam II Review: Selected Solutions and Answers

Selected Solutions: 3.5 (Undetermined Coefficients)

The Method of Undetermined Coefficients.

Midterm 1 NAME: QUESTION 1 / 10 QUESTION 2 / 10 QUESTION 3 / 10 QUESTION 4 / 10 QUESTION 5 / 10 QUESTION 6 / 10 QUESTION 7 / 10 QUESTION 8 / 10

June 2011 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations

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

π 1 = tr(a), π n = ( 1) n det(a). In particular, when n = 2 one has

Linear Algebra (MATH ) Spring 2011 Final Exam Practice Problem Solutions

Linear Algebra Exercises

Lecture 8: Ordinary Differential Equations

Today. The geometry of homogeneous and nonhomogeneous matrix equations. Solving nonhomogeneous equations. Method of undetermined coefficients

MATH 251 Examination II April 7, 2014 FORM A. Name: Student Number: Section:

MATH 310, REVIEW SHEET

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

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

REVIEW NOTES FOR MATH 266

The minimal polynomial

Dimension. Eigenvalue and eigenvector

Announcements Wednesday, November 01

21 Linear State-Space Representations

Applied Differential Equation. November 30, 2012

Eigenvalues, Eigenvectors, and Diagonalization

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0

Modeling and Simulation with ODE for MSE

Eigenpairs and Diagonalizability Math 401, Spring 2010, Professor David Levermore

Math53: Ordinary Differential Equations Autumn 2004

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

CAAM 335 Matrix Analysis

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

MATH 221, Spring Homework 10 Solutions

Math 216 Second Midterm 16 November, 2017

Announcements Monday, November 13

Summer Session Practice Final Exam

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Homework Solutions: , plus Substitutions

MATH 1553 SAMPLE FINAL EXAM, SPRING 2018

FINAL EXAM MAY 20, 2004

Transcription:

Systems of differential equations Handout Peyam Tabrizian Friday, November 8th, This handout is meant to give you a couple more example of all the techniques discussed in chapter 9, to counterbalance all the dry theory and complicated applications in the differential equations book! Enjoy! :) Note: Make sure to read this carefully! The methods presented in the book are a bit strange and convoluted, hopefully the ones presented here should be easier to understand! Systems of differential equations Find the general solution to the following system: x (t) = x (t) = x 3(t) = x (t) x (t) + 3x 3 (t) x (t) + x (t) x 3 (t) x (t) x (t) + 3x 3 (t) First re-write the system in matrix form: Where: x = Ax x (t) 3 x = x (t) A = x 3 (t) 3

Now diagonalize A: A = P DP, where: D =, P = Note: To find the eigenvalues, solve det(a λi) =. You should get λ =,,. The diagonal entries of D are λ =,,. Then, for each eigenvalue, find a basis for Nul(A λi). The the columns of P are the eigenvectors you found. Then use the following fact: Fact: For each eigenvalue λ and eigenvector v you found, the corresponding solution is x(t) = e λt v Hence here, the solution is: x(t) = Ae t + Be t + C (Note: Here e t = ). Aside: Why does this work? Suppose you want to solve x = Ax, since A = P DP, this becomes: So: x = P DP x x = P D ( P x ) Now let y = P x, so x = P y (remember Peyam, not Pexam). Then the above becomes:

x = P Dy P x = Dy But P is like a constant, so it gets inside the derivative! Finally, use y = P x, and you get: ( P x ) = Dy y = Dy Now solve the system: y = Dy, which is easier to solve: y (t) = y (t) y (t) = y (t) y 3(t) = Which gives you: Finally, use x = P y to get: y (t) = y (t) = y 3 (t) = Ae t Be t Ce t = C x (t) Ae t x (t) = Be t = Ae t + Be t + C x 3 (t) C Note: The matrix: e t e t X(t) = e e t e t (where you essentially ignore the constants A, B, C) is called a fundamental matrix for the system. 3

Complex eigenvalues. Solve the system x = Ax, where: A = [ ] 8 Eigenvalues of A: λ = ± 4i. From now on, only consider one eigenvalue, say λ = + 4i. [ ] i A corresponding eigenvector is Now use the following fact: Fact: For each eigenvalue λ and eigenvector v you found, the corresponding solution is x(t) = e λt v Hence, one solution is: ] x(t) = e ( +4i)t [ i Now split into real and imaginary parts and multiply everything out and group everything back into real and imaginary parts to get: x(t) = ( e t cos(4t) + ie t sin(4t) ) ([ ] [ ]) + i ( [ ] [ ]) = e t cos(4t) e t sin(4t) + i Hence the general solution is: ( x(t) = A e t cos(4t) [ ] e t sin(4t) ( e t sin(4t) [ ]) ( +B e t sin(4t) [ ] + e t cos(4t) [ ] + e t cos(4t) [ ]) [ ]) 4

3 Undetermined coefficients 3. Solve x = Ax + f, where A = [ ] 3 4 [ ] e f(t) = t + cos(t) 4e t As usual, x(t) = x (t) + x p (t), where: x (t) is the general solution to x = Ax x p (t) is one particular solution to x = Ax + f(t) To find x, use the techniques discussed in. To find x p, use: Undetermined coefficients: First group the terms in f which look alike : [ ] [ ] [ ] e t cos(t) f(t) = 4e t + = e t + 4 [ ] cos(t) Now guess: x p = ae t + b cos(t) + c sin(t) where a = [ a a ], b = [ b b ], c = [ c Now plug in x p into the equation x = Ax + f, and solve for a, b, c c ]. Remarks: 5

) Notice how similar this is to our usual way of doing undetermined coefficients! The only difference here is that a is a vector instead of a number! ) Remember to always put a sin(t) term whenever you see a cos(t) term and vice-versa! 3) The same rule about adding a t or not holds in this case too (but it s very rare). 4 Variation of parameters 4. Find the general solution to x = Ax + f, where: 3 e t A = f(t) = ln(t) 3 tan(t) As usual, x(t) = x (t) + x p (t). We already found x (t) in the first example: e t e t x (t) = A e t + B + C e t e t To find x p (t), use: Variation of Parameters: Suppose e t e t x p (t) = v (t) e t + v (t) + v 3 (t) e t e t Consider the (pre)-wronskian (or fundamental matrix): 6

e t e t W (t) = X(t) = e t e t e t (essentially put all the vectors you found in one matrix) And solve: v (t) e t W (t) v (t) = ln(t) v 3(t) tan(t) That is: v (t) ) e v (t) = ( W t (t) ln(t) v 3(t) tan(t) This gives you v, v, v 3. To get v, v, v 3, integrate the equations you found. And finally, to get x p, use: e t e t x p (t) = v (t) e t + v (t) + v 3 (t) e t e t And hence x(t) = x (t) + x p (t). Note: The following formula might come in handy: [ ] [ ] a b IfA = then A d b = c d ad bc c a 7

5 Matrix exponential 5. Find e At, where: A = 4 Eigenvalues of A: λ =, with multiplicity 3. IMPORTANT: The following technique works only in this case (where we have one eigenvalue with full multiplicity). For all the other cases, use the next example. Then: ( ) e t e At = e t I + (A + I)t + (A + I) t = 4te t e t! te t e t Note: If λ had multiplicity, we would stop at (A + I)t. But if it had multiplicity 4, we would add a (A + I) 3 t3 3! term. General method: 5. Find e At, where: A = [ ] 6 35 6 3 Diagonalize A: A = P DP, where: [ ] D =, P = Then: [ ] 5 7 3 [ ] [ ] [ ] 5 7 e e At = P e Dt P t [ ] 5 7 5e = 3 e t = t 4e t 35e t 35e t 3 6e t 6e t 5e t 4e t 8

Point: The general solution to x = Ax is x(t) = e At c, where c is a constant vector! Here, we get: [ ] [ ] 5e x(t) = A t 4e t 35e 6e t 6e t + B t 35e t 5e t 4e t 9