30.3 Problem number 64

\[ \int \frac {a d+a e x+(b d+a f) x^2+b e x^3+(c d+b f) x^4+c e x^5+c f x^6}{\left (a+b x^2+c x^4\right )^2} \, dx \]

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

command

integrate((a*d+a*e*x+(a*f+b*d)*x^2+b*e*x^3+(b*f+c*d)*x^4+c*e*x^5+c*f*x^6)/(c*x^4+b*x^2+a)^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} \]