4.5.39 \(2 x y'(x)=2 x^3-y(x)\)

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

[_linear]

Book solution method
Linear ODE

Mathematica
cpu = 0.163707 (sec), leaf count = 21

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

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

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

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

Mathematica raw output

{{y[x] -> (2*x^3)/7 + C[1]/Sqrt[x]}}

Maple raw input

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

Maple raw output

[y(x) = 2/7*x^3+1/x^(1/2)*_C1]