20.14 problem 559

Internal problem ID [3811]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 20
Problem number: 559.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, _Bernoulli]

\[ \boxed {a x y y^{\prime }-y^{2}=-x^{2}} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 68

dsolve(a*x*y(x)*diff(y(x),x)+x^2-y(x)^2 = 0,y(x), singsol=all)
 

\begin{align*} y \left (x \right ) &= \frac {\sqrt {\left (c_{1} \left (a -1\right ) x^{\frac {2}{a}}-x^{2}\right ) \left (a -1\right )}}{a -1} \\ y \left (x \right ) &= -\frac {\sqrt {\left (c_{1} \left (a -1\right ) x^{\frac {2}{a}}-x^{2}\right ) \left (a -1\right )}}{a -1} \\ \end{align*}

Solution by Mathematica

Time used: 4.177 (sec). Leaf size: 72

DSolve[a x y[x] y'[x]+x^2-y[x]^2==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {\sqrt {-x^2+(a-1) c_1 x^{2/a}}}{\sqrt {a-1}} \\ y(x)\to \frac {\sqrt {-x^2+(a-1) c_1 x^{2/a}}}{\sqrt {a-1}} \\ \end{align*}