15.2.15 problem 15

Internal problem ID [2885]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 6, page 25
Problem number : 15
Date solved : Monday, January 27, 2025 at 06:24:39 AM
CAS classification : [[_homogeneous, `class A`], _rational, _Bernoulli]

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

With initial conditions

\begin{align*} y \left (-1\right )&=0 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.201 (sec). Leaf size: 36

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