Integrand size = 10, antiderivative size = 170 \[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\frac {1}{2} \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right ) \]
[Out]
Time = 0.22 (sec) , antiderivative size = 170, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.800, Rules used = {6456, 5714, 5689, 3799, 2221, 2317, 2438, 5681} \[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{\sqrt {1-a^2}+1}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{\sqrt {1-a^2}+1}\right )-\frac {1}{2} \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )-\text {sech}^{-1}(a+b x) \log \left (e^{2 \text {sech}^{-1}(a+b x)}+1\right ) \]
[In]
[Out]
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5681
Rule 5689
Rule 5714
Rule 6456
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {x \text {sech}(x) \tanh (x)}{-a+\text {sech}(x)} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\text {Subst}\left (\int \frac {x \tanh (x)}{1-a \cosh (x)} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\left (a \text {Subst}\left (\int \frac {x \sinh (x)}{1-a \cosh (x)} \, dx,x,\text {sech}^{-1}(a+b x)\right )\right )-\text {Subst}\left (\int x \tanh (x) \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\left (2 \text {Subst}\left (\int \frac {e^{2 x} x}{1+e^{2 x}} \, dx,x,\text {sech}^{-1}(a+b x)\right )\right )-a \text {Subst}\left (\int \frac {e^x x}{1-\sqrt {1-a^2}-a e^x} \, dx,x,\text {sech}^{-1}(a+b x)\right )-a \text {Subst}\left (\int \frac {e^x x}{1+\sqrt {1-a^2}-a e^x} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = \text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )-\text {Subst}\left (\int \log \left (1-\frac {a e^x}{1-\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )-\text {Subst}\left (\int \log \left (1-\frac {a e^x}{1+\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )+\text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = \text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+\frac {1}{2} \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {sech}^{-1}(a+b x)}\right )-\text {Subst}\left (\int \frac {\log \left (1-\frac {a x}{1-\sqrt {1-a^2}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(a+b x)}\right )-\text {Subst}\left (\int \frac {\log \left (1-\frac {a x}{1+\sqrt {1-a^2}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(a+b x)}\right ) \\ & = \text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\frac {1}{2} \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right ) \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.31 (sec) , antiderivative size = 332, normalized size of antiderivative = 1.95 \[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=-4 i \arcsin \left (\frac {\sqrt {\frac {-1+a}{a}}}{\sqrt {2}}\right ) \text {arctanh}\left (\frac {(1+a) \tanh \left (\frac {1}{2} \text {sech}^{-1}(a+b x)\right )}{\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \log \left (1+e^{-2 \text {sech}^{-1}(a+b x)}\right )+\text {sech}^{-1}(a+b x) \log \left (1+\frac {\left (-1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right )+2 i \arcsin \left (\frac {\sqrt {\frac {-1+a}{a}}}{\sqrt {2}}\right ) \log \left (1+\frac {\left (-1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right )+\text {sech}^{-1}(a+b x) \log \left (1-\frac {\left (1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right )-2 i \arcsin \left (\frac {\sqrt {\frac {-1+a}{a}}}{\sqrt {2}}\right ) \log \left (1-\frac {\left (1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right )+\frac {1}{2} \operatorname {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(a+b x)}\right )-\operatorname {PolyLog}\left (2,-\frac {\left (-1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right )-\operatorname {PolyLog}\left (2,\frac {\left (1+\sqrt {1-a^2}\right ) e^{-\text {sech}^{-1}(a+b x)}}{a}\right ) \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.88 (sec) , antiderivative size = 882, normalized size of antiderivative = 5.19
method | result | size |
derivativedivides | \(\frac {\operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )}{2}+\frac {\operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )}{2}+\frac {\sqrt {-a^{2}+1}\, \operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )}{2 a^{2}-2}-\frac {\sqrt {-a^{2}+1}\, \operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )}{2 \left (a^{2}-1\right )}+\operatorname {dilog}\left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )+\operatorname {dilog}\left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )-\operatorname {arcsech}\left (b x +a \right ) \ln \left (1+i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {arcsech}\left (b x +a \right ) \ln \left (1-i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {dilog}\left (1+i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {dilog}\left (1-i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )+\frac {\left (a^{2}+\sqrt {-a^{2}+1}-1\right ) \operatorname {arcsech}\left (b x +a \right ) \left (\ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right ) a^{2}+\ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right ) a^{2}-2 \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )-2 \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right ) \sqrt {-a^{2}+1}\right )}{2 a^{2} \left (a^{2}-1\right )}\) | \(882\) |
default | \(\frac {\operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )}{2}+\frac {\operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )}{2}+\frac {\sqrt {-a^{2}+1}\, \operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )}{2 a^{2}-2}-\frac {\sqrt {-a^{2}+1}\, \operatorname {arcsech}\left (b x +a \right ) \ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )}{2 \left (a^{2}-1\right )}+\operatorname {dilog}\left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )+\operatorname {dilog}\left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right )-\operatorname {arcsech}\left (b x +a \right ) \ln \left (1+i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {arcsech}\left (b x +a \right ) \ln \left (1-i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {dilog}\left (1+i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )-\operatorname {dilog}\left (1-i \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )\right )+\frac {\left (a^{2}+\sqrt {-a^{2}+1}-1\right ) \operatorname {arcsech}\left (b x +a \right ) \left (\ln \left (\frac {-a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}+1}{1+\sqrt {-a^{2}+1}}\right ) a^{2}+\ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right ) a^{2}-2 \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right )-2 \ln \left (\frac {a \left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )+\sqrt {-a^{2}+1}-1}{-1+\sqrt {-a^{2}+1}}\right ) \sqrt {-a^{2}+1}\right )}{2 a^{2} \left (a^{2}-1\right )}\) | \(882\) |
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\int \frac {\operatorname {asech}{\left (a + b x \right )}}{x}\, dx \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\text {sech}^{-1}(a+b x)}{x} \, dx=\int \frac {\mathrm {acosh}\left (\frac {1}{a+b\,x}\right )}{x} \,d x \]
[In]
[Out]