Optimal. Leaf size=1716 \[ \frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {-\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5-c_3 c_4 c_6+c_2 c_4 c_7}}\right ) \sqrt {c_3 c_6-c_2 c_7} c_8}{c_7 \sqrt {-\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5-c_3 c_4 c_6+c_2 c_4 c_7}}+\frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5-c_3 c_4 c_6+c_2 c_4 c_7}}\right ) \sqrt {c_3 c_6-c_2 c_7} c_8}{c_7 \sqrt {\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5-c_3 c_4 c_6+c_2 c_4 c_7}}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} c_8}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5} c_7}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} c_8}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5} c_7}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_2 c_7-c_3 c_6}}{\sqrt {-i \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_2 c_7-c_3 c_6} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}\right ) c_6 \sqrt {c_2 c_7-c_3 c_6} c_9}{c_7{}^2 \sqrt {-i \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_2 c_7-c_3 c_6} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_2 c_7-c_3 c_6}}{\sqrt {i \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_2 c_7-c_3 c_6} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}\right ) c_6 \sqrt {c_2 c_7-c_3 c_6} c_9}{c_7{}^2 \sqrt {i \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_2 c_7-c_3 c_6} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}+\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \left (-c_1 c_2 c_4 c_9+c_0 c_3 c_4 c_9+c_1 c_2 \sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5 c_9-c_0 c_3 \sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5 c_9\right )}{\left (c_1-\frac {(c_0+x c_1) c_3}{c_2+x c_3}\right ) \left (c_1 c_5{}^2-c_3 c_4{}^2\right ) c_7}+\frac {\tan ^{-1}\left (\frac {\sqrt {\sqrt {c_1} \sqrt {c_3} c_5-c_3 c_4} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {c_3} c_4-\sqrt {c_1} c_5}\right ) \left (4 \sqrt {c_1} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_6 c_9 c_3{}^{3/2}-4 c_1 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_6 c_9 c_3-c_0 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_9 c_3+c_1 c_2 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_9\right )}{2 \sqrt {c_1} c_3 \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right ){}^2 c_7{}^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {-c_3 c_4-\sqrt {c_1} \sqrt {c_3} c_5} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {c_3} c_4+\sqrt {c_1} c_5}\right ) \left (4 \sqrt {c_1} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_6 c_9 c_3{}^{3/2}+4 c_1 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_6 c_9 c_3+c_0 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_9 c_3-c_1 c_2 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_9\right )}{2 \sqrt {c_1} c_3 \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right ){}^2 c_7{}^2} \]
________________________________________________________________________________________
Rubi [A] time = 33.94, antiderivative size = 944, normalized size of antiderivative = 0.55, number of steps used = 15, number of rules used = 5, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.104, Rules used = {6741, 6728, 1178, 1166, 208} \begin {gather*} \frac {(c_2+x c_3) \left (c_4-\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5\right ) \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} c_9}{\left (c_3 c_4{}^2-c_1 c_5{}^2\right ) c_7}-\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) (c_1 c_2-c_0 c_3) c_5 c_9}{2 \sqrt {c_1} c_3{}^{3/4} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right ){}^{3/2} c_7}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) (c_1 c_2-c_0 c_3) c_5 c_9}{2 \sqrt {c_1} c_3{}^{3/4} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right ){}^{3/2} c_7}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {-\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {-\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {\sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7} c_5+c_3 c_4 c_6-c_2 c_4 c_7}}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5} c_7{}^2}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5} c_7{}^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 208
Rule 1166
Rule 1178
Rule 6728
Rule 6741
Rubi steps
\begin {align*} \int \frac {c_8+x c_9}{\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} (c_6+x c_7)} \, dx &=(2 (c_1 c_2-c_0 c_3)) \operatorname {Subst}\left (\int \frac {x \left (-c_1 c_8+c_0 c_9+x^2 (c_3 c_8-c_2 c_9)\right )}{\left (c_1-x^2 c_3\right ){}^2 \sqrt {c_4+x c_5} \left (-c_1 c_6+c_0 c_7+x^2 (c_3 c_6-c_2 c_7)\right )} \, dx,x,\sqrt {\frac {c_0+x c_1}{c_2+x c_3}}\right )\\ &=\frac {(4 (c_1 c_2-c_0 c_3)) \operatorname {Subst}\left (\int \frac {\left (x^2-c_4\right ) \left (-c_1 c_8+c_0 c_9+\frac {\left (x^2-c_4\right ){}^2 (c_3 c_8-c_2 c_9)}{c_5{}^2}\right )}{\left (c_1-\frac {c_3 \left (x^2-c_4\right ){}^2}{c_5{}^2}\right ){}^2 \left (-c_1 c_6+c_0 c_7+\frac {\left (x^2-c_4\right ){}^2 (c_3 c_6-c_2 c_7)}{c_5{}^2}\right )} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_5{}^2}\\ &=\frac {(4 (c_1 c_2-c_0 c_3)) \operatorname {Subst}\left (\int \frac {\left (x^2-c_4\right ) \left (c_1 c_8-\frac {c_3 c_4{}^2 c_8}{c_5{}^2}-c_0 c_9+\frac {c_2 c_4{}^2 c_9}{c_5{}^2}-\frac {x^4 (c_3 c_8-c_2 c_9)}{c_5{}^2}+\frac {2 x^2 c_4 (c_3 c_8-c_2 c_9)}{c_5{}^2}\right )}{\left (c_1-\frac {x^4 c_3}{c_5{}^2}+\frac {2 x^2 c_3 c_4}{c_5{}^2}-\frac {c_3 c_4{}^2}{c_5{}^2}\right ){}^2 \left (c_1 c_6-\frac {c_3 c_4{}^2 c_6}{c_5{}^2}-c_0 c_7+\frac {c_2 c_4{}^2 c_7}{c_5{}^2}-\frac {x^4 (c_3 c_6-c_2 c_7)}{c_5{}^2}+\frac {2 x^2 c_4 (c_3 c_6-c_2 c_7)}{c_5{}^2}\right )} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_5{}^2}\\ &=\frac {(4 (c_1 c_2-c_0 c_3)) \operatorname {Subst}\left (\int \left (\frac {\left (x^2-c_4\right ) c_5{}^4 c_9}{\left (x^4 c_3-2 x^2 c_3 c_4+c_3 c_4{}^2-c_1 c_5{}^2\right ){}^2 c_7}+\frac {c_3 \left (x^2-c_4\right ) c_5{}^2 (c_7 c_8-c_6 c_9)}{(c_1 c_2-c_0 c_3) \left (-x^4 c_3+2 x^2 c_3 c_4-c_3 c_4{}^2+c_1 c_5{}^2\right ) c_7{}^2}+\frac {\left (x^2-c_4\right ) c_5{}^2 (c_3 c_6-c_2 c_7) (c_7 c_8-c_6 c_9)}{(c_1 c_2-c_0 c_3) c_7{}^2 \left (c_3 c_4{}^2 c_6-c_1 c_5{}^2 c_6-\left (c_2 c_4{}^2-c_0 c_5{}^2\right ) c_7+x^4 (c_3 c_6-c_2 c_7)-2 x^2 c_4 (c_3 c_6-c_2 c_7)\right )}\right ) \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_5{}^2}\\ &=\frac {\left (4 (c_1 c_2-c_0 c_3) c_5{}^2 c_9\right ) \operatorname {Subst}\left (\int \frac {x^2-c_4}{\left (x^4 c_3-2 x^2 c_3 c_4+c_3 c_4{}^2-c_1 c_5{}^2\right ){}^2} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7}+\frac {(4 c_3 (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {x^2-c_4}{-x^4 c_3+2 x^2 c_3 c_4-c_3 c_4{}^2+c_1 c_5{}^2} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}+\frac {(4 (c_3 c_6-c_2 c_7) (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {x^2-c_4}{c_3 c_4{}^2 c_6-c_1 c_5{}^2 c_6-\left (c_2 c_4{}^2-c_0 c_5{}^2\right ) c_7+x^4 (c_3 c_6-c_2 c_7)-2 x^2 c_4 (c_3 c_6-c_2 c_7)} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}\\ &=\frac {(c_2+x c_3) \left (c_4-\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5\right ) \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} c_9}{\left (c_3 c_4{}^2-c_1 c_5{}^2\right ) c_7}-\frac {((c_1 c_2-c_0 c_3) c_9) \operatorname {Subst}\left (\int \frac {-2 x^2 c_1 c_3 c_5{}^2+4 c_1 c_3 c_4 c_5{}^2}{x^4 c_3-2 x^2 c_3 c_4+c_3 c_4{}^2-c_1 c_5{}^2} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{2 c_1 c_3 \left (c_3 c_4{}^2-c_1 c_5{}^2\right ) c_7}+\frac {(2 c_3 (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {1}{-x^2 c_3+c_3 c_4-\sqrt {c_1} \sqrt {c_3} c_5} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}+\frac {(2 c_3 (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {1}{-x^2 c_3+c_3 c_4+\sqrt {c_1} \sqrt {c_3} c_5} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}+\frac {(2 (c_3 c_6-c_2 c_7) (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {1}{-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}+x^2 (c_3 c_6-c_2 c_7)-c_4 (c_3 c_6-c_2 c_7)} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}+\frac {(2 (c_3 c_6-c_2 c_7) (c_7 c_8-c_6 c_9)) \operatorname {Subst}\left (\int \frac {1}{c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}+x^2 (c_3 c_6-c_2 c_7)-c_4 (c_3 c_6-c_2 c_7)} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{c_7{}^2}\\ &=\frac {(c_2+x c_3) \left (c_4-\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5\right ) \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} c_9}{\left (c_3 c_4{}^2-c_1 c_5{}^2\right ) c_7}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5} c_7{}^2}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5} c_7{}^2}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {c_3 c_4 c_6-c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {c_3 c_4 c_6-c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {c_3 c_4 c_6-c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {c_3 c_4 c_6-c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}+\frac {((c_1 c_2-c_0 c_3) c_5 c_9) \operatorname {Subst}\left (\int \frac {1}{x^2 c_3-c_3 c_4+\sqrt {c_1} \sqrt {c_3} c_5} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{2 \sqrt {c_1} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right ) c_7}-\frac {((c_1 c_2-c_0 c_3) c_5 c_9) \operatorname {Subst}\left (\int \frac {1}{x^2 c_3-c_3 c_4-\sqrt {c_1} \sqrt {c_3} c_5} \, dx,x,\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}\right )}{2 \sqrt {c_1} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right ) c_7}\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) (c_1 c_2-c_0 c_3) c_5 c_9}{2 \sqrt {c_1} c_3{}^{3/4} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right ){}^{3/2} c_7}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) (c_1 c_2-c_0 c_3) c_5 c_9}{2 \sqrt {c_1} c_3{}^{3/4} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right ){}^{3/2} c_7}+\frac {(c_2+x c_3) \left (c_4-\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5\right ) \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} c_9}{\left (c_3 c_4{}^2-c_1 c_5{}^2\right ) c_7}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4-\sqrt {c_1} c_5} c_7{}^2}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt [4]{c_3} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5}}\right ) \sqrt [4]{c_3} (c_7 c_8-c_6 c_9)}{\sqrt {\sqrt {c_3} c_4+\sqrt {c_1} c_5} c_7{}^2}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {c_3 c_4 c_6-c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {c_3 c_4 c_6-c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {c_3 c_4 c_6-c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (c_7 c_8-c_6 c_9)}{c_7{}^2 \sqrt {c_3 c_4 c_6-c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 16.13, size = 2281, normalized size = 1.33 \begin {gather*} \text {Result too large to show} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 6.33, size = 1344, normalized size = 0.78 \begin {gather*} \frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \left (-c_1 c_2 c_4 c_9+c_0 c_3 c_4 c_9+c_1 c_2 \sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5 c_9-c_0 c_3 \sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5 c_9\right )}{\left (c_1-\frac {(c_0+x c_1) c_3}{c_2+x c_3}\right ) \left (-c_3 c_4{}^2+c_1 c_5{}^2\right ) c_7}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {-c_3 c_4 c_6+c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (-c_7 c_8+c_6 c_9)}{c_7{}^2 \sqrt {-c_3 c_4 c_6+c_2 c_4 c_7-c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5} \sqrt {c_3 c_6-c_2 c_7}}{\sqrt {-c_3 c_4 c_6+c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}\right ) \sqrt {c_3 c_6-c_2 c_7} (-c_7 c_8+c_6 c_9)}{c_7{}^2 \sqrt {-c_3 c_4 c_6+c_2 c_4 c_7+c_5 \sqrt {c_1 c_6-c_0 c_7} \sqrt {c_3 c_6-c_2 c_7}}}+\frac {\tan ^{-1}\left (\frac {\sqrt {-c_3 c_4+\sqrt {c_1} \sqrt {c_3} c_5} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {c_3} c_4-\sqrt {c_1} c_5}\right ) \left (-4 \sqrt {c_1} c_3{}^{3/2} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_8+4 c_1 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_8+4 \sqrt {c_1} c_3{}^{3/2} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_6 c_9-4 c_1 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_6 c_9+c_1 c_2 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_9-c_0 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right )} c_7 c_9\right )}{2 \sqrt {c_1} c_3 \left (\sqrt {c_3} c_4-\sqrt {c_1} c_5\right ){}^2 c_7{}^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {-c_3 c_4-\sqrt {c_1} \sqrt {c_3} c_5} \sqrt {c_4+\sqrt {\frac {c_0+x c_1}{c_2+x c_3}} c_5}}{\sqrt {c_3} c_4+\sqrt {c_1} c_5}\right ) \left (-4 \sqrt {c_1} c_3{}^{3/2} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_8-4 c_1 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_8+4 \sqrt {c_1} c_3{}^{3/2} c_4 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_6 c_9+4 c_1 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_6 c_9-c_1 c_2 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_9+c_0 c_3 c_5 \sqrt {-\sqrt {c_3} \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right )} c_7 c_9\right )}{2 \sqrt {c_1} c_3 \left (\sqrt {c_3} c_4+\sqrt {c_1} c_5\right ){}^2 c_7{}^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.07, size = 0, normalized size = 0.00 \[\int \frac {\textit {\_C9} x +\textit {\_C8}}{\sqrt {\textit {\_C4} +\sqrt {\frac {\textit {\_C1} x +\textit {\_C0}}{\textit {\_C3} x +\textit {\_C2}}}\, \textit {\_C5}}\, \left (\textit {\_C7} x +\textit {\_C6} \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\_{C_{9}} x + \_{C_{8}}}{{\left (\_{C_{7}} x + \_{C_{6}}\right )} \sqrt {\_{C_{5}} \sqrt {\frac {\_{C_{1}} x + \_{C_{0}}}{\_{C_{3}} x + \_{C_{2}}}} + \_{C_{4}}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {_{\mathrm {C8}}+_{\mathrm {C9}}\,x}{\sqrt {_{\mathrm {C4}}+_{\mathrm {C5}}\,\sqrt {\frac {_{\mathrm {C0}}+_{\mathrm {C1}}\,x}{_{\mathrm {C2}}+_{\mathrm {C3}}\,x}}}\,\left (_{\mathrm {C6}}+_{\mathrm {C7}}\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________