Internal problem ID [12141]
Book: DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR
PUBLISHERS, Moscow 1969.
Section: Chapter 8. Differential equations. Exercises page 595
Problem number: 63.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+\frac {n y}{x}=a \,x^{-n}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 15
dsolve(diff(y(x),x)+n/x*y(x)=a/x^n,y(x), singsol=all)
\[ y \left (x \right ) = \left (a x +c_{1} \right ) x^{-n} \]
✓ Solution by Mathematica
Time used: 0.098 (sec). Leaf size: 17
DSolve[y'[x]+n/x*y[x]==a/x^n,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x^{-n} (a x+c_1) \]