15.4.12 problem 13

Internal problem ID [2925]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 8, page 34
Problem number : 13
Date solved : Monday, January 27, 2025 at 06:56:49 AM
CAS classification : [_separable]

\begin{align*} \frac {2}{y}-\frac {y}{x^{2}}+\left (\frac {1}{x}-\frac {2 x}{y^{2}}\right ) y^{\prime }&=0 \end{align*}

Solution by Maple

Time used: 0.010 (sec). Leaf size: 50

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

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 55

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