73.4.19 problem 5.2 (i)

Internal problem ID [15101]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 5. LINEAR FIRST ORDER EQUATIONS. Additional exercises. page 103
Problem number : 5.2 (i)
Date solved : Tuesday, January 28, 2025 at 07:30:45 AM
CAS classification : [_linear]

\begin{align*} x y^{\prime }+\left (5 x +2\right ) y&=\frac {20}{x} \end{align*}

Solution by Maple

Time used: 0.000 (sec). Leaf size: 16

dsolve(x*diff(y(x),x)+(5*x+2)*y(x)=20/x,y(x), singsol=all)
 
\[ y = \frac {{\mathrm e}^{-5 x} c_{1} +4}{x^{2}} \]

Solution by Mathematica

Time used: 0.036 (sec). Leaf size: 12

DSolve[Cos[x]*D[y[x],x]+Sin[x]*y[x]==Cos[x]^2,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to (x+c_1) \cos (x) \]