23.3.3 problem 7(c)

Internal problem ID [4144]
Book : Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section : Chapter 4. The general linear differential equation of order n. Exercises at page 63
Problem number : 7(c)
Date solved : Monday, January 27, 2025 at 08:40:00 AM
CAS classification : [[_3rd_order, _missing_x]]

\begin{align*} y^{\prime \prime \prime }-3 y^{\prime \prime }+4 y^{\prime }-2 y&=0 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x$3)-3*diff(y(x),x$2)+4*diff(y(x),x)-2*y(x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = {\mathrm e}^{x} \left (c_{1} +c_{2} \sin \left (x \right )+\cos \left (x \right ) c_3 \right ) \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 22

DSolve[D[y[x],{x,3}]-3*D[y[x],{x,2}]+4*D[y[x],x]-2*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to e^x (c_2 \cos (x)+c_1 \sin (x)+c_3) \]