75.12.34 problem 308

Internal problem ID [16821]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Section 12. Miscellaneous problems. Exercises page 93
Problem number : 308
Date solved : Thursday, March 13, 2025 at 08:52:17 AM
CAS classification : [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]

\begin{align*} \left (5 x -7 y+1\right ) y^{\prime }+x +y-1&=0 \end{align*}

Maple. Time used: 26.544 (sec). Leaf size: 92
ode:=(5*x-7*y(x)+1)*diff(y(x),x)+x+y(x)-1 = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {-\operatorname {RootOf}\left (7 \textit {\_Z}^{16}+\left (-128 c_{1} x^{4}+256 c_{1} x^{3}-192 c_{1} x^{2}+64 c_{1} x -8 c_{1} \right ) \textit {\_Z}^{4}-16 c_{1} x^{4}+32 c_{1} x^{3}-24 c_{1} x^{2}+8 c_{1} x -c_{1} \right )^{12}+16 x c_{1} \left (-\frac {1}{2}+x \right )^{3}}{2 c_{1} \left (-1+2 x \right )^{3}} \]
Mathematica. Time used: 60.319 (sec). Leaf size: 8165
ode=(5*x-7*y[x]+1)*D[y[x],x]+(x+y[x]-1)==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Too large to display

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x + (5*x - 7*y(x) + 1)*Derivative(y(x), x) + y(x) - 1,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out