1.207 problem 208

Internal problem ID [7788]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 208.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Bernoulli]

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

Solution by Maple

Time used: 0.045 (sec). Leaf size: 116

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

\begin{align*} y \relax (x ) = \frac {\sqrt {\left (4 a^{2}+1\right ) \left (4 \,{\mathrm e}^{-2 a x} c_{1} a^{2}+4 \cos \left (x +c \right ) a b +{\mathrm e}^{-2 a x} c_{1}+2 \sin \left (x +c \right ) b \right )}}{4 a^{2}+1} \\ y \relax (x ) = -\frac {\sqrt {\left (4 a^{2}+1\right ) \left (4 \,{\mathrm e}^{-2 a x} c_{1} a^{2}+4 \cos \left (x +c \right ) a b +{\mathrm e}^{-2 a x} c_{1}+2 \sin \left (x +c \right ) b \right )}}{4 a^{2}+1} \\ \end{align*}

Solution by Mathematica

Time used: 1.466 (sec). Leaf size: 106

DSolve[y[x]*y'[x]+a*y[x]^2-b*Cos[x+c]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {\sqrt {\left (4 a^2+1\right ) c_1 e^{-2 a x}+4 a b \cos (c+x)+2 b \sin (c+x)}}{\sqrt {4 a^2+1}} \\ y(x)\to \frac {\sqrt {\left (4 a^2+1\right ) c_1 e^{-2 a x}+4 a b \cos (c+x)+2 b \sin (c+x)}}{\sqrt {4 a^2+1}} \\ \end{align*}