83.5.11 problem 11

Internal problem ID [19106]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter II. Equations of first order and first degree. Exercise II (D) at page 16
Problem number : 11
Date solved : Tuesday, January 28, 2025 at 12:57:03 PM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 19

DSolve[D[y[x],x]+(1-2*x)/x^2*y[x]==1,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x^2 \left (1+c_1 e^{\frac {1}{x}}\right ) \]