7.3 problem 178

Internal problem ID [2926]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 7
Problem number: 178.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, [_1st_order, _with_symmetry_[F(x),G(x)]], _Riccati]

Solve \begin {gather*} \boxed {y^{\prime } x +b x +\left (2+a x y\right ) y=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 63

dsolve(x*diff(y(x),x)+b*x+(2+a*x*y(x))*y(x) = 0,y(x), singsol=all)
 

\[ y \relax (x ) = -\frac {-\frac {i \sqrt {b}\, \sqrt {a}\, x -1}{x}+\frac {{\mathrm e}^{-2 i \sqrt {b}\, \sqrt {a}\, x}}{c_{1}-\frac {i {\mathrm e}^{-2 i \sqrt {b}\, \sqrt {a}\, x}}{2 \sqrt {b}\, \sqrt {a}}}}{a} \]

Solution by Mathematica

Time used: 2.829 (sec). Leaf size: 43

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

\begin{align*} y(x)\to -\frac {1}{a x}-\sqrt {\frac {b}{a}} \tan \left (a x \sqrt {\frac {b}{a}}-c_1\right ) \\ \end{align*}