29.18.18 problem 494

Internal problem ID [5092]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 18
Problem number : 494
Date solved : Sunday, March 30, 2025 at 06:37:12 AM
CAS classification : [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]

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

Maple. Time used: 0.274 (sec). Leaf size: 717
ode:=(3-3*x+7*y(x))*diff(y(x),x)+7-7*x+3*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {Expression too large to display} \]
Mathematica. Time used: 60.707 (sec). Leaf size: 7785
ode=(3-3 x+7 y[x])D[y[x],x]+7-7 x+3 y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Too large to display

Sympy. Time used: 1.138 (sec). Leaf size: 31
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-7*x + (-3*x + 7*y(x) + 3)*Derivative(y(x), x) + 3*y(x) + 7,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \log {\left (y{\left (x \right )} \right )} = C_{1} - \log {\left (\left (\frac {x - 1}{y{\left (x \right )}} - 1\right )^{\frac {2}{7}} \left (\frac {x - 1}{y{\left (x \right )}} + 1\right )^{\frac {5}{7}} \right )} \]