12.21 problem Ex 22

Internal problem ID [10173]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter 2, differential equations of the first order and the first degree. Article 19. Summary. Page 29
Problem number: Ex 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational]

\[ \boxed {\left (y^{2}+x^{2}\right ) \left (x +y^{\prime } y\right )-\left (x^{2}+y^{2}+x \right ) \left (y^{\prime } x -y\right )=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 61

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

\[ y \left (x \right ) = -\frac {x}{\tan \left (\operatorname {RootOf}\left (-2 \textit {\_Z} +2 \ln \left (\frac {x \left (2 x \tan \left (\textit {\_Z} \right )^{2}+\tan \left (\textit {\_Z} \right )^{2}+2 x +\tan \left (\textit {\_Z} \right )\right )}{\tan \left (\textit {\_Z} \right )^{2}}\right )-\ln \left (\frac {x^{2} \left (\tan \left (\textit {\_Z} \right )^{2}+1\right )}{\tan \left (\textit {\_Z} \right )^{2}}\right )+2 c_{1} \right )\right )} \]

Solution by Mathematica

Time used: 0.351 (sec). Leaf size: 53

DSolve[(x^2+y[x]^2)*(x+y[x]*y'[x])==(x^2+y[x]^2+x)*(x*y'[x]-y[x]),y[x],x,IncludeSingularSolutions -> True]
 

\[ \text {Solve}\left [\frac {1}{2} \arctan \left (\frac {x}{y(x)}\right )-\frac {1}{4} \log \left (x^2+y(x)^2\right )+\frac {1}{2} \log \left (2 x^2+2 y(x)^2-y(x)+x\right )=c_1,y(x)\right ] \]