Optimal. Leaf size=73 \[ \frac {\text {Li}_2\left (e^{2 x}\right ) \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {x \log \left (1-e^{2 x}\right ) \text {sech}^2(x)}{\sqrt {a \text {sech}^4(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.56, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {6720, 3716, 2190, 2279, 2391} \[ \frac {\text {sech}^2(x) \text {PolyLog}\left (2,e^{2 x}\right )}{2 \sqrt {a \text {sech}^4(x)}}-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {x \log \left (1-e^{2 x}\right ) \text {sech}^2(x)}{\sqrt {a \text {sech}^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2391
Rule 3716
Rule 6720
Rubi steps
\begin {align*} \int \frac {x \text {csch}(x) \text {sech}(x)}{\sqrt {a \text {sech}^4(x)}} \, dx &=\frac {\text {sech}^2(x) \int x \coth (x) \, dx}{\sqrt {a \text {sech}^4(x)}}\\ &=-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}-\frac {\left (2 \text {sech}^2(x)\right ) \int \frac {e^{2 x} x}{1-e^{2 x}} \, dx}{\sqrt {a \text {sech}^4(x)}}\\ &=-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {x \log \left (1-e^{2 x}\right ) \text {sech}^2(x)}{\sqrt {a \text {sech}^4(x)}}-\frac {\text {sech}^2(x) \int \log \left (1-e^{2 x}\right ) \, dx}{\sqrt {a \text {sech}^4(x)}}\\ &=-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {x \log \left (1-e^{2 x}\right ) \text {sech}^2(x)}{\sqrt {a \text {sech}^4(x)}}-\frac {\text {sech}^2(x) \operatorname {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 x}\right )}{2 \sqrt {a \text {sech}^4(x)}}\\ &=-\frac {x^2 \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {x \log \left (1-e^{2 x}\right ) \text {sech}^2(x)}{\sqrt {a \text {sech}^4(x)}}+\frac {\text {Li}_2\left (e^{2 x}\right ) \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 44, normalized size = 0.60 \[ \frac {\text {sech}^2(x) \left (x \left (x+2 \log \left (1-e^{-2 x}\right )\right )-\text {Li}_2\left (e^{-2 x}\right )\right )}{2 \sqrt {a \text {sech}^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 152, normalized size = 2.08 \[ -\frac {{\left (x^{2} e^{\left (4 \, x\right )} + 2 \, x^{2} e^{\left (2 \, x\right )} + x^{2} - 2 \, {\left (e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1\right )} {\rm Li}_2\left (\cosh \relax (x) + \sinh \relax (x)\right ) - 2 \, {\left (e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1\right )} {\rm Li}_2\left (-\cosh \relax (x) - \sinh \relax (x)\right ) - 2 \, {\left (x e^{\left (4 \, x\right )} + 2 \, x e^{\left (2 \, x\right )} + x\right )} \log \left (\cosh \relax (x) + \sinh \relax (x) + 1\right ) - 2 \, {\left (x e^{\left (4 \, x\right )} + 2 \, x e^{\left (2 \, x\right )} + x\right )} \log \left (-\cosh \relax (x) - \sinh \relax (x) + 1\right )\right )} \sqrt {\frac {a}{e^{\left (8 \, x\right )} + 4 \, e^{\left (6 \, x\right )} + 6 \, e^{\left (4 \, x\right )} + 4 \, e^{\left (2 \, x\right )} + 1}}}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x \operatorname {csch}\relax (x) \operatorname {sech}\relax (x)}{\sqrt {a \operatorname {sech}\relax (x)^{4}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.37, size = 175, normalized size = 2.40 \[ -\frac {{\mathrm e}^{2 x} x^{2}}{2 \sqrt {\frac {a \,{\mathrm e}^{4 x}}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}+\frac {{\mathrm e}^{2 x} x \ln \left ({\mathrm e}^{x}+1\right )}{\sqrt {\frac {a \,{\mathrm e}^{4 x}}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}+\frac {{\mathrm e}^{2 x} \polylog \left (2, -{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{4 x}}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}+\frac {{\mathrm e}^{2 x} x \ln \left (1-{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{4 x}}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}+\frac {{\mathrm e}^{2 x} \polylog \left (2, {\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{4 x}}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 43, normalized size = 0.59 \[ -\frac {x^{2}}{2 \, \sqrt {a}} + \frac {x \log \left (e^{x} + 1\right ) + {\rm Li}_2\left (-e^{x}\right )}{\sqrt {a}} + \frac {x \log \left (-e^{x} + 1\right ) + {\rm Li}_2\left (e^{x}\right )}{\sqrt {a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x}{\mathrm {cosh}\relax (x)\,\mathrm {sinh}\relax (x)\,\sqrt {\frac {a}{{\mathrm {cosh}\relax (x)}^4}}} \,d x \]
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 {x \operatorname {csch}{\relax (x )} \operatorname {sech}{\relax (x )}}{\sqrt {a \operatorname {sech}^{4}{\relax (x )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________