Integrand size = 22, antiderivative size = 78 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\frac {1}{2} \arctan \left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{2} \text {arctanh}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\frac {1}{4} \text {RootSum}\left [2-2 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \]
[Out]
Result contains complex when optimal does not.
Time = 0.21 (sec) , antiderivative size = 153, normalized size of antiderivative = 1.96, number of steps used = 21, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {1600, 6857, 399, 246, 218, 212, 209, 385} \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\frac {1}{2} \arctan \left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {\arctan \left (\frac {\sqrt [4]{1-i} x}{\sqrt [4]{x^4+1}}\right )}{2 \sqrt [4]{1-i}}-\frac {\arctan \left (\frac {\sqrt [4]{1+i} x}{\sqrt [4]{x^4+1}}\right )}{2 \sqrt [4]{1+i}}+\frac {1}{2} \text {arctanh}\left (\frac {x}{\sqrt [4]{x^4+1}}\right )-\frac {\text {arctanh}\left (\frac {\sqrt [4]{1-i} x}{\sqrt [4]{x^4+1}}\right )}{2 \sqrt [4]{1-i}}-\frac {\text {arctanh}\left (\frac {\sqrt [4]{1+i} x}{\sqrt [4]{x^4+1}}\right )}{2 \sqrt [4]{1+i}} \]
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 246
Rule 385
Rule 399
Rule 1600
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \int \frac {\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}}{1+x^8} \, dx \\ & = \int \left (-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \left (1+x^4\right )^{3/4}}{i-x^4}+\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) \left (1+x^4\right )^{3/4}}{i+x^4}\right ) \, dx \\ & = \left (-\frac {1}{2}-\frac {i}{2}\right ) \int \frac {\left (1+x^4\right )^{3/4}}{i-x^4} \, dx+\left (\frac {1}{2}-\frac {i}{2}\right ) \int \frac {\left (1+x^4\right )^{3/4}}{i+x^4} \, dx \\ & = -\left (i \int \frac {1}{\left (i-x^4\right ) \sqrt [4]{1+x^4}} \, dx\right )-i \int \frac {1}{\left (i+x^4\right ) \sqrt [4]{1+x^4}} \, dx+\left (\frac {1}{2}-\frac {i}{2}\right ) \int \frac {1}{\sqrt [4]{1+x^4}} \, dx+\left (\frac {1}{2}+\frac {i}{2}\right ) \int \frac {1}{\sqrt [4]{1+x^4}} \, dx \\ & = -\left (i \text {Subst}\left (\int \frac {1}{i-(1+i) x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )\right )-i \text {Subst}\left (\int \frac {1}{i+(1-i) x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (\frac {1}{2}-\frac {i}{2}\right ) \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (\frac {1}{2}+\frac {i}{2}\right ) \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right ) \\ & = \left (\frac {1}{4}-\frac {i}{4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (\frac {1}{4}-\frac {i}{4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (\frac {1}{4}+\frac {i}{4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )+\left (\frac {1}{4}+\frac {i}{4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1-\sqrt {1-i} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1+\sqrt {1-i} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1-\sqrt {1+i} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1+\sqrt {1+i} x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right ) \\ & = \frac {1}{2} \arctan \left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\arctan \left (\frac {\sqrt [4]{1-i} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt [4]{1-i}}-\frac {\arctan \left (\frac {\sqrt [4]{1+i} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt [4]{1+i}}+\frac {1}{2} \text {arctanh}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )-\frac {\text {arctanh}\left (\frac {\sqrt [4]{1-i} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt [4]{1-i}}-\frac {\text {arctanh}\left (\frac {\sqrt [4]{1+i} x}{\sqrt [4]{1+x^4}}\right )}{2 \sqrt [4]{1+i}} \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.94 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\frac {1}{4} \left (2 \left (\arctan \left (\frac {x}{\sqrt [4]{1+x^4}}\right )+\text {arctanh}\left (\frac {x}{\sqrt [4]{1+x^4}}\right )\right )+\text {RootSum}\left [2-2 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt [4]{1+x^4}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ]\right ) \]
[In]
[Out]
Time = 16.21 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.12
method | result | size |
pseudoelliptic | \(-\frac {\ln \left (\frac {\left (x^{4}+1\right )^{\frac {1}{4}}-x}{x}\right )}{4}+\frac {\left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{8}-2 \textit {\_Z}^{4}+2\right )}{\sum }\frac {\ln \left (\frac {-\textit {\_R} x +\left (x^{4}+1\right )^{\frac {1}{4}}}{x}\right )}{\textit {\_R}}\right )}{4}-\frac {\arctan \left (\frac {\left (x^{4}+1\right )^{\frac {1}{4}}}{x}\right )}{2}+\frac {\ln \left (\frac {\left (x^{4}+1\right )^{\frac {1}{4}}+x}{x}\right )}{4}\) | \(87\) |
trager | \(\text {Expression too large to display}\) | \(1292\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 0.30 (sec) , antiderivative size = 410, normalized size of antiderivative = 5.26 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=-\frac {1}{8} \, \sqrt {2} \sqrt {\sqrt {2} \sqrt {i + 1}} \log \left (\frac {-\left (i - 1\right ) \, \sqrt {i + 1} \sqrt {\sqrt {2} \sqrt {i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{8} \, \sqrt {2} \sqrt {\sqrt {2} \sqrt {i + 1}} \log \left (\frac {\left (i - 1\right ) \, \sqrt {i + 1} \sqrt {\sqrt {2} \sqrt {i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{8} \, \sqrt {2} \sqrt {-\sqrt {2} \sqrt {i + 1}} \log \left (\frac {-\left (i - 1\right ) \, \sqrt {i + 1} \sqrt {-\sqrt {2} \sqrt {i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{8} \, \sqrt {2} \sqrt {-\sqrt {2} \sqrt {i + 1}} \log \left (\frac {\left (i - 1\right ) \, \sqrt {i + 1} \sqrt {-\sqrt {2} \sqrt {i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{8} \, \sqrt {2} \sqrt {\sqrt {2} \sqrt {-i + 1}} \log \left (\frac {\left (i + 1\right ) \, \sqrt {-i + 1} \sqrt {\sqrt {2} \sqrt {-i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{8} \, \sqrt {2} \sqrt {\sqrt {2} \sqrt {-i + 1}} \log \left (\frac {-\left (i + 1\right ) \, \sqrt {-i + 1} \sqrt {\sqrt {2} \sqrt {-i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{8} \, \sqrt {2} \sqrt {-\sqrt {2} \sqrt {-i + 1}} \log \left (\frac {\left (i + 1\right ) \, \sqrt {-i + 1} \sqrt {-\sqrt {2} \sqrt {-i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{8} \, \sqrt {2} \sqrt {-\sqrt {2} \sqrt {-i + 1}} \log \left (\frac {-\left (i + 1\right ) \, \sqrt {-i + 1} \sqrt {-\sqrt {2} \sqrt {-i + 1}} x + 2 \, {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{2} \, \arctan \left (\frac {{\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{4} \, \log \left (\frac {x + {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{4} \, \log \left (-\frac {x - {\left (x^{4} + 1\right )}^{\frac {1}{4}}}{x}\right ) \]
[In]
[Out]
Not integrable
Time = 66.74 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.33 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right ) \left (x^{4} + 1\right )^{\frac {3}{4}}}{x^{8} + 1}\, dx \]
[In]
[Out]
Not integrable
Time = 0.31 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.28 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\int { \frac {x^{8} - 1}{{\left (x^{8} + 1\right )} {\left (x^{4} + 1\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
Not integrable
Time = 0.27 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.28 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\int { \frac {x^{8} - 1}{{\left (x^{8} + 1\right )} {\left (x^{4} + 1\right )}^{\frac {1}{4}}} \,d x } \]
[In]
[Out]
Not integrable
Time = 0.00 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.28 \[ \int \frac {-1+x^8}{\sqrt [4]{1+x^4} \left (1+x^8\right )} \, dx=\int \frac {x^8-1}{{\left (x^4+1\right )}^{1/4}\,\left (x^8+1\right )} \,d x \]
[In]
[Out]