Internal problem ID [3038]
Book: Elementary Differential equations, Chaundy, 1969
Section: Exercises 3, page 60
Problem number: 2(d).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {x y^{\prime }-n y=x^{n}} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 12
dsolve(x*diff(y(x),x)-n*y(x)=x^n,y(x), singsol=all)
\[ y \left (x \right ) = \left (\ln \left (x \right )+c_{1} \right ) x^{n} \]
✓ Solution by Mathematica
Time used: 0.044 (sec). Leaf size: 14
DSolve[x*y'[x]-n*y[x]==x^n,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x^n (\log (x)+c_1) \]