7.11 problem 11

Internal problem ID [2021]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 11, page 45
Problem number: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Bernoulli]

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

Solution by Maple

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

dsolve(x*diff(y(x),x)+y(x)=y(x)^2*x^2*cos(x),y(x), singsol=all)
 

\[ y = -\frac {1}{\left (\sin \left (x \right )-c_{1} \right ) x} \]

Solution by Mathematica

Time used: 0.177 (sec). Leaf size: 22

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

\begin{align*} y(x)\to \frac {1}{-x \sin (x)+c_1 x} y(x)\to 0 \end{align*}