9.28 problem 1883

Internal problem ID [9462]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 8, system of first order odes
Problem number: 1883.
ODE order: 1.
ODE degree: 1.

Solve \begin {align*} x^{\prime }\relax (t )-y^{\prime }\relax (t )+x \relax (t )&=2 t\\ x^{\prime \prime }\relax (t )+y^{\prime }\relax (t )-9 x \relax (t )+3 y \relax (t )&=\sin \left (2 t \right ) \end {align*}

Solution by Maple

Time used: 0.117 (sec). Leaf size: 80

dsolve({diff(x(t),t)-diff(y(t),t)+x(t)=2*t,diff(x(t),t$2)+diff(y(t),t)-9*x(t)+3*y(t)=sin(2*t)},{x(t), y(t)}, singsol=all)
 

\[ x \relax (t ) = 4+2 t -\frac {2 \cos \left (2 t \right )}{325}-\frac {36 \sin \left (2 t \right )}{325}+c_{1} {\mathrm e}^{t}+c_{2} {\mathrm e}^{-3 t}+c_{3} t \,{\mathrm e}^{t} \] \[ y \relax (t ) = \frac {16 \cos \left (2 t \right )}{325}-\frac {37 \sin \left (2 t \right )}{325}+2 c_{1} {\mathrm e}^{t}+\frac {2 c_{2} {\mathrm e}^{-3 t}}{3}-c_{3} {\mathrm e}^{t}+2 c_{3} t \,{\mathrm e}^{t}+10+6 t \]

Solution by Mathematica

Time used: 0.583 (sec). Leaf size: 162

DSolve[{x'[t]-y'[t]+x[t]==2*t,x''[t]+y'[t]-9*x[t]+3*y[t]==Sin[2*t]},{x[t],y[t]},t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to -\frac {36}{325} \sin (2 t)-\frac {2}{325} \cos (2 t)+\frac {1}{16} e^{-3 t} \left (32 e^{3 t} (t+2)+e^{4 t} (c_1 (20 t+7)+c_2 (4 t+3)+3 c_3 (1-4 t))+9 c_1-3 (c_2+c_3)\right ) \\ y(t)\to -\frac {37}{325} \sin (2 t)+\frac {16}{325} \cos (2 t)+\frac {1}{8} \left (48 t+(3 c_1-c_2-c_3) e^{-3 t}+e^t (c_1 (20 t-3)+4 (c_2-3 c_3) t+c_2+9 c_3)+80\right ) \\ \end{align*}