Integrand size = 27, antiderivative size = 234 \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=-\frac {3 \left (-1+5 x^2\right ) \sqrt [3]{-x+x^3}}{4 x^3}-\frac {1}{2} \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-x+x^3}}\right )-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{-x+x^3}}\right )}{2^{2/3}}-\frac {1}{2} \log \left (-x+\sqrt [3]{-x+x^3}\right )-\frac {\log \left (-2 x+2^{2/3} \sqrt [3]{-x+x^3}\right )}{2^{2/3}}+\frac {1}{4} \log \left (x^2+x \sqrt [3]{-x+x^3}+\left (-x+x^3\right )^{2/3}\right )+\frac {\log \left (2 x^2+2^{2/3} x \sqrt [3]{-x+x^3}+\sqrt [3]{2} \left (-x+x^3\right )^{2/3}\right )}{2\ 2^{2/3}} \]
[Out]
Time = 0.40 (sec) , antiderivative size = 333, normalized size of antiderivative = 1.42, number of steps used = 14, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.481, Rules used = {2081, 6857, 270, 283, 335, 281, 337, 477, 476, 486, 597, 12, 503} \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=-\frac {\sqrt {3} \sqrt [3]{x^3-x} \arctan \left (\frac {\frac {2 x^{2/3}}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{2 \sqrt [3]{x} \sqrt [3]{x^2-1}}-\frac {\sqrt {3} \sqrt [3]{x^3-x} \arctan \left (\frac {\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{2^{2/3} \sqrt [3]{x} \sqrt [3]{x^2-1}}-\frac {27 \sqrt [3]{x^3-x}}{8 x}+\frac {3 \sqrt [3]{x^3-x}}{8 x^3}+\frac {3 \sqrt [3]{x^3-x} \left (1-x^2\right )}{8 x^3}+\frac {\sqrt [3]{x^3-x} \log \left (x^2+1\right )}{2\ 2^{2/3} \sqrt [3]{x} \sqrt [3]{x^2-1}}-\frac {3 \sqrt [3]{x^3-x} \log \left (x^{2/3}-\sqrt [3]{x^2-1}\right )}{4 \sqrt [3]{x} \sqrt [3]{x^2-1}}-\frac {3 \sqrt [3]{x^3-x} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{x^2-1}\right )}{2\ 2^{2/3} \sqrt [3]{x} \sqrt [3]{x^2-1}} \]
[In]
[Out]
Rule 12
Rule 270
Rule 281
Rule 283
Rule 335
Rule 337
Rule 476
Rule 477
Rule 486
Rule 503
Rule 597
Rule 2081
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{-1+x^2} \left (-2+x^4\right )}{x^{11/3} \left (1+x^2\right )} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {\sqrt [3]{-x+x^3} \int \left (-\frac {\sqrt [3]{-1+x^2}}{x^{11/3}}+\frac {\sqrt [3]{-1+x^2}}{x^{5/3}}-\frac {\sqrt [3]{-1+x^2}}{x^{11/3} \left (1+x^2\right )}\right ) \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = -\frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{-1+x^2}}{x^{11/3}} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{-1+x^2}}{x^{5/3}} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{-1+x^2}}{x^{11/3} \left (1+x^2\right )} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = -\frac {3 \sqrt [3]{-x+x^3}}{2 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}+\frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{x}}{\left (-1+x^2\right )^{2/3}} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{-1+x^6}}{x^9 \left (1+x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = -\frac {3 \sqrt [3]{-x+x^3}}{2 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}-\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{-1+x^3}}{x^5 \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x^3}{\left (-1+x^6\right )^{2/3}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {3 \sqrt [3]{-x+x^3}}{8 x^3}-\frac {3 \sqrt [3]{-x+x^3}}{2 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}-\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {5-3 x^3}{x^2 \left (-1+x^3\right )^{2/3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{8 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x}{\left (-1+x^3\right )^{2/3}} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {3 \sqrt [3]{-x+x^3}}{8 x^3}-\frac {27 \sqrt [3]{-x+x^3}}{8 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}-\frac {\sqrt {3} \sqrt [3]{-x+x^3} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {3 \sqrt [3]{-x+x^3} \log \left (x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int -\frac {8 x}{\left (-1+x^3\right )^{2/3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{8 \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {3 \sqrt [3]{-x+x^3}}{8 x^3}-\frac {27 \sqrt [3]{-x+x^3}}{8 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}-\frac {\sqrt {3} \sqrt [3]{-x+x^3} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {3 \sqrt [3]{-x+x^3} \log \left (x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left (3 \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x}{\left (-1+x^3\right )^{2/3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {3 \sqrt [3]{-x+x^3}}{8 x^3}-\frac {27 \sqrt [3]{-x+x^3}}{8 x}+\frac {3 \left (1-x^2\right ) \sqrt [3]{-x+x^3}}{8 x^3}-\frac {\sqrt {3} \sqrt [3]{-x+x^3} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {\sqrt {3} \sqrt [3]{-x+x^3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2^{2/3} \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\sqrt [3]{-x+x^3} \log \left (1+x^2\right )}{2\ 2^{2/3} \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {3 \sqrt [3]{-x+x^3} \log \left (x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {3 \sqrt [3]{-x+x^3} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{2\ 2^{2/3} \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ \end{align*}
Time = 1.38 (sec) , antiderivative size = 301, normalized size of antiderivative = 1.29 \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=\frac {\sqrt [3]{x \left (-1+x^2\right )} \left (3 \sqrt [3]{-1+x^2}-15 x^2 \sqrt [3]{-1+x^2}-2 \sqrt {3} x^{8/3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}+2 \sqrt [3]{-1+x^2}}\right )-2 \sqrt [3]{2} \sqrt {3} x^{8/3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}}\right )-2 x^{8/3} \log \left (-x^{2/3}+\sqrt [3]{-1+x^2}\right )-2 \sqrt [3]{2} x^{8/3} \log \left (-2 x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )+x^{8/3} \log \left (x^{4/3}+x^{2/3} \sqrt [3]{-1+x^2}+\left (-1+x^2\right )^{2/3}\right )+\sqrt [3]{2} x^{8/3} \log \left (2 x^{4/3}+2^{2/3} x^{2/3} \sqrt [3]{-1+x^2}+\sqrt [3]{2} \left (-1+x^2\right )^{2/3}\right )\right )}{4 x^3 \sqrt [3]{-1+x^2}} \]
[In]
[Out]
Time = 2.70 (sec) , antiderivative size = 198, normalized size of antiderivative = 0.85
method | result | size |
pseudoelliptic | \(\frac {\left (-15 x^{2}+3\right ) \left (x^{3}-x \right )^{\frac {1}{3}}+x^{3} \left (\left (2 \arctan \left (\frac {\sqrt {3}\, \left (x +2^{\frac {2}{3}} \left (x^{3}-x \right )^{\frac {1}{3}}\right )}{3 x}\right ) \sqrt {3}+\ln \left (\frac {2^{\frac {2}{3}} x^{2}+2^{\frac {1}{3}} \left (x^{3}-x \right )^{\frac {1}{3}} x +\left (x^{3}-x \right )^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-2^{\frac {1}{3}} x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )\right ) 2^{\frac {1}{3}}+2 \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-x \right )^{\frac {1}{3}}\right )}{3 x}\right ) \sqrt {3}+\ln \left (\frac {x^{2}+x \left (x^{3}-x \right )^{\frac {1}{3}}+\left (x^{3}-x \right )^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )\right )}{4 x^{3}}\) | \(198\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 387 vs. \(2 (184) = 368\).
Time = 4.92 (sec) , antiderivative size = 387, normalized size of antiderivative = 1.65 \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=-\frac {4 \cdot 4^{\frac {1}{6}} \sqrt {3} \left (-1\right )^{\frac {1}{3}} x^{3} \arctan \left (\frac {4^{\frac {1}{6}} \sqrt {3} {\left (6 \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {2}{3}} {\left (19 \, x^{5} - 16 \, x^{3} + x\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}} + 12 \, \left (-1\right )^{\frac {1}{3}} {\left (5 \, x^{4} + 4 \, x^{2} - 1\right )} {\left (x^{3} - x\right )}^{\frac {2}{3}} + 4^{\frac {1}{3}} {\left (71 \, x^{6} - 111 \, x^{4} + 33 \, x^{2} - 1\right )}\right )}}{6 \, {\left (109 \, x^{6} - 105 \, x^{4} + 3 \, x^{2} + 1\right )}}\right ) + 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} x^{3} \log \left (\frac {6 \cdot 4^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{3} - x\right )}^{\frac {2}{3}} {\left (5 \, x^{2} - 1\right )} - 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (19 \, x^{4} - 16 \, x^{2} + 1\right )} + 24 \, {\left (2 \, x^{3} - x\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}}{x^{4} + 2 \, x^{2} + 1}\right ) - 2 \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} x^{3} \log \left (-\frac {3 \cdot 4^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{3} - x\right )}^{\frac {1}{3}} x + 4^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{2} + 1\right )} + 6 \, {\left (x^{3} - x\right )}^{\frac {2}{3}}}{x^{2} + 1}\right ) + 12 \, \sqrt {3} x^{3} \arctan \left (-\frac {44032959556 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {1}{3}} x + \sqrt {3} {\left (16754327161 \, x^{2} - 2707204793\right )} - 10524305234 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {2}{3}}}{81835897185 \, x^{2} - 1102302937}\right ) + 6 \, x^{3} \log \left (-3 \, {\left (x^{3} - x\right )}^{\frac {1}{3}} x + 3 \, {\left (x^{3} - x\right )}^{\frac {2}{3}} + 1\right ) + 18 \, {\left (x^{3} - x\right )}^{\frac {1}{3}} {\left (5 \, x^{2} - 1\right )}}{24 \, x^{3}} \]
[In]
[Out]
\[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=\int \frac {\sqrt [3]{x \left (x - 1\right ) \left (x + 1\right )} \left (x^{4} - 2\right )}{x^{4} \left (x^{2} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=\int { \frac {{\left (x^{4} - 2\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}}{{\left (x^{2} + 1\right )} x^{4}} \,d x } \]
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 171, normalized size of antiderivative = 0.73 \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=\frac {1}{2} \, \sqrt {3} 2^{\frac {1}{3}} \arctan \left (\frac {1}{6} \, \sqrt {3} 2^{\frac {2}{3}} {\left (2^{\frac {1}{3}} + 2 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}}\right )}\right ) + \frac {1}{2} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {3}{4} \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {4}{3}} + \frac {1}{4} \cdot 2^{\frac {1}{3}} \log \left (2^{\frac {2}{3}} + 2^{\frac {1}{3}} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {2}{3}}\right ) - \frac {1}{2} \cdot 2^{\frac {1}{3}} \log \left ({\left | -2^{\frac {1}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} \right |}\right ) - 3 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + \frac {1}{4} \, \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {2}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right ) - \frac {1}{2} \, \log \left ({\left | {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt [3]{-x+x^3} \left (-2+x^4\right )}{x^4 \left (1+x^2\right )} \, dx=\int \frac {{\left (x^3-x\right )}^{1/3}\,\left (x^4-2\right )}{x^4\,\left (x^2+1\right )} \,d x \]
[In]
[Out]