28.2 problem Ex 2

Internal problem ID [10259]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter VII, Linear differential equations with constant coefficients. Article 51. Cauchy linear equation. Page 114
Problem number: Ex 2.
ODE order: 3.
ODE degree: 1.

CAS Maple gives this as type [[_3rd_order, _exact, _linear, _nonhomogeneous]]

Solve \begin {gather*} \boxed {x^{3} y^{\prime \prime \prime }+2 x^{2} y^{\prime \prime }+2 y-10 x -\frac {10}{x}=0} \end {gather*}

Solution by Maple

Time used: 0.0 (sec). Leaf size: 149

dsolve(x^3*diff(y(x),x$3)+2*x^2*diff(y(x),x$2)+2*y(x)=10*(x+1/x),y(x), singsol=all)
 

\[ y \relax (x ) = x \sin \left (\ln \relax (x )\right ) c_{3}+\cos \left (\ln \relax (x )\right ) x c_{2}+\frac {\left (\left (\left (10+20 i\right ) \ln \relax (x )+8+6 i+\left (1+2 i\right ) c_{1}\right ) \cos \left (\ln \relax (x )\right )+\sin \left (\ln \relax (x )\right ) \left (\left (-20+10 i\right ) \ln \relax (x )-6+8 i+\left (-2+i\right ) c_{1}\right )\right ) x^{-1-i}}{10}+\frac {\left (\left (\left (10-20 i\right ) \ln \relax (x )+8-6 i+\left (1-2 i\right ) c_{1}\right ) \cos \left (\ln \relax (x )\right )-\sin \left (\ln \relax (x )\right ) \left (\left (20+10 i\right ) \ln \relax (x )+6+8 i+\left (2+i\right ) c_{1}\right )\right ) x^{-1+i}}{10}+\frac {\left (25 x^{1-i}+25 x^{1+i}\right ) \cos \left (\ln \relax (x )\right )}{10}+\frac {5 i \sin \left (\ln \relax (x )\right ) \left (x^{1-i}-x^{1+i}\right )}{2} \]

Solution by Mathematica

Time used: 0.064 (sec). Leaf size: 40

DSolve[x^3*y'''[x]+2*x^2*y''[x]+2*y[x]==10*(x+1/x),y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 5 x+\frac {2 \log (x)}{x}+\frac {\frac {8}{5}+c_3}{x}+c_2 x \cos (\log (x))+c_1 x \sin (\log (x)) \\ \end{align*}