Optimal. Leaf size=98 \[ \frac {1-x}{2 \sqrt {\frac {1}{\sqrt {x}}-1} \sqrt {\frac {1}{\sqrt {x}}+1} x^{3/2}}+\frac {\sqrt {1-x} \tanh ^{-1}\left (\sqrt {1-x}\right )}{2 \sqrt {\frac {1}{\sqrt {x}}-1} \sqrt {\frac {1}{\sqrt {x}}+1} \sqrt {x}}-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6345, 12, 51, 63, 206} \[ \frac {1-x}{2 \sqrt {\frac {1}{\sqrt {x}}-1} \sqrt {\frac {1}{\sqrt {x}}+1} x^{3/2}}+\frac {\sqrt {1-x} \tanh ^{-1}\left (\sqrt {1-x}\right )}{2 \sqrt {\frac {1}{\sqrt {x}}-1} \sqrt {\frac {1}{\sqrt {x}}+1} \sqrt {x}}-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 51
Rule 63
Rule 206
Rule 6345
Rubi steps
\begin {align*} \int \frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x^2} \, dx &=-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x} \int \frac {1}{2 \sqrt {1-x} x^2} \, dx}{\sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}}\\ &=-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x} \int \frac {1}{\sqrt {1-x} x^2} \, dx}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}}\\ &=\frac {1-x}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} x^{3/2}}-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x} \int \frac {1}{\sqrt {1-x} x} \, dx}{4 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}}\\ &=\frac {1-x}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} x^{3/2}}-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {1-x} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x}\right )}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}}\\ &=\frac {1-x}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} x^{3/2}}-\frac {\text {sech}^{-1}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {1-x} \tanh ^{-1}\left (\sqrt {1-x}\right )}{2 \sqrt {-1+\frac {1}{\sqrt {x}}} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 111, normalized size = 1.13 \[ \frac {\sqrt {\frac {1-\sqrt {x}}{\sqrt {x}+1}} \left (\sqrt {x}+1\right )+x \log \left (\sqrt {x} \sqrt {\frac {1-\sqrt {x}}{\sqrt {x}+1}}+\sqrt {\frac {1-\sqrt {x}}{\sqrt {x}+1}}+1\right )-\frac {1}{2} x \log (x)-2 \text {sech}^{-1}\left (\sqrt {x}\right )}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 45, normalized size = 0.46 \[ \frac {{\left (x - 2\right )} \log \left (\frac {x \sqrt {-\frac {x - 1}{x}} + \sqrt {x}}{x}\right ) + \sqrt {x} \sqrt {-\frac {x - 1}{x}}}{2 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arsech}\left (\sqrt {x}\right )}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 64, normalized size = 0.65 \[ -\frac {\mathrm {arcsech}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {-\frac {-1+\sqrt {x}}{\sqrt {x}}}\, \sqrt {\frac {1+\sqrt {x}}{\sqrt {x}}}\, \left (\arctanh \left (\frac {1}{\sqrt {1-x}}\right ) x +\sqrt {1-x}\right )}{2 \sqrt {x}\, \sqrt {1-x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.30, size = 65, normalized size = 0.66 \[ -\frac {\sqrt {x} \sqrt {\frac {1}{x} - 1}}{2 \, {\left (x {\left (\frac {1}{x} - 1\right )} - 1\right )}} - \frac {\operatorname {arsech}\left (\sqrt {x}\right )}{x} + \frac {1}{4} \, \log \left (\sqrt {x} \sqrt {\frac {1}{x} - 1} + 1\right ) - \frac {1}{4} \, \log \left (\sqrt {x} \sqrt {\frac {1}{x} - 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.15, size = 40, normalized size = 0.41 \[ \frac {\sqrt {\frac {1}{\sqrt {x}}-1}\,\sqrt {\frac {1}{\sqrt {x}}+1}}{2\,\sqrt {x}}-\frac {2\,\mathrm {acosh}\left (\frac {1}{\sqrt {x}}\right )\,\left (\frac {1}{2\,\sqrt {x}}-\frac {\sqrt {x}}{4}\right )}{\sqrt {x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {asech}{\left (\sqrt {x} \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________