Integrand size = 30, antiderivative size = 214 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\frac {2 \left (1+x^3\right )^{2/3} \left (-2+3 x^3\right )}{5 x^5}+\frac {\arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{1+x^3}}\right )}{\sqrt {3}}-\frac {5 \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )}{2^{2/3} \sqrt {3}}-\frac {1}{3} \log \left (-x+\sqrt [3]{1+x^3}\right )+\frac {5 \log \left (-x+\sqrt [3]{2} \sqrt [3]{1+x^3}\right )}{3\ 2^{2/3}}+\frac {1}{6} \log \left (x^2+x \sqrt [3]{1+x^3}+\left (1+x^3\right )^{2/3}\right )-\frac {5 \log \left (x^2+\sqrt [3]{2} x \sqrt [3]{1+x^3}+2^{2/3} \left (1+x^3\right )^{2/3}\right )}{6\ 2^{2/3}} \]
[Out]
Time = 0.23 (sec) , antiderivative size = 157, normalized size of antiderivative = 0.73, number of steps used = 8, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6857, 270, 283, 245, 399, 384} \[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\frac {\arctan \left (\frac {\frac {2 x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {5 \arctan \left (\frac {\frac {2^{2/3} x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3}}-\frac {5 \log \left (x^3+2\right )}{6\ 2^{2/3}}+\frac {5 \log \left (\frac {x}{\sqrt [3]{2}}-\sqrt [3]{x^3+1}\right )}{2\ 2^{2/3}}-\frac {1}{2} \log \left (\sqrt [3]{x^3+1}-x\right )-\frac {4 \left (x^3+1\right )^{5/3}}{5 x^5}+\frac {2 \left (x^3+1\right )^{2/3}}{x^2} \]
[In]
[Out]
Rule 245
Rule 270
Rule 283
Rule 384
Rule 399
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {4 \left (1+x^3\right )^{2/3}}{x^6}-\frac {4 \left (1+x^3\right )^{2/3}}{x^3}+\frac {5 \left (1+x^3\right )^{2/3}}{2+x^3}\right ) \, dx \\ & = 4 \int \frac {\left (1+x^3\right )^{2/3}}{x^6} \, dx-4 \int \frac {\left (1+x^3\right )^{2/3}}{x^3} \, dx+5 \int \frac {\left (1+x^3\right )^{2/3}}{2+x^3} \, dx \\ & = \frac {2 \left (1+x^3\right )^{2/3}}{x^2}-\frac {4 \left (1+x^3\right )^{5/3}}{5 x^5}-4 \int \frac {1}{\sqrt [3]{1+x^3}} \, dx+5 \int \frac {1}{\sqrt [3]{1+x^3}} \, dx-5 \int \frac {1}{\sqrt [3]{1+x^3} \left (2+x^3\right )} \, dx \\ & = \frac {2 \left (1+x^3\right )^{2/3}}{x^2}-\frac {4 \left (1+x^3\right )^{5/3}}{5 x^5}+\frac {\arctan \left (\frac {1+\frac {2 x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {5 \arctan \left (\frac {1+\frac {2^{2/3} x}{\sqrt [3]{1+x^3}}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3}}-\frac {5 \log \left (2+x^3\right )}{6\ 2^{2/3}}+\frac {5 \log \left (\frac {x}{\sqrt [3]{2}}-\sqrt [3]{1+x^3}\right )}{2\ 2^{2/3}}-\frac {1}{2} \log \left (-x+\sqrt [3]{1+x^3}\right ) \\ \end{align*}
Time = 0.43 (sec) , antiderivative size = 209, normalized size of antiderivative = 0.98 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\frac {1}{60} \left (\frac {24 \left (1+x^3\right )^{2/3} \left (-2+3 x^3\right )}{x^5}+20 \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{1+x^3}}\right )-50 \sqrt [3]{2} \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{2} \sqrt [3]{1+x^3}}\right )-20 \log \left (-x+\sqrt [3]{1+x^3}\right )+50 \sqrt [3]{2} \log \left (-x+\sqrt [3]{2} \sqrt [3]{1+x^3}\right )+10 \log \left (x^2+x \sqrt [3]{1+x^3}+\left (1+x^3\right )^{2/3}\right )-25 \sqrt [3]{2} \log \left (x^2+\sqrt [3]{2} x \sqrt [3]{1+x^3}+2^{2/3} \left (1+x^3\right )^{2/3}\right )\right ) \]
[In]
[Out]
Time = 2.06 (sec) , antiderivative size = 222, normalized size of antiderivative = 1.04
method | result | size |
pseudoelliptic | \(\frac {50 \sqrt {3}\, 2^{\frac {1}{3}} \arctan \left (\frac {\sqrt {3}\, \left (x +2 \,2^{\frac {1}{3}} \left (x^{3}+1\right )^{\frac {1}{3}}\right )}{3 x}\right ) x^{5}-20 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}+1\right )^{\frac {1}{3}}\right )}{3 x}\right ) x^{5}+50 \,2^{\frac {1}{3}} x^{5} \ln \left (\frac {-2^{\frac {2}{3}} x +2 \left (x^{3}+1\right )^{\frac {1}{3}}}{x}\right )-25 \,2^{\frac {1}{3}} x^{5} \ln \left (\frac {2^{\frac {2}{3}} x \left (x^{3}+1\right )^{\frac {1}{3}}+2^{\frac {1}{3}} x^{2}+2 \left (x^{3}+1\right )^{\frac {2}{3}}}{x^{2}}\right )-25 \,2^{\frac {1}{3}} x^{5} \ln \left (2\right )-20 \ln \left (\frac {-x +\left (x^{3}+1\right )^{\frac {1}{3}}}{x}\right ) x^{5}+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 ) x^{5}+72 x^{3} \left (x^{3}+1\right )^{\frac {2}{3}}-48 \left (x^{3}+1\right )^{\frac {2}{3}}}{60 x^{5}}\) | \(222\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 361 vs. \(2 (165) = 330\).
Time = 15.80 (sec) , antiderivative size = 361, normalized size of antiderivative = 1.69 \[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\frac {100 \cdot 4^{\frac {1}{6}} \sqrt {3} x^{5} \arctan \left (\frac {4^{\frac {1}{6}} {\left (12 \cdot 4^{\frac {2}{3}} \sqrt {3} {\left (2 \, x^{7} + 5 \, x^{4} + 2 \, x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} + 4^{\frac {1}{3}} \sqrt {3} {\left (91 \, x^{9} + 168 \, x^{6} + 84 \, x^{3} + 8\right )} + 12 \, \sqrt {3} {\left (19 \, x^{8} + 22 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}\right )}}{6 \, {\left (53 \, x^{9} + 48 \, x^{6} - 12 \, x^{3} - 8\right )}}\right ) + 50 \cdot 4^{\frac {2}{3}} x^{5} \log \left (-\frac {6 \cdot 4^{\frac {1}{3}} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} + 4^{\frac {2}{3}} {\left (x^{3} + 2\right )} - 12 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x}{x^{3} + 2}\right ) - 25 \cdot 4^{\frac {2}{3}} x^{5} \log \left (\frac {6 \cdot 4^{\frac {2}{3}} {\left (2 \, x^{4} + x\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}} + 4^{\frac {1}{3}} {\left (19 \, x^{6} + 22 \, x^{3} + 4\right )} + 6 \, {\left (5 \, x^{5} + 4 \, x^{2}\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x^{6} + 4 \, x^{3} + 4}\right ) + 120 \, \sqrt {3} x^{5} \arctan \left (-\frac {25382 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 13720 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (5831 \, x^{3} + 7200\right )}}{58653 \, x^{3} + 8000}\right ) - 60 \, x^{5} \log \left (3 \, {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 3 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + 1\right ) + 144 \, {\left (3 \, x^{3} - 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{360 \, x^{5}} \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\int \frac {\left (\left (x + 1\right ) \left (x^{2} - x + 1\right )\right )^{\frac {2}{3}} \left (x^{2} + 2 x + 2\right ) \left (x^{4} - 2 x^{3} + 2 x^{2} - 4 x + 4\right )}{x^{6} \left (x^{3} + 2\right )}\, dx \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\int { \frac {{\left (x^{6} - 4 \, x^{3} + 8\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{3} + 2\right )} x^{6}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\int { \frac {{\left (x^{6} - 4 \, x^{3} + 8\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{{\left (x^{3} + 2\right )} x^{6}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (1+x^3\right )^{2/3} \left (8-4 x^3+x^6\right )}{x^6 \left (2+x^3\right )} \, dx=\int \frac {{\left (x^3+1\right )}^{2/3}\,\left (x^6-4\,x^3+8\right )}{x^6\,\left (x^3+2\right )} \,d x \]
[In]
[Out]