Internal problem ID [7848]
Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 268.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Bernoulli]
Solve \begin {gather*} \boxed {f \relax (x ) y y^{\prime }+g \relax (x ) y^{2}+h \relax (x )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.078 (sec). Leaf size: 124
dsolve(f(x)*y(x)*diff(y(x),x)+g(x)*y(x)^2+h(x)=0,y(x), singsol=all)
\begin{align*} y \relax (x ) = {\mathrm e}^{\int -\frac {2 g \relax (x )}{f \relax (x )}d x} \sqrt {-{\mathrm e}^{2 \left (\int \frac {g \relax (x )}{f \relax (x )}d x \right )} \left (2 \left (\int \frac {{\mathrm e}^{\int \frac {2 g \relax (x )}{f \relax (x )}d x} h \relax (x )}{f \relax (x )}d x \right )-c_{1}\right )} \\ y \relax (x ) = -{\mathrm e}^{\int -\frac {2 g \relax (x )}{f \relax (x )}d x} \sqrt {-{\mathrm e}^{2 \left (\int \frac {g \relax (x )}{f \relax (x )}d x \right )} \left (2 \left (\int \frac {{\mathrm e}^{\int \frac {2 g \relax (x )}{f \relax (x )}d x} h \relax (x )}{f \relax (x )}d x \right )-c_{1}\right )} \\ \end{align*}
✓ Solution by Mathematica
Time used: 0.55 (sec). Leaf size: 146
DSolve[f[x]*y[x]*y'[x]+g[x]*y[x]^2+h[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\exp \left (\int _1^x-\frac {g(K[1])}{f(K[1])}dK[1]\right ) \sqrt {2 \int _1^x-\frac {\exp \left (-2 \int _1^{K[2]}-\frac {g(K[1])}{f(K[1])}dK[1]\right ) h(K[2])}{f(K[2])}dK[2]+c_1} \\ y(x)\to \exp \left (\int _1^x-\frac {g(K[1])}{f(K[1])}dK[1]\right ) \sqrt {2 \int _1^x-\frac {\exp \left (-2 \int _1^{K[2]}-\frac {g(K[1])}{f(K[1])}dK[1]\right ) h(K[2])}{f(K[2])}dK[2]+c_1} \\ \end{align*}