Integrand size = 30, antiderivative size = 164 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\frac {\left (1+x^3\right )^{5/3}}{5 x^5}-\frac {\arctan \left (\frac {3^{5/6} x}{\sqrt [3]{3} x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )}{2^{2/3} 3^{5/6}}+\frac {\log \left (-3 x+\sqrt [3]{2} 3^{2/3} \sqrt [3]{1+x^3}\right )}{3\ 2^{2/3} \sqrt [3]{3}}-\frac {\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 )}{6\ 2^{2/3} \sqrt [3]{3}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.80, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1600, 597, 12, 384} \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=-\frac {\arctan \left (\frac {\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{2^{2/3} 3^{5/6}}-\frac {\log \left (x^3-2\right )}{6\ 2^{2/3} \sqrt [3]{3}}+\frac {\log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{x^3+1}\right )}{2\ 2^{2/3} \sqrt [3]{3}}+\frac {\left (x^3+1\right )^{2/3}}{5 x^5}+\frac {\left (x^3+1\right )^{2/3}}{5 x^2} \]
[In]
[Out]
Rule 12
Rule 384
Rule 597
Rule 1600
Rubi steps \begin{align*} \text {integral}& = \int \frac {2+x^3}{x^6 \left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = \frac {\left (1+x^3\right )^{2/3}}{5 x^5}+\frac {1}{10} \int \frac {8+6 x^3}{x^3 \left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = \frac {\left (1+x^3\right )^{2/3}}{5 x^5}+\frac {\left (1+x^3\right )^{2/3}}{5 x^2}+\frac {1}{40} \int \frac {40}{\left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = \frac {\left (1+x^3\right )^{2/3}}{5 x^5}+\frac {\left (1+x^3\right )^{2/3}}{5 x^2}+\int \frac {1}{\left (-2+x^3\right ) \sqrt [3]{1+x^3}} \, dx \\ & = \frac {\left (1+x^3\right )^{2/3}}{5 x^5}+\frac {\left (1+x^3\right )^{2/3}}{5 x^2}-\frac {\arctan \left (\frac {1+\frac {2^{2/3} \sqrt [3]{3} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{2^{2/3} 3^{5/6}}-\frac {\log \left (-2+x^3\right )}{6\ 2^{2/3} \sqrt [3]{3}}+\frac {\log \left (\sqrt [3]{\frac {3}{2}} x-\sqrt [3]{1+x^3}\right )}{2\ 2^{2/3} \sqrt [3]{3}} \\ \end{align*}
Time = 0.40 (sec) , antiderivative size = 164, normalized size of antiderivative = 1.00 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\frac {\left (1+x^3\right )^{5/3}}{5 x^5}-\frac {\arctan \left (\frac {3^{5/6} x}{\sqrt [3]{3} x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )}{2^{2/3} 3^{5/6}}+\frac {\log \left (-3 x+\sqrt [3]{2} 3^{2/3} \sqrt [3]{1+x^3}\right )}{3\ 2^{2/3} \sqrt [3]{3}}-\frac {\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 )}{6\ 2^{2/3} \sqrt [3]{3}} \]
[In]
[Out]
Time = 15.35 (sec) , antiderivative size = 152, normalized size of antiderivative = 0.93
method | result | size |
pseudoelliptic | \(\frac {-5 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 ) 2^{\frac {1}{3}}+36 \left (x^{3}+1\right )^{\frac {5}{3}}}{180 x^{5}}\) | \(152\) |
risch | \(\text {Expression too large to display}\) | \(606\) |
trager | \(\text {Expression too large to display}\) | \(737\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 253 vs. \(2 (118) = 236\).
Time = 1.70 (sec) , antiderivative size = 253, normalized size of antiderivative = 1.54 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\frac {10 \cdot 12^{\frac {2}{3}} x^{5} \log \left (\frac {18 \cdot 12^{\frac {1}{3}} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 12^{\frac {2}{3}} {\left (x^{3} - 2\right )} - 36 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x}{x^{3} - 2}\right ) - 5 \cdot 12^{\frac {2}{3}} x^{5} \log \left (\frac {6 \cdot 12^{\frac {2}{3}} {\left (4 \, x^{4} + x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} + 12^{\frac {1}{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 ) - 60 \cdot 12^{\frac {1}{6}} x^{5} \arctan \left (\frac {12^{\frac {1}{6}} {\left (12 \cdot 12^{\frac {2}{3}} {\left (4 \, x^{7} - 7 \, x^{4} - 2 \, x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} - 12^{\frac {1}{3}} {\left (377 \, x^{9} + 600 \, x^{6} + 204 \, x^{3} + 8\right )} - 36 \, {\left (55 \, x^{8} + 50 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}\right )}}{6 \, {\left (487 \, x^{9} + 480 \, x^{6} + 12 \, x^{3} - 8\right )}}\right ) + 216 \, {\left (x^{3} + 1\right )}^{\frac {5}{3}}}{1080 \, x^{5}} \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\int \frac {\left (\left (x + 1\right ) \left (x^{2} - x + 1\right )\right )^{\frac {2}{3}} \left (x^{3} + 2\right )}{x^{6} \left (x + 1\right ) \left (x^{3} - 2\right ) \left (x^{2} - x + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\int { \frac {{\left (x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{6} - x^{3} - 2\right )} x^{6}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\int { \frac {{\left (x^{3} + 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{6} - x^{3} - 2\right )} x^{6}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (2+x^3\right )}{x^6 \left (-2-x^3+x^6\right )} \, dx=\int -\frac {{\left (x^3+1\right )}^{2/3}\,\left (x^3+2\right )}{x^6\,\left (-x^6+x^3+2\right )} \,d x \]
[In]
[Out]