4.31.22 \(\left (x^2+1\right ) y''(x)-x y'(x)+y(x)=0\)

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

[[_2nd_order, _with_linear_symmetries]]

Book solution method
TO DO

Mathematica
cpu = 0.182466 (sec), leaf count = 29

\[\left \{\left \{y(x)\to -c_2 \sqrt {x^2+1}+c_1 x+c_2 x \sinh ^{-1}(x)\right \}\right \}\]

Maple
cpu = 0.103 (sec), leaf count = 24

\[\left [y \left (x \right ) = \textit {\_C1} x +\textit {\_C2} \left (\arcsinh \left (x \right ) x -\sqrt {x^{2}+1}\right )\right ]\] Mathematica raw input

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

Mathematica raw output

{{y[x] -> x*C[1] - Sqrt[1 + x^2]*C[2] + x*ArcSinh[x]*C[2]}}

Maple raw input

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

Maple raw output

[y(x) = _C1*x+_C2*(arcsinh(x)*x-(x^2+1)^(1/2))]