Why is my solution to this system producing strange results?

  • Context: Graduate 
  • Thread starter Thread starter AlinaR
  • Start date Start date
  • Tags Tags
    System
Click For Summary
SUMMARY

The discussion centers on solving a system of first-order linear differential equations using matrix methods. The original approach involved calculating the inverse of a singular matrix, which led to undefined results. The correct method is to utilize the matrix exponential instead of the matrix inverse, as highlighted in the referenced articles on the Voofie website. This adjustment resolves the issue of singularity and provides a valid solution to the differential equation.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with matrix operations, specifically matrix exponential
  • Knowledge of initial conditions in differential equations
  • Basic proficiency in linear algebra concepts
NEXT STEPS
  • Study the matrix exponential method for solving differential equations
  • Explore examples of first-order linear differential equations using matrix methods
  • Learn about the implications of singular matrices in linear algebra
  • Review initial value problems and their solutions in the context of differential equations
USEFUL FOR

Students and professionals in mathematics, engineers working with differential equations, and anyone interested in advanced linear algebra techniques for solving systems of equations.

AlinaR
Messages
1
Reaction score
0
Good afternoon!
I have a strange results solving this problem.

x'=[3,4;-1,-1]*x+[e^t;0], with init. cond. x(0)=[1;0].

x'=Ax+(e^(mu*t))*b thus mu=1, b=[1;0]

x(t)=(e^(mu*t))((mu*I-A)^-1)*b
x(t)=e^t*(([mu,0;0,mu]-[3,4;-1,-1])^-1)*b=e^t*([-2,-4;1,2]^-1)*[1;0]
But the problem is that [-2,-4;1,2]^-1 matrix is singular to working precision.

ans =

Inf Inf
Inf Inf

Is that some typo in the matrix or am I using the wrong way to solve this type of equations?

Thank you very much for any ideas!


Alina
 
Physics news on Phys.org
Hello. Please refer to my article in http://www.voofie.com/concept/Mathematics/" :

http://www.voofie.com/content/18/solving-system-of-first-order-linear-differential-equations-with-matrix-exponential-method/"

What you really need is matrix exponential, instead of matrix inverse. You can find example in another article:

http://www.voofie.com/content/19/a-worked-example-of-solving-system-of-first-order-linear-differential-equation/"
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K