Optimal. Leaf size=50 \[ -\frac {1}{2} \sqrt {\sqrt {x}-1} \sqrt {\sqrt {x}+1} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.833, Rules used = {5901, 12, 323, 330, 52} \[ -\frac {1}{2} \sqrt {\sqrt {x}-1} \sqrt {\sqrt {x}+1} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 52
Rule 323
Rule 330
Rule 5901
Rubi steps
\begin {align*} \int \cosh ^{-1}\left (\sqrt {x}\right ) \, dx &=x \cosh ^{-1}\left (\sqrt {x}\right )-\int \frac {\sqrt {x}}{2 \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}}} \, dx\\ &=x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \int \frac {\sqrt {x}}{\sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}}} \, dx\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {1}{\sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}} \, dx\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x} \sqrt {1+x}} \, dx,x,\sqrt {x}\right )\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right )+x \cosh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 64, normalized size = 1.28 \[ -\frac {1}{2} \sqrt {\sqrt {x}-1} \sqrt {\sqrt {x}+1} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\tanh ^{-1}\left (\sqrt {\frac {\sqrt {x}-1}{\sqrt {x}+1}}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 28, normalized size = 0.56 \[ \frac {1}{2} \, {\left (2 \, x - 1\right )} \log \left (\sqrt {x - 1} + \sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.46, size = 47, normalized size = 0.94 \[ x \log \left (\sqrt {\sqrt {x} + 1} \sqrt {\sqrt {x} - 1} + \sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} + \frac {1}{2} \, \log \left (-\sqrt {x - 1} + \sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 49, normalized size = 0.98 \[ x \,\mathrm {arccosh}\left (\sqrt {x}\right )-\frac {\sqrt {-1+\sqrt {x}}\, \sqrt {1+\sqrt {x}}\, \left (\sqrt {x}\, \sqrt {-1+x}+\ln \left (\sqrt {x}+\sqrt {-1+x}\right )\right )}{2 \sqrt {-1+x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.62, size = 33, normalized size = 0.66 \[ x \operatorname {arcosh}\left (\sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} - \frac {1}{2} \, \log \left (2 \, \sqrt {x - 1} + 2 \, \sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.43, size = 40, normalized size = 0.80 \[ -2\,\sqrt {x}\,\mathrm {acosh}\left (\sqrt {x}\right )\,\left (\frac {1}{4\,\sqrt {x}}-\frac {\sqrt {x}}{2}\right )-\frac {\sqrt {x}\,\sqrt {\sqrt {x}-1}\,\sqrt {\sqrt {x}+1}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.26, size = 29, normalized size = 0.58 \[ - \frac {\sqrt {x} \sqrt {x - 1}}{2} + x \operatorname {acosh}{\left (\sqrt {x} \right )} - \frac {\operatorname {acosh}{\left (\sqrt {x} \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________