Integrand size = 39, antiderivative size = 221 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\frac {\left (2-13 x^3\right ) \left (1+x^3\right )^{2/3}}{10 x^5}-\frac {10 \arctan \left (\frac {\sqrt {3} x}{-x+2 \sqrt [3]{1+x^3}}\right )}{3 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{1+x^3}}\right )}{3 \sqrt {3}}-\frac {10}{9} \log \left (x+\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (-2 x+2^{2/3} \sqrt [3]{1+x^3}\right )+\frac {5}{9} \log \left (x^2-x \sqrt [3]{1+x^3}+\left (1+x^3\right )^{2/3}\right )-\frac {\log \left (2 x^2+2^{2/3} x \sqrt [3]{1+x^3}+\sqrt [3]{2} \left (1+x^3\right )^{2/3}\right )}{9 \sqrt [3]{2}} \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(529\) vs. \(2(221)=442\).
Time = 0.67 (sec) , antiderivative size = 529, normalized size of antiderivative = 2.39, number of steps used = 34, number of rules used = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.564, Rules used = {6860, 2178, 2177, 245, 2174, 371, 270, 283, 2183, 399, 384, 495, 502, 206, 31, 648, 631, 210, 642, 455, 52, 57} \[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{x^3+1}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {\frac {2 \sqrt [3]{2} x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{9 \sqrt {3}}+\frac {2^{2/3} \arctan \left (\frac {1-\frac {2 \sqrt [3]{2} (x+1)}{\sqrt [3]{x^3+1}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {\frac {\sqrt [3]{2} (x+1)}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {2^{2/3} \sqrt [3]{x^3+1}+1}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {\log \left (1-x^3\right )}{27 \sqrt [3]{2}}+\frac {5}{9} \log \left (2 x^3+1\right )+\frac {\log \left (\frac {2^{2/3} (x+1)^2}{\left (x^3+1\right )^{2/3}}-\frac {\sqrt [3]{2} (x+1)}{\sqrt [3]{x^3+1}}+1\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (\frac {\sqrt [3]{2} (x+1)}{\sqrt [3]{x^3+1}}+1\right )-\frac {\log \left (\sqrt [3]{2}-\sqrt [3]{x^3+1}\right )}{9 \sqrt [3]{2}}-\frac {5}{3} \log \left (-\sqrt [3]{x^3+1}-x\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{x^3+1}\right )-\frac {\log \left (-2^{2/3} \sqrt [3]{x^3+1}+x+1\right )}{18 \sqrt [3]{2}}+\frac {\log \left (2^{2/3} \sqrt [3]{x^3+1}-x-1\right )}{6 \sqrt [3]{2}}+\frac {\left (x^3+1\right )^{5/3}}{5 x^5}-\frac {3 \left (x^3+1\right )^{2/3}}{2 x^2}-\frac {\log \left (-(1-x)^2 (x+1)\right )}{18 \sqrt [3]{2}}+\frac {\log \left ((1-x)^2 (x+1)\right )}{54 \sqrt [3]{2}} \]
[In]
[Out]
Rule 31
Rule 52
Rule 57
Rule 206
Rule 210
Rule 245
Rule 270
Rule 283
Rule 371
Rule 384
Rule 399
Rule 455
Rule 495
Rule 502
Rule 631
Rule 642
Rule 648
Rule 2174
Rule 2177
Rule 2178
Rule 2183
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\left (1+x^3\right )^{2/3}}{9 (-1+x)}-\frac {\left (1+x^3\right )^{2/3}}{x^6}+\frac {3 \left (1+x^3\right )^{2/3}}{x^3}+\frac {(-2-x) \left (1+x^3\right )^{2/3}}{9 \left (1+x+x^2\right )}-\frac {20 \left (1+x^3\right )^{2/3}}{3 \left (1+2 x^3\right )}\right ) \, dx \\ & = \frac {1}{9} \int \frac {\left (1+x^3\right )^{2/3}}{-1+x} \, dx+\frac {1}{9} \int \frac {(-2-x) \left (1+x^3\right )^{2/3}}{1+x+x^2} \, dx+3 \int \frac {\left (1+x^3\right )^{2/3}}{x^3} \, dx-\frac {20}{3} \int \frac {\left (1+x^3\right )^{2/3}}{1+2 x^3} \, dx-\int \frac {\left (1+x^3\right )^{2/3}}{x^6} \, dx \\ & = \frac {1}{18} \left (1+x^3\right )^{2/3}-\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {1}{9} \int \frac {x}{\sqrt [3]{1+x^3}} \, dx+\frac {1}{9} \int \frac {1+x}{(-1+x) \sqrt [3]{1+x^3}} \, dx+\frac {1}{9} \int \left (-\frac {2 \left (1+x^3\right )^{2/3}}{1-x^3}+\frac {x \left (1+x^3\right )^{2/3}}{1-x^3}+\frac {x^2 \left (1+x^3\right )^{2/3}}{1-x^3}\right ) \, dx+3 \int \frac {1}{\sqrt [3]{1+x^3}} \, dx-\frac {10}{3} \int \frac {1}{\sqrt [3]{1+x^3}} \, dx-\frac {10}{3} \int \frac {1}{\sqrt [3]{1+x^3} \left (1+2 x^3\right )} \, dx \\ & = \frac {1}{18} \left (1+x^3\right )^{2/3}-\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {10 \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}+\sqrt {3} \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )+\frac {1}{18} x^2 \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {2}{3},\frac {5}{3},-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{6} \log \left (-x+\sqrt [3]{1+x^3}\right )+\frac {1}{9} \int \frac {1}{\sqrt [3]{1+x^3}} \, dx+\frac {1}{9} \int \frac {x \left (1+x^3\right )^{2/3}}{1-x^3} \, dx+\frac {1}{9} \int \frac {x^2 \left (1+x^3\right )^{2/3}}{1-x^3} \, dx+\frac {2}{9} \int \frac {1}{(-1+x) \sqrt [3]{1+x^3}} \, dx-\frac {2}{9} \int \frac {\left (1+x^3\right )^{2/3}}{1-x^3} \, dx \\ & = \frac {1}{18} \left (1+x^3\right )^{2/3}-\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {29 \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}+\sqrt {3} \arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )-\frac {\arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3}}+\frac {1}{18} x^2 \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {2}{3},\frac {5}{3},-x^3\right )-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}+\frac {5}{9} \log \left (1+2 x^3\right )-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} \log \left (-x+\sqrt [3]{1+x^3}\right )+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}}+\frac {1}{27} \text {Subst}\left (\int \frac {(1+x)^{2/3}}{1-x} \, dx,x,x^3\right )-\frac {1}{9} \int \frac {x}{\sqrt [3]{1+x^3}} \, dx+\frac {2}{9} \int \frac {1}{\sqrt [3]{1+x^3}} \, dx+\frac {2}{9} \int \frac {x}{\left (1-x^3\right ) \sqrt [3]{1+x^3}} \, dx-\frac {4}{9} \int \frac {1}{\left (1-x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {\arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt [3]{2} \sqrt {3}}-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{1+x^3}\right )+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}}+\frac {2}{27} \int \frac {1}{(1-x) \sqrt [3]{1+x^3}} \, dx+\frac {2}{27} \text {Subst}\left (\int \frac {1}{(1-x) \sqrt [3]{1+x}} \, dx,x,x^3\right )-\frac {2}{9} \text {Subst}\left (\int \frac {1}{1+2 x^3} \, dx,x,\frac {1+x}{\sqrt [3]{1+x^3}}\right ) \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}+\frac {\log \left ((1-x)^2 (1+x)\right )}{54 \sqrt [3]{2}}+\frac {\log \left (1-x^3\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{1+x^3}\right )-\frac {\log \left (1+x-2^{2/3} \sqrt [3]{1+x^3}\right )}{18 \sqrt [3]{2}}+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}}-\frac {2}{27} \text {Subst}\left (\int \frac {1}{1+\sqrt [3]{2} x} \, dx,x,\frac {1+x}{\sqrt [3]{1+x^3}}\right )-\frac {2}{27} \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}{\sqrt [3]{1+x^3}}\right )-\frac {1}{9} \text {Subst}\left (\int \frac {1}{2^{2/3}+\sqrt [3]{2} x+x^2} \, dx,x,\sqrt [3]{1+x^3}\right )+\frac {\text {Subst}\left (\int \frac {1}{\sqrt [3]{2}-x} \, dx,x,\sqrt [3]{1+x^3}\right )}{9 \sqrt [3]{2}} \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}+\frac {\log \left ((1-x)^2 (1+x)\right )}{54 \sqrt [3]{2}}+\frac {\log \left (1-x^3\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )-\frac {1}{27} 2^{2/3} \log \left (1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right )-\frac {\log \left (\sqrt [3]{2}-\sqrt [3]{1+x^3}\right )}{9 \sqrt [3]{2}}-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{1+x^3}\right )-\frac {\log \left (1+x-2^{2/3} \sqrt [3]{1+x^3}\right )}{18 \sqrt [3]{2}}+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}}-\frac {1}{9} \text {Subst}\left (\int \frac {1}{1-\sqrt [3]{2} x+2^{2/3} x^2} \, dx,x,\frac {1+x}{\sqrt [3]{1+x^3}}\right )+\frac {\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}{\sqrt [3]{1+x^3}}\right )}{27 \sqrt [3]{2}}+\frac {1}{9} 2^{2/3} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+2^{2/3} \sqrt [3]{1+x^3}\right ) \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+2^{2/3} \sqrt [3]{1+x^3}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}+\frac {\log \left ((1-x)^2 (1+x)\right )}{54 \sqrt [3]{2}}+\frac {\log \left (1-x^3\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )+\frac {\log \left (1+\frac {2^{2/3} (1+x)^2}{\left (1+x^3\right )^{2/3}}-\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right )-\frac {\log \left (\sqrt [3]{2}-\sqrt [3]{1+x^3}\right )}{9 \sqrt [3]{2}}-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{1+x^3}\right )-\frac {\log \left (1+x-2^{2/3} \sqrt [3]{1+x^3}\right )}{18 \sqrt [3]{2}}+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}}-\frac {1}{9} 2^{2/3} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right ) \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {10 \arctan \left (\frac {1-\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2\ 2^{2/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{2} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}+\frac {2^{2/3} \arctan \left (\frac {1-\frac {2 \sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {2^{2/3} \arctan \left (\frac {1+2^{2/3} \sqrt [3]{1+x^3}}{\sqrt {3}}\right )}{9 \sqrt {3}}-\frac {\log \left (-(1-x)^2 (1+x)\right )}{18 \sqrt [3]{2}}+\frac {\log \left ((1-x)^2 (1+x)\right )}{54 \sqrt [3]{2}}+\frac {\log \left (1-x^3\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1-x^3\right )+\frac {5}{9} \log \left (1+2 x^3\right )+\frac {\log \left (1+\frac {2^{2/3} (1+x)^2}{\left (1+x^3\right )^{2/3}}-\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right )}{27 \sqrt [3]{2}}-\frac {1}{27} 2^{2/3} \log \left (1+\frac {\sqrt [3]{2} (1+x)}{\sqrt [3]{1+x^3}}\right )-\frac {\log \left (\sqrt [3]{2}-\sqrt [3]{1+x^3}\right )}{9 \sqrt [3]{2}}-\frac {5}{3} \log \left (-x-\sqrt [3]{1+x^3}\right )+\frac {1}{9} 2^{2/3} \log \left (\sqrt [3]{2} x-\sqrt [3]{1+x^3}\right )-\frac {\log \left (1+x-2^{2/3} \sqrt [3]{1+x^3}\right )}{18 \sqrt [3]{2}}+\frac {\log \left (-1-x+2^{2/3} \sqrt [3]{1+x^3}\right )}{6 \sqrt [3]{2}} \\ \end{align*}
Time = 0.49 (sec) , antiderivative size = 209, normalized size of antiderivative = 0.95 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\frac {1}{90} \left (\frac {9 \left (2-13 x^3\right ) \left (1+x^3\right )^{2/3}}{x^5}+100 \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x-2 \sqrt [3]{1+x^3}}\right )-10\ 2^{2/3} \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{1+x^3}}\right )-100 \log \left (x+\sqrt [3]{1+x^3}\right )+10\ 2^{2/3} \log \left (-2 x+2^{2/3} \sqrt [3]{1+x^3}\right )+50 \log \left (x^2-x \sqrt [3]{1+x^3}+\left (1+x^3\right )^{2/3}\right )-5\ 2^{2/3} \log \left (2 x^2+2^{2/3} x \sqrt [3]{1+x^3}+\sqrt [3]{2} \left (1+x^3\right )^{2/3}\right )\right ) \]
[In]
[Out]
Time = 5.69 (sec) , antiderivative size = 191, normalized size of antiderivative = 0.86
method | result | size |
pseudoelliptic | \(\frac {10 \,2^{\frac {2}{3}} \ln \left (\frac {-2^{\frac {1}{3}} x +\left (x^{3}+1\right )^{\frac {1}{3}}}{x}\right ) x^{5}-100 \ln \left (\frac {x +\left (x^{3}+1\right )^{\frac {1}{3}}}{x}\right ) x^{5}+\left (-117 x^{3}+18\right ) \left (x^{3}+1\right )^{\frac {2}{3}}-5 x^{5} \left (\left (-2 \arctan \left (\frac {\sqrt {3}\, \left (x +2^{\frac {2}{3}} \left (x^{3}+1\right )^{\frac {1}{3}}\right )}{3 x}\right ) \sqrt {3}+\ln \left (\frac {2^{\frac {2}{3}} x^{2}+2^{\frac {1}{3}} x \left (x^{3}+1\right )^{\frac {1}{3}}+\left (x^{3}+1\right )^{\frac {2}{3}}}{x^{2}}\right )\right ) 2^{\frac {2}{3}}+20 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x -2 \left (x^{3}+1\right )^{\frac {1}{3}}\right )}{3 x}\right )-10 \ln \left (\frac {x^{2}-x \left (x^{3}+1\right )^{\frac {1}{3}}+\left (x^{3}+1\right )^{\frac {2}{3}}}{x^{2}}\right )\right )}{90 x^{5}}\) | \(191\) |
risch | \(\text {Expression too large to display}\) | \(1357\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 367 vs. \(2 (166) = 332\).
Time = 2.03 (sec) , antiderivative size = 367, normalized size of antiderivative = 1.66 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=-\frac {10 \cdot 4^{\frac {1}{3}} \sqrt {3} x^{5} \arctan \left (\frac {3 \cdot 4^{\frac {2}{3}} \sqrt {3} {\left (5 \, x^{7} - 4 \, x^{4} - x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} - 6 \cdot 4^{\frac {1}{3}} \sqrt {3} {\left (19 \, x^{8} + 16 \, x^{5} + x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}} - \sqrt {3} {\left (71 \, x^{9} + 111 \, x^{6} + 33 \, x^{3} + 1\right )}}{3 \, {\left (109 \, x^{9} + 105 \, x^{6} + 3 \, x^{3} - 1\right )}}\right ) - 300 \, \sqrt {3} x^{5} \arctan \left (\frac {4 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} + 2 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (x^{3} + 1\right )}}{7 \, x^{3} - 1}\right ) - 10 \cdot 4^{\frac {1}{3}} x^{5} \log \left (\frac {3 \cdot 4^{\frac {2}{3}} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 6 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x - 4^{\frac {1}{3}} {\left (x^{3} - 1\right )}}{x^{3} - 1}\right ) + 5 \cdot 4^{\frac {1}{3}} x^{5} \log \left (\frac {6 \cdot 4^{\frac {1}{3}} {\left (5 \, x^{4} + x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} + 4^{\frac {2}{3}} {\left (19 \, x^{6} + 16 \, x^{3} + 1\right )} + 24 \, {\left (2 \, x^{5} + x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x^{6} - 2 \, x^{3} + 1}\right ) + 150 \, x^{5} \log \left (\frac {2 \, x^{3} + 3 \, {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} + 3 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + 1}{2 \, x^{3} + 1}\right ) + 27 \, {\left (13 \, x^{3} - 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{270 \, x^{5}} \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\int \frac {\left (\left (x + 1\right ) \left (x^{2} - x + 1\right )\right )^{\frac {2}{3}} \cdot \left (2 x^{6} - 2 x^{3} + 1\right )}{x^{6} \left (x - 1\right ) \left (2 x^{3} + 1\right ) \left (x^{2} + x + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\int { \frac {{\left (2 \, x^{6} - 2 \, x^{3} + 1\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (2 \, x^{6} - x^{3} - 1\right )} x^{6}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\int { \frac {{\left (2 \, x^{6} - 2 \, x^{3} + 1\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (2 \, x^{6} - x^{3} - 1\right )} x^{6}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (1-2 x^3+2 x^6\right )}{x^6 \left (-1-x^3+2 x^6\right )} \, dx=\int -\frac {{\left (x^3+1\right )}^{2/3}\,\left (2\,x^6-2\,x^3+1\right )}{x^6\,\left (-2\,x^6+x^3+1\right )} \,d x \]
[In]
[Out]