3.16 problem 70

Internal problem ID [3334]

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

CAS Maple gives this as type [_Bernoulli]

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 54

dsolve(diff(y(x),x) = (a+b*y(x)*cos(k*x))*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {\left (a^{2}+k^{2}\right ) {\mathrm e}^{a x}}{{\mathrm e}^{a x} k \sin \left (k x \right ) b +a \,{\mathrm e}^{a x} \cos \left (k x \right ) b -c_{1} a^{2}-c_{1} k^{2}} \]

Solution by Mathematica

Time used: 0.237 (sec). Leaf size: 62

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

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