1.394 problem 404

Internal problem ID [7128]

Book: Collection of Kovacic problems
Section: section 1
Problem number: 404.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x]]

Solve \begin {gather*} \boxed {y^{\prime \prime }-y^{\prime }+y=0} \end {gather*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 31

dsolve(diff(y(x),x$2)-diff(y(x),x)+y(x)=0,y(x), singsol=all)
 

\[ y \relax (x ) = c_{1} {\mathrm e}^{\frac {x}{2}} \sin \left (\frac {\sqrt {3}\, x}{2}\right )+c_{2} {\mathrm e}^{\frac {x}{2}} \cos \left (\frac {\sqrt {3}\, x}{2}\right ) \]

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 42

DSolve[y''[x]-y'[x]+y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to e^{x/2} \left (c_1 \cos \left (\frac {\sqrt {3} x}{2}\right )+c_2 \sin \left (\frac {\sqrt {3} x}{2}\right )\right ) \\ \end{align*}