6.10 problem 156

Internal problem ID [3412]

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

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.116 (sec). Leaf size: 31

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

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