Optimal. Leaf size=63 \[ \frac {\sqrt {-1-x}}{2 \sqrt {-x} \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {x} \text {ArcTan}\left (\sqrt {-1-x}\right )}{2 \sqrt {-x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 63, 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 = {6481, 12, 44,
65, 210} \begin {gather*} -\frac {\sqrt {x} \text {ArcTan}\left (\sqrt {-x-1}\right )}{2 \sqrt {-x}}+\frac {\sqrt {-x-1}}{2 \sqrt {-x} \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 44
Rule 65
Rule 210
Rule 6481
Rubi steps
\begin {align*} \int \frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x^2} \, dx &=-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {x} \int \frac {1}{2 \sqrt {-1-x} x^2} \, dx}{\sqrt {-x}}\\ &=-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {x} \int \frac {1}{\sqrt {-1-x} x^2} \, dx}{2 \sqrt {-x}}\\ &=\frac {\sqrt {-1-x}}{2 \sqrt {-x} \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {x} \int \frac {1}{\sqrt {-1-x} x} \, dx}{4 \sqrt {-x}}\\ &=\frac {\sqrt {-1-x}}{2 \sqrt {-x} \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}+\frac {\sqrt {x} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,\sqrt {-1-x}\right )}{2 \sqrt {-x}}\\ &=\frac {\sqrt {-1-x}}{2 \sqrt {-x} \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {x} \tan ^{-1}\left (\sqrt {-1-x}\right )}{2 \sqrt {-x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 42, normalized size = 0.67 \begin {gather*} \frac {\sqrt {\frac {1+x}{x}}}{2 \sqrt {x}}-\frac {\text {csch}^{-1}\left (\sqrt {x}\right )}{x}-\frac {1}{2} \sinh ^{-1}\left (\frac {1}{\sqrt {x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 46, normalized size = 0.73
method | result | size |
derivativedivides | \(-\frac {\mathrm {arccsch}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1+x}\, \left (\arctanh \left (\frac {1}{\sqrt {1+x}}\right ) x -\sqrt {1+x}\right )}{2 \sqrt {\frac {1+x}{x}}\, x^{\frac {3}{2}}}\) | \(46\) |
default | \(-\frac {\mathrm {arccsch}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1+x}\, \left (\arctanh \left (\frac {1}{\sqrt {1+x}}\right ) x -\sqrt {1+x}\right )}{2 \sqrt {\frac {1+x}{x}}\, x^{\frac {3}{2}}}\) | \(46\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 65, normalized size = 1.03 \begin {gather*} \frac {\sqrt {x} \sqrt {\frac {1}{x} + 1}}{2 \, {\left (x {\left (\frac {1}{x} + 1\right )} - 1\right )}} - \frac {\operatorname {arcsch}\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 ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 44, normalized size = 0.70 \begin {gather*} -\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} \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 \frac {\operatorname {acsch}{\left (\sqrt {x} \right )}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.22, size = 33, normalized size = 0.52 \begin {gather*} \frac {\sqrt {\frac {1}{x}+1}}{2\,\sqrt {x}}-\frac {2\,\mathrm {asinh}\left (\frac {1}{\sqrt {x}}\right )\,\left (\frac {1}{2\,\sqrt {x}}+\frac {\sqrt {x}}{4}\right )}{\sqrt {x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________