81.8.9 problem 16

Internal problem ID [18719]
Book : A short course on differential equations. By Donald Francis Campbell. Maxmillan company. London. 1907
Section : Chapter VII. Ordinary differential equations in two dependent variables. Exercises at page 86
Problem number : 16
Date solved : Tuesday, January 28, 2025 at 12:12:18 PM
CAS classification : system_of_ODEs

\begin{align*} \frac {d}{d x}z \left (x \right )-3 y \left (x \right )+2 z \left (x \right )&={\mathrm e}^{x}\\ \frac {d}{d x}y \left (x \right )+2 y \left (x \right )-z \left (x \right )&={\mathrm e}^{3 x} \end{align*}

Solution by Maple

Time used: 0.053 (sec). Leaf size: 78

dsolve([diff(z(x),x)-3*y(x)+2*z(x)=exp(x),diff(y(x),x)+2*y(x)-z(x)=exp(3*x)],singsol=all)
 
\begin{align*} y \left (x \right ) &= {\mathrm e}^{\left (-2+\sqrt {3}\right ) x} c_{2} +{\mathrm e}^{-\left (2+\sqrt {3}\right ) x} c_{1} +\frac {5 \,{\mathrm e}^{3 x}}{22}+\frac {{\mathrm e}^{x}}{6} \\ z \left (x \right ) &= {\mathrm e}^{\left (-2+\sqrt {3}\right ) x} c_{2} \sqrt {3}-{\mathrm e}^{-\left (2+\sqrt {3}\right ) x} c_{1} \sqrt {3}+\frac {3 \,{\mathrm e}^{3 x}}{22}+\frac {{\mathrm e}^{x}}{2} \\ \end{align*}

Solution by Mathematica

Time used: 3.298 (sec). Leaf size: 169

DSolve[{D[z[x],x]-3*y[x]+2*z[x]==Exp[x],D[y[x],x]+2*y[x]-z[x]==Exp[3*x]},{y[x],z[x]},x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {1}{66} e^{-\left (\left (2+\sqrt {3}\right ) x\right )} \left (11 e^{\left (3+\sqrt {3}\right ) x}+15 e^{\left (5+\sqrt {3}\right ) x}+11 \left (3 c_1+\sqrt {3} c_2\right ) e^{2 \sqrt {3} x}+33 c_1-11 \sqrt {3} c_2\right ) \\ z(x)\to \frac {1}{22} e^{-\left (\left (2+\sqrt {3}\right ) x\right )} \left (11 e^{\left (3+\sqrt {3}\right ) x}+3 e^{\left (5+\sqrt {3}\right ) x}+11 \left (\sqrt {3} c_1+c_2\right ) e^{2 \sqrt {3} x}+11 \left (c_2-\sqrt {3} c_1\right )\right ) \\ \end{align*}