25.4 Problem number 68

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

Optimal antiderivative \[ -\frac {\arctanh \left (\frac {\sqrt {c \,x^{2}+a}}{\sqrt {a}}\right )}{d \sqrt {a}}+\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 (e +\sqrt {-4 d f +e^{2}}\right ) \sqrt {2}}{2 d \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 (e -\sqrt {-4 d f +e^{2}}\right ) \sqrt {2}}{2 d \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(1/x/(f*x^2+e*x+d)/(c*x^2+a)^(1/2),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} \]