Optimal. Leaf size=98 \[ \frac{x \text{sech}^2(x) \text{PolyLog}\left (2,e^{2 x}\right )}{\sqrt{a \text{sech}^4(x)}}-\frac{\text{sech}^2(x) \text{PolyLog}\left (3,e^{2 x}\right )}{2 \sqrt{a \text{sech}^4(x)}}-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.608181, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {6720, 3716, 2190, 2531, 2282, 6589} \[ \frac{x \text{sech}^2(x) \text{PolyLog}\left (2,e^{2 x}\right )}{\sqrt{a \text{sech}^4(x)}}-\frac{\text{sech}^2(x) \text{PolyLog}\left (3,e^{2 x}\right )}{2 \sqrt{a \text{sech}^4(x)}}-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6720
Rule 3716
Rule 2190
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \frac{x^2 \text{csch}(x) \text{sech}(x)}{\sqrt{a \text{sech}^4(x)}} \, dx &=\frac{\text{sech}^2(x) \int x^2 \coth (x) \, dx}{\sqrt{a \text{sech}^4(x)}}\\ &=-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}-\frac{\left (2 \text{sech}^2(x)\right ) \int \frac{e^{2 x} x^2}{1-e^{2 x}} \, dx}{\sqrt{a \text{sech}^4(x)}}\\ &=-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}-\frac{\left (2 \text{sech}^2(x)\right ) \int x \log \left (1-e^{2 x}\right ) \, dx}{\sqrt{a \text{sech}^4(x)}}\\ &=-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}+\frac{x \text{Li}_2\left (e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}-\frac{\text{sech}^2(x) \int \text{Li}_2\left (e^{2 x}\right ) \, dx}{\sqrt{a \text{sech}^4(x)}}\\ &=-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}+\frac{x \text{Li}_2\left (e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}-\frac{\text{sech}^2(x) \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{2 x}\right )}{2 \sqrt{a \text{sech}^4(x)}}\\ &=-\frac{x^3 \text{sech}^2(x)}{3 \sqrt{a \text{sech}^4(x)}}+\frac{x^2 \log \left (1-e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}+\frac{x \text{Li}_2\left (e^{2 x}\right ) \text{sech}^2(x)}{\sqrt{a \text{sech}^4(x)}}-\frac{\text{Li}_3\left (e^{2 x}\right ) \text{sech}^2(x)}{2 \sqrt{a \text{sech}^4(x)}}\\ \end{align*}
Mathematica [A] time = 0.0485789, size = 57, normalized size = 0.58 \[ \frac{\text{sech}^2(x) \left (6 x \text{PolyLog}\left (2,e^{2 x}\right )-3 \text{PolyLog}\left (3,e^{2 x}\right )-2 x^2 \left (x-3 \log \left (1-e^{2 x}\right )\right )\right )}{6 \sqrt{a \text{sech}^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.072, size = 253, normalized size = 2.6 \begin{align*} -{\frac{{{\rm e}^{2\,x}}{x}^{3}}{3\, \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}+{\frac{{{\rm e}^{2\,x}}{x}^{2}\ln \left ({{\rm e}^{x}}+1 \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}+2\,{\frac{x{{\rm e}^{2\,x}}{\it polylog} \left ( 2,-{{\rm e}^{x}} \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}-2\,{\frac{{{\rm e}^{2\,x}}{\it polylog} \left ( 3,-{{\rm e}^{x}} \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}+{\frac{{{\rm e}^{2\,x}}{x}^{2}\ln \left ( 1-{{\rm e}^{x}} \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}+2\,{\frac{x{{\rm e}^{2\,x}}{\it polylog} \left ( 2,{{\rm e}^{x}} \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}}-2\,{\frac{{{\rm e}^{2\,x}}{\it polylog} \left ( 3,{{\rm e}^{x}} \right ) }{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}{\frac{1}{\sqrt{{\frac{{{\rm e}^{4\,x}}a}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{4}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.98089, size = 90, normalized size = 0.92 \begin{align*} -\frac{x^{3}}{3 \, \sqrt{a}} + \frac{x^{2} \log \left (e^{x} + 1\right ) + 2 \, x{\rm Li}_2\left (-e^{x}\right ) - 2 \,{\rm Li}_{3}(-e^{x})}{\sqrt{a}} + \frac{x^{2} \log \left (-e^{x} + 1\right ) + 2 \, x{\rm Li}_2\left (e^{x}\right ) - 2 \,{\rm Li}_{3}(e^{x})}{\sqrt{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.11378, size = 848, normalized size = 8.65 \begin{align*} -\frac{{\left (6 \, \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}}{\left (e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1\right )} e^{\left (2 \, x\right )}{\rm polylog}\left (3, \cosh \left (x\right ) + \sinh \left (x\right )\right ) + 6 \, \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}}{\left (e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1\right )} e^{\left (2 \, x\right )}{\rm polylog}\left (3, -\cosh \left (x\right ) - \sinh \left (x\right )\right ) +{\left (x^{3} e^{\left (4 \, x\right )} + 2 \, x^{3} e^{\left (2 \, x\right )} + x^{3} - 6 \,{\left (x e^{\left (4 \, x\right )} + 2 \, x e^{\left (2 \, x\right )} + x\right )}{\rm Li}_2\left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - 6 \,{\left (x e^{\left (4 \, x\right )} + 2 \, x e^{\left (2 \, x\right )} + x\right )}{\rm Li}_2\left (-\cosh \left (x\right ) - \sinh \left (x\right )\right ) - 3 \,{\left (x^{2} e^{\left (4 \, x\right )} + 2 \, x^{2} e^{\left (2 \, x\right )} + x^{2}\right )} \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) - 3 \,{\left (x^{2} e^{\left (4 \, x\right )} + 2 \, x^{2} e^{\left (2 \, x\right )} + x^{2}\right )} \log \left (-\cosh \left (x\right ) - \sinh \left (x\right ) + 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}} e^{\left (2 \, x\right )}\right )} e^{\left (-2 \, x\right )}}{3 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \operatorname{csch}{\left (x \right )} \operatorname{sech}{\left (x \right )}}{\sqrt{a \operatorname{sech}^{4}{\left (x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2} \operatorname{csch}\left (x\right ) \operatorname{sech}\left (x\right )}{\sqrt{a \operatorname{sech}\left (x\right )^{4}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]