Integrand size = 25, antiderivative size = 239 \[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\frac {\arctan \left (\frac {-\frac {1}{\sqrt {2}}-\frac {x^2}{\sqrt {2}}+\frac {x^4}{\sqrt {2}}}{x \sqrt {-1+x^4}}\right )}{4 \sqrt {2}}+\frac {\arctan \left (\frac {-\frac {1}{\sqrt {2} \sqrt [4]{3}}-\frac {\sqrt [4]{3} x^2}{\sqrt {2}}+\frac {x^4}{\sqrt {2} \sqrt [4]{3}}}{x \sqrt {-1+x^4}}\right )}{4 \sqrt {2} \sqrt [4]{3}}-\frac {\text {arctanh}\left (\frac {-\frac {1}{\sqrt {2}}+\frac {x^2}{\sqrt {2}}+\frac {x^4}{\sqrt {2}}}{x \sqrt {-1+x^4}}\right )}{4 \sqrt {2}}-\frac {\text {arctanh}\left (\frac {-\frac {1}{\sqrt {2} \sqrt [4]{3}}+\frac {\sqrt [4]{3} x^2}{\sqrt {2}}+\frac {x^4}{\sqrt {2} \sqrt [4]{3}}}{x \sqrt {-1+x^4}}\right )}{4 \sqrt {2} \sqrt [4]{3}} \]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.
Time = 2.73 (sec) , antiderivative size = 853, normalized size of antiderivative = 3.57, number of steps used = 153, number of rules used = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.880, Rules used = {1600, 6860, 1743, 1223, 1202, 228, 1199, 1229, 1471, 554, 259, 552, 551, 1262, 749, 858, 223, 212, 739, 210, 415, 418} \[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=-\frac {1}{32} \sqrt {\frac {1}{6} \left (3+i \sqrt {3}\right )} \left (i+\sqrt {3}\right ) \arctan \left (\frac {\left (1-i \sqrt {3}\right ) x^2+2}{\sqrt {2 \left (3+i \sqrt {3}\right )} \sqrt {x^4-1}}\right )+\frac {1}{32} \sqrt {\frac {1}{6} \left (3+i \sqrt {3}\right )} \left (i+\sqrt {3}\right ) \arctan \left (\frac {4-\left (1+i \sqrt {3}\right )^2 x^2}{2 \sqrt {2 \left (3+i \sqrt {3}\right )} \sqrt {x^4-1}}\right )+\frac {\left (i+\sqrt {3}\right ) \sqrt {x^2-1} \sqrt {x^2+1} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {x^2-1}}\right ),\frac {1}{2}\right )}{8 \sqrt {6} \sqrt {x^4-1}}+\frac {3 \left (1+i \sqrt {3}\right ) \sqrt {x^2-1} \sqrt {x^2+1} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {x^2-1}}\right ),\frac {1}{2}\right )}{8 \sqrt {2} \sqrt {x^4-1}}+\frac {3 \left (1-i \sqrt {3}\right ) \sqrt {x^2-1} \sqrt {x^2+1} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {x^2-1}}\right ),\frac {1}{2}\right )}{8 \sqrt {2} \sqrt {x^4-1}}-\frac {\left (i-\sqrt {3}\right ) \sqrt {x^2-1} \sqrt {x^2+1} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {x^2-1}}\right ),\frac {1}{2}\right )}{8 \sqrt {6} \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {1}{2} \left (-i-\sqrt {3}\right ),\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (-\frac {4}{\left (i-\sqrt {3}\right )^2},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {1}{2} \left (i-\sqrt {3}\right ),\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {1}{\sqrt {\frac {1}{2} \left (1-i \sqrt {3}\right )}},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {2}{1-i \sqrt {3}},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {1}{\sqrt {\frac {1}{2} \left (1+i \sqrt {3}\right )}},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (\frac {2}{1+i \sqrt {3}},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}}-\frac {\sqrt {1-x^2} \sqrt {x^2+1} \operatorname {EllipticPi}\left (-\frac {4}{\left (i+\sqrt {3}\right )^2},\arcsin (x),-1\right )}{4 \sqrt {x^4-1}} \]
[In]
[Out]
Rule 210
Rule 212
Rule 223
Rule 228
Rule 259
Rule 415
Rule 418
Rule 551
Rule 552
Rule 554
Rule 739
Rule 749
Rule 858
Rule 1199
Rule 1202
Rule 1223
Rule 1229
Rule 1262
Rule 1471
Rule 1600
Rule 1743
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {-1+x^4} \left (1+x^4+x^8+x^{12}\right )}{1+x^8+x^{16}} \, dx \\ & = \int \left (\frac {(1-x) \sqrt {-1+x^4}}{8 \left (1-x+x^2\right )}+\frac {(1+x) \sqrt {-1+x^4}}{8 \left (1+x+x^2\right )}+\frac {\sqrt {-1+x^4}}{4 \left (1-x^2+x^4\right )}+\frac {\sqrt {-1+x^4} \left (1+x^4\right )}{2 \left (1-x^4+x^8\right )}\right ) \, dx \\ & = \frac {1}{8} \int \frac {(1-x) \sqrt {-1+x^4}}{1-x+x^2} \, dx+\frac {1}{8} \int \frac {(1+x) \sqrt {-1+x^4}}{1+x+x^2} \, dx+\frac {1}{4} \int \frac {\sqrt {-1+x^4}}{1-x^2+x^4} \, dx+\frac {1}{2} \int \frac {\sqrt {-1+x^4} \left (1+x^4\right )}{1-x^4+x^8} \, dx \\ & = \frac {1}{8} \int \left (\frac {\left (-1-\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{-1-i \sqrt {3}+2 x}+\frac {\left (-1+\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x}\right ) \, dx+\frac {1}{8} \int \left (\frac {\left (1-\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{1-i \sqrt {3}+2 x}+\frac {\left (1+\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{1+i \sqrt {3}+2 x}\right ) \, dx+\frac {1}{4} \int \left (\frac {2 i \sqrt {-1+x^4}}{\sqrt {3} \left (1+i \sqrt {3}-2 x^2\right )}+\frac {2 i \sqrt {-1+x^4}}{\sqrt {3} \left (-1+i \sqrt {3}+2 x^2\right )}\right ) \, dx+\frac {1}{2} \int \left (\frac {\left (1-i \sqrt {3}\right ) \sqrt {-1+x^4}}{-1-i \sqrt {3}+2 x^4}+\frac {\left (1+i \sqrt {3}\right ) \sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x^4}\right ) \, dx \\ & = \frac {i \int \frac {\sqrt {-1+x^4}}{1+i \sqrt {3}-2 x^2} \, dx}{2 \sqrt {3}}+\frac {i \int \frac {\sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x^2} \, dx}{2 \sqrt {3}}+\frac {1}{2} \left (1-i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{-1-i \sqrt {3}+2 x^4} \, dx+\frac {1}{24} \left (3-i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{1-i \sqrt {3}+2 x} \, dx+\frac {1}{24} \left (-3+i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x} \, dx+\frac {1}{2} \left (1+i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x^4} \, dx-\frac {1}{24} \left (3+i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{-1-i \sqrt {3}+2 x} \, dx+\frac {1}{24} \left (3+i \sqrt {3}\right ) \int \frac {\sqrt {-1+x^4}}{1+i \sqrt {3}+2 x} \, dx \\ & = -\frac {i \int \frac {-1+i \sqrt {3}-2 x^2}{\sqrt {-1+x^4}} \, dx}{8 \sqrt {3}}-\frac {i \int \frac {1+i \sqrt {3}+2 x^2}{\sqrt {-1+x^4}} \, dx}{8 \sqrt {3}}+\frac {i \int \frac {\sqrt {-1+x^4}}{\left (-1-i \sqrt {3}\right )^2-4 x^2} \, dx}{2 \sqrt {3}}-\frac {i \int \frac {\sqrt {-1+x^4}}{\left (1-i \sqrt {3}\right )^2-4 x^2} \, dx}{2 \sqrt {3}}-\frac {i \int \frac {\sqrt {-1+x^4}}{\left (-1+i \sqrt {3}\right )^2-4 x^2} \, dx}{2 \sqrt {3}}+\frac {i \int \frac {\sqrt {-1+x^4}}{\left (1+i \sqrt {3}\right )^2-4 x^2} \, dx}{2 \sqrt {3}}+\frac {1}{4} \left (-1-i \sqrt {3}\right ) \int \frac {1}{\left (1+i \sqrt {3}-2 x^2\right ) \sqrt {-1+x^4}} \, dx+\frac {1}{4} \left (1-i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx+\frac {1}{2} \left (1-i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4} \left (-1+i \sqrt {3}+2 x^4\right )} \, dx+\frac {1}{12} \left (3-i \sqrt {3}\right ) \int \frac {x \sqrt {-1+x^4}}{\left (-1+i \sqrt {3}\right )^2-4 x^2} \, dx+\frac {1}{12} \left (-3+i \sqrt {3}\right ) \int \frac {x \sqrt {-1+x^4}}{\left (1-i \sqrt {3}\right )^2-4 x^2} \, dx-\frac {1}{4} \left (-1+i \sqrt {3}\right ) \int \frac {1}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt {-1+x^4}} \, dx+\frac {1}{4} \left (1+i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx+\frac {1}{2} \left (1+i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4} \left (-1-i \sqrt {3}+2 x^4\right )} \, dx+\frac {1}{12} \left (3+i \sqrt {3}\right ) \int \frac {x \sqrt {-1+x^4}}{\left (-1-i \sqrt {3}\right )^2-4 x^2} \, dx-\frac {1}{12} \left (3+i \sqrt {3}\right ) \int \frac {x \sqrt {-1+x^4}}{\left (1+i \sqrt {3}\right )^2-4 x^2} \, dx \\ & = \frac {\left (1-i \sqrt {3}\right ) \sqrt {-1+x^2} \sqrt {1+x^2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {-1+x^2}}\right ),\frac {1}{2}\right )}{4 \sqrt {2} \sqrt {-1+x^4}}+\frac {\left (1+i \sqrt {3}\right ) \sqrt {-1+x^2} \sqrt {1+x^2} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} x}{\sqrt {-1+x^2}}\right ),\frac {1}{2}\right )}{4 \sqrt {2} \sqrt {-1+x^4}}-\frac {1}{4} \int \frac {1}{\left (1-\frac {x^2}{\sqrt {\frac {1}{2} \left (1-i \sqrt {3}\right )}}\right ) \sqrt {-1+x^4}} \, dx-\frac {1}{4} \int \frac {1}{\left (1+\frac {x^2}{\sqrt {\frac {1}{2} \left (1-i \sqrt {3}\right )}}\right ) \sqrt {-1+x^4}} \, dx-\frac {1}{4} \int \frac {1}{\left (1-\frac {x^2}{\sqrt {\frac {1}{2} \left (1+i \sqrt {3}\right )}}\right ) \sqrt {-1+x^4}} \, dx-\frac {1}{4} \int \frac {1}{\left (1+\frac {x^2}{\sqrt {\frac {1}{2} \left (1+i \sqrt {3}\right )}}\right ) \sqrt {-1+x^4}} \, dx-\frac {i \int \frac {\left (-1-i \sqrt {3}\right )^2+4 x^2}{\sqrt {-1+x^4}} \, dx}{32 \sqrt {3}}+\frac {i \int \frac {\left (1-i \sqrt {3}\right )^2+4 x^2}{\sqrt {-1+x^4}} \, dx}{32 \sqrt {3}}+\frac {i \int \frac {\left (-1+i \sqrt {3}\right )^2+4 x^2}{\sqrt {-1+x^4}} \, dx}{32 \sqrt {3}}-\frac {i \int \frac {\left (1+i \sqrt {3}\right )^2+4 x^2}{\sqrt {-1+x^4}} \, dx}{32 \sqrt {3}}-\frac {1}{8} \left (-1-i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx-\frac {1}{4} \left (-1-i \sqrt {3}\right ) \int \frac {1}{\left (\left (1-i \sqrt {3}\right )^2-4 x^2\right ) \sqrt {-1+x^4}} \, dx-\frac {1}{4} \left (-1-i \sqrt {3}\right ) \int \frac {1}{\left (\left (-1+i \sqrt {3}\right )^2-4 x^2\right ) \sqrt {-1+x^4}} \, dx+\frac {1}{24} \left (3-i \sqrt {3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1+x^2}}{\left (-1+i \sqrt {3}\right )^2-4 x} \, dx,x,x^2\right )+\frac {1}{24} \left (-3+i \sqrt {3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1+x^2}}{\left (1-i \sqrt {3}\right )^2-4 x} \, dx,x,x^2\right )-\frac {1}{8} \left (-1+i \sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx-\frac {1}{4} \left (-1+i \sqrt {3}\right ) \int \frac {1}{\left (\left (-1-i \sqrt {3}\right )^2-4 x^2\right ) \sqrt {-1+x^4}} \, dx-\frac {1}{4} \left (-1+i \sqrt {3}\right ) \int \frac {1}{\left (\left (1+i \sqrt {3}\right )^2-4 x^2\right ) \sqrt {-1+x^4}} \, dx+\frac {1}{24} \left (3+i \sqrt {3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1+x^2}}{\left (-1-i \sqrt {3}\right )^2-4 x} \, dx,x,x^2\right )-\frac {1}{24} \left (3+i \sqrt {3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1+x^2}}{\left (1+i \sqrt {3}\right )^2-4 x} \, dx,x,x^2\right )+\frac {\left (i-\sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx}{4 \left (i+\sqrt {3}\right )}-\frac {\left (i-\sqrt {3}\right ) \int \frac {1-x^2}{\left (1+i \sqrt {3}-2 x^2\right ) \sqrt {-1+x^4}} \, dx}{2 \left (i+\sqrt {3}\right )}+\frac {\left (i+\sqrt {3}\right ) \int \frac {1}{\sqrt {-1+x^4}} \, dx}{4 \left (i-\sqrt {3}\right )}+\frac {\left (i+\sqrt {3}\right ) \int \frac {1-x^2}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt {-1+x^4}} \, dx}{2 \left (i-\sqrt {3}\right )} \\ & = \text {Too large to display} \\ \end{align*}
Result contains complex when optimal does not.
Time = 1.76 (sec) , antiderivative size = 188, normalized size of antiderivative = 0.79 \[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\frac {3 \arctan \left (\frac {-1-x^2+x^4}{\sqrt {2} x \sqrt {-1+x^4}}\right )+3^{3/4} \arctan \left (\frac {-1-\left (-2 i+\sqrt {-1+4 i \sqrt {3}}\right ) x^2+x^4}{\sqrt {2} \sqrt [4]{3} x \sqrt {-1+x^4}}\right )-3 \text {arctanh}\left (\frac {-1+x^2+x^4}{\sqrt {2} x \sqrt {-1+x^4}}\right )-3^{3/4} \text {arctanh}\left (\frac {-1+\left (2 i+\sqrt {-1-4 i \sqrt {3}}\right ) x^2+x^4}{\sqrt {2} \sqrt [4]{3} x \sqrt {-1+x^4}}\right )}{12 \sqrt {2}} \]
[In]
[Out]
Time = 21.34 (sec) , antiderivative size = 226, normalized size of antiderivative = 0.95
method | result | size |
elliptic | \(\frac {\left (-\frac {\ln \left (\frac {x^{4}-1}{x^{2}}+\frac {\sqrt {x^{4}-1}\, \sqrt {2}}{x}+1\right )}{8}+\frac {\arctan \left (1+\frac {\sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )}{4}+\frac {3^{\frac {3}{4}} \left (\ln \left (\frac {\frac {x^{4}-1}{2 x^{2}}-\frac {3^{\frac {1}{4}} \sqrt {x^{4}-1}\, \sqrt {2}}{2 x}+\frac {\sqrt {3}}{2}}{\frac {x^{4}-1}{2 x^{2}}+\frac {3^{\frac {1}{4}} \sqrt {x^{4}-1}\, \sqrt {2}}{2 x}+\frac {\sqrt {3}}{2}}\right )+2 \arctan \left (\frac {3^{\frac {3}{4}} \sqrt {x^{4}-1}\, \sqrt {2}}{3 x}+1\right )+2 \arctan \left (\frac {3^{\frac {3}{4}} \sqrt {x^{4}-1}\, \sqrt {2}}{3 x}-1\right )\right )}{24}+\frac {\ln \left (\frac {x^{4}-1}{x^{2}}-\frac {\sqrt {x^{4}-1}\, \sqrt {2}}{x}+1\right )}{8}+\frac {\arctan \left (-1+\frac {\sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )}{4}\right ) \sqrt {2}}{2}\) | \(226\) |
default | \(\frac {-\frac {\sqrt {2}\, \left (\left (\left (-1+i\right ) x^{2}-1-i\right ) \sqrt {3}+\left (-1-i\right ) x^{2}-4 i x +1-i\right ) \sqrt {9 i-3 \sqrt {3}}\, \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \arctan \left (\frac {3^{\frac {3}{4}} \left (\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (-1-i\right ) x -2 i\right )}{\sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \left (\left (-6+6 i\right ) x \sqrt {3}+12 x^{2}+\left (6+6 i\right ) x +12 i\right )}\right )}{6}+\frac {\left (\left (\left (-1+i\right ) x^{2}-1-i\right ) \sqrt {3}+\left (-1-i\right ) x^{2}+4 i x +1-i\right ) \sqrt {2}\, \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \sqrt {9 i-3 \sqrt {3}}\, \arctan \left (\frac {3^{\frac {3}{4}} \left (\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (-1-i\right ) x +2 i\right )}{\sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \left (\left (-6+6 i\right ) x \sqrt {3}-12 x^{2}+\left (6+6 i\right ) x -12 i\right )}\right )}{6}-\frac {2 \left (\left (\left (1+i\right ) x^{2}-i x -1+i\right ) 3^{\frac {3}{4}}+3 \,3^{\frac {1}{4}} x \right ) \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \operatorname {arctanh}\left (2 \,3^{\frac {1}{4}} \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\right )}{3}+\frac {2 \left (\left (\left (1+i\right ) x^{2}+i x -1+i\right ) 3^{\frac {3}{4}}-3 \,3^{\frac {1}{4}} x \right ) \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \operatorname {arctanh}\left (2 \,3^{\frac {1}{4}} \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\right )}{3}+x \sqrt {2}\, \left (\left (1-i\right ) \arctan \left (\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) \sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )+\left (1+i\right ) \arctan \left (\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )\right ) \sqrt {\frac {x^{4}-1}{x^{2}}}}{8 \sqrt {\frac {x^{4}-1}{x^{2}}}\, x}\) | \(615\) |
pseudoelliptic | \(\frac {-\frac {\sqrt {2}\, \left (\left (\left (-1+i\right ) x^{2}-1-i\right ) \sqrt {3}+\left (-1-i\right ) x^{2}-4 i x +1-i\right ) \sqrt {9 i-3 \sqrt {3}}\, \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \arctan \left (\frac {3^{\frac {3}{4}} \left (\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (-1-i\right ) x -2 i\right )}{\sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \left (\left (-6+6 i\right ) x \sqrt {3}+12 x^{2}+\left (6+6 i\right ) x +12 i\right )}\right )}{6}+\frac {\left (\left (\left (-1+i\right ) x^{2}-1-i\right ) \sqrt {3}+\left (-1-i\right ) x^{2}+4 i x +1-i\right ) \sqrt {2}\, \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \sqrt {9 i-3 \sqrt {3}}\, \arctan \left (\frac {3^{\frac {3}{4}} \left (\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (-1-i\right ) x +2 i\right )}{\sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \left (\left (-6+6 i\right ) x \sqrt {3}-12 x^{2}+\left (6+6 i\right ) x -12 i\right )}\right )}{6}-\frac {2 \left (\left (\left (1+i\right ) x^{2}-i x -1+i\right ) 3^{\frac {3}{4}}+3 \,3^{\frac {1}{4}} x \right ) \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \operatorname {arctanh}\left (2 \,3^{\frac {1}{4}} \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (-2 i+\left (-1+i\right ) x \sqrt {3}-2 x^{2}+\left (1+i\right ) x \right )^{2}}}\right )}{3}+\frac {2 \left (\left (\left (1+i\right ) x^{2}+i x -1+i\right ) 3^{\frac {3}{4}}-3 \,3^{\frac {1}{4}} x \right ) \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\, \operatorname {arctanh}\left (2 \,3^{\frac {1}{4}} \sqrt {\frac {i \left (-x^{4}+1\right )}{\left (2 i+\left (-1+i\right ) x \sqrt {3}+2 x^{2}+\left (1+i\right ) x \right )^{2}}}\right )}{3}+x \sqrt {2}\, \left (\left (1-i\right ) \arctan \left (\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) \sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )+\left (1+i\right ) \arctan \left (\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \sqrt {x^{4}-1}\, \sqrt {2}}{x}\right )\right ) \sqrt {\frac {x^{4}-1}{x^{2}}}}{8 \sqrt {\frac {x^{4}-1}{x^{2}}}\, x}\) | \(615\) |
trager | \(\text {Expression too large to display}\) | \(850\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.37 (sec) , antiderivative size = 601, normalized size of antiderivative = 2.51 \[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\left (\frac {1}{96} i + \frac {1}{96}\right ) \cdot 3^{\frac {3}{4}} \sqrt {2} \log \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (\left (i + 1\right ) \, x^{8} - \left (5 i + 5\right ) \, x^{4} + i + 1\right )} - 6 \cdot 3^{\frac {1}{4}} \sqrt {2} {\left (\left (i - 1\right ) \, x^{6} - \left (i - 1\right ) \, x^{2}\right )} - 12 \, {\left (x^{5} - i \, \sqrt {3} x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} + x^{4} + 1}\right ) - \left (\frac {1}{96} i - \frac {1}{96}\right ) \cdot 3^{\frac {3}{4}} \sqrt {2} \log \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (-\left (i - 1\right ) \, x^{8} + \left (5 i - 5\right ) \, x^{4} - i + 1\right )} - 6 \cdot 3^{\frac {1}{4}} \sqrt {2} {\left (-\left (i + 1\right ) \, x^{6} + \left (i + 1\right ) \, x^{2}\right )} - 12 \, {\left (x^{5} + i \, \sqrt {3} x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} + x^{4} + 1}\right ) + \left (\frac {1}{96} i - \frac {1}{96}\right ) \cdot 3^{\frac {3}{4}} \sqrt {2} \log \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (\left (i - 1\right ) \, x^{8} - \left (5 i - 5\right ) \, x^{4} + i - 1\right )} - 6 \cdot 3^{\frac {1}{4}} \sqrt {2} {\left (\left (i + 1\right ) \, x^{6} - \left (i + 1\right ) \, x^{2}\right )} - 12 \, {\left (x^{5} + i \, \sqrt {3} x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} + x^{4} + 1}\right ) - \left (\frac {1}{96} i + \frac {1}{96}\right ) \cdot 3^{\frac {3}{4}} \sqrt {2} \log \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (-\left (i + 1\right ) \, x^{8} + \left (5 i + 5\right ) \, x^{4} - i - 1\right )} - 6 \cdot 3^{\frac {1}{4}} \sqrt {2} {\left (-\left (i - 1\right ) \, x^{6} + \left (i - 1\right ) \, x^{2}\right )} - 12 \, {\left (x^{5} - i \, \sqrt {3} x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} + x^{4} + 1}\right ) + \left (\frac {1}{32} i + \frac {1}{32}\right ) \, \sqrt {2} \log \left (\frac {\sqrt {2} {\left (\left (i + 1\right ) \, x^{8} - \left (2 i - 2\right ) \, x^{6} - \left (3 i + 3\right ) \, x^{4} + \left (2 i - 2\right ) \, x^{2} + i + 1\right )} - 4 \, {\left (x^{5} - i \, x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} - x^{4} + 1}\right ) - \left (\frac {1}{32} i - \frac {1}{32}\right ) \, \sqrt {2} \log \left (\frac {\sqrt {2} {\left (-\left (i - 1\right ) \, x^{8} + \left (2 i + 2\right ) \, x^{6} + \left (3 i - 3\right ) \, x^{4} - \left (2 i + 2\right ) \, x^{2} - i + 1\right )} - 4 \, {\left (x^{5} + i \, x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} - x^{4} + 1}\right ) + \left (\frac {1}{32} i - \frac {1}{32}\right ) \, \sqrt {2} \log \left (\frac {\sqrt {2} {\left (\left (i - 1\right ) \, x^{8} - \left (2 i + 2\right ) \, x^{6} - \left (3 i - 3\right ) \, x^{4} + \left (2 i + 2\right ) \, x^{2} + i - 1\right )} - 4 \, {\left (x^{5} + i \, x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} - x^{4} + 1}\right ) - \left (\frac {1}{32} i + \frac {1}{32}\right ) \, \sqrt {2} \log \left (\frac {\sqrt {2} {\left (-\left (i + 1\right ) \, x^{8} + \left (2 i - 2\right ) \, x^{6} + \left (3 i + 3\right ) \, x^{4} - \left (2 i - 2\right ) \, x^{2} - i - 1\right )} - 4 \, {\left (x^{5} - i \, x^{3} - x\right )} \sqrt {x^{4} - 1}}{x^{8} - x^{4} + 1}\right ) \]
[In]
[Out]
\[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right ) \left (x^{4} + 1\right ) \left (x^{8} + 1\right )}{\sqrt {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )} \left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right ) \left (x^{4} - x^{2} + 1\right ) \left (x^{8} - x^{4} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\int { \frac {x^{16} - 1}{{\left (x^{16} + x^{8} + 1\right )} \sqrt {x^{4} - 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\int { \frac {x^{16} - 1}{{\left (x^{16} + x^{8} + 1\right )} \sqrt {x^{4} - 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1+x^8+x^{16}\right )} \, dx=\int \frac {x^{16}-1}{\sqrt {x^4-1}\,\left (x^{16}+x^8+1\right )} \,d x \]
[In]
[Out]