Optimal. Leaf size=118 \[ \frac {1}{324} \sqrt [3]{x^3+x^2} \left (81 x^3+9 x^2-12 x+20\right )+\frac {10}{243} \log \left (\sqrt [3]{x^3+x^2}-x\right )-\frac {5}{243} \log \left (x^2+\sqrt [3]{x^3+x^2} x+\left (x^3+x^2\right )^{2/3}\right )+\frac {10 \tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3+x^2}+x}\right )}{81 \sqrt {3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 200, normalized size of antiderivative = 1.69, number of steps used = 6, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {2021, 2024, 2032, 59} \begin {gather*} \frac {1}{4} \sqrt [3]{x^3+x^2} x^3+\frac {1}{36} \sqrt [3]{x^3+x^2} x^2-\frac {1}{27} \sqrt [3]{x^3+x^2} x+\frac {5}{81} \sqrt [3]{x^3+x^2}+\frac {5 (x+1)^{2/3} x^{4/3} \log (x+1)}{243 \left (x^3+x^2\right )^{2/3}}+\frac {5 (x+1)^{2/3} x^{4/3} \log \left (\frac {\sqrt [3]{x}}{\sqrt [3]{x+1}}-1\right )}{81 \left (x^3+x^2\right )^{2/3}}+\frac {10 (x+1)^{2/3} x^{4/3} \tan ^{-1}\left (\frac {2 \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{x+1}}+\frac {1}{\sqrt {3}}\right )}{81 \sqrt {3} \left (x^3+x^2\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 59
Rule 2021
Rule 2024
Rule 2032
Rubi steps
\begin {align*} \int x^2 \sqrt [3]{x^2+x^3} \, dx &=\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}+\frac {1}{12} \int \frac {x^4}{\left (x^2+x^3\right )^{2/3}} \, dx\\ &=\frac {1}{36} x^2 \sqrt [3]{x^2+x^3}+\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}-\frac {2}{27} \int \frac {x^3}{\left (x^2+x^3\right )^{2/3}} \, dx\\ &=-\frac {1}{27} x \sqrt [3]{x^2+x^3}+\frac {1}{36} x^2 \sqrt [3]{x^2+x^3}+\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}+\frac {5}{81} \int \frac {x^2}{\left (x^2+x^3\right )^{2/3}} \, dx\\ &=\frac {5}{81} \sqrt [3]{x^2+x^3}-\frac {1}{27} x \sqrt [3]{x^2+x^3}+\frac {1}{36} x^2 \sqrt [3]{x^2+x^3}+\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}-\frac {10}{243} \int \frac {x}{\left (x^2+x^3\right )^{2/3}} \, dx\\ &=\frac {5}{81} \sqrt [3]{x^2+x^3}-\frac {1}{27} x \sqrt [3]{x^2+x^3}+\frac {1}{36} x^2 \sqrt [3]{x^2+x^3}+\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}-\frac {\left (10 x^{4/3} (1+x)^{2/3}\right ) \int \frac {1}{\sqrt [3]{x} (1+x)^{2/3}} \, dx}{243 \left (x^2+x^3\right )^{2/3}}\\ &=\frac {5}{81} \sqrt [3]{x^2+x^3}-\frac {1}{27} x \sqrt [3]{x^2+x^3}+\frac {1}{36} x^2 \sqrt [3]{x^2+x^3}+\frac {1}{4} x^3 \sqrt [3]{x^2+x^3}+\frac {10 x^{4/3} (1+x)^{2/3} \tan ^{-1}\left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{1+x}}\right )}{81 \sqrt {3} \left (x^2+x^3\right )^{2/3}}+\frac {5 x^{4/3} (1+x)^{2/3} \log (1+x)}{243 \left (x^2+x^3\right )^{2/3}}+\frac {5 x^{4/3} (1+x)^{2/3} \log \left (-1+\frac {\sqrt [3]{x}}{\sqrt [3]{1+x}}\right )}{81 \left (x^2+x^3\right )^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 38, normalized size = 0.32 \begin {gather*} \frac {3 x^3 \sqrt [3]{x^2 (x+1)} \, _2F_1\left (-\frac {1}{3},\frac {11}{3};\frac {14}{3};-x\right )}{11 \sqrt [3]{x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 118, normalized size = 1.00 \begin {gather*} \frac {1}{324} \sqrt [3]{x^3+x^2} \left (81 x^3+9 x^2-12 x+20\right )+\frac {10}{243} \log \left (\sqrt [3]{x^3+x^2}-x\right )-\frac {5}{243} \log \left (x^2+\sqrt [3]{x^3+x^2} x+\left (x^3+x^2\right )^{2/3}\right )+\frac {10 \tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3+x^2}+x}\right )}{81 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 110, normalized size = 0.93 \begin {gather*} -\frac {10}{243} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{3} + x^{2}\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {1}{324} \, {\left (81 \, x^{3} + 9 \, x^{2} - 12 \, x + 20\right )} {\left (x^{3} + x^{2}\right )}^{\frac {1}{3}} + \frac {10}{243} \, \log \left (-\frac {x - {\left (x^{3} + x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - \frac {5}{243} \, \log \left (\frac {x^{2} + {\left (x^{3} + x^{2}\right )}^{\frac {1}{3}} x + {\left (x^{3} + x^{2}\right )}^{\frac {2}{3}}}{x^{2}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 97, normalized size = 0.82 \begin {gather*} \frac {1}{324} \, {\left (20 \, {\left (\frac {1}{x} + 1\right )}^{\frac {10}{3}} - 72 \, {\left (\frac {1}{x} + 1\right )}^{\frac {7}{3}} + 93 \, {\left (\frac {1}{x} + 1\right )}^{\frac {4}{3}} + 40 \, {\left (\frac {1}{x} + 1\right )}^{\frac {1}{3}}\right )} x^{4} - \frac {10}{243} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (\frac {1}{x} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {5}{243} \, \log \left ({\left (\frac {1}{x} + 1\right )}^{\frac {2}{3}} + {\left (\frac {1}{x} + 1\right )}^{\frac {1}{3}} + 1\right ) + \frac {10}{243} \, \log \left ({\left | {\left (\frac {1}{x} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.50, size = 461, normalized size = 3.91 \begin {gather*} \frac {\left (81 x^{3}+9 x^{2}-12 x +20\right ) \left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}}}{324}+\frac {\left (\frac {10 \ln \left (-\frac {\RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )^{2} x^{2}+48 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {2}{3}}-30 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}} x -16 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) x^{2}+36 \left (x^{3}+2 x^{2}+x \right )^{\frac {2}{3}}-30 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}}-96 \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}} x -\RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )^{2}-14 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) x +64 x^{2}-96 \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}}+2 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )+112 x +48}{1+x}\right )}{243}+\frac {5 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \ln \left (\frac {-2 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )^{2} x^{2}+24 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {2}{3}}-9 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}} x -19 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) x^{2}+30 \left (x^{3}+2 x^{2}+x \right )^{\frac {2}{3}}-9 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}}-48 \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}} x +2 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )^{2}-28 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right ) x +10 x^{2}-48 \left (x^{3}+2 x^{2}+x \right )^{\frac {1}{3}}-9 \RootOf \left (\textit {\_Z}^{2}+2 \textit {\_Z} +4\right )+14 x +4}{1+x}\right )}{243}\right ) \left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}} \left (x \left (1+x \right )^{2}\right )^{\frac {1}{3}}}{x \left (1+x \right )} \end {gather*}
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 {\left (x^{3} + x^{2}\right )}^{\frac {1}{3}} 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 x^2\,{\left (x^3+x^2\right )}^{1/3} \,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 x^{2} \sqrt [3]{x^{2} \left (x + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________