Optimal. Leaf size=85 \[ -\frac{(1-x)^{2/3} \sqrt [3]{x+1}}{x}-\frac{\log (x)}{3}+\log \left (\sqrt [3]{1-x}-\sqrt [3]{x+1}\right )+\frac{2 \tan ^{-1}\left (\frac{2 \sqrt [3]{1-x}}{\sqrt{3} \sqrt [3]{x+1}}+\frac{1}{\sqrt{3}}\right )}{\sqrt{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0314888, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {6126, 94, 91} \[ -\frac{(1-x)^{2/3} \sqrt [3]{x+1}}{x}-\frac{\log (x)}{3}+\log \left (\sqrt [3]{1-x}-\sqrt [3]{x+1}\right )+\frac{2 \tan ^{-1}\left (\frac{2 \sqrt [3]{1-x}}{\sqrt{3} \sqrt [3]{x+1}}+\frac{1}{\sqrt{3}}\right )}{\sqrt{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6126
Rule 94
Rule 91
Rubi steps
\begin{align*} \int \frac{e^{\frac{2}{3} \tanh ^{-1}(x)}}{x^2} \, dx &=\int \frac{\sqrt [3]{1+x}}{\sqrt [3]{1-x} x^2} \, dx\\ &=-\frac{(1-x)^{2/3} \sqrt [3]{1+x}}{x}+\frac{2}{3} \int \frac{1}{\sqrt [3]{1-x} x (1+x)^{2/3}} \, dx\\ &=-\frac{(1-x)^{2/3} \sqrt [3]{1+x}}{x}+\frac{2 \tan ^{-1}\left (\frac{1}{\sqrt{3}}+\frac{2 \sqrt [3]{1-x}}{\sqrt{3} \sqrt [3]{1+x}}\right )}{\sqrt{3}}-\frac{\log (x)}{3}+\log \left (\sqrt [3]{1-x}-\sqrt [3]{1+x}\right )\\ \end{align*}
Mathematica [C] time = 0.0109406, size = 45, normalized size = 0.53 \[ -\frac{(1-x)^{2/3} \left (x \text{Hypergeometric2F1}\left (\frac{2}{3},1,\frac{5}{3},\frac{1-x}{x+1}\right )+x+1\right )}{x (x+1)^{2/3}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.033, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}} \left ({(1+x){\frac{1}{\sqrt{-{x}^{2}+1}}}} \right ) ^{{\frac{2}{3}}}}\, dx \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*} \int \frac{\left (\frac{x + 1}{\sqrt{-x^{2} + 1}}\right )^{\frac{2}{3}}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.6858, size = 398, normalized size = 4.68 \begin{align*} -\frac{2 \, \sqrt{3} x \arctan \left (\frac{2}{3} \, \sqrt{3} \left (-\frac{\sqrt{-x^{2} + 1}}{x - 1}\right )^{\frac{2}{3}} + \frac{1}{3} \, \sqrt{3}\right ) - 2 \, x \log \left (\left (-\frac{\sqrt{-x^{2} + 1}}{x - 1}\right )^{\frac{2}{3}} - 1\right ) + x \log \left (\frac{{\left (x - 1\right )} \left (-\frac{\sqrt{-x^{2} + 1}}{x - 1}\right )^{\frac{2}{3}} + x - \sqrt{-x^{2} + 1} \left (-\frac{\sqrt{-x^{2} + 1}}{x - 1}\right )^{\frac{1}{3}} - 1}{x - 1}\right ) - 3 \,{\left (x - 1\right )} \left (-\frac{\sqrt{-x^{2} + 1}}{x - 1}\right )^{\frac{2}{3}}}{3 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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 (\frac{x + 1}{\sqrt{-x^{2} + 1}}\right )^{\frac{2}{3}}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]