Optimal. Leaf size=39 \[ 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}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0289564, antiderivative size = 39, normalized size of antiderivative = 1., 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 = {1854, 12, 364} \[ 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}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1854
Rule 12
Rule 364
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 = 0.0182633, size = 43, normalized size = 1.1 \[ x^2 \left (-\, _2F_1\left (\frac{2}{3},\frac{4}{3};\frac{5}{3};x^3\right )\right )+\frac{x}{\sqrt [3]{1-x^3}}+\frac{1}{\sqrt [3]{1-x^3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 34, normalized size = 0.9 \begin{align*} -{ \left ( -1+x \right ) \left ( 1+2\,x \right ){\frac{1}{\sqrt [3]{-{x}^{3}+1}}}}+{x}^{2}{\mbox{$_2$F$_1$}({\frac{1}{3}},{\frac{2}{3}};\,{\frac{5}{3}};\,{x}^{3})} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{x}{{\left (-x^{3} + 1\right )}^{\frac{1}{3}}} - \int \frac{x^{2} - 2 \, x}{{\left (x^{3} - 1\right )}{\left (x^{2} + x + 1\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (-x^{3} + 1\right )}^{\frac{2}{3}}}{x^{4} + 2 \, x^{3} + 3 \, x^{2} + 2 \, x + 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (x - 1\right )^{2}}{\left (- \left (x - 1\right ) \left (x^{2} + x + 1\right )\right )^{\frac{4}{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (x - 1\right )}^{2}}{{\left (-x^{3} + 1\right )}^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]