• Solution of simultaneous homogeneous ordinary differential equations (pp.2)
Initial state is
when
.
Substituting
equation (1.A)
into
equation (1.B)
, following equation may be obtained as:
The
characteristic polynomial
of
equation (2)
via
Laplace transform
is:
eigenvalues of
equation (3)
are -1, -2,
general solution
of homogeneous part of
equation (2)
is
, where
,
and
are arbitrary constant.
One of the
particular solution
may be obtained by substituting
general solution
into
equation (2)
as:
Particular solution
is
,
general solution
is updated as
Which may be substituted into
equation (1.A)
:
The initial state is derived by setting
into
equation (5)
(6)
as:
The roots of simultaneous functions
equation (7)
are
, which may be substituted into
equation (5)
(6)
and rearranged as:
Some other method see
[ref1]
. Note
equation (1)
may be rewitten into
state-space
format as:
-> Solve by Matlab using dsolve
[ref2]
:
syms x1(t) x2(t) x10 x20
ode1 = diff(x1) == x2;
ode2 = diff(x2) == -2*x1 - 3*x2 +1;
odes = [ode1; ode2]
cond1 = x1(0) == x10;
cond2 = x2(0) == x20;
conds = [cond1; cond2];
[x1gsol(t),x2gsol(t)] = dsolve(odes)
[x1sol(t),x2sol(t)] = dsolve(odes,conds)
We may find that xgsol is not coincide totally to
equation (5)
(6)
, because
general solution
is a set of simultaneous polynomials. Meanwhile xsol is coincide to
equation (9)
.
Using transition matrix for examination
syms t
A = [0,1;-2,-3];
expm(A*t)*[x10;x20]
We may find the result is totally the same with the first term of
equation (9)
.