Integrand size = 19, antiderivative size = 173 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\frac {\arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{-x+x^3}}\right )}{2 \sqrt [3]{2} \sqrt {3}}-\frac {\log \left (-2 x+2^{2/3} \sqrt [3]{-x+x^3}\right )}{6 \sqrt [3]{2}}+\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 )}{12 \sqrt [3]{2}}-\frac {1}{6} \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log (x)+\log \left (\sqrt [3]{-x+x^3}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \]
[Out]
Result contains complex when optimal does not.
Time = 0.71 (sec) , antiderivative size = 1276, normalized size of antiderivative = 7.38, number of steps used = 25, number of rules used = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.842, Rules used = {2081, 6847, 2099, 2174, 2183, 384, 502, 206, 31, 648, 631, 210, 642, 455, 58, 6860} \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{x^2-1}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {\frac {2 \sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \arctan \left (\frac {1-2^{2/3} \sqrt [3]{x^2-1}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (-\left (\left (1-x^{2/3}\right ) \left (x^{2/3}+1\right )^2\right )\right )}{36 \sqrt [3]{2} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (-2 x^2-i \sqrt {3}+1\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (-2 x^2+i \sqrt {3}+1\right )}{12 \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (x^2+1\right )}{36 \sqrt [3]{2} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{x^2-1}}\right )}{18 \sqrt [3]{2} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (\frac {2^{2/3} \left (1-x^{2/3}\right )^2}{\left (x^2-1\right )^{2/3}}+\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{x^2-1}}+1\right )}{36 \sqrt [3]{2} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{x^2-1}\right )}{6 \sqrt [3]{2} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{x^2-1}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x^3-x}}+\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (\sqrt [3]{x^2-1}+\sqrt [3]{2}\right )}{12 \sqrt [3]{2} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (-x^{2/3}+2^{2/3} \sqrt [3]{x^2-1}+1\right )}{12 \sqrt [3]{2} \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{x^2-1} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x^2-1}\right )}{4 \sqrt [3]{x^3-x}} \]
[In]
[Out]
Rule 31
Rule 58
Rule 206
Rule 210
Rule 384
Rule 455
Rule 502
Rule 631
Rule 642
Rule 648
Rule 2081
Rule 2099
Rule 2174
Rule 2183
Rule 6847
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \int \frac {1}{\sqrt [3]{x} \sqrt [3]{-1+x^2} \left (1+x^6\right )} \, dx}{\sqrt [3]{-x+x^3}} \\ & = \frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x^3} \left (1+x^9\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}} \\ & = \frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \left (\frac {1}{9 (1+x) \sqrt [3]{-1+x^3}}+\frac {2-x}{9 \left (1-x+x^2\right ) \sqrt [3]{-1+x^3}}+\frac {2-x^3}{3 \sqrt [3]{-1+x^3} \left (1-x^3+x^6\right )}\right ) \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}} \\ & = \frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{-1+x^3}} \, dx,x,x^{2/3}\right )}{6 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {2-x}{\left (1-x+x^2\right ) \sqrt [3]{-1+x^3}} \, dx,x,x^{2/3}\right )}{6 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {2-x^3}{\sqrt [3]{-1+x^3} \left (1-x^3+x^6\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{4 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{24 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{8 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \left (\frac {2}{\sqrt [3]{-1+x^3} \left (1+x^3\right )}+\frac {x}{\sqrt [3]{-1+x^3} \left (1+x^3\right )}-\frac {x^2}{\sqrt [3]{-1+x^3} \left (1+x^3\right )}\right ) \, dx,x,x^{2/3}\right )}{6 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \left (\frac {-1-i \sqrt {3}}{\sqrt [3]{-1+x^3} \left (-1-i \sqrt {3}+2 x^3\right )}+\frac {-1+i \sqrt {3}}{\sqrt [3]{-1+x^3} \left (-1+i \sqrt {3}+2 x^3\right )}\right ) \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{4 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{24 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{8 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt [3]{-1+x^3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{6 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt [3]{-1+x^3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{6 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x^3} \left (1+x^3\right )} \, dx,x,x^{2/3}\right )}{3 \sqrt [3]{-x+x^3}}+\frac {\left (\left (-1-i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x^3} \left (-1-i \sqrt {3}+2 x^3\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}}+\frac {\left (\left (-1+i \sqrt {3}\right ) \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x^3} \left (-1+i \sqrt {3}+2 x^3\right )} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{4 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{24 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+x^2\right )}{18 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{8 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{-1+x} (1+x)} \, dx,x,x^2\right )}{18 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{(1+x) \sqrt [3]{-1+x^3}} \, dx,x,x^{2/3}\right )}{18 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-2 x^3} \, dx,x,\frac {1-x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{6 \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+x^2\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt [3]{2} x} \, dx,x,\frac {1-x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{18 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {2+\sqrt [3]{2} x}{1+\sqrt [3]{2} x+2^{2/3} x^2} \, dx,x,\frac {1-x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{18 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{2^{2/3}-\sqrt [3]{2} x+x^2} \, dx,x,\sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{2}+x} \, dx,x,\sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+x^2\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{18 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2}+\sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt [3]{2} x+2^{2/3} x^2} \, dx,x,\frac {1-x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{12 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{2}+2\ 2^{2/3} x}{1+\sqrt [3]{2} x+2^{2/3} x^2} \, dx,x,\frac {1-x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-2^{2/3} \sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-2^{2/3} \sqrt [3]{-1+x^2}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+x^2\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{18 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {2^{2/3} \left (1-x^{2/3}\right )^2}{\left (-1+x^2\right )^{2/3}}+\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2}+\sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}} \\ & = \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1+\frac {2 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \arctan \left (\frac {1-2^{2/3} \sqrt [3]{-1+x^2}}{\sqrt {3}}\right )}{6 \sqrt [3]{2} \sqrt {3} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (-\left (\left (1-x^{2/3}\right ) \left (1+x^{2/3}\right )^2\right )\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+i \sqrt {3}-2 x^2\right )}{12 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+x^2\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{18 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {2^{2/3} \left (1-x^{2/3}\right )^2}{\left (-1+x^2\right )^{2/3}}+\frac {\sqrt [3]{2} \left (1-x^{2/3}\right )}{\sqrt [3]{-1+x^2}}\right )}{36 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{6 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (\sqrt [3]{2}+\sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1-x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )}{12 \sqrt [3]{2} \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (x^{2/3}-\sqrt [3]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [3]{-1+x^2}\right )}{4 \sqrt [3]{-x+x^3}} \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 200, normalized size of antiderivative = 1.16 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \left (2^{2/3} \left (2 \sqrt {3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}}\right )-2 \log \left (-2 x^{2/3}+2^{2/3} \sqrt [3]{-1+x^2}\right )+\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 \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-2 \log \left (\sqrt [3]{x}\right )+\log \left (\sqrt [3]{-1+x^2}-x^{2/3} \text {$\#$1}\right )}{\text {$\#$1}}\&\right ]\right )}{24 \sqrt [3]{x \left (-1+x^2\right )}} \]
[In]
[Out]
Time = 3.43 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.78
method | result | size |
pseudoelliptic | \(\frac {\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}-2 \ln \left (\frac {-2^{\frac {1}{3}} x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )+\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 )\right ) 2^{\frac {2}{3}}}{24}-\frac {\left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{6}-\textit {\_Z}^{3}+1\right )}{\sum }\frac {\ln \left (\frac {-\textit {\_R} x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )}{\textit {\_R}}\right )}{6}\) | \(135\) |
[In]
[Out]
Exception generated. \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Not integrable
Time = 1.12 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.16 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\int \frac {1}{\sqrt [3]{x \left (x - 1\right ) \left (x + 1\right )} \left (x^{2} + 1\right ) \left (x^{4} - x^{2} + 1\right )}\, dx \]
[In]
[Out]
Not integrable
Time = 0.31 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.11 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\int { \frac {1}{{\left (x^{6} + 1\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 0.37 (sec) , antiderivative size = 967, normalized size of antiderivative = 5.59 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
Not integrable
Time = 0.00 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.11 \[ \int \frac {1}{\sqrt [3]{-x+x^3} \left (1+x^6\right )} \, dx=\int \frac {1}{{\left (x^3-x\right )}^{1/3}\,\left (x^6+1\right )} \,d x \]
[In]
[Out]