Optimal. Leaf size=42 \[ \frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \tanh ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6038, 52, 65,
212} \begin {gather*} \frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{2}-\frac {1}{2} \tanh ^{-1}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 212
Rule 6038
Rubi steps
\begin {align*} \int x \coth ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {x^{3/2}}{1-x} \, dx\\ &=\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {\sqrt {x}}{1-x} \, dx\\ &=\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {1}{(1-x) \sqrt {x}} \, dx\\ &=\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \tanh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 52, normalized size = 1.24 \begin {gather*} \frac {1}{12} \left (6 \sqrt {x}+2 x^{3/2}+6 x^2 \coth ^{-1}\left (\sqrt {x}\right )+3 \log \left (1-\sqrt {x}\right )-3 \log \left (1+\sqrt {x}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 37, normalized size = 0.88
method | result | size |
derivativedivides | \(\frac {x^{2} \mathrm {arccoth}\left (\sqrt {x}\right )}{2}+\frac {x^{\frac {3}{2}}}{6}+\frac {\sqrt {x}}{2}+\frac {\ln \left (\sqrt {x}-1\right )}{4}-\frac {\ln \left (\sqrt {x}+1\right )}{4}\) | \(37\) |
default | \(\frac {x^{2} \mathrm {arccoth}\left (\sqrt {x}\right )}{2}+\frac {x^{\frac {3}{2}}}{6}+\frac {\sqrt {x}}{2}+\frac {\ln \left (\sqrt {x}-1\right )}{4}-\frac {\ln \left (\sqrt {x}+1\right )}{4}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 36, normalized size = 0.86 \begin {gather*} \frac {1}{2} \, x^{2} \operatorname {arcoth}\left (\sqrt {x}\right ) + \frac {1}{6} \, x^{\frac {3}{2}} + \frac {1}{2} \, \sqrt {x} - \frac {1}{4} \, \log \left (\sqrt {x} + 1\right ) + \frac {1}{4} \, \log \left (\sqrt {x} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 31, normalized size = 0.74 \begin {gather*} \frac {1}{4} \, {\left (x^{2} - 1\right )} \log \left (\frac {x + 2 \, \sqrt {x} + 1}{x - 1}\right ) + \frac {1}{6} \, {\left (x + 3\right )} \sqrt {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 \operatorname {acoth}{\left (\sqrt {x} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 114 vs.
\(2 (26) = 52\).
time = 0.39, size = 114, normalized size = 2.71 \begin {gather*} \frac {2 \, {\left (\frac {3 \, {\left (\sqrt {x} + 1\right )}^{2}}{{\left (\sqrt {x} - 1\right )}^{2}} - \frac {3 \, {\left (\sqrt {x} + 1\right )}}{\sqrt {x} - 1} + 2\right )}}{3 \, {\left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1} - 1\right )}^{3}} + \frac {2 \, {\left (\frac {{\left (\sqrt {x} + 1\right )}^{3}}{{\left (\sqrt {x} - 1\right )}^{3}} + \frac {\sqrt {x} + 1}{\sqrt {x} - 1}\right )} \log \left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1}\right )}{{\left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1} - 1\right )}^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.26, size = 26, normalized size = 0.62 \begin {gather*} \frac {x^2\,\mathrm {acoth}\left (\sqrt {x}\right )}{2}-\frac {\mathrm {acoth}\left (\sqrt {x}\right )}{2}+\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________