Optimal. Leaf size=150 \[ -\frac {3 x^2 \text {Li}_2\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {Li}_2\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 x \text {Li}_3\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 x \text {Li}_3\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 \text {Li}_4\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 \text {Li}_4\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.83, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 6, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6720, 4182, 2531, 6609, 2282, 6589} \[ -\frac {3 x^2 \text {sech}(x) \text {PolyLog}\left (2,-e^x\right )}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {sech}(x) \text {PolyLog}\left (2,e^x\right )}{\sqrt {a \text {sech}^2(x)}}+\frac {6 x \text {sech}(x) \text {PolyLog}\left (3,-e^x\right )}{\sqrt {a \text {sech}^2(x)}}-\frac {6 x \text {sech}(x) \text {PolyLog}\left (3,e^x\right )}{\sqrt {a \text {sech}^2(x)}}-\frac {6 \text {sech}(x) \text {PolyLog}\left (4,-e^x\right )}{\sqrt {a \text {sech}^2(x)}}+\frac {6 \text {sech}(x) \text {PolyLog}\left (4,e^x\right )}{\sqrt {a \text {sech}^2(x)}}-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2531
Rule 4182
Rule 6589
Rule 6609
Rule 6720
Rubi steps
\begin {align*} \int \frac {x^3 \text {csch}(x) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}} \, dx &=\frac {\text {sech}(x) \int x^3 \text {csch}(x) \, dx}{\sqrt {a \text {sech}^2(x)}}\\ &=-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {(3 \text {sech}(x)) \int x^2 \log \left (1-e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}+\frac {(3 \text {sech}(x)) \int x^2 \log \left (1+e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}\\ &=-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {3 x^2 \text {Li}_2\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {Li}_2\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {(6 \text {sech}(x)) \int x \text {Li}_2\left (-e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}-\frac {(6 \text {sech}(x)) \int x \text {Li}_2\left (e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}\\ &=-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {3 x^2 \text {Li}_2\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {Li}_2\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 x \text {Li}_3\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 x \text {Li}_3\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {(6 \text {sech}(x)) \int \text {Li}_3\left (-e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}+\frac {(6 \text {sech}(x)) \int \text {Li}_3\left (e^x\right ) \, dx}{\sqrt {a \text {sech}^2(x)}}\\ &=-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {3 x^2 \text {Li}_2\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {Li}_2\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 x \text {Li}_3\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 x \text {Li}_3\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {(6 \text {sech}(x)) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-x)}{x} \, dx,x,e^x\right )}{\sqrt {a \text {sech}^2(x)}}+\frac {(6 \text {sech}(x)) \operatorname {Subst}\left (\int \frac {\text {Li}_3(x)}{x} \, dx,x,e^x\right )}{\sqrt {a \text {sech}^2(x)}}\\ &=-\frac {2 x^3 \tanh ^{-1}\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {3 x^2 \text {Li}_2\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {3 x^2 \text {Li}_2\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 x \text {Li}_3\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 x \text {Li}_3\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}-\frac {6 \text {Li}_4\left (-e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}+\frac {6 \text {Li}_4\left (e^x\right ) \text {sech}(x)}{\sqrt {a \text {sech}^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 113, normalized size = 0.75 \[ \frac {\text {sech}(x) \left (24 x^2 \text {Li}_2\left (-e^{-x}\right )+24 x^2 \text {Li}_2\left (e^x\right )+48 x \text {Li}_3\left (-e^{-x}\right )-48 x \text {Li}_3\left (e^x\right )+48 \text {Li}_4\left (-e^{-x}\right )+48 \text {Li}_4\left (e^x\right )-2 x^4-8 x^3 \log \left (e^{-x}+1\right )+8 x^3 \log \left (1-e^x\right )+\pi ^4\right )}{8 \sqrt {a \text {sech}^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.43, size = 272, normalized size = 1.81 \[ \frac {{\left (6 \, \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} {\left (e^{\left (2 \, x\right )} + 1\right )} e^{x} {\rm polylog}\left (4, \cosh \relax (x) + \sinh \relax (x)\right ) - 6 \, \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} {\left (e^{\left (2 \, x\right )} + 1\right )} e^{x} {\rm polylog}\left (4, -\cosh \relax (x) - \sinh \relax (x)\right ) - 6 \, {\left (x e^{\left (2 \, x\right )} + x\right )} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x} {\rm polylog}\left (3, \cosh \relax (x) + \sinh \relax (x)\right ) + 6 \, {\left (x e^{\left (2 \, x\right )} + x\right )} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x} {\rm polylog}\left (3, -\cosh \relax (x) - \sinh \relax (x)\right ) + {\left (3 \, {\left (x^{2} e^{\left (2 \, x\right )} + x^{2}\right )} {\rm Li}_2\left (\cosh \relax (x) + \sinh \relax (x)\right ) - 3 \, {\left (x^{2} e^{\left (2 \, x\right )} + x^{2}\right )} {\rm Li}_2\left (-\cosh \relax (x) - \sinh \relax (x)\right ) - {\left (x^{3} e^{\left (2 \, x\right )} + x^{3}\right )} \log \left (\cosh \relax (x) + \sinh \relax (x) + 1\right ) + {\left (x^{3} e^{\left (2 \, x\right )} + x^{3}\right )} \log \left (-\cosh \relax (x) - \sinh \relax (x) + 1\right )\right )} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x}\right )} e^{\left (-x\right )}}{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^{3} \operatorname {csch}\relax (x) \operatorname {sech}\relax (x)}{\sqrt {a \operatorname {sech}\relax (x)^{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.35, size = 281, normalized size = 1.87 \[ -\frac {{\mathrm e}^{x} x^{3} \ln \left ({\mathrm e}^{x}+1\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}-\frac {3 \,{\mathrm e}^{x} x^{2} \polylog \left (2, -{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}+\frac {6 \,{\mathrm e}^{x} x \polylog \left (3, -{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}-\frac {6 \,{\mathrm e}^{x} \polylog \left (4, -{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}+\frac {{\mathrm e}^{x} x^{3} \ln \left (1-{\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}+\frac {3 \,{\mathrm e}^{x} x^{2} \polylog \left (2, {\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}-\frac {6 \,{\mathrm e}^{x} x \polylog \left (3, {\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )}+\frac {6 \,{\mathrm e}^{x} \polylog \left (4, {\mathrm e}^{x}\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left (1+{\mathrm e}^{2 x}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 80, normalized size = 0.53 \[ -\frac {x^{3} \log \left (e^{x} + 1\right ) + 3 \, x^{2} {\rm Li}_2\left (-e^{x}\right ) - 6 \, x {\rm Li}_{3}(-e^{x}) + 6 \, {\rm Li}_{4}(-e^{x})}{\sqrt {a}} + \frac {x^{3} \log \left (-e^{x} + 1\right ) + 3 \, x^{2} {\rm Li}_2\left (e^{x}\right ) - 6 \, x {\rm Li}_{3}(e^{x}) + 6 \, {\rm Li}_{4}(e^{x})}{\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^3}{\mathrm {cosh}\relax (x)\,\mathrm {sinh}\relax (x)\,\sqrt {\frac {a}{{\mathrm {cosh}\relax (x)}^2}}} \,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^{3} \operatorname {csch}{\relax (x )} \operatorname {sech}{\relax (x )}}{\sqrt {a \operatorname {sech}^{2}{\relax (x )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________