Optimal. Leaf size=71 \[ -\frac{(3 x-1)^{4/3}}{x}+12 \sqrt [3]{3 x-1}+2 \log (x)-6 \log \left (\sqrt [3]{3 x-1}+1\right )+4 \sqrt{3} \tan ^{-1}\left (\frac{1-2 \sqrt [3]{3 x-1}}{\sqrt{3}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0275319, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.462, Rules used = {47, 50, 58, 618, 204, 31} \[ -\frac{(3 x-1)^{4/3}}{x}+12 \sqrt [3]{3 x-1}+2 \log (x)-6 \log \left (\sqrt [3]{3 x-1}+1\right )+4 \sqrt{3} \tan ^{-1}\left (\frac{1-2 \sqrt [3]{3 x-1}}{\sqrt{3}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 50
Rule 58
Rule 618
Rule 204
Rule 31
Rubi steps
\begin{align*} \int \frac{(-1+3 x)^{4/3}}{x^2} \, dx &=-\frac{(-1+3 x)^{4/3}}{x}+4 \int \frac{\sqrt [3]{-1+3 x}}{x} \, dx\\ &=12 \sqrt [3]{-1+3 x}-\frac{(-1+3 x)^{4/3}}{x}-4 \int \frac{1}{x (-1+3 x)^{2/3}} \, dx\\ &=12 \sqrt [3]{-1+3 x}-\frac{(-1+3 x)^{4/3}}{x}+2 \log (x)-6 \operatorname{Subst}\left (\int \frac{1}{1+x} \, dx,x,\sqrt [3]{-1+3 x}\right )-6 \operatorname{Subst}\left (\int \frac{1}{1-x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )\\ &=12 \sqrt [3]{-1+3 x}-\frac{(-1+3 x)^{4/3}}{x}+2 \log (x)-6 \log \left (1+\sqrt [3]{-1+3 x}\right )+12 \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,-1+2 \sqrt [3]{-1+3 x}\right )\\ &=12 \sqrt [3]{-1+3 x}-\frac{(-1+3 x)^{4/3}}{x}+4 \sqrt{3} \tan ^{-1}\left (\frac{1-2 \sqrt [3]{-1+3 x}}{\sqrt{3}}\right )+2 \log (x)-6 \log \left (1+\sqrt [3]{-1+3 x}\right )\\ \end{align*}
Mathematica [C] time = 0.005079, size = 26, normalized size = 0.37 \[ \frac{9}{7} (3 x-1)^{7/3} \, _2F_1\left (2,\frac{7}{3};\frac{10}{3};1-3 x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 109, normalized size = 1.5 \begin{align*} 9\,\sqrt [3]{3\,x-1}- \left ( 1+\sqrt [3]{3\,x-1} \right ) ^{-1}-4\,\ln \left ( 1+\sqrt [3]{3\,x-1} \right ) +{ \left ( 1+\sqrt [3]{3\,x-1} \right ) \left ( \left ( 3\,x-1 \right ) ^{{\frac{2}{3}}}-\sqrt [3]{3\,x-1}+1 \right ) ^{-1}}+2\,\ln \left ( \left ( 3\,x-1 \right ) ^{2/3}-\sqrt [3]{3\,x-1}+1 \right ) -4\,\sqrt{3}\arctan \left ( 1/3\, \left ( 2\,\sqrt [3]{3\,x-1}-1 \right ) \sqrt{3} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.43274, size = 103, normalized size = 1.45 \begin{align*} -4 \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \,{\left (3 \, x - 1\right )}^{\frac{1}{3}} - 1\right )}\right ) + 9 \,{\left (3 \, x - 1\right )}^{\frac{1}{3}} + \frac{{\left (3 \, x - 1\right )}^{\frac{1}{3}}}{x} + 2 \, \log \left ({\left (3 \, x - 1\right )}^{\frac{2}{3}} -{\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) - 4 \, \log \left ({\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.77593, size = 238, normalized size = 3.35 \begin{align*} -\frac{4 \, \sqrt{3} x \arctan \left (\frac{2}{3} \, \sqrt{3}{\left (3 \, x - 1\right )}^{\frac{1}{3}} - \frac{1}{3} \, \sqrt{3}\right ) - 2 \, x \log \left ({\left (3 \, x - 1\right )}^{\frac{2}{3}} -{\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) + 4 \, x \log \left ({\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) -{\left (9 \, x + 1\right )}{\left (3 \, x - 1\right )}^{\frac{1}{3}}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 2.12979, size = 541, normalized size = 7.62 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08422, size = 103, normalized size = 1.45 \begin{align*} -4 \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \,{\left (3 \, x - 1\right )}^{\frac{1}{3}} - 1\right )}\right ) + 9 \,{\left (3 \, x - 1\right )}^{\frac{1}{3}} + \frac{{\left (3 \, x - 1\right )}^{\frac{1}{3}}}{x} + 2 \, \log \left ({\left (3 \, x - 1\right )}^{\frac{2}{3}} -{\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) - 4 \, \log \left ({\left (3 \, x - 1\right )}^{\frac{1}{3}} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]