Integrand size = 28, antiderivative size = 90 \[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}+\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{-x+2 \sqrt [3]{-1+x^4}}\right )+\log \left (x+\sqrt [3]{-1+x^4}\right )-\frac {1}{2} \log \left (x^2-x \sqrt [3]{-1+x^4}+\left (-1+x^4\right )^{2/3}\right ) \]
[Out]
\[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {3 \left (-1+x^4\right )^{2/3}}{x^3}+\frac {(3+4 x) \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4}\right ) \, dx \\ & = -\left (3 \int \frac {\left (-1+x^4\right )^{2/3}}{x^3} \, dx\right )+\int \frac {(3+4 x) \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx \\ & = -\left (\frac {3}{2} \text {Subst}\left (\int \frac {\left (-1+x^2\right )^{2/3}}{x^2} \, dx,x,x^2\right )\right )+\int \left (\frac {3 \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4}+\frac {4 x \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4}\right ) \, dx \\ & = \frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}-2 \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x^2}} \, dx,x,x^2\right )+3 \int \frac {\left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx+4 \int \frac {x \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx \\ & = \frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}+3 \int \frac {\left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx+4 \int \frac {x \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx-\frac {\left (3 \sqrt {x^4}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1+x^3}} \, dx,x,\sqrt [3]{-1+x^4}\right )}{x^2} \\ & = \frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}+3 \int \frac {\left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx+4 \int \frac {x \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx-\frac {\left (3 \sqrt {x^4}\right ) \text {Subst}\left (\int \frac {1-\sqrt {3}+x}{\sqrt {1+x^3}} \, dx,x,\sqrt [3]{-1+x^4}\right )}{x^2}-\frac {\left (3 \left (-1+\sqrt {3}\right ) \sqrt {x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+x^3}} \, dx,x,\sqrt [3]{-1+x^4}\right )}{x^2} \\ & = \frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}-\frac {6 x^2}{1+\sqrt {3}+\sqrt [3]{-1+x^4}}+\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (1+\sqrt [3]{-1+x^4}\right ) \sqrt {\frac {1-\sqrt [3]{-1+x^4}+\left (-1+x^4\right )^{2/3}}{\left (1+\sqrt {3}+\sqrt [3]{-1+x^4}\right )^2}} E\left (\arcsin \left (\frac {1-\sqrt {3}+\sqrt [3]{-1+x^4}}{1+\sqrt {3}+\sqrt [3]{-1+x^4}}\right )|-7-4 \sqrt {3}\right )}{x^2 \sqrt {\frac {1+\sqrt [3]{-1+x^4}}{\left (1+\sqrt {3}+\sqrt [3]{-1+x^4}\right )^2}}}-\frac {2 \sqrt {2} 3^{3/4} \left (1+\sqrt [3]{-1+x^4}\right ) \sqrt {\frac {1-\sqrt [3]{-1+x^4}+\left (-1+x^4\right )^{2/3}}{\left (1+\sqrt {3}+\sqrt [3]{-1+x^4}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {1-\sqrt {3}+\sqrt [3]{-1+x^4}}{1+\sqrt {3}+\sqrt [3]{-1+x^4}}\right ),-7-4 \sqrt {3}\right )}{x^2 \sqrt {\frac {1+\sqrt [3]{-1+x^4}}{\left (1+\sqrt {3}+\sqrt [3]{-1+x^4}\right )^2}}}+3 \int \frac {\left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx+4 \int \frac {x \left (-1+x^4\right )^{2/3}}{-1+x^3+x^4} \, dx \\ \end{align*}
Time = 1.10 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.00 \[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\frac {3 \left (-1+x^4\right )^{2/3}}{2 x^2}+\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{-x+2 \sqrt [3]{-1+x^4}}\right )+\log \left (x+\sqrt [3]{-1+x^4}\right )-\frac {1}{2} \log \left (x^2-x \sqrt [3]{-1+x^4}+\left (-1+x^4\right )^{2/3}\right ) \]
[In]
[Out]
Time = 7.43 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.04
method | result | size |
pseudoelliptic | \(\frac {2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x -2 \left (x^{4}-1\right )^{\frac {1}{3}}\right )}{3 x}\right ) x^{2}+2 \ln \left (\frac {x +\left (x^{4}-1\right )^{\frac {1}{3}}}{x}\right ) x^{2}-\ln \left (\frac {x^{2}-x \left (x^{4}-1\right )^{\frac {1}{3}}+\left (x^{4}-1\right )^{\frac {2}{3}}}{x^{2}}\right ) x^{2}+3 \left (x^{4}-1\right )^{\frac {2}{3}}}{2 x^{2}}\) | \(94\) |
risch | \(\frac {3 \left (x^{4}-1\right )^{\frac {2}{3}}}{2 x^{2}}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \ln \left (\frac {\left (x^{4}-1\right )^{\frac {2}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x -\left (x^{4}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}-x^{4}+2 \left (x^{4}-1\right )^{\frac {2}{3}} x -2 \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}+x^{3}+1}{x^{4}+x^{3}-1}\right )-\ln \left (-\frac {\left (x^{4}-1\right )^{\frac {2}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x -\left (x^{4}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+x^{4}-\left (x^{4}-1\right )^{\frac {2}{3}} x +\left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-1}{x^{4}+x^{3}-1}\right ) \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )-\ln \left (-\frac {\left (x^{4}-1\right )^{\frac {2}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x -\left (x^{4}-1\right )^{\frac {1}{3}} \operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{2}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+x^{4}-\left (x^{4}-1\right )^{\frac {2}{3}} x +\left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-1}{x^{4}+x^{3}-1}\right )\) | \(293\) |
trager | \(\frac {3 \left (x^{4}-1\right )^{\frac {2}{3}}}{2 x^{2}}-12 \ln \left (\frac {38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{4}-72094320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{3}-3013524 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{4}+9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {2}{3}} x -9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-2810712 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{3}+15302 x^{4}+769857 \left (x^{4}-1\right )^{\frac {2}{3}} x -769857 \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}+17488 x^{3}-38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}+3013524 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-15302}{x^{4}+x^{3}-1}\right ) \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )+12 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \ln \left (\frac {38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{4}-72094320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{3}+9421908 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{4}-9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {2}{3}} x +9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-9205008 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{3}+533445 x^{4}-14715 \left (x^{4}-1\right )^{\frac {2}{3}} x +14715 \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-248941 x^{3}-38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}-9421908 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-533445}{x^{4}+x^{3}-1}\right )-\ln \left (\frac {38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{4}-72094320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{3}-3013524 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{4}+9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {2}{3}} x -9414864 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}-2810712 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{3}+15302 x^{4}+769857 \left (x^{4}-1\right )^{\frac {2}{3}} x -769857 \left (x^{4}-1\right )^{\frac {1}{3}} x^{2}+17488 x^{3}-38450304 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}+3013524 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-15302}{x^{4}+x^{3}-1}\right )\) | \(600\) |
[In]
[Out]
none
Time = 3.48 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.46 \[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\frac {2 \, \sqrt {3} x^{2} \arctan \left (-\frac {33798185694614068 \, \sqrt {3} {\left (x^{4} - 1\right )}^{\frac {1}{3}} x^{2} - 35774000716806898 \, \sqrt {3} {\left (x^{4} - 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (18215948833549379 \, x^{4} - 16570144372161104 \, x^{3} - 18215948833549379\right )}}{18912305915671589 \, x^{4} + 15948583382382344 \, x^{3} - 18912305915671589}\right ) + x^{2} \log \left (\frac {x^{4} + x^{3} + 3 \, {\left (x^{4} - 1\right )}^{\frac {1}{3}} x^{2} + 3 \, {\left (x^{4} - 1\right )}^{\frac {2}{3}} x - 1}{x^{4} + x^{3} - 1}\right ) + 3 \, {\left (x^{4} - 1\right )}^{\frac {2}{3}}}{2 \, x^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\int { \frac {{\left (x^{4} + 3\right )} {\left (x^{4} - 1\right )}^{\frac {2}{3}}}{{\left (x^{4} + x^{3} - 1\right )} x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\int { \frac {{\left (x^{4} + 3\right )} {\left (x^{4} - 1\right )}^{\frac {2}{3}}}{{\left (x^{4} + x^{3} - 1\right )} x^{3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (-1+x^4\right )^{2/3} \left (3+x^4\right )}{x^3 \left (-1+x^3+x^4\right )} \, dx=\int \frac {{\left (x^4-1\right )}^{2/3}\,\left (x^4+3\right )}{x^3\,\left (x^4+x^3-1\right )} \,d x \]
[In]
[Out]