Optimal. Leaf size=29 \[ \frac {\sqrt {1+\frac {a^2}{x^2}}}{a}-\frac {\text {csch}^{-1}\left (\frac {x}{a}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {5870, 6419,
267} \begin {gather*} \frac {\sqrt {\frac {a^2}{x^2}+1}}{a}-\frac {\text {csch}^{-1}\left (\frac {x}{a}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 5870
Rule 6419
Rubi steps
\begin {align*} \int \frac {\sinh ^{-1}\left (\frac {a}{x}\right )}{x^2} \, dx &=\int \frac {\text {csch}^{-1}\left (\frac {x}{a}\right )}{x^2} \, dx\\ &=-\frac {\text {csch}^{-1}\left (\frac {x}{a}\right )}{x}-a \int \frac {1}{\sqrt {1+\frac {a^2}{x^2}} x^3} \, dx\\ &=\frac {\sqrt {1+\frac {a^2}{x^2}}}{a}-\frac {\text {csch}^{-1}\left (\frac {x}{a}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 1.00 \begin {gather*} \frac {\sqrt {1+\frac {a^2}{x^2}}}{a}-\frac {\sinh ^{-1}\left (\frac {a}{x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.28, size = 31, normalized size = 1.07
method | result | size |
derivativedivides | \(-\frac {\frac {a \arcsinh \left (\frac {a}{x}\right )}{x}-\sqrt {1+\frac {a^{2}}{x^{2}}}}{a}\) | \(31\) |
default | \(-\frac {\frac {a \arcsinh \left (\frac {a}{x}\right )}{x}-\sqrt {1+\frac {a^{2}}{x^{2}}}}{a}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 30, normalized size = 1.03 \begin {gather*} -\frac {\frac {a \operatorname {arsinh}\left (\frac {a}{x}\right )}{x} - \sqrt {\frac {a^{2}}{x^{2}} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 49, normalized size = 1.69 \begin {gather*} -\frac {a \log \left (\frac {x \sqrt {\frac {a^{2} + x^{2}}{x^{2}}} + a}{x}\right ) - x \sqrt {\frac {a^{2} + x^{2}}{x^{2}}}}{a x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.41, size = 20, normalized size = 0.69 \begin {gather*} \begin {cases} - \frac {\operatorname {asinh}{\left (\frac {a}{x} \right )}}{x} + \frac {\sqrt {\frac {a^{2}}{x^{2}} + 1}}{a} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 39, normalized size = 1.34 \begin {gather*} -\frac {\log \left (\sqrt {\frac {a^{2}}{x^{2}} + 1} + \frac {a}{x}\right )}{x} + \frac {\sqrt {\frac {a^{2}}{x^{2}} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.23, size = 27, normalized size = 0.93 \begin {gather*} \frac {\sqrt {\frac {a^2}{x^2}+1}}{a}-\frac {\mathrm {asinh}\left (\frac {a}{x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________