54.3.293 problem 1310

Internal problem ID [12588]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1310
Date solved : Wednesday, October 01, 2025 at 02:10:04 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x^{3} y^{\prime \prime }+3 x^{2} y^{\prime }+x y-1&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 20
ode:=x^3*diff(diff(y(x),x),x)+3*x^2*diff(y(x),x)+x*y(x)-1 = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {c_1 \ln \left (x \right )+\frac {\ln \left (x \right )^{2}}{2}+c_2}{x} \]
Mathematica. Time used: 0.012 (sec). Leaf size: 27
ode=-1 + x*y[x] + 3*x^2*D[y[x],x] + x^3*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {\log ^2(x)+2 c_2 \log (x)+2 c_1}{2 x} \end{align*}
Sympy. Time used: 0.169 (sec). Leaf size: 17
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**3*Derivative(y(x), (x, 2)) + 3*x**2*Derivative(y(x), x) + x*y(x) - 1,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {C_{1} + C_{2} \log {\left (x \right )} + \frac {\log {\left (x \right )}^{2}}{2}}{x} \]