Integrand size = 11, antiderivative size = 21 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b x-\left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \log (x) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2189, 29} \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b x-\log (x) \left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \]
[In]
[Out]
Rule 29
Rule 2189
Rubi steps \begin{align*} \text {integral}& = b x-\left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \int \frac {1}{x} \, dx \\ & = b x-\left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \log (x) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.90 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b x+\left (-b x+\coth ^{-1}(\tanh (a+b x))\right ) \log (x) \]
[In]
[Out]
Time = 0.24 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00
method | result | size |
default | \(\ln \left (x \right ) \operatorname {arccoth}\left (\tanh \left (b x +a \right )\right )+b \left (-x \ln \left (x \right )+x \right )\) | \(21\) |
parts | \(\ln \left (x \right ) \operatorname {arccoth}\left (\tanh \left (b x +a \right )\right )+b \left (-x \ln \left (x \right )+x \right )\) | \(21\) |
risch | \(\ln \left (x \right ) \ln \left ({\mathrm e}^{b x +a}\right )-b \ln \left (x \right ) x +b x -\frac {i \pi \left (\operatorname {csgn}\left (\frac {i}{{\mathrm e}^{2 b x +2 a}+1}\right ) \operatorname {csgn}\left (i {\mathrm e}^{2 b x +2 a}\right ) \operatorname {csgn}\left (\frac {i {\mathrm e}^{2 b x +2 a}}{{\mathrm e}^{2 b x +2 a}+1}\right )-\operatorname {csgn}\left (\frac {i}{{\mathrm e}^{2 b x +2 a}+1}\right ) \operatorname {csgn}\left (\frac {i {\mathrm e}^{2 b x +2 a}}{{\mathrm e}^{2 b x +2 a}+1}\right )^{2}+2 \operatorname {csgn}\left (\frac {i}{{\mathrm e}^{2 b x +2 a}+1}\right )^{3}-2 \operatorname {csgn}\left (\frac {i}{{\mathrm e}^{2 b x +2 a}+1}\right )^{2}+\operatorname {csgn}\left (i {\mathrm e}^{b x +a}\right )^{2} \operatorname {csgn}\left (i {\mathrm e}^{2 b x +2 a}\right )-2 \,\operatorname {csgn}\left (i {\mathrm e}^{b x +a}\right ) \operatorname {csgn}\left (i {\mathrm e}^{2 b x +2 a}\right )^{2}+\operatorname {csgn}\left (i {\mathrm e}^{2 b x +2 a}\right )^{3}-\operatorname {csgn}\left (i {\mathrm e}^{2 b x +2 a}\right ) \operatorname {csgn}\left (\frac {i {\mathrm e}^{2 b x +2 a}}{{\mathrm e}^{2 b x +2 a}+1}\right )^{2}+\operatorname {csgn}\left (\frac {i {\mathrm e}^{2 b x +2 a}}{{\mathrm e}^{2 b x +2 a}+1}\right )^{3}+2\right ) \ln \left (x \right )}{4}\) | \(314\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.24 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.71 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b x + \frac {1}{2} \, {\left (i \, \pi + 2 \, a\right )} \log \left (x\right ) \]
[In]
[Out]
\[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=\int \frac {\operatorname {acoth}{\left (\tanh {\left (a + b x \right )} \right )}}{x}\, dx \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.62 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=-b {\left (x + \frac {a}{b}\right )} \log \left (x\right ) + b {\left (x + \frac {a \log \left (x\right )}{b}\right )} + \operatorname {arcoth}\left (\tanh \left (b x + a\right )\right ) \log \left (x\right ) \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.31 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.71 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b x + \frac {1}{2} \, {\left (i \, \pi + 2 \, a\right )} \log \left (x\right ) \]
[In]
[Out]
Time = 0.19 (sec) , antiderivative size = 59, normalized size of antiderivative = 2.81 \[ \int \frac {\coth ^{-1}(\tanh (a+b x))}{x} \, dx=b\,x-\ln \left (x\right )\,\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 ) \]
[In]
[Out]