Optimal. Leaf size=31 \[ -\frac {\tanh ^{-1}(a x)}{2 a^2}+\frac {1}{2} x^2 \coth ^{-1}(a x)+\frac {x}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5917, 321, 206} \[ -\frac {\tanh ^{-1}(a x)}{2 a^2}+\frac {1}{2} x^2 \coth ^{-1}(a x)+\frac {x}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 321
Rule 5917
Rubi steps
\begin {align*} \int x \coth ^{-1}(a x) \, dx &=\frac {1}{2} x^2 \coth ^{-1}(a x)-\frac {1}{2} a \int \frac {x^2}{1-a^2 x^2} \, dx\\ &=\frac {x}{2 a}+\frac {1}{2} x^2 \coth ^{-1}(a x)-\frac {\int \frac {1}{1-a^2 x^2} \, dx}{2 a}\\ &=\frac {x}{2 a}+\frac {1}{2} x^2 \coth ^{-1}(a x)-\frac {\tanh ^{-1}(a x)}{2 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 47, normalized size = 1.52 \[ \frac {\log (1-a x)}{4 a^2}-\frac {\log (a x+1)}{4 a^2}+\frac {1}{2} x^2 \coth ^{-1}(a x)+\frac {x}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 34, normalized size = 1.10 \[ \frac {2 \, a x + {\left (a^{2} x^{2} - 1\right )} \log \left (\frac {a x + 1}{a x - 1}\right )}{4 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \operatorname {arcoth}\left (a x\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 39, normalized size = 1.26 \[ \frac {x^{2} \mathrm {arccoth}\left (a x \right )}{2}+\frac {x}{2 a}+\frac {\ln \left (a x -1\right )}{4 a^{2}}-\frac {\ln \left (a x +1\right )}{4 a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.30, size = 41, normalized size = 1.32 \[ \frac {1}{2} \, x^{2} \operatorname {arcoth}\left (a x\right ) + \frac {1}{4} \, a {\left (\frac {2 \, x}{a^{2}} - \frac {\log \left (a x + 1\right )}{a^{3}} + \frac {\log \left (a x - 1\right )}{a^{3}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.18, size = 26, normalized size = 0.84 \[ \frac {x^2\,\mathrm {acoth}\left (a\,x\right )}{2}-\frac {\frac {\mathrm {acoth}\left (a\,x\right )}{2}-\frac {a\,x}{2}}{a^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.45, size = 32, normalized size = 1.03 \[ \begin {cases} \frac {x^{2} \operatorname {acoth}{\left (a x \right )}}{2} + \frac {x}{2 a} - \frac {\operatorname {acoth}{\left (a x \right )}}{2 a^{2}} & \text {for}\: a \neq 0 \\\frac {i \pi x^{2}}{4} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________