Integrand size = 24, antiderivative size = 167 \[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{-x+2^{2/3} \sqrt [3]{x^2+x^4}}\right )}{2 \sqrt [3]{2}}-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{x^2+x^4}}\right )}{2 \sqrt [3]{2}}-\frac {\text {arctanh}\left (\frac {\sqrt [3]{2} x}{\sqrt [3]{x^2+x^4}}\right )}{\sqrt [3]{2}}-\frac {\text {arctanh}\left (\frac {\sqrt [3]{2} x^2+\frac {\left (x^2+x^4\right )^{2/3}}{\sqrt [3]{2}}}{x \sqrt [3]{x^2+x^4}}\right )}{2 \sqrt [3]{2}} \]
[Out]
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 0.06 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.25, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2081, 477, 440} \[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=-\frac {3 x \sqrt [3]{x^2+1} \operatorname {AppellF1}\left (\frac {1}{6},1,-\frac {2}{3},\frac {7}{6},x^2,-x^2\right )}{\sqrt [3]{x^4+x^2}} \]
[In]
[Out]
Rule 440
Rule 477
Rule 2081
Rubi steps \begin{align*} \text {integral}& = \frac {\left (x^{2/3} \sqrt [3]{1+x^2}\right ) \int \frac {\left (1+x^2\right )^{2/3}}{x^{2/3} \left (-1+x^2\right )} \, dx}{\sqrt [3]{x^2+x^4}} \\ & = \frac {\left (3 x^{2/3} \sqrt [3]{1+x^2}\right ) \text {Subst}\left (\int \frac {\left (1+x^6\right )^{2/3}}{-1+x^6} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}} \\ & = -\frac {3 x \sqrt [3]{1+x^2} \operatorname {AppellF1}\left (\frac {1}{6},1,-\frac {2}{3},\frac {7}{6},x^2,-x^2\right )}{\sqrt [3]{x^2+x^4}} \\ \end{align*}
Time = 0.51 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.10 \[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=-\frac {x^{2/3} \sqrt [3]{1+x^2} \left (\sqrt {3} \left (\arctan \left (\frac {\sqrt {3} \sqrt [3]{x}}{-\sqrt [3]{x}+2^{2/3} \sqrt [3]{1+x^2}}\right )+\arctan \left (\frac {\sqrt {3} \sqrt [3]{x}}{\sqrt [3]{x}+2^{2/3} \sqrt [3]{1+x^2}}\right )\right )+2 \text {arctanh}\left (\frac {\sqrt [3]{2} \sqrt [3]{x}}{\sqrt [3]{1+x^2}}\right )+\text {arctanh}\left (\frac {2^{2/3} \sqrt [3]{x} \sqrt [3]{1+x^2}}{2 x^{2/3}+\sqrt [3]{2} \left (1+x^2\right )^{2/3}}\right )\right )}{2 \sqrt [3]{2} \sqrt [3]{x^2+x^4}} \]
[In]
[Out]
Time = 18.94 (sec) , antiderivative size = 201, normalized size of antiderivative = 1.20
method | result | size |
pseudoelliptic | \(-\frac {2^{\frac {2}{3}} \left (\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (-2^{\frac {2}{3}} \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}}+x \right )}{3 x}\right )-\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (2^{\frac {2}{3}} \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}}+x \right )}{3 x}\right )-\frac {\ln \left (\frac {2^{\frac {2}{3}} x^{2}-2^{\frac {1}{3}} \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}} x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {2}{3}}}{x^{2}}\right )}{2}+\frac {\ln \left (\frac {2^{\frac {2}{3}} x^{2}+2^{\frac {1}{3}} \left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}} x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {2}{3}}}{x^{2}}\right )}{2}+\ln \left (\frac {2^{\frac {1}{3}} x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}}}{x}\right )-\ln \left (\frac {-2^{\frac {1}{3}} x +\left (x^{2} \left (x^{2}+1\right )\right )^{\frac {1}{3}}}{x}\right )\right )}{4}\) | \(201\) |
trager | \(\text {Expression too large to display}\) | \(3878\) |
[In]
[Out]
none
Time = 0.57 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.39 \[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=-\frac {1}{4} \, \sqrt {3} 2^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3} 2^{\frac {1}{6}} {\left (2^{\frac {5}{6}} {\left (x^{5} + 8 \, x^{4} - 2 \, x^{3} + 8 \, x^{2} + x\right )} + 8 \, \sqrt {2} {\left (x^{4} + x^{2}\right )}^{\frac {1}{3}} {\left (x^{3} + 2 \, x^{2} + x\right )} + 8 \cdot 2^{\frac {1}{6}} {\left (x^{4} + x^{2}\right )}^{\frac {2}{3}} {\left (x^{2} - 2 \, x + 1\right )}\right )}}{6 \, {\left (x^{5} - 8 \, x^{4} - 2 \, x^{3} - 8 \, x^{2} + x\right )}}\right ) + \frac {1}{4} \cdot 2^{\frac {2}{3}} \log \left (-\frac {2^{\frac {2}{3}} {\left (x^{3} - 2 \, x^{2} + x\right )} + 4 \cdot 2^{\frac {1}{3}} {\left (x^{4} + x^{2}\right )}^{\frac {1}{3}} x - 4 \, {\left (x^{4} + x^{2}\right )}^{\frac {2}{3}}}{x^{3} + 2 \, x^{2} + x}\right ) - \frac {1}{8} \cdot 2^{\frac {2}{3}} \log \left (\frac {2 \cdot 2^{\frac {2}{3}} {\left (x^{4} + x^{2}\right )}^{\frac {2}{3}} + 2^{\frac {1}{3}} {\left (x^{3} + 2 \, x^{2} + x\right )} + 4 \, {\left (x^{4} + x^{2}\right )}^{\frac {1}{3}} x}{x^{3} + 2 \, x^{2} + x}\right ) \]
[In]
[Out]
\[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=\int \frac {x^{2} + 1}{\sqrt [3]{x^{2} \left (x^{2} + 1\right )} \left (x - 1\right ) \left (x + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=\int { \frac {x^{2} + 1}{{\left (x^{4} + x^{2}\right )}^{\frac {1}{3}} {\left (x^{2} - 1\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=\int { \frac {x^{2} + 1}{{\left (x^{4} + x^{2}\right )}^{\frac {1}{3}} {\left (x^{2} - 1\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1+x^2}{\left (-1+x^2\right ) \sqrt [3]{x^2+x^4}} \, dx=\int \frac {x^2+1}{{\left (x^4+x^2\right )}^{1/3}\,\left (x^2-1\right )} \,d x \]
[In]
[Out]