Integrand size = 33, antiderivative size = 105 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\frac {\arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}+\frac {\text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}+\frac {1}{8} \text {RootSum}\left [a^2-a b-2 a \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt [4]{b+a x^4}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(291\) vs. \(2(105)=210\).
Time = 0.35 (sec) , antiderivative size = 291, normalized size of antiderivative = 2.77, number of steps used = 15, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.212, Rules used = {6857, 246, 218, 212, 209, 1443, 385} \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\frac {\arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4+b}}\right )}{\sqrt [4]{a}}-\frac {\arctan \left (\frac {\sqrt [8]{a} x \sqrt [4]{\sqrt {a}-\sqrt {b}}}{\sqrt [4]{a x^4+b}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}}}-\frac {\arctan \left (\frac {\sqrt [8]{a} x \sqrt [4]{\sqrt {a}+\sqrt {b}}}{\sqrt [4]{a x^4+b}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}}}+\frac {\text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4+b}}\right )}{\sqrt [4]{a}}-\frac {\text {arctanh}\left (\frac {\sqrt [8]{a} x \sqrt [4]{\sqrt {a}-\sqrt {b}}}{\sqrt [4]{a x^4+b}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}}}-\frac {\text {arctanh}\left (\frac {\sqrt [8]{a} x \sqrt [4]{\sqrt {a}+\sqrt {b}}}{\sqrt [4]{a x^4+b}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}}} \]
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 246
Rule 385
Rule 1443
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {2}{\sqrt [4]{b+a x^4}}+\frac {b}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )}\right ) \, dx \\ & = 2 \int \frac {1}{\sqrt [4]{b+a x^4}} \, dx+b \int \frac {1}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx \\ & = 2 \text {Subst}\left (\int \frac {1}{1-a x^4} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )-\frac {1}{2} \left (\sqrt {a} \sqrt {b}\right ) \int \frac {1}{\left (\sqrt {a} \sqrt {b}-a x^4\right ) \sqrt [4]{b+a x^4}} \, dx-\frac {1}{2} \left (\sqrt {a} \sqrt {b}\right ) \int \frac {1}{\left (\sqrt {a} \sqrt {b}+a x^4\right ) \sqrt [4]{b+a x^4}} \, dx \\ & = -\left (\frac {1}{2} \left (\sqrt {a} \sqrt {b}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a} \sqrt {b}-\left (a^{3/2} \sqrt {b}-a b\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )\right )-\frac {1}{2} \left (\sqrt {a} \sqrt {b}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a} \sqrt {b}-\left (a^{3/2} \sqrt {b}+a b\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )+\text {Subst}\left (\int \frac {1}{1-\sqrt {a} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )+\text {Subst}\left (\int \frac {1}{1+\sqrt {a} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right ) \\ & = \frac {\arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}+\frac {\text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1-\sqrt [4]{a} \sqrt {\sqrt {a}-\sqrt {b}} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1+\sqrt [4]{a} \sqrt {\sqrt {a}-\sqrt {b}} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1-\sqrt [4]{a} \sqrt {\sqrt {a}+\sqrt {b}} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1+\sqrt [4]{a} \sqrt {\sqrt {a}+\sqrt {b}} x^2} \, dx,x,\frac {x}{\sqrt [4]{b+a x^4}}\right ) \\ & = \frac {\arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}-\frac {\arctan \left (\frac {\sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}} x}{\sqrt [4]{b+a x^4}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}}}-\frac {\arctan \left (\frac {\sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}} x}{\sqrt [4]{b+a x^4}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}}}+\frac {\text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}-\frac {\text {arctanh}\left (\frac {\sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}} x}{\sqrt [4]{b+a x^4}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}-\sqrt {b}}}-\frac {\text {arctanh}\left (\frac {\sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}} x}{\sqrt [4]{b+a x^4}}\right )}{4 \sqrt [8]{a} \sqrt [4]{\sqrt {a}+\sqrt {b}}} \\ \end{align*}
Time = 0.98 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.95 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\frac {\arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )+\text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b+a x^4}}\right )}{\sqrt [4]{a}}+\frac {1}{8} \text {RootSum}\left [a^2-a b-2 a \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt [4]{b+a x^4}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \]
[In]
[Out]
Time = 0.58 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.10
method | result | size |
pseudoelliptic | \(\frac {\left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{8}-2 a \,\textit {\_Z}^{4}+a^{2}-a b \right )}{\sum }\frac {\ln \left (\frac {-\textit {\_R} x +\left (a \,x^{4}+b \right )^{\frac {1}{4}}}{x}\right )}{\textit {\_R}}\right ) a^{\frac {1}{4}}-8 \arctan \left (\frac {\left (a \,x^{4}+b \right )^{\frac {1}{4}}}{a^{\frac {1}{4}} x}\right )+4 \ln \left (\frac {-a^{\frac {1}{4}} x -\left (a \,x^{4}+b \right )^{\frac {1}{4}}}{a^{\frac {1}{4}} x -\left (a \,x^{4}+b \right )^{\frac {1}{4}}}\right )}{8 a^{\frac {1}{4}}}\) | \(115\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 0.29 (sec) , antiderivative size = 1368, normalized size of antiderivative = 13.03 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
Not integrable
Time = 15.83 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.25 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\int \frac {2 a x^{8} - b}{\sqrt [4]{a x^{4} + b} \left (a x^{8} - b\right )}\, dx \]
[In]
[Out]
Not integrable
Time = 0.26 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.31 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\int { \frac {2 \, a x^{8} - b}{{\left (a x^{8} - b\right )} {\left (a x^{4} + b\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
Not integrable
Time = 0.32 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.31 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\int { \frac {2 \, a x^{8} - b}{{\left (a x^{8} - b\right )} {\left (a x^{4} + b\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
Not integrable
Time = 6.27 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.29 \[ \int \frac {-b+2 a x^8}{\sqrt [4]{b+a x^4} \left (-b+a x^8\right )} \, dx=\int \frac {b-2\,a\,x^8}{{\left (a\,x^4+b\right )}^{1/4}\,\left (b-a\,x^8\right )} \,d x \]
[In]
[Out]