Boyce - DiPrima 7.9, Nonhomogeneous Linear Systems

Similar documents
Applied Differential Equation. November 30, 2012

APPM 2360: Midterm exam 3 April 19, 2017

MATH 2250 Final Exam Solutions

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

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

Problem Score Possible Points Total 150

We shall finally briefly discuss the generalization of the solution methods to a system of n first order differential equations.

Advanced Mechatronics Engineering

Test #2 Math 2250 Summer 2003

Math 331 Homework Assignment Chapter 7 Page 1 of 9

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

4. Higher Order Linear DEs

Lecture 31. Basic Theory of First Order Linear Systems

Math 215/255 Final Exam (Dec 2005)

Math 308 Final Exam Practice Problems

Advanced Control Theory

MathQuest: Differential Equations

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

Study guide - Math 220

Review Problems for Exam 2

Second Order Linear Equations

A Second Course in Elementary Differential Equations

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.

9 - Matrix Methods for Linear Systems

INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

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

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:

ECEN 605 LINEAR SYSTEMS. Lecture 7 Solution of State Equations 1/77

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

I have read and understood the instructions regarding academic dishonesty:

Section 2.4 Linear Equations

State will have dimension 5. One possible choice is given by y and its derivatives up to y (4)

Lecture 2. Classification of Differential Equations and Method of Integrating Factors

Identification Methods for Structural Systems

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.

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Ma 227 Review for Systems of DEs

Section 9.8 Higher Order Linear Equations

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

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

State Variable Analysis of Linear Dynamical Systems

20D - Homework Assignment 5

Section 1.4: Second-Order and Higher-Order Equations. Consider a second-order, linear, homogeneous equation with constant coefficients

Sec. 7.4: Basic Theory of Systems of First Order Linear Equations

Diagonalization. P. Danziger. u B = A 1. B u S.

Differential equations

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS

MATH 307: Problem Set #7

Math Ordinary Differential Equations

LS.5 Theory of Linear Systems

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

Calculus C (ordinary differential equations)

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

Using Abel's Theorem to Explain Repeated Roots of the Characteristic Equation

1 Systems of Differential Equations

Algebraic Properties of Solutions of Linear Systems

MATH 308 Differential Equations

Sign the pledge. On my honor, I have neither given nor received unauthorized aid on this Exam : 11. a b c d e. 1. a b c d e. 2.

Math Shifting theorems

Theory of Linear Systems Exercises. Luigi Palopoli and Daniele Fontanelli

MATH 24 EXAM 3 SOLUTIONS

3. Identify and find the general solution of each of the following first order differential equations.

MATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

Mathematical Models of Systems

V 1 V 2. r 3. r 6 r 4. Math 2250 Lab 12 Due Date : 4/25/2017 at 6:00pm

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1

MathQuest: Differential Equations

Time Response Analysis (Part II)

LTI Systems (Continuous & Discrete) - Basics

Answer Key b c d e. 14. b c d e. 15. a b c e. 16. a b c e. 17. a b c d. 18. a b c e. 19. a b d e. 20. a b c e. 21. a c d e. 22.

Solutions to Final Exam Sample Problems, Math 246, Spring 2011

A First Course in Elementary Differential Equations: Problems and Solutions. Marcel B. Finan Arkansas Tech University c All Rights Reserved

374: Solving Homogeneous Linear Differential Equations with Constant Coefficients

Non-homogeneous equations (Sect. 3.6).

Homogeneous Linear Systems of Differential Equations with Constant Coefficients

Higher Order Linear Equations Lecture 7

Section 6.4 DEs with Discontinuous Forcing Functions

2 nd order Linear Homogeneous DEs with Non-Constant Coefficients

MA 266 Review Topics - Exam # 2 (updated)

Nonhomogeneous Equations and Variation of Parameters

Chapter 4: Higher Order Linear Equations

Math 333 Qualitative Results: Forced Harmonic Oscillators

MATH 251 Examination II April 4, 2016 FORM A. Name: Student Number: Section:

Solution of Linear State-space Systems

One-Sided Laplace Transform and Differential Equations

Solutions to Math 53 Math 53 Practice Final

EE C128 / ME C134 Midterm Fall 2014

agree w/input bond => + sign disagree w/input bond => - sign

Solutions to Final Exam Sample Problems, Math 246, Spring 2018

Solutions of the Sample Problems for the Third In-Class Exam Math 246, Fall 2017, Professor David Levermore

Jim Lambers MAT 285 Spring Semester Practice Exam 2 Solution. y(t) = 5 2 e t 1 2 e 3t.

= e t sin 2t. s 2 2s + 5 (s 1) Solution: Using the derivative of LT formula we have

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

EE263: Introduction to Linear Dynamical Systems Review Session 6

