Optimal. Leaf size=83 \[ -\frac {3 \text {Li}_2\left (-e^{2 (a+b x)}\right )}{2 b^4}-\frac {3 x \log \left (e^{2 (a+b x)}+1\right )}{b^3}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2}{2 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 83, normalized size of antiderivative = 1.00, 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 = {5418, 4184, 3718, 2190, 2279, 2391} \[ -\frac {3 \text {PolyLog}\left (2,-e^{2 (a+b x)}\right )}{2 b^4}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}-\frac {3 x \log \left (e^{2 (a+b x)}+1\right )}{b^3}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2}{2 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2391
Rule 3718
Rule 4184
Rule 5418
Rubi steps
\begin {align*} \int x^3 \text {sech}^2(a+b x) \tanh (a+b x) \, dx &=-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 \int x^2 \text {sech}^2(a+b x) \, dx}{2 b}\\ &=-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}-\frac {3 \int x \tanh (a+b x) \, dx}{b^2}\\ &=\frac {3 x^2}{2 b^2}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}-\frac {6 \int \frac {e^{2 (a+b x)} x}{1+e^{2 (a+b x)}} \, dx}{b^2}\\ &=\frac {3 x^2}{2 b^2}-\frac {3 x \log \left (1+e^{2 (a+b x)}\right )}{b^3}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}+\frac {3 \int \log \left (1+e^{2 (a+b x)}\right ) \, dx}{b^3}\\ &=\frac {3 x^2}{2 b^2}-\frac {3 x \log \left (1+e^{2 (a+b x)}\right )}{b^3}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}+\frac {3 \operatorname {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 (a+b x)}\right )}{2 b^4}\\ &=\frac {3 x^2}{2 b^2}-\frac {3 x \log \left (1+e^{2 (a+b x)}\right )}{b^3}-\frac {3 \text {Li}_2\left (-e^{2 (a+b x)}\right )}{2 b^4}-\frac {x^3 \text {sech}^2(a+b x)}{2 b}+\frac {3 x^2 \tanh (a+b x)}{2 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.14, size = 227, normalized size = 2.73 \[ \frac {3 x^2 \text {sech}(a) \sinh (b x) \text {sech}(a+b x)}{2 b^2}-\frac {3 \text {csch}(a) \text {sech}(a) \left (b^2 x^2 e^{-\tanh ^{-1}(\coth (a))}-\frac {i \coth (a) \left (i \text {Li}_2\left (e^{2 i \left (i b x+i \tanh ^{-1}(\coth (a))\right )}\right )-b x \left (-\pi +2 i \tanh ^{-1}(\coth (a))\right )-2 \left (i \tanh ^{-1}(\coth (a))+i b x\right ) \log \left (1-e^{2 i \left (i \tanh ^{-1}(\coth (a))+i b x\right )}\right )+2 i \tanh ^{-1}(\coth (a)) \log \left (i \sinh \left (\tanh ^{-1}(\coth (a))+b x\right )\right )-\pi \log \left (e^{2 b x}+1\right )+\pi \log (\cosh (b x))\right )}{\sqrt {1-\coth ^2(a)}}\right )}{2 b^4 \sqrt {\text {csch}^2(a) \left (\sinh ^2(a)-\cosh ^2(a)\right )}}-\frac {x^3 \text {sech}^2(a+b x)}{2 b} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.93, size = 1113, normalized size = 13.41 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{3} \operatorname {sech}\left (b x + a\right )^{3} \sinh \left (b x + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.23, size = 121, normalized size = 1.46 \[ -\frac {x^{2} \left (2 b x \,{\mathrm e}^{2 b x +2 a}+3 \,{\mathrm e}^{2 b x +2 a}+3\right )}{b^{2} \left (1+{\mathrm e}^{2 b x +2 a}\right )^{2}}+\frac {3 x^{2}}{b^{2}}+\frac {6 a x}{b^{3}}+\frac {3 a^{2}}{b^{4}}-\frac {3 x \ln \left (1+{\mathrm e}^{2 b x +2 a}\right )}{b^{3}}-\frac {3 \polylog \left (2, -{\mathrm e}^{2 b x +2 a}\right )}{2 b^{4}}-\frac {6 a \ln \left ({\mathrm e}^{b x +a}\right )}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 110, normalized size = 1.33 \[ -\frac {3 \, x^{2} + {\left (2 \, b x^{3} e^{\left (2 \, a\right )} + 3 \, x^{2} e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x\right )}}{b^{2} e^{\left (4 \, b x + 4 \, a\right )} + 2 \, b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}} + \frac {3 \, x^{2}}{b^{2}} - \frac {3 \, {\left (2 \, b x \log \left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right ) + {\rm Li}_2\left (-e^{\left (2 \, b x + 2 \, a\right )}\right )\right )}}{2 \, b^{4}} \]
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 {sinh}\left (a+b\,x\right )}{{\mathrm {cosh}\left (a+b\,x\right )}^3} \,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 x^{3} \sinh {\left (a + b x \right )} \operatorname {sech}^{3}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________