Optimal. Leaf size=56 \[ \frac{1}{6} a x^2 \sqrt{\frac{a^2}{x^2}+1}-\frac{1}{6} a^3 \tanh ^{-1}\left (\sqrt{\frac{a^2}{x^2}+1}\right )+\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.039814, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {5892, 6284, 266, 51, 63, 208} \[ \frac{1}{6} a x^2 \sqrt{\frac{a^2}{x^2}+1}-\frac{1}{6} a^3 \tanh ^{-1}\left (\sqrt{\frac{a^2}{x^2}+1}\right )+\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5892
Rule 6284
Rule 266
Rule 51
Rule 63
Rule 208
Rubi steps
\begin{align*} \int x^2 \sinh ^{-1}\left (\frac{a}{x}\right ) \, dx &=\int x^2 \text{csch}^{-1}\left (\frac{x}{a}\right ) \, dx\\ &=\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right )+\frac{1}{3} a \int \frac{x}{\sqrt{1+\frac{a^2}{x^2}}} \, dx\\ &=\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right )-\frac{1}{6} a \operatorname{Subst}\left (\int \frac{1}{x^2 \sqrt{1+a^2 x}} \, dx,x,\frac{1}{x^2}\right )\\ &=\frac{1}{6} a \sqrt{1+\frac{a^2}{x^2}} x^2+\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right )+\frac{1}{12} a^3 \operatorname{Subst}\left (\int \frac{1}{x \sqrt{1+a^2 x}} \, dx,x,\frac{1}{x^2}\right )\\ &=\frac{1}{6} a \sqrt{1+\frac{a^2}{x^2}} x^2+\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right )+\frac{1}{6} a \operatorname{Subst}\left (\int \frac{1}{-\frac{1}{a^2}+\frac{x^2}{a^2}} \, dx,x,\sqrt{1+\frac{a^2}{x^2}}\right )\\ &=\frac{1}{6} a \sqrt{1+\frac{a^2}{x^2}} x^2+\frac{1}{3} x^3 \text{csch}^{-1}\left (\frac{x}{a}\right )-\frac{1}{6} a^3 \tanh ^{-1}\left (\sqrt{1+\frac{a^2}{x^2}}\right )\\ \end{align*}
Mathematica [A] time = 0.0381262, size = 57, normalized size = 1.02 \[ \frac{1}{6} \left (a x^2 \sqrt{\frac{a^2}{x^2}+1}+a^3 \left (-\log \left (x \left (\sqrt{\frac{a^2}{x^2}+1}+1\right )\right )\right )+2 x^3 \sinh ^{-1}\left (\frac{a}{x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 54, normalized size = 1. \begin{align*} -{a}^{3} \left ( -{\frac{{x}^{3}}{3\,{a}^{3}}{\it Arcsinh} \left ({\frac{a}{x}} \right ) }-{\frac{{x}^{2}}{6\,{a}^{2}}\sqrt{1+{\frac{{a}^{2}}{{x}^{2}}}}}+{\frac{1}{6}{\it Artanh} \left ({\frac{1}{\sqrt{1+{\frac{{a}^{2}}{{x}^{2}}}}}} \right ) } \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13009, size = 93, normalized size = 1.66 \begin{align*} \frac{1}{3} \, x^{3} \operatorname{arsinh}\left (\frac{a}{x}\right ) - \frac{1}{12} \,{\left (a^{2} \log \left (\sqrt{\frac{a^{2}}{x^{2}} + 1} + 1\right ) - a^{2} \log \left (\sqrt{\frac{a^{2}}{x^{2}} + 1} - 1\right ) - 2 \, x^{2} \sqrt{\frac{a^{2}}{x^{2}} + 1}\right )} a \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.95187, size = 290, normalized size = 5.18 \begin{align*} \frac{1}{6} \, a^{3} \log \left (x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} - x\right ) + \frac{1}{6} \, a x^{2} \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} + \frac{1}{3} \,{\left (x^{3} - 1\right )} \log \left (\frac{x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} + a}{x}\right ) + \frac{1}{3} \, \log \left (x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} + a - x\right ) - \frac{1}{3} \, \log \left (x \sqrt{\frac{a^{2} + x^{2}}{x^{2}}} - a - x\right ) \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^{2} \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.32705, size = 103, normalized size = 1.84 \begin{align*} \frac{1}{3} \, x^{3} \log \left (\sqrt{\frac{a^{2}}{x^{2}} + 1} + \frac{a}{x}\right ) - \frac{1}{6} \,{\left (a^{2} \log \left ({\left | a \right |}\right ) \mathrm{sgn}\left (x\right ) - \frac{a^{2} \log \left (-x + \sqrt{a^{2} + x^{2}}\right )}{\mathrm{sgn}\left (x\right )} - \frac{\sqrt{a^{2} + x^{2}} x}{\mathrm{sgn}\left (x\right )}\right )} a \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]