29.19.30 problem 543

Internal problem ID [5139]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 19
Problem number : 543
Date solved : Monday, January 27, 2025 at 10:13:59 AM
CAS classification : [[_homogeneous, `class A`], _rational, _Bernoulli]

\begin{align*} 2 x y y^{\prime }&=x^{2}+y^{2} \end{align*}

Solution by Maple

Time used: 0.004 (sec). Leaf size: 23

dsolve(2*x*y(x)*diff(y(x),x) = x^2+y(x)^2,y(x), singsol=all)
 
\begin{align*} y \left (x \right ) &= \sqrt {\left (x +c_{1} \right ) x} \\ y \left (x \right ) &= -\sqrt {\left (x +c_{1} \right ) x} \\ \end{align*}

Solution by Mathematica

Time used: 0.180 (sec). Leaf size: 38

DSolve[2 x y[x] D[y[x],x]==x^2+y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -\sqrt {x} \sqrt {x+c_1} \\ y(x)\to \sqrt {x} \sqrt {x+c_1} \\ \end{align*}