3.345 \(\int \text {sech}(a+b x) \tanh (a+b x) \, dx\)

Optimal. Leaf size=11 \[ -\frac {\text {sech}(a+b x)}{b} \]

[Out]

-sech(b*x+a)/b

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2606, 8} \[ -\frac {\text {sech}(a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Int[Sech[a + b*x]*Tanh[a + b*x],x]

[Out]

-(Sech[a + b*x]/b)

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 2606

Int[((a_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((b_.)*tan[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Dist[a/f, Subst[
Int[(a*x)^(m - 1)*(-1 + x^2)^((n - 1)/2), x], x, Sec[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n -
1)/2] &&  !(IntegerQ[m/2] && LtQ[0, m, n + 1])

Rubi steps

\begin {align*} \int \text {sech}(a+b x) \tanh (a+b x) \, dx &=-\frac {\operatorname {Subst}(\int 1 \, dx,x,\text {sech}(a+b x))}{b}\\ &=-\frac {\text {sech}(a+b x)}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 11, normalized size = 1.00 \[ -\frac {\text {sech}(a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Sech[a + b*x]*Tanh[a + b*x],x]

[Out]

-(Sech[a + b*x]/b)

________________________________________________________________________________________

fricas [B]  time = 0.38, size = 54, normalized size = 4.91 \[ -\frac {2 \, {\left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )}}{b \cosh \left (b x + a\right )^{2} + 2 \, b \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + b \sinh \left (b x + a\right )^{2} + b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(b*x+a)^2*sinh(b*x+a),x, algorithm="fricas")

[Out]

-2*(cosh(b*x + a) + sinh(b*x + a))/(b*cosh(b*x + a)^2 + 2*b*cosh(b*x + a)*sinh(b*x + a) + b*sinh(b*x + a)^2 +
b)

________________________________________________________________________________________

giac [B]  time = 0.12, size = 23, normalized size = 2.09 \[ -\frac {2}{b {\left (e^{\left (b x + a\right )} + e^{\left (-b x - a\right )}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(b*x+a)^2*sinh(b*x+a),x, algorithm="giac")

[Out]

-2/(b*(e^(b*x + a) + e^(-b*x - a)))

________________________________________________________________________________________

maple [A]  time = 0.02, size = 12, normalized size = 1.09 \[ -\frac {\mathrm {sech}\left (b x +a \right )}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sech(b*x+a)^2*sinh(b*x+a),x)

[Out]

-sech(b*x+a)/b

________________________________________________________________________________________

maxima [B]  time = 0.43, size = 23, normalized size = 2.09 \[ -\frac {2}{b {\left (e^{\left (b x + a\right )} + e^{\left (-b x - a\right )}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(b*x+a)^2*sinh(b*x+a),x, algorithm="maxima")

[Out]

-2/(b*(e^(b*x + a) + e^(-b*x - a)))

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 13, normalized size = 1.18 \[ -\frac {1}{b\,\mathrm {cosh}\left (a+b\,x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(a + b*x)/cosh(a + b*x)^2,x)

[Out]

-1/(b*cosh(a + b*x))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \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]

integrate(sech(b*x+a)**2*sinh(b*x+a),x)

[Out]

Integral(sinh(a + b*x)*sech(a + b*x)**2, x)

________________________________________________________________________________________