online advertising
Processing math: 100%

Tuesday, September 8, 2015

Coupled differential equation

Today morning, I am having fun solving this coupled differential equation pair.

˙X=[1441]X+[4t+9e6tt+e6t]

With initial conditions X(0)=117[2135]

The key to solving this puzzle is to decouple the equations, to do that, we diagonalize the matrix. I get this handy equation:

[1441]=12[11ii][1+4i0014i][1i1i]

We substitute this back to the equation, we see something interesting.


˙X=12[11ii][1+4i0014i][1i1i]X+[4t+9e6tt+e6t][1i1i]˙X=12[1i1i][11ii][1+4i0014i][1i1i]X+[1i1i][4t+9e6tt+e6t][1i1i]˙X=[1+4i0014i][1i1i]X+[1i1i][4t+9e6tt+e6t]

It is now obvious that we should let Y=[1i1i]X. That would then give

˙Y=[1+4i0014i]Y+[1i1i][4t+9e6tt+e6t]

Now we have decoupled the equations. Let Y=[y1y2], we have two separate equations instead of a coupled pair, which can be solved separately.

y1(t)=(1+4i)y1(t)+(4t+9e6t)+i(t+e6t)y2(t)=(14i)y2(t)+(4t+9e6t)i(t+e6t)

Just so we are not lost, we also let X=[x1x2], and therefore we have these relations:

y1=x1+ix2y2=x1ix2

Let's try to solve it with Laplace's transform. For the first equation, taking Laplace's transform on both sides give this:

y1(t)=(1+4i)y1(t)+(4t+9e6t)+i(t+e6t)=(1+4i)y1(t)+(4i)t+(9+i)e6tL(y1(t))=L((1+4i)y1(t)+(4i)t+(9+i)e6t)sY1(s)y1(0)=(1+4i)Y1(s)+4is2+9+is6sY1(s)(1+4i)Y1(s)=y1(0)+4is2+9+is6(s14i)Y1(s)=21+35i17+4is2+9+is6Y1(s)=21+35i17(s14i)+4is2(s14i)+9+i(s6)(s14i)

Without repeating, we get, similarly, that

Y2(s)=2135i17(s1+4i)+4+is2(s1+4i)+9i(s6)(s1+4i)

The rest is just ugly partial fractions and inverse Laplace transform.

No comments:

Post a Comment