Optimal. Leaf size=165 \[ \frac {3 \sqrt [3]{x^3+x-1}}{2 x}+\frac {1}{2} \sqrt [3]{\frac {3}{2}} \log \left (\sqrt [3]{2} 3^{2/3} \sqrt [3]{x^3+x-1}-3 x\right )+\frac {3^{5/6} \tan ^{-1}\left (\frac {3^{5/6} x}{2 \sqrt [3]{2} \sqrt [3]{x^3+x-1}+\sqrt [3]{3} x}\right )}{2 \sqrt [3]{2}}-\frac {1}{4} \sqrt [3]{\frac {3}{2}} \log \left (\sqrt [3]{2} 3^{2/3} \sqrt [3]{x^3+x-1} x+2^{2/3} \sqrt [3]{3} \left (x^3+x-1\right )^{2/3}+3 x^2\right ) \]
________________________________________________________________________________________
Rubi [F] time = 1.58, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {(-3+2 x) \sqrt [3]{-1+x+x^3}}{x^2 \left (2-2 x+x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {(-3+2 x) \sqrt [3]{-1+x+x^3}}{x^2 \left (2-2 x+x^3\right )} \, dx &=\int \left (-\frac {3 \sqrt [3]{-1+x+x^3}}{2 x^2}-\frac {\sqrt [3]{-1+x+x^3}}{2 x}+\frac {\left (-2+3 x+x^2\right ) \sqrt [3]{-1+x+x^3}}{2 \left (2-2 x+x^3\right )}\right ) \, dx\\ &=-\left (\frac {1}{2} \int \frac {\sqrt [3]{-1+x+x^3}}{x} \, dx\right )+\frac {1}{2} \int \frac {\left (-2+3 x+x^2\right ) \sqrt [3]{-1+x+x^3}}{2-2 x+x^3} \, dx-\frac {3}{2} \int \frac {\sqrt [3]{-1+x+x^3}}{x^2} \, dx\\ &=\frac {1}{2} \int \left (-\frac {2 \sqrt [3]{-1+x+x^3}}{2-2 x+x^3}+\frac {3 x \sqrt [3]{-1+x+x^3}}{2-2 x+x^3}+\frac {x^2 \sqrt [3]{-1+x+x^3}}{2-2 x+x^3}\right ) \, dx-\frac {\sqrt [3]{-1+x+x^3} \int \frac {\sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}{x} \, dx}{2 \sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}-\frac {\left (3 \sqrt [3]{-1+x+x^3}\right ) \int \frac {\sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}{x^2} \, dx}{2 \sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}\\ &=\frac {1}{2} \int \frac {x^2 \sqrt [3]{-1+x+x^3}}{2-2 x+x^3} \, dx+\frac {3}{2} \int \frac {x \sqrt [3]{-1+x+x^3}}{2-2 x+x^3} \, dx-\frac {\sqrt [3]{-1+x+x^3} \int \frac {\sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}{x} \, dx}{2 \sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}-\frac {\left (3 \sqrt [3]{-1+x+x^3}\right ) \int \frac {\sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}{x^2} \, dx}{2 \sqrt [3]{\frac {2 \sqrt [3]{\frac {3}{9+\sqrt {93}}}-\sqrt [3]{2 \left (9+\sqrt {93}\right )}}{6^{2/3}}+x} \sqrt [3]{\frac {1}{18} \left (6+6 \sqrt [3]{3} \left (\frac {2}{9+\sqrt {93}}\right )^{2/3}+\sqrt [3]{2} \left (3 \left (9+\sqrt {93}\right )\right )^{2/3}\right )-\frac {\left (\sqrt [3]{\frac {6}{9+\sqrt {93}}}-\sqrt [3]{\frac {1}{2} \left (9+\sqrt {93}\right )}\right ) x}{3^{2/3}}+x^2}}-\int \frac {\sqrt [3]{-1+x+x^3}}{2-2 x+x^3} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.33, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(-3+2 x) \sqrt [3]{-1+x+x^3}}{x^2 \left (2-2 x+x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.54, size = 165, normalized size = 1.00 \begin {gather*} \frac {3 \sqrt [3]{-1+x+x^3}}{2 x}+\frac {3^{5/6} \tan ^{-1}\left (\frac {3^{5/6} x}{\sqrt [3]{3} x+2 \sqrt [3]{2} \sqrt [3]{-1+x+x^3}}\right )}{2 \sqrt [3]{2}}+\frac {1}{2} \sqrt [3]{\frac {3}{2}} \log \left (-3 x+\sqrt [3]{2} 3^{2/3} \sqrt [3]{-1+x+x^3}\right )-\frac {1}{4} \sqrt [3]{\frac {3}{2}} \log \left (3 x^2+\sqrt [3]{2} 3^{2/3} x \sqrt [3]{-1+x+x^3}+2^{2/3} \sqrt [3]{3} \left (-1+x+x^3\right )^{2/3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 14.28, size = 406, normalized size = 2.46 \begin {gather*} \frac {2 \cdot 3^{\frac {5}{6}} 2^{\frac {2}{3}} x \arctan \left (\frac {\sqrt {3} 2^{\frac {1}{6}} {\left (24 \cdot 3^{\frac {1}{3}} \sqrt {2} {\left (4 \, x^{7} - 7 \, x^{5} + 7 \, x^{4} - 2 \, x^{3} + 4 \, x^{2} - 2 \, x\right )} {\left (x^{3} + x - 1\right )}^{\frac {2}{3}} - 12 \cdot 3^{\frac {2}{3}} 2^{\frac {1}{6}} {\left (55 \, x^{8} + 50 \, x^{6} - 50 \, x^{5} + 4 \, x^{4} - 8 \, x^{3} + 4 \, x^{2}\right )} {\left (x^{3} + x - 1\right )}^{\frac {1}{3}} - 2^{\frac {5}{6}} {\left (377 \, x^{9} + 600 \, x^{7} - 600 \, x^{6} + 204 \, x^{5} - 408 \, x^{4} + 212 \, x^{3} - 24 \, x^{2} + 24 \, x - 8\right )}\right )}}{6 \, {\left (487 \, x^{9} + 480 \, x^{7} - 480 \, x^{6} + 12 \, x^{5} - 24 \, x^{4} + 4 \, x^{3} + 24 \, x^{2} - 24 \, x + 8\right )}}\right ) + 2 \cdot 3^{\frac {1}{3}} 2^{\frac {2}{3}} x \log \left (-\frac {9 \cdot 3^{\frac {1}{3}} 2^{\frac {2}{3}} {\left (x^{3} + x - 1\right )}^{\frac {1}{3}} x^{2} - 3^{\frac {2}{3}} 2^{\frac {1}{3}} {\left (x^{3} - 2 \, x + 2\right )} - 18 \, {\left (x^{3} + x - 1\right )}^{\frac {2}{3}} x}{x^{3} - 2 \, x + 2}\right ) - 3^{\frac {1}{3}} 2^{\frac {2}{3}} x \log \left (\frac {12 \cdot 3^{\frac {2}{3}} 2^{\frac {1}{3}} {\left (4 \, x^{4} + x^{2} - x\right )} {\left (x^{3} + x - 1\right )}^{\frac {2}{3}} + 3^{\frac {1}{3}} 2^{\frac {2}{3}} {\left (55 \, x^{6} + 50 \, x^{4} - 50 \, x^{3} + 4 \, x^{2} - 8 \, x + 4\right )} + 18 \, {\left (7 \, x^{5} + 4 \, x^{3} - 4 \, x^{2}\right )} {\left (x^{3} + x - 1\right )}^{\frac {1}{3}}}{x^{6} - 4 \, x^{4} + 4 \, x^{3} + 4 \, x^{2} - 8 \, x + 4}\right ) + 36 \, {\left (x^{3} + x - 1\right )}^{\frac {1}{3}}}{24 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{3} + x - 1\right )}^{\frac {1}{3}} {\left (2 \, x - 3\right )}}{{\left (x^{3} - 2 \, x + 2\right )} x^{2}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 18.69, size = 1275, normalized size = 7.73
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1275\) |
risch | \(\text {Expression too large to display}\) | \(1561\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{3} + x - 1\right )}^{\frac {1}{3}} {\left (2 \, x - 3\right )}}{{\left (x^{3} - 2 \, x + 2\right )} x^{2}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (2\,x-3\right )\,{\left (x^3+x-1\right )}^{1/3}}{x^2\,\left (x^3-2\,x+2\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (2 x - 3\right ) \sqrt [3]{x^{3} + x - 1}}{x^{2} \left (x^{3} - 2 x + 2\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________