
#1
Jan1004, 03:27 PM

P: 20

This is a given system: [tex]D\vec{y} = A\vec{y} + \vec{b}[/tex]
With [tex]A=\left\begin{array}{ccc}1&1&1\\0&2&1\\0&0&3\end{array}\right[/tex] And [tex]\vec{b}=\left\begin{array}{c}e^4^t\\0\\0\end{array}\right[/tex] We find [tex]\vec{y}_H = Y(t) \cdot \vec{c}[/tex] With [tex]Y(t)=\left\begin{array}{ccc}e^t&e^2^t&e^3^t\\0&e^2^t&e^3^t\\0&0&e^3^t\e nd{array}\right[/tex] Since [tex]\vec{y} = \vec{y}_H + \vec{y}_P[/tex] we still need to find is [tex]\vec{y}_P = Y(t) \cdot \vec{c}(t)[/tex] [tex]Y(t)[/tex] is already known, so whe have to find [tex]\vec{c}(t)[/tex] We know that [tex]D\vec{c}(t)=Y^^1(t) \cdot \vec{b}[/tex] Now we are gonna replace [tex]Y^^1(t)[/tex] by [tex]e^A^(^^t^)[/tex] With [tex]e^A^(^^t^)[/tex] being [tex]e^A^t= Y(t) \cdot Y^^1(0)[/tex] So we get [tex]D\vec{c}(t)= e^A^(^^t^) \cdot \vec{b}[/tex] My question actually is why we can replace [tex]Y^^1(t)[/tex] by [tex]e^A^(^^t^)[/tex] since [tex]e^A^t^= Y(t) \cdot Y^^1(0)[/tex]? P.S.: I'll post the whole excersise later if it's necessary, but I had to much trouble with the Latex code for now ;) 



#2
Jun204, 08:41 PM

P: 13

