48.4.19 problem Problem 3.32

Internal problem ID [7561]
Book : THEORY OF DIFFERENTIAL EQUATIONS IN ENGINEERING AND MECHANICS. K.T. CHAU, CRC Press. Boca Raton, FL. 2018
Section : Chapter 3. Ordinary Differential Equations. Section 3.6 Summary and Problems. Page 218
Problem number : Problem 3.32
Date solved : Monday, January 27, 2025 at 03:06:01 PM
CAS classification : [[_homogeneous, `class A`], _rational, _Bernoulli]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.377 (sec). Leaf size: 37

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