82.5.5 problem Ex. 5

Internal problem ID [18670]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Exercises at page 20
Problem number : Ex. 5
Date solved : Monday, March 31, 2025 at 05:55:50 PM
CAS classification : [_exact]

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

Maple. Time used: 0.012 (sec). Leaf size: 46
ode:=(2*x^2*y(x)+4*x^3-12*x*y(x)^2+3*y(x)^2-x*exp(y(x))+exp(2*x))*diff(y(x),x)+12*x^2*y(x)+2*x*y(x)^2+4*x^3-4*y(x)^3+2*y(x)*exp(2*x)-exp(y(x)) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y \,{\mathrm e}^{2 x}-x \,{\mathrm e}^{y}+\left (-4 x +1\right ) y^{3}+x^{2} y^{2}+4 x^{3} y+x^{4}+c_1 = 0 \]
Mathematica. Time used: 0.336 (sec). Leaf size: 51
ode=(2*x^2*y[x]+4*x^3-12*x*y[x]^2+3*y[x]^2-x*Exp[y[x]]+Exp[2*x])*D[y[x],x]+(12*x^2*y[x]+2*x*y[x]^2+4*x^3-4*y[x]^3+2*y[x]*Exp[2*x]-Exp[y[x]])==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [x^4+4 x^3 y(x)+x^2 y(x)^2-x e^{y(x)}-4 x y(x)^3+y(x)^3+e^{2 x} y(x)=c_1,y(x)\right ] \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(4*x**3 + 12*x**2*y(x) + 2*x*y(x)**2 + (4*x**3 + 2*x**2*y(x) - 12*x*y(x)**2 - x*exp(y(x)) + 3*y(x)**2 + exp(2*x))*Derivative(y(x), x) - 4*y(x)**3 + 2*y(x)*exp(2*x) - exp(y(x)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out