Integrand size = 28, antiderivative size = 185 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\frac {\left (1+x^3\right )^{2/3} \left (24+102 x^3-97 x^6\right )}{120 x^5 \left (-2+x^3\right )}+\frac {35 \arctan \left (\frac {3^{5/6} x}{\sqrt [3]{3} x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )}{12\ 2^{2/3} 3^{5/6}}-\frac {35 \log \left (-3 x+\sqrt [3]{2} 3^{2/3} \sqrt [3]{1+x^3}\right )}{36\ 2^{2/3} \sqrt [3]{3}}+\frac {35 \log \left (3 x^2+\sqrt [3]{2} 3^{2/3} x \sqrt [3]{1+x^3}+2^{2/3} \sqrt [3]{3} \left (1+x^3\right )^{2/3}\right )}{72\ 2^{2/3} \sqrt [3]{3}} \]
[Out]
Time = 0.29 (sec) , antiderivative size = 250, normalized size of antiderivative = 1.35, number of steps used = 10, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6874, 270, 283, 245, 386, 384, 399} \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\frac {3 \sqrt [6]{3} \arctan \left (\frac {\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{4\ 2^{2/3}}+\frac {\sqrt [3]{2} \arctan \left (\frac {\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{3\ 3^{5/6}}+\frac {x \left (x^3+1\right )^{2/3}}{3 \left (2-x^3\right )}+\frac {\log \left (x^3-2\right )}{9\ 2^{2/3} \sqrt [3]{3}}+\frac {1}{8} \left (\frac {3}{2}\right )^{2/3} \log \left (x^3-2\right )-\frac {\log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{x^3+1}\right )}{3\ 2^{2/3} \sqrt [3]{3}}-\frac {3}{8} \left (\frac {3}{2}\right )^{2/3} \log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{x^3+1}\right )-\frac {\left (x^3+1\right )^{5/3}}{10 x^5}-\frac {3 \left (x^3+1\right )^{2/3}}{8 x^2} \]
[In]
[Out]
Rule 245
Rule 270
Rule 283
Rule 384
Rule 386
Rule 399
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\left (1+x^3\right )^{2/3}}{2 x^6}+\frac {3 \left (1+x^3\right )^{2/3}}{4 x^3}+\frac {2 \left (1+x^3\right )^{2/3}}{\left (-2+x^3\right )^2}-\frac {3 \left (1+x^3\right )^{2/3}}{4 \left (-2+x^3\right )}\right ) \, dx \\ & = \frac {1}{2} \int \frac {\left (1+x^3\right )^{2/3}}{x^6} \, dx+\frac {3}{4} \int \frac {\left (1+x^3\right )^{2/3}}{x^3} \, dx-\frac {3}{4} \int \frac {\left (1+x^3\right )^{2/3}}{-2+x^3} \, dx+2 \int \frac {\left (1+x^3\right )^{2/3}}{\left (-2+x^3\right )^2} \, dx \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{8 x^2}+\frac {x \left (1+x^3\right )^{2/3}}{3 \left (2-x^3\right )}-\frac {\left (1+x^3\right )^{5/3}}{10 x^5}-\frac {2}{3} \int \frac {1}{\left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx-\frac {9}{4} \int \frac {1}{\left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = -\frac {3 \left (1+x^3\right )^{2/3}}{8 x^2}+\frac {x \left (1+x^3\right )^{2/3}}{3 \left (2-x^3\right )}-\frac {\left (1+x^3\right )^{5/3}}{10 x^5}+\frac {\sqrt [3]{2} \arctan \left (\frac {1+\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{3\ 3^{5/6}}+\frac {3 \sqrt [6]{3} \arctan \left (\frac {1+\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{4\ 2^{2/3}}+\frac {1}{8} \left (\frac {3}{2}\right )^{2/3} \log \left (-2+x^3\right )+\frac {\log \left (-2+x^3\right )}{9\ 2^{2/3} \sqrt [3]{3}}-\frac {3}{8} \left (\frac {3}{2}\right )^{2/3} \log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{1+x^3}\right )-\frac {\log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{1+x^3}\right )}{3\ 2^{2/3} \sqrt [3]{3}} \\ \end{align*}
Time = 0.56 (sec) , antiderivative size = 181, normalized size of antiderivative = 0.98 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\frac {\frac {18 \left (1+x^3\right )^{2/3} \left (24+102 x^3-97 x^6\right )}{x^5 \left (-2+x^3\right )}+1050 \sqrt [3]{2} \sqrt [6]{3} \arctan \left (\frac {3^{5/6} x}{\sqrt [3]{3} x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )-350 \sqrt [3]{2} 3^{2/3} \log \left (-3 x+\sqrt [3]{2} 3^{2/3} \sqrt [3]{1+x^3}\right )+175 \sqrt [3]{2} 3^{2/3} \log \left (3 x^2+\sqrt [3]{2} 3^{2/3} x \sqrt [3]{1+x^3}+2^{2/3} \sqrt [3]{3} \left (1+x^3\right )^{2/3}\right )}{2160} \]
[In]
[Out]
Time = 15.50 (sec) , antiderivative size = 175, normalized size of antiderivative = 0.95
method | result | size |
pseudoelliptic | \(\frac {\left (-1746 x^{6}+1836 x^{3}+432\right ) \left (x^{3}+1\right )^{\frac {2}{3}}+175 \left (x^{3}-2\right ) 2^{\frac {1}{3}} x^{5} \left (\left (\ln \left (\frac {2^{\frac {1}{3}} 3^{\frac {2}{3}} x^{2}+2^{\frac {2}{3}} 3^{\frac {1}{3}} {\left (\left (1+x \right ) \left (x^{2}-x +1\right )\right )}^{\frac {1}{3}} x +2 {\left (\left (1+x \right ) \left (x^{2}-x +1\right )\right )}^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-2^{\frac {2}{3}} 3^{\frac {1}{3}} x +2 {\left (\left (1+x \right ) \left (x^{2}-x +1\right )\right )}^{\frac {1}{3}}}{x}\right )+\ln \left (2\right )\right ) 3^{\frac {2}{3}}-6 \arctan \left (\frac {\sqrt {3}\, \left (2 \,2^{\frac {1}{3}} 3^{\frac {2}{3}} \left (x^{3}+1\right )^{\frac {1}{3}}+3 x \right )}{9 x}\right ) 3^{\frac {1}{6}}\right )}{2160 \left (x^{3}-2\right ) x^{5}}\) | \(175\) |
trager | \(\text {Expression too large to display}\) | \(756\) |
risch | \(\text {Expression too large to display}\) | \(920\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 319 vs. \(2 (137) = 274\).
Time = 2.38 (sec) , antiderivative size = 319, normalized size of antiderivative = 1.72 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\frac {350 \cdot 12^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 2 \, x^{5}\right )} \log \left (\frac {18 \cdot 12^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} + 12^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{3} - 2\right )} - 36 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x}{x^{3} - 2}\right ) - 175 \cdot 12^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 2 \, x^{5}\right )} \log \left (-\frac {6 \cdot 12^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} {\left (4 \, x^{4} + x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} - 12^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (55 \, x^{6} + 50 \, x^{3} + 4\right )} - 18 \, {\left (7 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x^{6} - 4 \, x^{3} + 4}\right ) - 2100 \cdot 12^{\frac {1}{6}} \left (-1\right )^{\frac {1}{3}} {\left (x^{8} - 2 \, x^{5}\right )} \arctan \left (\frac {12^{\frac {1}{6}} {\left (12 \cdot 12^{\frac {2}{3}} \left (-1\right )^{\frac {2}{3}} {\left (4 \, x^{7} - 7 \, x^{4} - 2 \, x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} + 36 \, \left (-1\right )^{\frac {1}{3}} {\left (55 \, x^{8} + 50 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}} - 12^{\frac {1}{3}} {\left (377 \, x^{9} + 600 \, x^{6} + 204 \, x^{3} + 8\right )}\right )}}{6 \, {\left (487 \, x^{9} + 480 \, x^{6} + 12 \, x^{3} - 8\right )}}\right ) - 108 \, {\left (97 \, x^{6} - 102 \, x^{3} - 24\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{12960 \, {\left (x^{8} - 2 \, x^{5}\right )}} \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\int \frac {\left (\left (x + 1\right ) \left (x^{2} - x + 1\right )\right )^{\frac {2}{3}} \left (x^{6} + x^{3} + 2\right )}{x^{6} \left (x^{3} - 2\right )^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\int { \frac {{\left (x^{6} + x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{3} - 2\right )}^{2} x^{6}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\int { \frac {{\left (x^{6} + x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{3} - 2\right )}^{2} x^{6}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3+x^6\right )}{x^6 \left (-2+x^3\right )^2} \, dx=\int \frac {{\left (x^3+1\right )}^{2/3}\,\left (x^6+x^3+2\right )}{x^6\,{\left (x^3-2\right )}^2} \,d x \]
[In]
[Out]