Internal problem ID [6590]
Book: First order enumerated odes
Section: section 1
Problem number: 28.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }-\cos \left (x \right )-\frac {y}{x}=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 10
dsolve(diff(y(x),x)=cos(x)+y(x)/x,y(x), singsol=all)
\[ y \left (x \right ) = \left (\operatorname {Ci}\left (x \right )+c_{1} \right ) x \]
✓ Solution by Mathematica
Time used: 0.034 (sec). Leaf size: 12
DSolve[y'[x]==Cos[x]+y[x]/x,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to x (\operatorname {CosIntegral}(x)+c_1) \\ \end{align*}