3.3 problem 3

Internal problem ID [1925]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 7, page 28
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]

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

Solution by Maple

Time used: 0.062 (sec). Leaf size: 56

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

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

Solution by Mathematica

Time used: 0.097 (sec). Leaf size: 77

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

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