89.33.32 problem 35

Internal problem ID [25016]
Book : A short course in Differential Equations. Earl D. Rainville. Second edition. 1958. Macmillan Publisher, NY. CAT 58-5010
Section : Chapter 17. Special Equations of order Two. Exercises at page 251
Problem number : 35
Date solved : Thursday, October 02, 2025 at 11:47:15 PM
CAS classification : [[_2nd_order, _missing_y]]

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