83.3.5 problem 1 (e)

Internal problem ID [21924]
Book : Differential Equations By Kaj L. Nielsen. Second edition 1966. Barnes and nobel. 66-28306
Section : Chapter III. First order differential equations of the first degree. Ex. IV at page 38
Problem number : 1 (e)
Date solved : Thursday, October 02, 2025 at 08:09:54 PM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

\begin{align*} 3 x^{2}+2 y x +4 y^{2}+\left (20 x^{2}+6 y x +y^{2}\right ) y^{\prime }&=0 \end{align*}
Maple. Time used: 0.122 (sec). Leaf size: 63
ode:=3*x^2+2*x*y(x)+4*y(x)^2+(20*x^2+6*x*y(x)+y(x)^2)*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= \frac {-7 c_1 x -\sqrt {45 c_1^{2} x^{2}-2 c_1 x +1}+1}{2 c_1} \\ y &= \frac {-7 c_1 x +1+\sqrt {45 c_1^{2} x^{2}-2 c_1 x +1}}{2 c_1} \\ \end{align*}
Mathematica. Time used: 1.395 (sec). Leaf size: 85
ode=(3*x^2+2*x*y[x]+4*y[x]^2)+(20*x^2+6*x*y[x]+y[x]^2)*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {1}{2} \left (-\sqrt {45 x^2+2 e^{c_1} x+e^{2 c_1}}-7 x-e^{c_1}\right )\\ y(x)&\to \frac {1}{2} \left (\sqrt {45 x^2+2 e^{c_1} x+e^{2 c_1}}-7 x-e^{c_1}\right ) \end{align*}
Sympy. Time used: 1.584 (sec). Leaf size: 68
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(3*x**2 + 2*x*y(x) + (20*x**2 + 6*x*y(x) + y(x)**2)*Derivative(y(x), x) + 4*y(x)**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = - \frac {7 x}{2} - \frac {\sqrt {45 x^{2} - 2 x e^{C_{1}} + e^{2 C_{1}}}}{2} + \frac {e^{C_{1}}}{2}, \ y{\left (x \right )} = - \frac {7 x}{2} + \frac {\sqrt {45 x^{2} - 2 x e^{C_{1}} + e^{2 C_{1}}}}{2} + \frac {e^{C_{1}}}{2}\right ] \]