Internal problem ID [3505]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 9
Problem number: 249.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {y^{\prime } x^{2}+y=a} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 12
dsolve(x^2*diff(y(x),x) = a-y(x),y(x), singsol=all)
\[ y \left (x \right ) = a +c_{1} {\mathrm e}^{\frac {1}{x}} \]
✓ Solution by Mathematica
Time used: 0.03 (sec). Leaf size: 20
DSolve[x^2 y'[x]==a-y[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to a+c_1 e^{\frac {1}{x}} \\ y(x)\to a \\ \end{align*}