1.13 problem 13

Internal problem ID [12110]

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

CAS Maple gives this as type [_separable]

\[ \boxed {x^{2} y^{\prime }+y=a} \]

Solution by Maple

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

dsolve((y(x)-a)+x^2*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = a +{\mathrm e}^{\frac {1}{x}} c_{1} \]

Solution by Mathematica

Time used: 0.048 (sec). Leaf size: 20

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

\begin{align*} y(x)\to a+c_1 e^{\frac {1}{x}} y(x)\to a \end{align*}