15.8.16 problem 16

Internal problem ID [3019]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 12, page 46
Problem number : 16
Date solved : Tuesday, March 04, 2025 at 03:44:28 PM
CAS classification : [[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]

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

Maple. Time used: 0.006 (sec). Leaf size: 16
ode:=y(x)+(3*x-2*y(x))*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ x -\frac {y}{2}-\frac {c_{1}}{y^{3}} = 0 \]
Mathematica. Time used: 60.085 (sec). Leaf size: 1509
ode=(y[x])+(3*x-2*y[x])*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} \text {Solution too large to show}\end{align*}

Sympy. Time used: 122.153 (sec). Leaf size: 1034
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((3*x - 2*y(x))*Derivative(y(x), x) + y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \text {Solution too large to show} \]