REVIEW NOTES FOR MATH 266

MAT292 - Calculus III - Fall Solution for Term Test 2 - November 6, 2014 DO NOT WRITE ON THE QR CODE AT THE TOP OF THE PAGES.

Chapter 3 : Linear Differential Eqn. Chapter 3 : Linear Differential Eqn.

3. Identify and find the general solution of each of the following first order differential equations.

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 1

Transcription:

Boyce - DiPrima 7.9, Nonhomogeneous Linear Systems Section 7.9, pp. 49--440:, 7, 11, 15 (vop) Additional problems: 1 (diagonalization) Initialization In[77]:= In[78]:= Import"ColorNames.m" DiffEqs` Example 7.9.1, Nonhomogeneous Linear System: Diagonalize the system Find the general solution of the following system. In[79]:= Cleara, x, x1, x, g, t, eqn, Λ, Λ1, Λ, Ξ, Ξ1, Ξ, Η, c1, c; a 1 1 ; gt_ t t ; eqn : x't a.xt gt; Compute the eigensystem for this matrix. In[74]:= Out[74]= Λ Λ1, Λ Eigenvaluesa, 1 There are two real and distinct eigenvalues. In[744]:= Out[744]= Ξ Ξ1, Ξ Eigenvectorsa 1, 1, 1, 1 Assemble two solutions of the homogeneous linear system.

7.9 nonhomogeneous linear systems web.nb In[745]:= x1t_ Ξ1 Λ1 t xt_ Ξ Λ t Out[745]= t, t Out[746]= t, t Verify that x1[t] and x[t] are solutions of the homogeneous equation. In[747]:= Clearx; homogeneouseqn : x't a.xt; xt_ x1t; homogeneouseqn xt_ xt; Out[750]= Out[75]= homogeneouseqn Simplify Verify that these two solutions are linearly independent. In[75]:= Out[75]= wronskian Detx1t, xt 4 t Assemble a general solution of the homogeneous equation. In[754]:= xt_ c1 x1t c xt; Out[755]= homogeneouseqn Simplify In[756]:= Now, we seek to diagonalize the system. T TransposeΞ; DiagonalMatrixΛ; Out[757]//MatrixForm= 1 1 1 1 Out[759]//MatrixForm= 0 0 1 Use the change of variables x = T.y.

7.9 nonhomogeneous linear systems web.nb In[760]:= Cleary, y1, y; yt_ y1t, yt; xt T.yt; eqny y't.yt InverseT.gt Flatten; Out[764]= sys ThreadeqnY y1 t t t y1t, y t t t yt Solve the resulting unlinked system of equations for y1[t] and y[t]. In[765]:= Out[765]= soln DSolvesys, y1t, yt, t Flatten Apart y1t t 1 6 1 t t C1, yt 1 t t t C Capture that result. In[766]:= Out[766]= y1t, yt y1t, yt. soln t 1 6 1 t t C1, 1 t t t C In[767]:= Out[768]//MatrixForm= Construct the solution to the original equation. xt_ T.yt; t 1 6 1 t 1 t t C1 t t C t 1 t 1 6 1 t t C1 t t C Rewrite x[t] as the sum of a particular solution plus the general solution to the homogeneous equation. In[769]:= xt 1 1 1 t 1 4 5 1 t 1 1 t t C1 1 1 t C 1 1 t ; Check this by comparing components. In[770]:= xt 1 1 1 t 1 4 5 1 t Out[770]= 1 1 t t C1 1 1 t C 1 1 t Flatten Simplify Check that x[t] satisfies the original equation. In[771]:= eqn : x't a.xt gt Flatten; Out[77]= eqn Simplify

4 7.9 nonhomogeneous linear systems web.nb Example 7.9., Nonhomogeneous Linear System: Undetermined coefficients Find the general solution of the following system. In[77]:= Cleara, x, x1, x, g, t, eqn, Λ, Λ1, Λ, Ξ, Ξ1, Ξ, Η, c1, c; a 1 1 ; gt_ t t ; eqn : x't a.xt gt; Rewrite g[t]. In[777]:= Out[777]= gt 0 t 0 t Posit a solution of the following form, since -1 is an eigenvalue of the matrix A. In[778]:= Cleara, b, c, d, k; xt_ a t t b t c t d; Substitute x[t] into the original equation. In[780]:= a t a t t b t c A.a t t b t c t d gt; Equate the coefficients of the linearly independent functions to 0. In[781]:= A 1 1 ; A.a a; A.b a b 0 ; A.c 0 ; A.d c; From the first equation, a is an eigenvector of A belonging to eigenvalue - 1. In[786]:= a Α 1 1 ; From the second equation,...

7.9 nonhomogeneous linear systems web.nb 5 In[787]:= b b1 b ; A.b Α 1 1 b 0 ; eqn A. b1 b Α 1 b1 1 b Flatten; 0 eqns b1 b b1 Α, b1 b b Α; Solveeqns, b1, b, Α Flatten Out[791]= Solve::ivar : 1 is not a valid variable. Solve b1 b 1 b1, b1 b 1 b, b1, b, 1 Hence,... In[79]:= Α 1; a 1 1 ; b 1 b b ; Solve the remaining two equations. In[795]:= A.c 0 ; Out[796]= soln SolveA. c1 c 0, c1, c c c1. soln Flatten; c c MatrixForm c1 1, c Out[798]//MatrixForm= 1 In[799]:= A.d c; eqn A. d1 d 1 ; eqns d1 d 1, d1 d ; soln Solveeqns, d1, d Flatten d d1. soln Flatten; d d MatrixForm Out[80]= d1 4, d 5

6 7.9 nonhomogeneous linear systems web.nb Out[804]//MatrixForm= 4 5 Assemble the solution to the original equation. In[805]:= xt Out[805]//MatrixForm= MapMatrixForm, a, b, c, d xt a t t b t c t d 4 1 b t t t t 5 b t t t t Out[806]= 1 1 b, 1 b, 1, 4 5 Out[807]= This agrees with our previous result if we take b = -1/. Example 7.9., Nonhomogeneous Linear System: Variation of Parameters Find the general solution of the following system. In[808]:= Cleara, x, x1, x, g, t, eqn, Λ, Λ1, Λ, Ξ, Ξ1, Ξ, Η, c1, c, u, u1, u; a 1 1 ; gt_ t t ; eqn : x't a.xt gt; Compute the eigensystem for this matrix. In[81]:= Out[81]= Λ Λ1, Λ Eigenvaluesa, 1 The eigenvalues are real and distinct. In[81]:= Out[81]= Ξ Ξ1, Ξ Eigenvectorsa 1, 1, 1, 1 Assemble two solutions of the homogeneous linear system.

7.9 nonhomogeneous linear systems web.nb 7 In[814]:= x1t_ Ξ1 Λ1 t xt_ Ξ Λ t Out[814]= t, t Out[815]= t, t In[816]:= Construct a fundamental matrix for this system. t_ Transposex1t, xt; Out[817]//MatrixForm= t t t t By variation of parameters, the solution to this nonhomogeneous system has the form... In[818]:= ut u1t, ut; xt_ t.ut; where u[t] satisfies... In[80]:= eqn t u't gt; Solve for u'[t]. In[81]:= Inverset.gt Out[81]//MatrixForm= t t t 1 t t Integrate to obtain u[t]. In[8]:= u1t_, ut_ Inverset.gt t c1, c Apart Flatten; Out[8]//MatrixForm= c1 t 1 6 t 1 t c t 1 t t In[84]:= xt FullSimplify Apart MatrixForm Out[84]//MatrixForm= c1 t 1 t 1 c t 1 c1 t 1 t 1 c t 1 4 t 5 6 t This agrees with our previous results. Definition of the Laplace Transform Let denote the Laplace Transform.

8 7.9 nonhomogeneous linear systems web.nb In[85]:= y_, t_, s_ : LaplaceTransformy, t, s Inverse Laplace Transform In[86]:= invy_, s_, t_ : InverseLaplaceTransformY, s, t; Example 7.9.4, Nonhomogeneous Linear System: Laplace Transforms Find the general solution of the following system. In[87]:= Cleara, x, x1, x, g, t, eqn, Λ, Λ1, Λ, Ξ, Ξ1, Ξ, Η, c1, c, u, u1, u; a 1 1 ; gt_ t, t; eqn : x't a.xt gt; Apply the Laplace Transform to our equation. In[81]:= eqnx s Xs X0 A.Xs Gs; In[8]:= Out[8]//MatrixForm= 1s s In[84]:= Out[85]//MatrixForm= Identify G[s]. Gs_ gt, t, s; Assume a particular initial condition. X0 0, 0; 0 0 We now must solve the following equation for X[s]. Multiply both sides by the inverse of (A-sI). In[86]:= Id IdentityMatrix; eqnx s Id A. Xs Gs; Xs_ Inverses Id A.Gs;

7.9 nonhomogeneous linear systems web.nb 9 Out[89]//MatrixForm= s s 4 ss 1s 4 ss 1s 4 ss s s 4 ss Apply the inverse Laplace transform to the components of X[s] to obtain x[t]. In[840]:= Out[840]= Xs s, s 4 s s 1 s 4 s s s 1 s 4 s s s 4 s s In[841]:= xt_ invxs, s, t; Out[84]//MatrixForm= 4 5 t t t t t t t t t t This agrees with our previous results.