60.1.54 problem 55

Internal problem ID [10068]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 1, linear first order
Problem number : 55
Date solved : Sunday, March 30, 2025 at 03:00:35 PM
CAS classification : [_Chini]

\begin{align*} y^{\prime }-f \left (x \right ) y^{n}-g \left (x \right ) y-h \left (x \right )&=0 \end{align*}

Maple
ode:=diff(y(x),x)-f(x)*y(x)^n-g(x)*y(x)-h(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=D[y[x],x] - f[x]*y[x]^n - g[x]*y[x] - h[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
n = symbols("n") 
y = Function("y") 
f = Function("f") 
g = Function("g") 
h = Function("h") 
ode = Eq(-f(x)*y(x)**n - g(x)*y(x) - h(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -f(x)*y(x)**n - g(x)*y(x) - h(x) + Derivative(y(x), x) cannot be solved by the lie group method