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

  • Context: Undergrad 
  • Thread starter Thread starter gaganaut
  • Start date Start date
  • Tags Tags
    Linear Systems
Click For Summary

Discussion Overview

The discussion revolves around solving a system of linear differential equations (DEs) presented by a participant. The focus is on finding solutions using various methods, particularly through matrix approaches, and the context includes coding applications for the solution.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents a system of linear DEs and requests assistance in finding a solution.
  • Another participant notes the lack of information on the original approach taken by the poster, which complicates providing targeted help.
  • A suggestion is made to subtract one equation from the other to derive a separable equation for their difference.
  • The original poster describes their progress in reformulating the system into matrix form and expresses skepticism about their next steps.
  • The original poster shares a formula they have written for integrating the system and seeks confirmation or alternative methods, emphasizing their preference for a matrix approach for coding purposes.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the best method to solve the system, and multiple approaches are suggested without agreement on which is most appropriate.

Contextual Notes

The discussion includes uncertainties regarding the original poster's method and the effectiveness of the proposed integration approach. There are also concerns about the appropriateness of the matrix method for their coding needs.

gaganaut
Messages
20
Reaction score
0
Hi all,
I have a system of linear DE 's as under.

[tex]\dot{x}_1(t)=-tx_1+x_2[/tex]

and

[tex]\dot{x}_2(t)=-tx_2+x_1[/tex]

Now how do we find the solution


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


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.

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

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.

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

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

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:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K