Optimal. Leaf size=33 \[ \frac{1}{2} a x \sqrt{\frac{a^2}{x^2}+1}+\frac{1}{2} x^2 \text{csch}^{-1}\left (\frac{x}{a}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0172917, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {5892, 6284, 191} \[ \frac{1}{2} a x \sqrt{\frac{a^2}{x^2}+1}+\frac{1}{2} x^2 \text{csch}^{-1}\left (\frac{x}{a}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5892
Rule 6284
Rule 191
Rubi steps
\begin{align*} \int x \sinh ^{-1}\left (\frac{a}{x}\right ) \, dx &=\int x \text{csch}^{-1}\left (\frac{x}{a}\right ) \, dx\\ &=\frac{1}{2} x^2 \text{csch}^{-1}\left (\frac{x}{a}\right )+\frac{1}{2} a \int \frac{1}{\sqrt{1+\frac{a^2}{x^2}}} \, dx\\ &=\frac{1}{2} a \sqrt{1+\frac{a^2}{x^2}} x+\frac{1}{2} x^2 \text{csch}^{-1}\left (\frac{x}{a}\right )\\ \end{align*}
Mathematica [A] time = 0.0220711, size = 29, normalized size = 0.88 \[ \frac{1}{2} x \left (a \sqrt{\frac{a^2}{x^2}+1}+x \sinh ^{-1}\left (\frac{a}{x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 38, normalized size = 1.2 \begin{align*} -{a}^{2} \left ( -{\frac{{x}^{2}}{2\,{a}^{2}}{\it Arcsinh} \left ({\frac{a}{x}} \right ) }-{\frac{x}{2\,a}\sqrt{1+{\frac{{a}^{2}}{{x}^{2}}}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04402, size = 36, normalized size = 1.09 \begin{align*} \frac{1}{2} \, x^{2} \operatorname{arsinh}\left (\frac{a}{x}\right ) + \frac{1}{2} \, a x \sqrt{\frac{a^{2}}{x^{2}} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.67991, size = 105, normalized size = 3.18 \begin{align*} \frac{1}{2} \, x^{2} \log \left (\frac{x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} + a}{x}\right ) + \frac{1}{2} \, a x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{asinh}{\left (\frac{a}{x} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31523, size = 65, normalized size = 1.97 \begin{align*} \frac{1}{2} \, x^{2} \log \left (\sqrt{\frac{a^{2}}{x^{2}} + 1} + \frac{a}{x}\right ) - \frac{1}{2} \,{\left ({\left | a \right |} \mathrm{sgn}\left (x\right ) - \frac{\sqrt{a^{2} + x^{2}}}{\mathrm{sgn}\left (x\right )}\right )} a \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]