Integrand size = 21, antiderivative size = 180 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\frac {\arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{-x^2+x^3}}\right )}{\sqrt [3]{2} \sqrt {3}}-\frac {\log \left (-2 x+2^{2/3} \sqrt [3]{-x^2+x^3}\right )}{3 \sqrt [3]{2}}+\frac {\log \left (2 x^2+2^{2/3} x \sqrt [3]{-x^2+x^3}+\sqrt [3]{2} \left (-x^2+x^3\right )^{2/3}\right )}{6 \sqrt [3]{2}}-\frac {1}{3} \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log (x)+\log \left (\sqrt [3]{-x^2+x^3}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(571\) vs. \(2(180)=360\).
Time = 0.20 (sec) , antiderivative size = 571, normalized size of antiderivative = 3.17, number of steps used = 6, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2081, 6857, 93} \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=-\frac {\sqrt [3]{x-1} x^{2/3} \arctan \left (\frac {2^{2/3} \sqrt [3]{x-1}}{\sqrt {3} \sqrt [3]{x}}+\frac {1}{\sqrt {3}}\right )}{\sqrt [3]{2} \sqrt {3} \sqrt [3]{x^3-x^2}}-\frac {\sqrt [3]{x-1} x^{2/3} \arctan \left (\frac {2 \sqrt [3]{x-1}}{\sqrt {3} \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{x}}+\frac {1}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{x^3-x^2}}-\frac {\sqrt [3]{x-1} x^{2/3} \arctan \left (\frac {2 \sqrt [3]{x-1}}{\sqrt {3} \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{x}}+\frac {1}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{x^3-x^2}}-\frac {\sqrt [3]{x-1} x^{2/3} \log \left (\frac {\sqrt [3]{x-1}}{\sqrt [3]{2}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{2} \sqrt [3]{x^3-x^2}}-\frac {\sqrt [3]{x-1} x^{2/3} \log \left (\frac {\sqrt [3]{x-1}}{\sqrt [3]{1-\sqrt [3]{-1}}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{x^3-x^2}}-\frac {\sqrt [3]{x-1} x^{2/3} \log \left (\frac {\sqrt [3]{x-1}}{\sqrt [3]{1+(-1)^{2/3}}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{x^3-x^2}}+\frac {\sqrt [3]{x-1} x^{2/3} \log (-x-1)}{6 \sqrt [3]{2} \sqrt [3]{x^3-x^2}}+\frac {\sqrt [3]{x-1} x^{2/3} \log \left (\sqrt [3]{-1} x-1\right )}{6 \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{x^3-x^2}}+\frac {\sqrt [3]{x-1} x^{2/3} \log \left (-(-1)^{2/3} x-1\right )}{6 \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{x^3-x^2}} \]
[In]
[Out]
Rule 93
Rule 2081
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [3]{-1+x} x^{2/3}\right ) \int \frac {1}{\sqrt [3]{-1+x} x^{2/3} \left (1+x^3\right )} \, dx}{\sqrt [3]{-x^2+x^3}} \\ & = \frac {\left (\sqrt [3]{-1+x} x^{2/3}\right ) \int \left (-\frac {1}{3 (-1-x) \sqrt [3]{-1+x} x^{2/3}}-\frac {1}{3 \sqrt [3]{-1+x} x^{2/3} \left (-1+\sqrt [3]{-1} x\right )}-\frac {1}{3 \sqrt [3]{-1+x} x^{2/3} \left (-1-(-1)^{2/3} x\right )}\right ) \, dx}{\sqrt [3]{-x^2+x^3}} \\ & = -\frac {\left (\sqrt [3]{-1+x} x^{2/3}\right ) \int \frac {1}{(-1-x) \sqrt [3]{-1+x} x^{2/3}} \, dx}{3 \sqrt [3]{-x^2+x^3}}-\frac {\left (\sqrt [3]{-1+x} x^{2/3}\right ) \int \frac {1}{\sqrt [3]{-1+x} x^{2/3} \left (-1+\sqrt [3]{-1} x\right )} \, dx}{3 \sqrt [3]{-x^2+x^3}}-\frac {\left (\sqrt [3]{-1+x} x^{2/3}\right ) \int \frac {1}{\sqrt [3]{-1+x} x^{2/3} \left (-1-(-1)^{2/3} x\right )} \, dx}{3 \sqrt [3]{-x^2+x^3}} \\ & = -\frac {\sqrt [3]{-1+x} x^{2/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2^{2/3} \sqrt [3]{-1+x}}{\sqrt {3} \sqrt [3]{x}}\right )}{\sqrt [3]{2} \sqrt {3} \sqrt [3]{-x^2+x^3}}-\frac {\sqrt [3]{-1+x} x^{2/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{-1+x}}{\sqrt {3} \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{x}}\right )}{\sqrt {3} \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{-x^2+x^3}}-\frac {\sqrt [3]{-1+x} x^{2/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{-1+x}}{\sqrt {3} \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{x}}\right )}{\sqrt {3} \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{-x^2+x^3}}-\frac {\sqrt [3]{-1+x} x^{2/3} \log \left (\frac {\sqrt [3]{-1+x}}{\sqrt [3]{2}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{2} \sqrt [3]{-x^2+x^3}}-\frac {\sqrt [3]{-1+x} x^{2/3} \log \left (\frac {\sqrt [3]{-1+x}}{\sqrt [3]{1-\sqrt [3]{-1}}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{-x^2+x^3}}-\frac {\sqrt [3]{-1+x} x^{2/3} \log \left (\frac {\sqrt [3]{-1+x}}{\sqrt [3]{1+(-1)^{2/3}}}-\sqrt [3]{x}\right )}{2 \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{-x^2+x^3}}+\frac {\sqrt [3]{-1+x} x^{2/3} \log (-1-x)}{6 \sqrt [3]{2} \sqrt [3]{-x^2+x^3}}+\frac {\sqrt [3]{-1+x} x^{2/3} \log \left (-1+\sqrt [3]{-1} x\right )}{6 \sqrt [3]{1-\sqrt [3]{-1}} \sqrt [3]{-x^2+x^3}}+\frac {\sqrt [3]{-1+x} x^{2/3} \log \left (-1-(-1)^{2/3} x\right )}{6 \sqrt [3]{1+(-1)^{2/3}} \sqrt [3]{-x^2+x^3}} \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 188, normalized size of antiderivative = 1.04 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\frac {\sqrt [3]{-1+x} x^{2/3} \left (2^{2/3} \left (2 \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{x}}{2^{2/3} \sqrt [3]{-1+x}+\sqrt [3]{x}}\right )-2 \log \left (2^{2/3} \sqrt [3]{-1+x}-2 \sqrt [3]{x}\right )+\log \left (\sqrt [3]{2} (-1+x)^{2/3}+2^{2/3} \sqrt [3]{-1+x} \sqrt [3]{x}+2 x^{2/3}\right )\right )-4 \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log \left (\sqrt [3]{x}\right )+\log \left (\sqrt [3]{-1+x}-\sqrt [3]{x} \text {$\#$1}\right )}{\text {$\#$1}}\&\right ]\right )}{12 \sqrt [3]{(-1+x) x^2}} \]
[In]
[Out]
Time = 5.20 (sec) , antiderivative size = 140, normalized size of antiderivative = 0.78
method | result | size |
pseudoelliptic | \(-\frac {2^{\frac {2}{3}} \ln \left (\frac {-2^{\frac {1}{3}} x +\left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}}}{x}\right )}{6}+\frac {2^{\frac {2}{3}} \ln \left (\frac {2^{\frac {2}{3}} x^{2}+2^{\frac {1}{3}} \left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}} x +\left (\left (-1+x \right ) x^{2}\right )^{\frac {2}{3}}}{x^{2}}\right )}{12}-\frac {\sqrt {3}\, 2^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3}\, \left (2^{\frac {2}{3}} \left (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}}+x \right )}{3 x}\right )}{6}-\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 (\left (-1+x \right ) x^{2}\right )^{\frac {1}{3}}}{x}\right )}{\textit {\_R}}\right )}{3}\) | \(140\) |
trager | \(\text {Expression too large to display}\) | \(2155\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 0.32 (sec) , antiderivative size = 575, normalized size of antiderivative = 3.19 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\frac {1}{12} \cdot 2^{\frac {2}{3}} {\left (i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} {\left (\sqrt {-3} - 1\right )} \log \left (\frac {{\left (\sqrt {3} 2^{\frac {1}{3}} {\left (i \, \sqrt {-3} x + i \, x\right )} + 2^{\frac {1}{3}} {\left (\sqrt {-3} x + x\right )}\right )} {\left (i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 8 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{12} \cdot 2^{\frac {2}{3}} {\left (i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} {\left (\sqrt {-3} + 1\right )} \log \left (\frac {{\left (\sqrt {3} 2^{\frac {1}{3}} {\left (-i \, \sqrt {-3} x + i \, x\right )} - 2^{\frac {1}{3}} {\left (\sqrt {-3} x - x\right )}\right )} {\left (i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 8 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{12} \cdot 2^{\frac {2}{3}} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} {\left (\sqrt {-3} + 1\right )} \log \left (\frac {{\left (\sqrt {3} 2^{\frac {1}{3}} {\left (i \, \sqrt {-3} x - i \, x\right )} - 2^{\frac {1}{3}} {\left (\sqrt {-3} x - x\right )}\right )} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 8 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) + \frac {1}{12} \cdot 2^{\frac {2}{3}} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} {\left (\sqrt {-3} - 1\right )} \log \left (\frac {{\left (\sqrt {3} 2^{\frac {1}{3}} {\left (-i \, \sqrt {-3} x - i \, x\right )} + 2^{\frac {1}{3}} {\left (\sqrt {-3} x + x\right )}\right )} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 8 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{6} \, \sqrt {6} 2^{\frac {1}{6}} \left (-1\right )^{\frac {1}{3}} \arctan \left (-\frac {2^{\frac {1}{6}} {\left (\sqrt {6} 2^{\frac {1}{3}} x - 2 \, \sqrt {6} \left (-1\right )^{\frac {1}{3}} {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}\right )}}{6 \, x}\right ) + \frac {1}{6} \cdot 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (-\frac {2^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} x - {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) + \frac {1}{6} \cdot 2^{\frac {2}{3}} {\left (i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} \log \left (\frac {{\left (-i \, \sqrt {3} 2^{\frac {1}{3}} x - 2^{\frac {1}{3}} x\right )} {\left (i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 4 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) + \frac {1}{6} \cdot 2^{\frac {2}{3}} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {1}{3}} \log \left (\frac {{\left (i \, \sqrt {3} 2^{\frac {1}{3}} x - 2^{\frac {1}{3}} x\right )} {\left (-i \, \sqrt {3} - 1\right )}^{\frac {2}{3}} + 4 \, {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{12} \cdot 2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (-\frac {2^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} x^{2} - 2^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} {\left (x^{3} - x^{2}\right )}^{\frac {1}{3}} x - {\left (x^{3} - x^{2}\right )}^{\frac {2}{3}}}{x^{2}}\right ) \]
[In]
[Out]
Not integrable
Time = 0.74 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.12 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\int \frac {1}{\sqrt [3]{x^{2} \left (x - 1\right )} \left (x + 1\right ) \left (x^{2} - x + 1\right )}\, dx \]
[In]
[Out]
Not integrable
Time = 0.31 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.12 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\int { \frac {1}{{\left (x^{3} - x^{2}\right )}^{\frac {1}{3}} {\left (x^{3} + 1\right )}} \,d x } \]
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 34.57 (sec) , antiderivative size = 967, normalized size of antiderivative = 5.37 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\text {Too large to display} \]
[In]
[Out]
Not integrable
Time = 0.00 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.12 \[ \int \frac {1}{\left (1+x^3\right ) \sqrt [3]{-x^2+x^3}} \, dx=\int \frac {1}{\left (x^3+1\right )\,{\left (x^3-x^2\right )}^{1/3}} \,d x \]
[In]
[Out]