ODE
\[ \left (1-x^2\right ) y'(x)=5-x y(x) \] ODE Classification
[_linear]
Book solution method
Linear ODE
Mathematica ✓
cpu = 0.171035 (sec), leaf count = 21
\[\left \{\left \{y(x)\to 5 x+c_1 \sqrt {x^2-1}\right \}\right \}\]
Maple ✓
cpu = 0.012 (sec), leaf count = 20
\[\left [y \left (x \right ) = \sqrt {x -1}\, \sqrt {1+x}\, \textit {\_C1} +5 x\right ]\] Mathematica raw input
DSolve[(1 - x^2)*y'[x] == 5 - x*y[x],y[x],x]
Mathematica raw output
{{y[x] -> 5*x + Sqrt[-1 + x^2]*C[1]}}
Maple raw input
dsolve((-x^2+1)*diff(y(x),x) = 5-x*y(x), y(x))
Maple raw output
[y(x) = (x-1)^(1/2)*(1+x)^(1/2)*_C1+5*x]