60.1.265 problem 271
Internal
problem
ID
[10279]
Book
:
Differential
Gleichungen,
E.
Kamke,
3rd
ed.
Chelsea
Pub.
NY,
1948
Section
:
Chapter
1,
linear
first
order
Problem
number
:
271
Date
solved
:
Sunday, March 30, 2025 at 03:42:32 PM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _rational, _dAlembert]
\begin{align*} \left (y^{2}+x^{2}\right ) y^{\prime }+2 x \left (y+2 x \right )&=0 \end{align*}
✓ Maple. Time used: 0.016 (sec). Leaf size: 317
ode:=(x^2+y(x)^2)*diff(y(x),x)+2*x*(y(x)+2*x) = 0;
dsolve(ode,y(x), singsol=all);
\begin{align*}
y &= -\frac {2 \left (c_1 \,x^{2}-\frac {\left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{2}/{3}}}{4}\right )}{\sqrt {c_1}\, \left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{1}/{3}}} \\
y &= -\frac {\left (1+i \sqrt {3}\right ) \left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{1}/{3}}}{4 \sqrt {c_1}}-\frac {\sqrt {c_1}\, x^{2} \left (i \sqrt {3}-1\right )}{\left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{1}/{3}}} \\
y &= \frac {4 i \sqrt {3}\, c_1 \,x^{2}+i \sqrt {3}\, \left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{2}/{3}}+4 c_1 \,x^{2}-\left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{2}/{3}}}{4 \left (4-16 x^{3} c_1^{{3}/{2}}+4 \sqrt {20 x^{6} c_1^{3}-8 x^{3} c_1^{{3}/{2}}+1}\right )^{{1}/{3}} \sqrt {c_1}} \\
\end{align*}
✓ Mathematica. Time used: 60.216 (sec). Leaf size: 372
ode=(y[x]^2+x^2)*D[y[x],x]+2*x*(y[x]+2*x)==0;
ic={};
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
\begin{align*}
y(x)\to \frac {\sqrt [3]{-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}}}{\sqrt [3]{2}}-\frac {\sqrt [3]{2} x^2}{\sqrt [3]{-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}}} \\
y(x)\to \frac {\sqrt [3]{2} \left (2+2 i \sqrt {3}\right ) x^2+i 2^{2/3} \left (\sqrt {3}+i\right ) \left (-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}\right ){}^{2/3}}{4 \sqrt [3]{-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}}} \\
y(x)\to \frac {\left (1-i \sqrt {3}\right ) x^2}{2^{2/3} \sqrt [3]{-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}}}-\frac {\left (1+i \sqrt {3}\right ) \sqrt [3]{-4 x^3+\sqrt {20 x^6-8 e^{3 c_1} x^3+e^{6 c_1}}+e^{3 c_1}}}{2 \sqrt [3]{2}} \\
\end{align*}
✗ Sympy
from sympy import *
x = symbols("x")
y = Function("y")
ode = Eq(2*x*(2*x + y(x)) + (x**2 + y(x)**2)*Derivative(y(x), x),0)
ics = {}
dsolve(ode,func=y(x),ics=ics)
Timed Out