2.422 problem 998

Internal problem ID [9333]

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

CAS Maple gives this as type [[_1st_order, `_with_symmetry_[F(x),G(x)]`], _Riccati]

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

Solution by Maple

Time used: 0.015 (sec). Leaf size: 27

dsolve(diff(y(x),x) = ((y(x)-ln(x)-Ci(x))^2+cos(x))/x,y(x), singsol=all)
 

\[ y \left (x \right ) = \ln \left (x \right )+\operatorname {Ci}\left (x \right )+\frac {-x^{2} c_{1} +1}{x^{2} c_{1} +1} \]

Solution by Mathematica

Time used: 0.738 (sec). Leaf size: 36

DSolve[y'[x] == (Cos[x] + (-CosIntegral[x] - Log[x] + y[x])^2)/x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \operatorname {CosIntegral}(x)-\frac {2 x^2}{x^2-2 c_1}+\log (x)+1 y(x)\to \operatorname {CosIntegral}(x)+\log (x)+1 \end{align*}