Optimal. Leaf size=469 \[ -\frac {1}{4} \sqrt [4]{-4+3 \sqrt {2}} \text {ArcTan}\left (\frac {\sqrt {2-\sqrt {2}} x}{-\sqrt {2+\sqrt {2}} x+2^{7/8} \sqrt [4]{-x^2+x^6}}\right )-\frac {1}{4} \sqrt [4]{-4+3 \sqrt {2}} \text {ArcTan}\left (\frac {\sqrt {2-\sqrt {2}} x}{\sqrt {2+\sqrt {2}} x+2^{7/8} \sqrt [4]{-x^2+x^6}}\right )-\frac {1}{4} \sqrt [4]{4+3 \sqrt {2}} \text {ArcTan}\left (\frac {2^{7/8} \sqrt {2+\sqrt {2}} x \sqrt [4]{-x^2+x^6}}{-2 x^2+2^{3/4} \sqrt {-x^2+x^6}}\right )-\frac {1}{4} \sqrt [4]{-4+3 \sqrt {2}} \tanh ^{-1}\left (\frac {\frac {\sqrt [8]{2} x^2}{\sqrt {2-\sqrt {2}}}+\frac {\sqrt {-x^2+x^6}}{\sqrt [8]{2} \sqrt {2-\sqrt {2}}}}{x \sqrt [4]{-x^2+x^6}}\right )+\frac {1}{8} \sqrt [4]{4+3 \sqrt {2}} \log \left (-2 x^2+2^{7/8} \sqrt {2+\sqrt {2}} x \sqrt [4]{-x^2+x^6}-2^{3/4} \sqrt {-x^2+x^6}\right )-\frac {1}{8} \sqrt [4]{4+3 \sqrt {2}} \log \left (2 \sqrt {2-\sqrt {2}} x^2+2\ 2^{3/8} x \sqrt [4]{-x^2+x^6}+2^{3/4} \sqrt {2-\sqrt {2}} \sqrt {-x^2+x^6}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 0.36, antiderivative size = 101, normalized size of antiderivative = 0.22, number of steps
used = 9, number of rules used = 6, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2081, 1600,
6847, 6857, 441, 440} \begin {gather*} -\frac {(1-i) x \sqrt [4]{1-x^4} F_1\left (\frac {1}{8};-\frac {3}{4},1;\frac {9}{8};x^4,i x^4\right )}{\sqrt [4]{x^6-x^2}}-\frac {(1+i) x \sqrt [4]{1-x^4} F_1\left (\frac {1}{8};1,-\frac {3}{4};\frac {9}{8};-i x^4,x^4\right )}{\sqrt [4]{x^6-x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 440
Rule 441
Rule 1600
Rule 2081
Rule 6847
Rule 6857
Rubi steps
\begin {align*} \int \frac {-1+x^8}{\sqrt [4]{-x^2+x^6} \left (1+x^8\right )} \, dx &=\frac {\left (\sqrt {x} \sqrt [4]{-1+x^4}\right ) \int \frac {-1+x^8}{\sqrt {x} \sqrt [4]{-1+x^4} \left (1+x^8\right )} \, dx}{\sqrt [4]{-x^2+x^6}}\\ &=\frac {\left (\sqrt {x} \sqrt [4]{-1+x^4}\right ) \int \frac {\left (-1+x^4\right )^{3/4} \left (1+x^4\right )}{\sqrt {x} \left (1+x^8\right )} \, dx}{\sqrt [4]{-x^2+x^6}}\\ &=\frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^4}\right ) \text {Subst}\left (\int \frac {\left (-1+x^8\right )^{3/4} \left (1+x^8\right )}{1+x^{16}} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^6}}\\ &=\frac {\left (2 \sqrt {x} \sqrt [4]{-1+x^4}\right ) \text {Subst}\left (\int \left (-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) \left (-1+x^8\right )^{3/4}}{i-x^8}+\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \left (-1+x^8\right )^{3/4}}{i+x^8}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^6}}\\ &=-\frac {\left ((1-i) \sqrt {x} \sqrt [4]{-1+x^4}\right ) \text {Subst}\left (\int \frac {\left (-1+x^8\right )^{3/4}}{i-x^8} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^6}}+\frac {\left ((1+i) \sqrt {x} \sqrt [4]{-1+x^4}\right ) \text {Subst}\left (\int \frac {\left (-1+x^8\right )^{3/4}}{i+x^8} \, dx,x,\sqrt {x}\right )}{\sqrt [4]{-x^2+x^6}}\\ &=-\frac {\left ((1-i) \sqrt {x} \left (-1+x^4\right )\right ) \text {Subst}\left (\int \frac {\left (1-x^8\right )^{3/4}}{i-x^8} \, dx,x,\sqrt {x}\right )}{\left (1-x^4\right )^{3/4} \sqrt [4]{-x^2+x^6}}+\frac {\left ((1+i) \sqrt {x} \left (-1+x^4\right )\right ) \text {Subst}\left (\int \frac {\left (1-x^8\right )^{3/4}}{i+x^8} \, dx,x,\sqrt {x}\right )}{\left (1-x^4\right )^{3/4} \sqrt [4]{-x^2+x^6}}\\ &=-\frac {(1-i) x \sqrt [4]{1-x^4} F_1\left (\frac {1}{8};-\frac {3}{4},1;\frac {9}{8};x^4,i x^4\right )}{\sqrt [4]{-x^2+x^6}}-\frac {(1+i) x \sqrt [4]{1-x^4} F_1\left (\frac {1}{8};1,-\frac {3}{4};\frac {9}{8};-i x^4,x^4\right )}{\sqrt [4]{-x^2+x^6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 10.44, size = 342, normalized size = 0.73 \begin {gather*} \frac {\sqrt [4]{-1+\frac {1}{x^4}} x^{3/2} \left (2 \sqrt [4]{-4+3 \sqrt {2}} \text {ArcTan}\left (\frac {\sqrt [4]{-8+6 \sqrt {2}} \sqrt [4]{-1+\frac {1}{x^4}} \sqrt {x}}{\sqrt [4]{2}-\sqrt {-1+\frac {1}{x^4}} x}\right )-2 \sqrt [4]{-4+3 \sqrt {2}} \tanh ^{-1}\left (\frac {2 \sqrt [4]{-4+3 \sqrt {2}} \sqrt [4]{-1+\frac {1}{x^4}} \sqrt {x}}{2+2^{3/4} \sqrt {-1+\frac {1}{x^4}} x}\right )+\sqrt [4]{4+3 \sqrt {2}} \left (2 \text {ArcTan}\left (\frac {\sqrt [4]{8+6 \sqrt {2}} \sqrt [4]{-1+\frac {1}{x^4}} \sqrt {x}}{\sqrt [4]{2}-\sqrt {-1+\frac {1}{x^4}} x}\right )+\log \left (\frac {2-2 \sqrt [4]{4+3 \sqrt {2}} \sqrt [4]{-1+\frac {1}{x^4}} \sqrt {x}+2^{3/4} \sqrt {-1+\frac {1}{x^4}} x}{x}\right )-\log \left (\frac {\sqrt {2-\sqrt {2}}+2^{3/8} \sqrt [4]{-1+\frac {1}{x^4}} \sqrt {x}+\sqrt {-1+\sqrt {2}} \sqrt {-1+\frac {1}{x^4}} x}{x}\right )\right )\right )}{8 \sqrt [4]{x^2 \left (-1+x^4\right )}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {x^{8}-1}{\left (x^{6}-x^{2}\right )^{\frac {1}{4}} \left (x^{8}+1\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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right ) \left (x^{4} + 1\right )}{\sqrt [4]{x^{2} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )} \left (x^{8} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 {x^8-1}{\left (x^8+1\right )\,{\left (x^6-x^2\right )}^{1/4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________