Optimal. Leaf size=24 \[ \frac {\tan ^{-1}(\sinh (a+b x))}{b^2}-\frac {x \text {sech}(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {5418, 3770} \[ \frac {\tan ^{-1}(\sinh (a+b x))}{b^2}-\frac {x \text {sech}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3770
Rule 5418
Rubi steps
\begin {align*} \int x \text {sech}(a+b x) \tanh (a+b x) \, dx &=-\frac {x \text {sech}(a+b x)}{b}+\frac {\int \text {sech}(a+b x) \, dx}{b}\\ &=\frac {\tan ^{-1}(\sinh (a+b x))}{b^2}-\frac {x \text {sech}(a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 32, normalized size = 1.33 \[ \frac {2 \tan ^{-1}\left (\tanh \left (\frac {a}{2}+\frac {b x}{2}\right )\right )}{b^2}-\frac {x \text {sech}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.48, size = 116, normalized size = 4.83 \[ -\frac {2 \, {\left (b x \cosh \left (b x + a\right ) + b x \sinh \left (b x + a\right ) - {\left (\cosh \left (b x + a\right )^{2} + 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + \sinh \left (b x + a\right )^{2} + 1\right )} \arctan \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )\right )}}{b^{2} \cosh \left (b x + a\right )^{2} + 2 \, b^{2} \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + b^{2} \sinh \left (b x + a\right )^{2} + b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.16, size = 70, normalized size = 2.92 \[ -\frac {2 \, {\left (\pi + b x e^{\left (b x + a\right )} + \pi e^{\left (2 \, b x + 2 \, a\right )} - \arctan \left (e^{\left (b x + a\right )}\right ) e^{\left (2 \, b x + 2 \, a\right )} - \arctan \left (e^{\left (b x + a\right )}\right )\right )}}{b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.17, size = 59, normalized size = 2.46 \[ -\frac {2 x \,{\mathrm e}^{b x +a}}{b \left (1+{\mathrm e}^{2 b x +2 a}\right )}+\frac {i \ln \left ({\mathrm e}^{b x +a}+i\right )}{b^{2}}-\frac {i \ln \left ({\mathrm e}^{b x +a}-i\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 37, normalized size = 1.54 \[ -\frac {2 \, x e^{\left (b x + a\right )}}{b e^{\left (2 \, b x + 2 \, a\right )} + b} + \frac {2 \, \arctan \left (e^{\left (b x + a\right )}\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 49, normalized size = 2.04 \[ \frac {2\,\mathrm {atan}\left (\frac {{\mathrm {e}}^{b\,x}\,{\mathrm {e}}^a\,\sqrt {b^4}}{b^2}\right )}{\sqrt {b^4}}-\frac {2\,x\,{\mathrm {e}}^{a+b\,x}}{b\,\left ({\mathrm {e}}^{2\,a+2\,b\,x}+1\right )} \]
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 \sinh {\left (a + b x \right )} \operatorname {sech}^{2}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________