1.46 problem 65

Internal problem ID [12463]

Book: DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section: Chapter 8. Differential equations. Exercises page 595
Problem number: 65.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve(diff(y(x),x)+(1-2*x)/x^2*y(x)-1=0,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.057 (sec). Leaf size: 19

DSolve[y'[x]+(1-2*x)/x^2*y[x]-1==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x^2 \left (1+c_1 e^{\frac {1}{x}}\right ) \]