Integrand size = 12, antiderivative size = 274 \[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )+\frac {1}{2} \operatorname {PolyLog}\left (3,-e^{2 \text {sech}^{-1}(a+b x)}\right ) \]
[Out]
Time = 0.36 (sec) , antiderivative size = 274, normalized size of antiderivative = 1.00, number of steps used = 17, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {6456, 5714, 5689, 3799, 2221, 2611, 2320, 6724, 5681} \[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{\sqrt {1-a^2}+1}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{\sqrt {1-a^2}+1}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{\sqrt {1-a^2}+1}\right )-\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )+\frac {1}{2} \operatorname {PolyLog}\left (3,-e^{2 \text {sech}^{-1}(a+b x)}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (e^{2 \text {sech}^{-1}(a+b x)}+1\right ) \]
[In]
[Out]
Rule 2221
Rule 2320
Rule 2611
Rule 3799
Rule 5681
Rule 5689
Rule 5714
Rule 6456
Rule 6724
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {x^2 \text {sech}(x) \tanh (x)}{-a+\text {sech}(x)} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\text {Subst}\left (\int \frac {x^2 \tanh (x)}{1-a \cosh (x)} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\left (a \text {Subst}\left (\int \frac {x^2 \sinh (x)}{1-a \cosh (x)} \, dx,x,\text {sech}^{-1}(a+b x)\right )\right )-\text {Subst}\left (\int x^2 \tanh (x) \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = -\left (2 \text {Subst}\left (\int \frac {e^{2 x} x^2}{1+e^{2 x}} \, dx,x,\text {sech}^{-1}(a+b x)\right )\right )-a \text {Subst}\left (\int \frac {e^x x^2}{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^2}{1+\sqrt {1-a^2}-a e^x} \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = \text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )-2 \text {Subst}\left (\int x \log \left (1-\frac {a e^x}{1-\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )-2 \text {Subst}\left (\int x \log \left (1-\frac {a e^x}{1+\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )+2 \text {Subst}\left (\int x \log \left (1+e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = \text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )-2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,\frac {a e^x}{1-\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )-2 \text {Subst}\left (\int \operatorname {PolyLog}\left (2,\frac {a e^x}{1+\sqrt {1-a^2}}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right )+\text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(a+b x)\right ) \\ & = \text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )+\frac {1}{2} \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{2 \text {sech}^{-1}(a+b x)}\right )-2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\frac {a x}{1-\sqrt {1-a^2}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(a+b x)}\right )-2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\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)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )-\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1-\sqrt {1-a^2}}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )+\frac {1}{2} \operatorname {PolyLog}\left (3,-e^{2 \text {sech}^{-1}(a+b x)}\right ) \\ \end{align*}
Time = 0.34 (sec) , antiderivative size = 280, normalized size of antiderivative = 1.02 \[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=-\frac {2}{3} \text {sech}^{-1}(a+b x)^3-\text {sech}^{-1}(a+b x)^2 \log \left (1+e^{-2 \text {sech}^{-1}(a+b x)}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1+\frac {a e^{\text {sech}^{-1}(a+b x)}}{-1+\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x)^2 \log \left (1-\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right )+\text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(a+b x)}\right )+2 \text {sech}^{-1}(a+b x) \operatorname {PolyLog}\left (2,-\frac {a e^{\text {sech}^{-1}(a+b x)}}{-1+\sqrt {1-a^2}}\right )+2 \text {sech}^{-1}(a+b x) \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 (3,-e^{-2 \text {sech}^{-1}(a+b x)}\right )-2 \operatorname {PolyLog}\left (3,-\frac {a e^{\text {sech}^{-1}(a+b x)}}{-1+\sqrt {1-a^2}}\right )-2 \operatorname {PolyLog}\left (3,\frac {a e^{\text {sech}^{-1}(a+b x)}}{1+\sqrt {1-a^2}}\right ) \]
[In]
[Out]
\[\int \frac {\operatorname {arcsech}\left (b x +a \right )^{2}}{x}d x\]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )^{2}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\int \frac {\operatorname {asech}^{2}{\left (a + b x \right )}}{x}\, dx \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )^{2}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\int { \frac {\operatorname {arsech}\left (b x + a\right )^{2}}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\text {sech}^{-1}(a+b x)^2}{x} \, dx=\int \frac {{\mathrm {acosh}\left (\frac {1}{a+b\,x}\right )}^2}{x} \,d x \]
[In]
[Out]