4.3.47 \(x^2+x y'(x)-y(x)=0\)

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

[_linear]

Book solution method
Exact equation, integrating factor

Mathematica
cpu = 0.1594 (sec), leaf count = 13

\[\{\{y(x)\to x (-x+c_1)\}\}\]

Maple
cpu = 0.006 (sec), leaf count = 11

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

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

Mathematica raw output

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

Maple raw input

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

Maple raw output

[y(x) = (-x+_C1)*x]