Optimal. Leaf size=51 \[ \frac {\sqrt {x}}{3}+\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \tanh ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {6038, 52, 65,
212} \begin {gather*} \frac {x^{5/2}}{15}+\frac {x^{3/2}}{9}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{3}-\frac {1}{3} \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^2 \coth ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {x^{5/2}}{1-x} \, dx\\ &=\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {x^{3/2}}{1-x} \, dx\\ &=\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {\sqrt {x}}{1-x} \, dx\\ &=\frac {\sqrt {x}}{3}+\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {1}{(1-x) \sqrt {x}} \, dx\\ &=\frac {\sqrt {x}}{3}+\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {\sqrt {x}}{3}+\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \coth ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \tanh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 59, normalized size = 1.16 \begin {gather*} \frac {1}{90} \left (30 \sqrt {x}+10 x^{3/2}+6 x^{5/2}+30 x^3 \coth ^{-1}\left (\sqrt {x}\right )+15 \log \left (1-\sqrt {x}\right )-15 \log \left (1+\sqrt {x}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 42, normalized size = 0.82
method | result | size |
derivativedivides | \(\frac {x^{3} \mathrm {arccoth}\left (\sqrt {x}\right )}{3}+\frac {x^{\frac {5}{2}}}{15}+\frac {x^{\frac {3}{2}}}{9}+\frac {\sqrt {x}}{3}+\frac {\ln \left (\sqrt {x}-1\right )}{6}-\frac {\ln \left (\sqrt {x}+1\right )}{6}\) | \(42\) |
default | \(\frac {x^{3} \mathrm {arccoth}\left (\sqrt {x}\right )}{3}+\frac {x^{\frac {5}{2}}}{15}+\frac {x^{\frac {3}{2}}}{9}+\frac {\sqrt {x}}{3}+\frac {\ln \left (\sqrt {x}-1\right )}{6}-\frac {\ln \left (\sqrt {x}+1\right )}{6}\) | \(42\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 41, normalized size = 0.80 \begin {gather*} \frac {1}{3} \, x^{3} \operatorname {arcoth}\left (\sqrt {x}\right ) + \frac {1}{15} \, x^{\frac {5}{2}} + \frac {1}{9} \, x^{\frac {3}{2}} + \frac {1}{3} \, \sqrt {x} - \frac {1}{6} \, \log \left (\sqrt {x} + 1\right ) + \frac {1}{6} \, \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 = 38, normalized size = 0.75 \begin {gather*} \frac {1}{6} \, {\left (x^{3} - 1\right )} \log \left (\frac {x + 2 \, \sqrt {x} + 1}{x - 1}\right ) + \frac {1}{45} \, {\left (3 \, x^{2} + 5 \, x + 15\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^{2} \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. 164 vs.
\(2 (31) = 62\).
time = 0.39, size = 164, normalized size = 3.22 \begin {gather*} \frac {2 \, {\left (\frac {45 \, {\left (\sqrt {x} + 1\right )}^{4}}{{\left (\sqrt {x} - 1\right )}^{4}} - \frac {90 \, {\left (\sqrt {x} + 1\right )}^{3}}{{\left (\sqrt {x} - 1\right )}^{3}} + \frac {140 \, {\left (\sqrt {x} + 1\right )}^{2}}{{\left (\sqrt {x} - 1\right )}^{2}} - \frac {70 \, {\left (\sqrt {x} + 1\right )}}{\sqrt {x} - 1} + 23\right )}}{45 \, {\left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1} - 1\right )}^{5}} + \frac {2 \, {\left (\frac {3 \, {\left (\sqrt {x} + 1\right )}^{5}}{{\left (\sqrt {x} - 1\right )}^{5}} + \frac {10 \, {\left (\sqrt {x} + 1\right )}^{3}}{{\left (\sqrt {x} - 1\right )}^{3}} + \frac {3 \, {\left (\sqrt {x} + 1\right )}}{\sqrt {x} - 1}\right )} \log \left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1}\right )}{3 \, {\left (\frac {\sqrt {x} + 1}{\sqrt {x} - 1} - 1\right )}^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.30, size = 31, normalized size = 0.61 \begin {gather*} \frac {x^3\,\mathrm {acoth}\left (\sqrt {x}\right )}{3}-\frac {\mathrm {acoth}\left (\sqrt {x}\right )}{3}+\frac {\sqrt {x}}{3}+\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________