3.22 problem 76

Internal problem ID [3340]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.031 (sec). Leaf size: 46

dsolve(diff(y(x),x) = (a+b*y(x)+c*y(x)^2)*f(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {b -\tan \left (\frac {\sqrt {4 a c -b^{2}}\, \left (\int f \left (x \right )d x +c_{1} \right )}{2}\right ) \sqrt {4 a c -b^{2}}}{2 c} \]

Solution by Mathematica

Time used: 0.261 (sec). Leaf size: 115

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

\begin{align*} y(x)\to \frac {-b+\sqrt {4 a c-b^2} \tan \left (\frac {1}{2} \sqrt {4 a c-b^2} \left (\int _1^xf(K[1])dK[1]+c_1\right )\right )}{2 c} y(x)\to -\frac {\sqrt {b^2-4 a c}+b}{2 c} y(x)\to \frac {\sqrt {b^2-4 a c}-b}{2 c} \end{align*}