I have a question about a system of ODE. If we have:
$\frac{dx}{dt}=x+2y$
$\frac{dy}{dt}=3x+2y$
with $x(0)=6$ and $y(0)=4$,
how come the solution to the IVP is:
$x(t)=4e^{4t}+2e^{-t}$
$y(t)=6e^{4t}-2e^{-t}$
I tried doing integral by separating the variable but I didn't get that solution. That example & solution are from my numerical method book, please see the attached image
take laplace transform on both sides of both differential equations to get
$(s-1)X(s)=2Y(s)+6 \ \ $ ;
$(s-2)Y(s)=3X(s)+4\\$ respectively
solve for $X(s)$ and $Y(s)$ like algebric equations to give ;
$Y(s)=\dfrac{4s+14}{(s+1)(s-4)}\implies y(t)=-2e^{-t}+6e^{4t}$
$X(s)=\dfrac{6s-4}{(s+1)(s-4)}\implies x(t)=2e^{-t}+4e^{4t}$