ODE
\[ x^2 y'(x)=a-y(x) \] ODE Classification
[_separable]
Book solution method
Separable ODE, Neither variable missing
Mathematica ✓
cpu = 0.163605 (sec), leaf count = 15
\[\left \{\left \{y(x)\to a+c_1 e^{\frac {1}{x}}\right \}\right \}\]
Maple ✓
cpu = 0.01 (sec), leaf count = 12
\[\left [y \left (x \right ) = a +{\mathrm e}^{\frac {1}{x}} \textit {\_C1}\right ]\] Mathematica raw input
DSolve[x^2*y'[x] == a - y[x],y[x],x]
Mathematica raw output
{{y[x] -> a + E^x^(-1)*C[1]}}
Maple raw input
dsolve(x^2*diff(y(x),x) = a-y(x), y(x))
Maple raw output
[y(x) = a+exp(1/x)*_C1]