Optimal. Leaf size=39 \[ \frac {1+(1-2 x) x}{\sqrt [3]{1-x^3}}+x^2 \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {5}{3};x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {1868, 12, 371}
\begin {gather*} x^2 \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {5}{3};x^3\right )+\frac {(1-2 x) x+1}{\sqrt [3]{1-x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 371
Rule 1868
Rubi steps
\begin {align*} \int \frac {(1-x)^2}{\left (1-x^3\right )^{4/3}} \, dx &=\frac {1+(1-2 x) x}{\sqrt [3]{1-x^3}}-\int -\frac {2 x}{\sqrt [3]{1-x^3}} \, dx\\ &=\frac {1+(1-2 x) x}{\sqrt [3]{1-x^3}}+2 \int \frac {x}{\sqrt [3]{1-x^3}} \, dx\\ &=\frac {1+(1-2 x) x}{\sqrt [3]{1-x^3}}+x^2 \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {5}{3};x^3\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 7.05, size = 43, normalized size = 1.10 \begin {gather*} \frac {1}{\sqrt [3]{1-x^3}}+\frac {x}{\sqrt [3]{1-x^3}}-x^2 \, _2F_1\left (\frac {2}{3},\frac {4}{3};\frac {5}{3};x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: maximum recursion depth exceeded while calling a Python object} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 34, normalized size = 0.87
method | result | size |
risch | \(-\frac {\left (-1+x \right ) \left (1+2 x \right )}{\left (-x^{3}+1\right )^{\frac {1}{3}}}+x^{2} \hypergeom \left (\left [\frac {1}{3}, \frac {2}{3}\right ], \left [\frac {5}{3}\right ], x^{3}\right )\) | \(34\) |
meijerg | \(\frac {x}{\left (-x^{3}+1\right )^{\frac {1}{3}}}-x^{2} \hypergeom \left (\left [\frac {2}{3}, \frac {4}{3}\right ], \left [\frac {5}{3}\right ], x^{3}\right )+\frac {x^{3} \hypergeom \left (\left [1, \frac {4}{3}\right ], \left [2\right ], x^{3}\right )}{3}\) | \(41\) |
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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.31, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 (x - 1\right )^{2}}{\left (- \left (x - 1\right ) \left (x^{2} + x + 1\right )\right )^{\frac {4}{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {{\left (x-1\right )}^2}{{\left (1-x^3\right )}^{4/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________