4.3.48 \(x y'(x)=x^3-y(x)\)

ODE
\[ x y'(x)=x^3-y(x) \] ODE Classification

[_linear]

Book solution method
Linear ODE

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

\[\left \{\left \{y(x)\to \frac {x^3}{4}+\frac {c_1}{x}\right \}\right \}\]

Maple
cpu = 0.005 (sec), leaf count = 15

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

DSolve[x*y'[x] == x^3 - y[x],y[x],x]

Mathematica raw output

{{y[x] -> x^3/4 + C[1]/x}}

Maple raw input

dsolve(x*diff(y(x),x) = x^3-y(x), y(x))

Maple raw output

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