14.2 problem 381

Internal problem ID [3637]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 14
Problem number: 381.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {x^{n} y^{\prime }-b \,x^{n -1} y=a} \]

Solution by Maple

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

dsolve(x^n*diff(y(x),x) = a+b*x^(n-1)*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {a \,x^{-n +1}}{n +b -1}+x^{b} c_{1} \]

Solution by Mathematica

Time used: 0.107 (sec). Leaf size: 28

DSolve[x^n y'[x]==a+b x^(n-1) y[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -\frac {a x^{1-n}}{b+n-1}+c_1 x^b \]