MA282 - DE 3.1 Linear systems and Linearity principles * Linear systems and 2nd order linear equations are most important in this course. Review (1) Linear system with two dependent variables ππ₯ = ππ₯ + ππ¦ ππ‘ { ππ¦ = ππ₯ + ππ¦ ππ‘ where π, π, π, π are constants. In vector notaion, ππ = πΉ(π) ππ‘ where π = (π₯, π¦). (2) 2nd order homogeneous linear equation π2π¦ ππ¦ + π + ππ¦ = 0 ππ‘ 2 ππ‘ It can be converted into a linear system: ππ¦ =π£ { ππ‘ ππ£ = −ππ£ − ππ¦ ππ‘ Matrix notation for linear systems ππ₯ = ππ₯ + π { ππ‘ ππ¦ = ππ₯ + ππ¦ ππ‘ Let π΄ = ( π π π₯ π ) and π = (π¦); then we can rewrite as π ππ₯ π ( ππ‘ ) = ( ππ¦ π ππ‘ 1 π π₯ )( ) π π¦ Or more compactly as ππ = π΄π ππ‘ where π΄ is called the coefficient matrix. Example 1. Partially decoupled system ππ₯ = −π₯ + 2π¦ ππ‘ { ππ¦ =π¦ ππ‘ The general solution is { π₯(π‘) = π¦0 π π‘ + (π₯0 − π¦0 )π −π‘ π¦(π‘) = π¦0 π π‘ where (π₯(0), π¦(0)) = (π₯0 , π¦0 ). Written in vector notation, the general solution is π¦0 π₯ − π¦0 π(π‘) = π π‘ (π¦ ) + π −π‘ ( 0 ) 0 0 Example 2. Damped harmonic oscillator π2π¦ ππ¦ + 3 + 2π¦ = 0 ππ‘ 2 ππ‘ The equivalent system is ππ¦ =π£ { ππ‘ ππ£ = −3π£ − 2π¦ ππ‘ We used the guessing technique to find solutions π¦1 (π‘) = π −2π‘ and π¦2 (π‘) = π −π‘ . (The characteristic equation is π 2 + 3π + 2 = 0. ) In vector notation, −2π‘ 1 π1 (π‘) = ( π −2π‘ ) = π −2π‘ ( ) −2 −2π −π‘ 1 π2 (π‘) = ( π −π‘ ) = π −π‘ ( ) −1 −π 2 Given a linear system ππ ππ‘ = π΄π, how do we calculate the vector field at any given point π0 ? We do matrix multiplication π π₯0 )( ) π π¦0 π π π΄π0 = ( Example ππ₯ =π¦ { ππ‘ ππ¦ = −π₯ ππ‘ ππ₯ 0 1 π₯ ⇔ ( ππ‘ ) = ( )( ) ππ¦ −1 0 π¦ ππ‘ The matrix notation is useful for a large number of dependent variables. How do we calculate the equilibrium points of ππ ππ‘ = π΄π? Need to solve π΄π = π ⇔ ( ο· π π ππ₯ + ππ¦ = 0 − − − ππ1 0 π π₯ ) (π¦) = ( ) ⇔ ππ₯ + ππ¦ = 0 − − − ππ2 0 π Clearly, (0, 0) is a solution, so an equilibrium point. This solution is called the trivial solution. ο· To find other equilibrium points, from eq1, if π ≠ 0, π π₯=− π¦ π Substitute this for π₯ in eq2, π π (− π¦) + ππ¦ = 0 π which is equivalent to (ππ − ππ)π¦ = 0 Hence either ππ − ππ = 0 or π¦ = 0. If π¦ = 0 then π₯ = 0, again we have the trivial solution. Therefore, a linear system has nontrivial equilibrium points only if ππ − ππ = 0. 3 This quantity ππ − ππ is the determinant of the coefficient matrix π΄, denoted detπ¨ or |π¨| Theorem The origin is always an equilibrium point of a linear system. It is only equilibrium point if an only detπ΄ ≠ 0. Linearity Priniciple Return to Example 1. Partially decoupled system. In matrix notation, ππ −1 =( 0 ππ‘ 2 )π 1 Consider three different initial conditions 1 1 2 π1 (0) = ( ), π2 (0) = ( ), π3 (0) = ( ) 0 1 1 They corresponds to the three solutions π‘ −π‘ 1 1 π1 (π‘) = π −π‘ ( ), π2 (π‘) = π π‘ ( ), π3 (π‘) = (π +π‘π ) 0 1 π since { π¦0 π₯(π‘) = π¦0 π π‘ + (π₯0 − π¦0 )π −π‘ π₯ − π¦0 ⇔ π(π‘) = π π‘ (π¦ ) + π −π‘ ( 0 ) π‘ 0 0 π¦(π‘) = π¦0 π Graphs: How are these 3 solutions related? π3 (π‘) = π1 (π‘) + π2 (π‘) 4 Theorem (Linearity Principle) Suppose that ππ = π΄π ππ‘ is a linear system of differential equations. 1. If π(π‘) is a solution and k is a constant, then ππ(π‘) is also a solution. 2. If π1 (π‘), π2 (π‘) are 2 solutions, then π1 (π‘) + π2 (π‘) is also a solution. Therefore the linear combination of π1 (π‘) and π2 (π‘), i.e., π1 π1 (π‘) + π2 π2 (π‘) is a solution of a linear system. Example Solve ππ −1 =( 0 ππ‘ 2 ) π, 1 −1 ) −2 π(0) = ( Note π(π‘) = π1 π1 (π‘) + π2 π2 (π‘) is the solution. Now we can find 1 −1 1 ( ) = π(0) = π1 π1 (0) + π2 π2 (0) = π1 ( ) + π2 ( ) 0 −2 1 π + π2 =( 1 ) π2 ⇒ π2 = −2, π1 = 1 So the solution to IVP is −π‘ π‘ −π‘ π‘ π(π‘) = (π ) − 2 (π π‘ ) = (π − 2π π‘ ) 0 π −2π Question For an arbitrary linear system every IVP? ππ ππ‘ = π΄π, how many solutions do we need to solve Answer 2 Definition Two solutions π1 (π‘), π2 (π‘) of a linear system for which π1 (0), π2 (0) are linearly independent are called linearly independent solutions of the linear system. 1 1 Here, π1 (0) = ( )and π2 (π‘) = ( ) are linearly independent 0 1 ⇔ (1, 0) and (1, 1) do not lie on the same line through the origin. 5