Would like to take a shot at this; will do so in parts. First, a simple answer is that since the column vectors of [itex]Y(t)[/itex] each represent a solution to the ODE and since the product [itex]Y(t)\cdot Y^^1(0)[/itex] produces column vectors that are linear combinations of the column vectors of [itex]Y(t)[/itex] then they are again solutions .To see this, perform the the matrix inner product multiplications indicated by [itex]Y(t)\cdot Y^^1(0)[/itex] and confirm that in the resultant , column vector1 = column vector 1; column vector 2 = column vector 2 minus column vector 1 and column vector 3 = column vector 3 minus column vector 2. The Principle of Superposition Theorem (linearity of differentiation) assures that linearly combining constant multiplies of known solutions (all of which equal zero in a homogeneous system) will again produce a solution. So the point is that you can make the replacement because you are simply substituting one fundamental matrix of solutions for another. See future posts for expansion on this terminology.
OK, your question circles around the basic concepts of the use of the Matrix Exponential and one thing I found helpful is to realize that this methodology generalizes the notation of systems of ODE's. By this I mean that the system of equations can be viewed as a "Matrix valued equation" and much of the notation of single equations and vector valued equations can be used to express the concepts. If this doesn't communicate, never mind. One way to find [itex]\vec{y}_P [/itex] is to use the concept of undetermined coefficients. Much of the time this will be more difficult to evaluate than the concept of variation of parameters which also has application here ( will deal with this in a future post). This problem is simple enough however that undetermined coefficients works to quickly establish a [itex]\vec{y}_P [/itex]. Since the nonhomogeneous term , the forcing function [itex]\;\vec{b}(t)\;\mbox{is linear in the\;} exp^{4t} \mbox{\,function, postulate a particular solution,} [/itex] [tex]\vec{y}_p=\left[\begin{array}{c}a_1e^4^t\\a_2 e^4^t\\a_3 e^4^t\end{array }\right][/tex] and substitue this into the original DE and then evaluate the unknown coefficients. [tex]D\vec{y}_p=\left[\begin{array}{c}4a_1e^4^t\\4a_2 e^4^t\\4a_3 e^4^t\end{array }\right]=A \cdot \vec {y}_p +\vec{b}=\left[\begin{array}{ccc}1&1&1\\0&2&1\\0&0&3\end{array}\right]\;\vec{y}_p\;+\;\left[\begin{array}{c}{exp(4t)\\ 0\\ 0\end{array}\right] [/tex] This will quickly produce a system of 3 equations in the three unknown coefficients: [tex]4a_1 = a_1 + a_2 + a_3 +1[/tex] [tex]4a_2 = 2a_2 +a_3[/tex] [tex]4a_3 = 3a_3[/tex] This solves by inspection to [tex]\vec{a}=\{a_1,a_2,a_3\}^T=\{\frac{1}{3},0,0\}^T[/tex] Therefore the desired particular solution is: [tex]\vec{y}_p =\vec{a}\cdot exp(4t) = \left[\begin{array}{c}1/3\\0\\ 0\end{array}\right]exp(4t) = \left[\begin{array}{c}\frac{exp(4t)}{3}\\0\\ 0\end{array}\right] [/tex] a solution vector to the Matrix valued equation, [tex]D\vec{y}_p=A \cdot \vec {y}_p +\vec{b} [/tex]. To verify this: Left hand side [tex] D\vec{y}_p = D\left[\begin{array}{c}\frac{exp(4t)}{3}\\ 0\\0\end{array}\right]}= \left[\begin{array}{c}\frac{4exp(4t)}{3} \\0\\ 0\end{array}\right][/tex] Right hand side [tex] \left[\begin{array}{ccc}1&1&1\\0&2&1\\0&0&3\end{array}\right]\cdot\left[\begin{array}{c}\frac{exp(4t)}{3}\\ 0\\ 0\end{array}\right] + \left[\begin{array}{c}{exp(4t)\\ 0\\ 0\end{array}\right] = \left[\begin{array}{c}\frac{exp(4t)}{3}\\0\\0\end{array}\right] + \left[\begin{array}{c}exp(4t)\\0\\0\end{array}\right] [/tex][tex]=\left[\begin{array}{c}\frac{4exp(4t)}{3}\\ 0\\ 0\end{array}\right][/tex] 



#3
Jun304, 01:26 PM

P: 13

Continued: Here is the next sequential short installment.
Referencing Reason's query setup: "We find [itex] Y_h = Y(t)*\vec{c}[/itex] " and then he gives a matrix of solutions, Y(t), arranged in column form, also known as a fundamental matrix for the associated homgeneous system. % [itex] Y_h\cdot\vec{c}[/itex] a matrix representation of the fundamental matrix times an arbitrary constant vector which gives the general solution to the associated homogeneous equation. This is to say that [itex]Y' = A\cdot Y [/itex] is a matrix differential equation. To see if the relation is true, it suffices to multiply each column [itex]vector_i[/itex] in Y(t) by A and compare the result to differentiating each element in said vector wrt to t. I will reference this again below and rename [tex]Y_h = Y(t)[/tex] to [tex] \Phi(t)[/tex] for the sake of generality. %The fundamental matrix can be arrived at by simply reading the eigenvalues, [itex] \lambda_i [/itex] , {1,2,3} of the coefficient matrix from the diagonal (in this case of a simple upper triangular form) and using them to compute 3 independent eigenvectors using the Eigenvalue Method of solving the system [itex][A \lambda_i\cdot I_3]\cdot \{a,b,c\}= \{0,0,0\} [/itex] in turn for each eigenvalue. Multiplying the resulting eigenvectors,[itex]\{a_i,b_i,c_i\}[/itex] by exp( [itex]\lambda_i \;t[/itex]) respectively and arranging them in column form produces Y(t). You can read the eigenvectors so produced from the fundamental matrix Y(t). Next time I will try a short derivation/explantion of extending variation of parameters to the matrix valued equation to solve again for [itex]\vec{y}_p[/itex] , a particular solution. 



#4
Jun304, 01:33 PM

P: 200

sytem of diff eq
Find out more about using LaTeX on this website in this thread:
http://www.physicsforums.com/showthread.php?t=8997 The best way to learn is by example. You can click on any equation in any thread and see what the author typed to produce the image. 



#5
Jun404, 03:05 PM

P: 13

Thanks to TALewis for the link to Tex; have perused and researched since last post and have decided to complete this explanation first using raw text and then gradually edit with Tex. UNDER CONSTRUCTION.
So with the previous replies as background, here continues the attempt to answer the original query. Referencing an understanding of the variation of parameters technique for solving for a particular solution of a single linear ODE given the general solution of the associated homogeneous equation, recall that variable coefficients are permitted (thus this technique is more general). This method can be extended to systems of linear ODE's. Reflecting the more general nature of variation of parameters one can write [itex] \vec{y}\;' = P(t)\;\vec{y} + \vec{b}(t) [/itex] with [itex]\vec{y}=\{y_1(t),y_2(t),y_3(t)\}^T[/itex] representing a vector of unknown functions for which we hope to solve by evaluating the system of differential equations represented. The P(t) replaces the matrix A of constant coefficients although constants are permitted; P(t) = A is not excluded. We already have the solution of the complementary equation and will write that generally as [itex]\vec{y}_c (t) = \mathbf\Phi(t) \cdot \vec{c} [/itex] to reflect the general approach with c being merely a vector of arbitrary constants associated with a general solution. The concept is to replace the vector parameter c with a variable vector u(t) and to find one particular solution of the form: [itex] \vec{y}_p (t) = \mathbf \Phi (t) \cdot \vec{u}(t) [/itex] , with u(t) such that it satisfies [itex] D_t\vec{y}_p = P(t)\cdot\vec{y}_p + \vec{b}(t) [/itex] Taking the derivative [itex] \vec {y} \ ' _p (t) = \mathbf\Phi' (t) \cdot \vec{u} (t) +\mathbf \Phi (t) \cdot\vec {u}\ ' (t) [/itex] using the product rule. Substituting [itex] \vec{y}_p [/itex] and [itex] \vec{y}_p\; ' [/itex] to [itex] \vec{y}\;' = P(t) \vec{y} +\vec{b}(t) [/itex] gives [tex]\mathbf\Phi'(t) \ u(t) + \mathbf\Phi(t) \; u'(t) = P(t) \; \mathbf \Phi(t) \ u(t) + \vec{b} [/tex] Since each column vector of [itex]\mathbf\Phi(t)[/itex], the fundamental matrix of solutions, satisfies [itex] y' = P(t) \; y [/itex], then [itex]\mathbf\Phi'(t) = P(t) \;\mathbf \Phi(t)[/tex] also and rewriting [itex] P(t) \;\mathbf \Phi(t)\; u(t) +\mathbf\Phi(t) \;u'(t) = P(t)\mathbf\Phi(t) \;u(t) +\vec{b} [/itex] which reduces to [itex]\mathbf\Phi(t) \ u'(t) = \vec{b} [/tex] Therefore [itex]u'(t) =\mathbf \Phi^^1(t) \ \vec{b}[/itex] the inverse of [itex]\mathbf\Phi(t) [/itex] existing because it consists of linearly independent solutions and is thereby nonsingular (its determinant is not equal to zero). The particular solution desired is then [itex] y_p(t) = \mathbf\Phi(t) \ u(t) =\mathbf \Phi(t) \ \int\mathbf\Phi^^1 \; \vec{b}\dt [/itex] This completes the raw bones answer and I will use it to produce again [itex]\vec{y}_p [/itex], a single particular solution which already was calculated using unknown coefficients and try to answer the original question better. (next post) The explanation above belongs entirely to Profs. C.H. Edwards and David E. Penney and is outlined in Chap. 5 Sect.8 of their book Elementary Differential Equations 4th Ed. Any errors in presentation and typos belong entirely to me, of course. 



#6
Jun604, 12:27 PM

P: 13

[itex] y_p(t) = \mathbf\Phi(t) \ \int\mathbf\Phi^^1 \ \vec{b} \ \dt [/itex] was derived and so now let's apply it to the present example by first displaying the required inverse of the fundamental matrix without going in to its calculation
[tex] \mathbf\Phi^^1(t) =\left[\begin{array}{ccc}e^^t&e^^t&0\\0&e^^2^t&e^^2^t\\0&0&e^^3^t\end{array}\right] [/tex] so that [tex] y_p = \left[\begin{array}{ccc}e^t&e^2^t&e^3^t\\0&e^2^t&e^3^t\\0&0&e^3^t\end{array}\ right]\cdot\int\left[\begin{array}{ccc}e^^t&e^^t&0\\0&e^^2^t&e^^2^t\\0&0&e^^3^t\end{array}\right] \cdot\:\left[\begin{array}{c}e^4^t\\0\\0\end{array }\right] dt[/tex] performing the matrix multiplication inside the integral [tex]\left[\begin{array}{ccc}e^t&e^2^t&e^3^t\\0&e^2^t&e^3^t\\0&0&e^3^t\end{array}\ right]\cdot\int\left[\begin{array}{c}e^3^t\\0\\0\end{array}\right]dt [/tex] the integration is element by element and so this reduces to the matrix multiplication [tex]\left[\begin{array}{ccc}e^t&e^2^t&e^3^t\\0&e^2^t&e^3^t\\0&0&e^3^t\end{array}\ right]\cdot\left[\begin{array} {c} \frac {e^3^t} {3}\\0\\0\end{array}\right] =\left[\begin{array}{c}\frac{e^4^t}{3}\\0\\0\end{array}\right]= \vec{y}_p[/tex] , the desired particular solution. 


Register to reply 
Related Discussions  
Recomendations on cheap but good 5.1 Surround sound home theater sytem  Computing & Technology  2  
Diff EQ  Calculus & Beyond Homework  5  
Diff Eqs  Introductory Physics Homework  7  
diff. eq.  Introductory Physics Homework  5  
The nervous sytem and reflexes  Biology  5 