Optimal. Leaf size=30 \[ -\frac{1}{2} a \log \left (1-a^2 x^2\right )+a \log (x)-\frac{\coth ^{-1}(a x)}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.020794, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.625, Rules used = {5917, 266, 36, 29, 31} \[ -\frac{1}{2} a \log \left (1-a^2 x^2\right )+a \log (x)-\frac{\coth ^{-1}(a x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5917
Rule 266
Rule 36
Rule 29
Rule 31
Rubi steps
\begin{align*} \int \frac{\coth ^{-1}(a x)}{x^2} \, dx &=-\frac{\coth ^{-1}(a x)}{x}+a \int \frac{1}{x \left (1-a^2 x^2\right )} \, dx\\ &=-\frac{\coth ^{-1}(a x)}{x}+\frac{1}{2} a \operatorname{Subst}\left (\int \frac{1}{x \left (1-a^2 x\right )} \, dx,x,x^2\right )\\ &=-\frac{\coth ^{-1}(a x)}{x}+\frac{1}{2} a \operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,x^2\right )+\frac{1}{2} a^3 \operatorname{Subst}\left (\int \frac{1}{1-a^2 x} \, dx,x,x^2\right )\\ &=-\frac{\coth ^{-1}(a x)}{x}+a \log (x)-\frac{1}{2} a \log \left (1-a^2 x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0075953, size = 30, normalized size = 1. \[ -\frac{1}{2} a \log \left (1-a^2 x^2\right )+a \log (x)-\frac{\coth ^{-1}(a x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.036, size = 35, normalized size = 1.2 \begin{align*} -{\frac{{\rm arccoth} \left (ax\right )}{x}}-{\frac{a\ln \left ( ax-1 \right ) }{2}}+a\ln \left ( ax \right ) -{\frac{a\ln \left ( ax+1 \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.974439, size = 41, normalized size = 1.37 \begin{align*} -\frac{1}{2} \, a{\left (\log \left (a^{2} x^{2} - 1\right ) - \log \left (x^{2}\right )\right )} - \frac{\operatorname{arcoth}\left (a x\right )}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70012, size = 99, normalized size = 3.3 \begin{align*} -\frac{a x \log \left (a^{2} x^{2} - 1\right ) - 2 \, a x \log \left (x\right ) + \log \left (\frac{a x + 1}{a x - 1}\right )}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.610749, size = 26, normalized size = 0.87 \begin{align*} a \log{\left (x \right )} - a \log{\left (a x + 1 \right )} + a \operatorname{acoth}{\left (a x \right )} - \frac{\operatorname{acoth}{\left (a x \right )}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{arcoth}\left (a x\right )}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]