4.3.50 \(x y'(x)=x^m+y(x)\)

ODE
\[ x y'(x)=x^m+y(x) \] ODE Classification

[_linear]

Book solution method
Linear ODE

Mathematica
cpu = 0.167619 (sec), leaf count = 19

\[\left \{\left \{y(x)\to \frac {x^m}{m-1}+c_1 x\right \}\right \}\]

Maple
cpu = 0.008 (sec), leaf count = 17

\[\left [y \left (x \right ) = \frac {x^{m}}{m -1}+x \textit {\_C1}\right ]\] Mathematica raw input

DSolve[x*y'[x] == x^m + y[x],y[x],x]

Mathematica raw output

{{y[x] -> x^m/(-1 + m) + x*C[1]}}

Maple raw input

dsolve(x*diff(y(x),x) = x^m+y(x), y(x))

Maple raw output

[y(x) = x^m/(m-1)+x*_C1]