Optimal. Leaf size=21 \[ b x-\log (x) \left (b x-\tanh ^{-1}(\coth (a+b x))\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2158, 29} \[ b x-\log (x) \left (b x-\tanh ^{-1}(\coth (a+b x))\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 2158
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}(\coth (a+b x))}{x} \, dx &=b x-\left (b x-\tanh ^{-1}(\coth (a+b x))\right ) \int \frac {1}{x} \, dx\\ &=b x-\left (b x-\tanh ^{-1}(\coth (a+b x))\right ) \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 19, normalized size = 0.90 \[ \log (x) \left (\tanh ^{-1}(\coth (a+b x))-b x\right )+b x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 8, normalized size = 0.38 \[ b x + a \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.14, size = 15, normalized size = 0.71 \[ b x + \frac {1}{2} \, {\left (i \, \pi + 2 \, a\right )} \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 21, normalized size = 1.00 \[ \ln \relax (x ) \arctanh \left (\coth \left (b x +a \right )\right )-\ln \relax (x ) x b +b x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 34, normalized size = 1.62 \[ -b {\left (x + \frac {a}{b}\right )} \log \relax (x) + b {\left (x + \frac {a \log \relax (x)}{b}\right )} + \operatorname {artanh}\left (\coth \left (b x + a\right )\right ) \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.20, size = 59, normalized size = 2.81 \[ b\,x-\ln \relax (x)\,\left (\frac {\ln \left (-\frac {2}{{\mathrm {e}}^{2\,a}\,{\mathrm {e}}^{2\,b\,x}-1}\right )}{2}-\frac {\ln \left (\frac {2\,{\mathrm {e}}^{2\,a}\,{\mathrm {e}}^{2\,b\,x}}{{\mathrm {e}}^{2\,a}\,{\mathrm {e}}^{2\,b\,x}-1}\right )}{2}+b\,x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {atanh}{\left (\coth {\left (a + b x \right )} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________