Optimal. Leaf size=223 \[ \sqrt [6]{\frac{1}{x}+1} \left (\frac{x-1}{x}\right )^{5/6} x-\frac{1}{6} \log \left (\frac{\sqrt [3]{\frac{1}{x}+1}}{\sqrt [3]{\frac{x-1}{x}}}-\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1\right )+\frac{1}{6} \log \left (\frac{\sqrt [3]{\frac{1}{x}+1}}{\sqrt [3]{\frac{x-1}{x}}}+\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1\right )-\frac{\tan ^{-1}\left (\frac{1-\frac{2 \sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{\tan ^{-1}\left (\frac{\frac{2 \sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{2}{3} \tanh ^{-1}\left (\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.179596, antiderivative size = 223, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 9, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 1.125, Rules used = {6170, 94, 93, 210, 634, 618, 204, 628, 206} \[ \sqrt [6]{\frac{1}{x}+1} \left (\frac{x-1}{x}\right )^{5/6} x-\frac{1}{6} \log \left (\frac{\sqrt [3]{\frac{1}{x}+1}}{\sqrt [3]{\frac{x-1}{x}}}-\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1\right )+\frac{1}{6} \log \left (\frac{\sqrt [3]{\frac{1}{x}+1}}{\sqrt [3]{\frac{x-1}{x}}}+\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1\right )-\frac{\tan ^{-1}\left (\frac{1-\frac{2 \sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{\tan ^{-1}\left (\frac{\frac{2 \sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}+1}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{2}{3} \tanh ^{-1}\left (\frac{\sqrt [6]{\frac{1}{x}+1}}{\sqrt [6]{\frac{x-1}{x}}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6170
Rule 94
Rule 93
Rule 210
Rule 634
Rule 618
Rule 204
Rule 628
Rule 206
Rubi steps
\begin{align*} \int e^{\frac{1}{3} \coth ^{-1}(x)} \, dx &=-\operatorname{Subst}\left (\int \frac{\sqrt [6]{1+x}}{\sqrt [6]{1-x} x^2} \, dx,x,\frac{1}{x}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x-\frac{1}{3} \operatorname{Subst}\left (\int \frac{1}{\sqrt [6]{1-x} x (1+x)^{5/6}} \, dx,x,\frac{1}{x}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x-2 \operatorname{Subst}\left (\int \frac{1}{-1+x^6} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x+\frac{2}{3} \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )+\frac{2}{3} \operatorname{Subst}\left (\int \frac{1-\frac{x}{2}}{1-x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )+\frac{2}{3} \operatorname{Subst}\left (\int \frac{1+\frac{x}{2}}{1+x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x+\frac{2}{3} \tanh ^{-1}\left (\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )-\frac{1}{6} \operatorname{Subst}\left (\int \frac{-1+2 x}{1-x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )+\frac{1}{6} \operatorname{Subst}\left (\int \frac{1+2 x}{1+x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )+\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{1-x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )+\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{1+x+x^2} \, dx,x,\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x+\frac{2}{3} \tanh ^{-1}\left (\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )-\frac{1}{6} \log \left (1+\frac{\sqrt [3]{1+\frac{1}{x}}}{\sqrt [3]{-\frac{1-x}{x}}}-\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )+\frac{1}{6} \log \left (1+\frac{\sqrt [3]{1+\frac{1}{x}}}{\sqrt [3]{-\frac{1-x}{x}}}+\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )-\operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,-1+\frac{2 \sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )-\operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+\frac{2 \sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}\right )\\ &=\sqrt [6]{1+\frac{1}{x}} \left (\frac{-1+x}{x}\right )^{5/6} x+\frac{\tan ^{-1}\left (\frac{-1+\frac{2 \sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{\tan ^{-1}\left (\frac{1+\frac{2 \sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{\frac{-1+x}{x}}}}{\sqrt{3}}\right )}{\sqrt{3}}+\frac{2}{3} \tanh ^{-1}\left (\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )-\frac{1}{6} \log \left (1+\frac{\sqrt [3]{1+\frac{1}{x}}}{\sqrt [3]{-\frac{1-x}{x}}}-\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )+\frac{1}{6} \log \left (1+\frac{\sqrt [3]{1+\frac{1}{x}}}{\sqrt [3]{-\frac{1-x}{x}}}+\frac{\sqrt [6]{1+\frac{1}{x}}}{\sqrt [6]{-\frac{1-x}{x}}}\right )\\ \end{align*}
Mathematica [C] time = 0.0413237, size = 35, normalized size = 0.16 \[ 2 e^{\frac{1}{3} \coth ^{-1}(x)} \left (\text{Hypergeometric2F1}\left (\frac{1}{6},1,\frac{7}{6},e^{2 \coth ^{-1}(x)}\right )+\frac{1}{e^{2 \coth ^{-1}(x)}-1}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.067, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{\sqrt [6]{{\frac{-1+x}{1+x}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.53153, size = 225, normalized size = 1.01 \begin{align*} -\frac{1}{3} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right )}\right ) - \frac{1}{3} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - 1\right )}\right ) - \frac{2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{5}{6}}}{\frac{x - 1}{x + 1} - 1} + \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} + \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} - \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) + \frac{1}{3} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{3} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70431, size = 520, normalized size = 2.33 \begin{align*}{\left (x + 1\right )} \left (\frac{x - 1}{x + 1}\right )^{\frac{5}{6}} - \frac{1}{3} \, \sqrt{3} \arctan \left (\frac{2}{3} \, \sqrt{3} \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + \frac{1}{3} \, \sqrt{3}\right ) - \frac{1}{3} \, \sqrt{3} \arctan \left (\frac{2}{3} \, \sqrt{3} \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - \frac{1}{3} \, \sqrt{3}\right ) + \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} + \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} - \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) + \frac{1}{3} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{3} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - 1\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{1}{\sqrt [6]{\frac{x - 1}{x + 1}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20744, size = 227, normalized size = 1.02 \begin{align*} -\frac{1}{3} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right )}\right ) - \frac{1}{3} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - 1\right )}\right ) - \frac{2 \, \left (\frac{x - 1}{x + 1}\right )^{\frac{5}{6}}}{\frac{x - 1}{x + 1} - 1} + \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} + \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{6} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{3}} - \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) + \frac{1}{3} \, \log \left (\left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} + 1\right ) - \frac{1}{3} \, \log \left ({\left | \left (\frac{x - 1}{x + 1}\right )^{\frac{1}{6}} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]