2.58 problem Problem 20(e)

Internal problem ID [12279]

Book: APPLIED DIFFERENTIAL EQUATIONS The Primary Course by Vladimir A. Dobrushkin. CRC Press 2015
Section: Chapter 4, Second and Higher Order Linear Differential Equations. Problems page 221
Problem number: Problem 20(e).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {\frac {\left (x^{2}-x \right ) y^{\prime \prime }}{x}+\frac {\left (3 x +1\right ) y^{\prime }}{x}+\frac {y}{x}=3 x} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 43

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

\[ y \left (x \right ) = \frac {\left (2 \ln \left (x \right ) x^{2}+4 x -1\right ) c_{2} +c_{1} x^{2}+\frac {x^{3} \left (x^{2}-3 x +3\right )}{3}}{\left (-1+x \right )^{3}} \]

Solution by Mathematica

Time used: 0.086 (sec). Leaf size: 55

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

\[ y(x)\to \frac {2 x^5-6 x^4+6 x^3-6 c_1 x^2-6 c_2 x^2 \log (x)-12 c_2 x+3 c_2}{6 (x-1)^3} \]