25.3 Problem number 56

\[ \int \frac {\sqrt {a+c x^2}}{x^2 \left (d+e x+f x^2\right )} \, dx \]

Optimal antiderivative \[ \frac {e \arctanh \left (\frac {\sqrt {c \,x^{2}+a}}{\sqrt {a}}\right ) \sqrt {a}}{d^{2}}-\frac {\sqrt {c \,x^{2}+a}}{d x}-\frac {f \arctanh \left (\frac {\left (2 a f -c x \left (e -\sqrt {-4 d f +e^{2}}\right )\right ) \sqrt {2}}{2 \sqrt {c \,x^{2}+a}\, \sqrt {2 a \,f^{2}+c \left (e^{2}-2 d f -e \sqrt {-4 d f +e^{2}}\right )}}\right ) \left (2 c \,d^{2}+a \left (e^{2}-2 d f +e \sqrt {-4 d f +e^{2}}\right )\right ) \sqrt {2}}{2 d^{2} \sqrt {-4 d f +e^{2}}\, \sqrt {2 a \,f^{2}+c \left (e^{2}-2 d f -e \sqrt {-4 d f +e^{2}}\right )}}+\frac {f \arctanh \left (\frac {\left (2 a f -c x \left (e +\sqrt {-4 d f +e^{2}}\right )\right ) \sqrt {2}}{2 \sqrt {c \,x^{2}+a}\, \sqrt {2 a \,f^{2}+c \left (e^{2}-2 d f +e \sqrt {-4 d f +e^{2}}\right )}}\right ) \left (2 c \,d^{2}+a \left (e^{2}-2 d f -e \sqrt {-4 d f +e^{2}}\right )\right ) \sqrt {2}}{2 d^{2} \sqrt {-4 d f +e^{2}}\, \sqrt {2 a \,f^{2}+c \left (e^{2}-2 d f +e \sqrt {-4 d f +e^{2}}\right )}} \]

command

integrate((c*x^2+a)^(1/2)/x^2/(f*x^2+e*x+d),x, algorithm="fricas")

Fricas 1.3.8 (sbcl 2.2.11.debian) via sagemath 9.6 output

\[ \text {output too large to display} \]

Fricas 1.3.7 via sagemath 9.3 output \[ \text {Timed out} \]