Internal
problem
ID
[9172]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
49
Date
solved
:
Wednesday, March 05, 2025 at 07:37:21 AM
CAS
classification
:
system_of_ODEs
In this method, we will assume we have found the matrix exponential
Or
For the above matrix
Therefore the homogeneous solution is
Since no forcing function is given, then the final solution is
This is a system of linear ODE’s given as
Or
The first step is find the homogeneous solution. We start by finding the eigenvalues of
Expanding gives
Therefore
Which gives the characteristic equation
The roots of the above are the eigenvalues.
This table summarises the above result
eigenvalue | algebraic multiplicity | type of eigenvalue |
| | real eigenvalue |
Now the eigenvector for each eigenvalue are found.
Considering the eigenvalue
We need to solve
Now forward elimination is applied to solve for the eigenvector
Therefore the system in Echelon form is
The free variables are
Hence the solution is
Since there is one free Variable, we have found one eigenvector associated with this eigenvalue. The above can be written as
Let
The following table gives a summary of this result. It shows for each eigenvalue the algebraic multiplicity
multiplicity
| ||||
eigenvalue | algebraic | geometric | defective? | eigenvectors |
| | | Yes | |
Now that we found the eigenvalues and associated eigenvectors, we will go over each eigenvalue and generate the solution basis. The only problem we need to take care of is if the eigenvalue is defective. eigenvalue
This eigenvalue has algebraic multiplicity of
Where
Solving for
We have found two generalized eigenvectors for eigenvalue
And
Therefore the final solution is
Which is written as
Which becomes
ode:=[diff(x(t),t) = 3*x(t)+y(t), diff(y(t),t) = y(t)-x(t)]; dsolve(ode);
Maple step by step
ode={D[x[t],t]==3*x[t]+y[t],D[y[t],t]==-x[t]+y[t]}; ic={}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(-3*x(t) - y(t) + Derivative(x(t), t),0),Eq(x(t) - y(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)