Solving Linear DE Systems | Step-by-Step Guide for Finding Solutions - Gaganaut

  • Thread starter Thread starter gaganaut
  • Start date Start date
  • Tags Tags
    Linear Systems
gaganaut
Messages
20
Reaction score
0
Hi all,
I have a system of linear DE 's as under.

\dot{x}_1(t)=-tx_1+x_2

and

\dot{x}_2(t)=-tx_2+x_1

Now how do we find the solution


x(t)^{T}=[x_1, x_2]


I tried to find a similar post but could not. Any help would be highly appreciated. I am in the midst of writing a code wherein I need to solve this system of linear DE's.

Thanks in advance.


Gaganaut.
 
Physics news on Phys.org
I can think of about a dozen different ways to do that problem. Unfortunately, since you have not shown how you would attempt such a probem, I have no idea which of them is appropriate for you. Do you see my dilemma?
 
The most straightforward way seems to be that you could subtract the first from the second to obtain one (separable) equation for their difference.
 
Linear differential equations: Solution so far

HallsofIvy said:
I can think of about a dozen different ways to do that problem. Unfortunately, since you have not shown how you would attempt such a probem, I have no idea which of them is appropriate for you. Do you see my dilemma?

First of all thanks for getting back. So far I have brought the system in a matrix form as under.

\[ \left[ \begin{array}{c}<br /> \dot{x}_1\\<br /> \dot{x}_2 \end{array} \right]=\left[ \begin{array}{cc}<br /> -t &amp; 1\\<br /> 1 &amp; -t \end{array} \right] \[ \left[ \begin{array}{c}<br /> x_1\\<br /> x_2 \end{array} \right]\]<br />

I am a bit skeptical about the further steps that I did and that's when I decided to get help on this. I have written a formula for integrating the system as under.

\underline{x}(t) = exp\left(\int_{t_0}^t A(\tau)\,d\tau \right)\underline{x}_0(t)

where A(\tau)=\left[ \begin{array}{cc}<br /> -\tau &amp; 1\\<br /> 1 &amp; -\tau \end{array} \right]

I cannot get any further. I definitely want to take the matrix approach as it is easier to code in for me. Also, I might be wrong with the integral method, so I would appreciate a better method preserving the matrix and vector form.

Thank you.

Gaganaut
 
Last edited:
Back
Top