3.1.29 \(\int \frac {1}{\text {sech}^2(a+b x)^{3/2}} \, dx\) [29]

Optimal. Leaf size=51 \[ \frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}} \]

[Out]

1/3*tanh(b*x+a)/b/(sech(b*x+a)^2)^(3/2)+2/3*tanh(b*x+a)/b/(sech(b*x+a)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4207, 198, 197} \begin {gather*} \frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}}+\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sech[a + b*x]^2)^(-3/2),x]

[Out]

Tanh[a + b*x]/(3*b*(Sech[a + b*x]^2)^(3/2)) + (2*Tanh[a + b*x])/(3*b*Sqrt[Sech[a + b*x]^2])

Rule 197

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x*((a + b*x^n)^(p + 1)/a), x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]

Rule 198

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(-x)*((a + b*x^n)^(p + 1)/(a*n*(p + 1))), x] + Dist[(n*(p
 + 1) + 1)/(a*n*(p + 1)), Int[(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b, n, p}, x] && ILtQ[Simplify[1/n + p +
 1], 0] && NeQ[p, -1]

Rule 4207

Int[((b_.)*sec[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Dist[b*(ff/
f), Subst[Int[(b + b*ff^2*x^2)^(p - 1), x], x, Tan[e + f*x]/ff], x]] /; FreeQ[{b, e, f, p}, x] &&  !IntegerQ[p
]

Rubi steps

\begin {align*} \int \frac {1}{\text {sech}^2(a+b x)^{3/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right )^{5/2}} \, dx,x,\tanh (a+b x)\right )}{b}\\ &=\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \text {Subst}\left (\int \frac {1}{\left (1-x^2\right )^{3/2}} \, dx,x,\tanh (a+b x)\right )}{3 b}\\ &=\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.05, size = 44, normalized size = 0.86 \begin {gather*} \frac {3 \text {sech}^2(a+b x) \tanh (a+b x)+\tanh ^3(a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sech[a + b*x]^2)^(-3/2),x]

[Out]

(3*Sech[a + b*x]^2*Tanh[a + b*x] + Tanh[a + b*x]^3)/(3*b*(Sech[a + b*x]^2)^(3/2))

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(200\) vs. \(2(43)=86\).
time = 2.54, size = 201, normalized size = 3.94

method result size
risch \(\frac {{\mathrm e}^{4 b x +4 a}}{24 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}+\frac {3 \,{\mathrm e}^{2 b x +2 a}}{8 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {3}{8 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {{\mathrm e}^{-2 b x -2 a}}{24 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}\) \(201\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(sech(b*x+a)^2)^(3/2),x,method=_RETURNVERBOSE)

[Out]

1/24/b/(exp(2*b*x+2*a)+1)/(1/(exp(2*b*x+2*a)+1)^2*exp(2*b*x+2*a))^(1/2)*exp(4*b*x+4*a)+3/8/b/(exp(2*b*x+2*a)+1
)/(1/(exp(2*b*x+2*a)+1)^2*exp(2*b*x+2*a))^(1/2)*exp(2*b*x+2*a)-3/8/b/(exp(2*b*x+2*a)+1)/(1/(exp(2*b*x+2*a)+1)^
2*exp(2*b*x+2*a))^(1/2)-1/24/b/(exp(2*b*x+2*a)+1)/(1/(exp(2*b*x+2*a)+1)^2*exp(2*b*x+2*a))^(1/2)*exp(-2*b*x-2*a
)

________________________________________________________________________________________

Maxima [A]
time = 0.32, size = 54, normalized size = 1.06 \begin {gather*} \frac {e^{\left (3 \, b x + 3 \, a\right )}}{24 \, b} + \frac {3 \, e^{\left (b x + a\right )}}{8 \, b} - \frac {3 \, e^{\left (-b x - a\right )}}{8 \, b} - \frac {e^{\left (-3 \, b x - 3 \, a\right )}}{24 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/24*e^(3*b*x + 3*a)/b + 3/8*e^(b*x + a)/b - 3/8*e^(-b*x - a)/b - 1/24*e^(-3*b*x - 3*a)/b

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 32, normalized size = 0.63 \begin {gather*} \frac {\sinh \left (b x + a\right )^{3} + 3 \, {\left (\cosh \left (b x + a\right )^{2} + 3\right )} \sinh \left (b x + a\right )}{12 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/12*(sinh(b*x + a)^3 + 3*(cosh(b*x + a)^2 + 3)*sinh(b*x + a))/b

________________________________________________________________________________________

Sympy [A]
time = 12.29, size = 54, normalized size = 1.06 \begin {gather*} \begin {cases} - \frac {2 \tanh ^{3}{\left (a + b x \right )}}{3 b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {3}{2}}} + \frac {\tanh {\left (a + b x \right )}}{b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {3}{2}}} & \text {for}\: b \neq 0 \\\frac {x}{\left (\operatorname {sech}^{2}{\left (a \right )}\right )^{\frac {3}{2}}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(sech(b*x+a)**2)**(3/2),x)

[Out]

Piecewise((-2*tanh(a + b*x)**3/(3*b*(sech(a + b*x)**2)**(3/2)) + tanh(a + b*x)/(b*(sech(a + b*x)**2)**(3/2)),
Ne(b, 0)), (x/(sech(a)**2)**(3/2), True))

________________________________________________________________________________________

Giac [A]
time = 0.37, size = 48, normalized size = 0.94 \begin {gather*} -\frac {{\left (9 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )} - e^{\left (3 \, b x + 3 \, a\right )} - 9 \, e^{\left (b x + a\right )}}{24 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/24*((9*e^(2*b*x + 2*a) + 1)*e^(-3*b*x - 3*a) - e^(3*b*x + 3*a) - 9*e^(b*x + a))/b

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{{\left (\frac {1}{{\mathrm {cosh}\left (a+b\,x\right )}^2}\right )}^{3/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________