21.1.5 problem 5

Internal problem ID [4081]
Book : Differential equations, Shepley L. Ross, 1964
Section : 2.4, page 55
Problem number : 5
Date solved : Monday, January 27, 2025 at 08:07:46 AM
CAS classification : [[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]

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

Solution by Maple

Time used: 0.556 (sec). Leaf size: 32

dsolve((5*x+2*y(x)+1)+(2*x+y(x)+1)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {-\sqrt {-\left (x -1\right )^{2} c_{1}^{2}+1}+\left (-2 x -1\right ) c_{1}}{c_{1}} \]

Solution by Mathematica

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

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