60.1.417 problem 428

Internal problem ID [10431]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 1, linear first order
Problem number : 428
Date solved : Sunday, March 30, 2025 at 04:41:48 PM
CAS classification : [[_1st_order, _with_linear_symmetries], _rational, _dAlembert]

\begin{align*} a x {y^{\prime }}^{2}+\left (b x -a y+c \right ) y^{\prime }-b y&=0 \end{align*}

Maple. Time used: 0.103 (sec). Leaf size: 66
ode:=a*x*diff(y(x),x)^2+(b*x-a*y(x)+c)*diff(y(x),x)-b*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= \frac {-b x +c -2 \sqrt {-b c x}}{a} \\ y &= \frac {-b x +c +2 \sqrt {-b c x}}{a} \\ y &= \frac {c_1 \left (c_1 a x +b x +c \right )}{a c_1 +b} \\ \end{align*}
Mathematica. Time used: 0.019 (sec). Leaf size: 80
ode=-(b*y[x]) + (c + b*x - a*y[x])*D[y[x],x] + a*x*D[y[x],x]^2==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to c_1 \left (x+\frac {c}{b+a c_1}\right ) \\ y(x)\to \frac {\left (\sqrt {c}-i \sqrt {b} \sqrt {x}\right )^2}{a} \\ y(x)\to \frac {\left (\sqrt {c}+i \sqrt {b} \sqrt {x}\right )^2}{a} \\ \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
c = symbols("c") 
y = Function("y") 
ode = Eq(a*x*Derivative(y(x), x)**2 - b*y(x) + (-a*y(x) + b*x + c)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out