3.33 \(\int (a \text {sech}^2(x))^{3/2} \, dx\)

Optimal. Leaf size=46 \[ \frac {1}{2} a^{3/2} \tan ^{-1}\left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \tanh (x) \sqrt {a \text {sech}^2(x)} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4122, 195, 217, 203} \[ \frac {1}{2} a^{3/2} \tan ^{-1}\left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \tanh (x) \sqrt {a \text {sech}^2(x)} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 195

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^p)/(n*p + 1), x] + Dist[(a*n*p)/(n*p + 1),
 Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 4122

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 \left (a \text {sech}^2(x)\right )^{3/2} \, dx &=a \operatorname {Subst}\left (\int \sqrt {a-a x^2} \, dx,x,\tanh (x)\right )\\ &=\frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x)+\frac {1}{2} a^2 \operatorname {Subst}\left (\int \frac {1}{\sqrt {a-a x^2}} \, dx,x,\tanh (x)\right )\\ &=\frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x)+\frac {1}{2} a^2 \operatorname {Subst}\left (\int \frac {1}{1+a x^2} \, dx,x,\frac {\tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )\\ &=\frac {1}{2} a^{3/2} \tan ^{-1}\left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 29, normalized size = 0.63 \[ \frac {1}{2} a \sqrt {a \text {sech}^2(x)} \left (\tanh (x)+2 \cosh (x) \tan ^{-1}\left (\tanh \left (\frac {x}{2}\right )\right )\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

(a*Sqrt[a*Sech[x]^2]*(2*ArcTan[Tanh[x/2]]*Cosh[x] + Tanh[x]))/2

________________________________________________________________________________________

fricas [B]  time = 0.46, size = 310, normalized size = 6.74 \[ \frac {{\left (a \cosh \relax (x)^{3} + {\left (a e^{\left (2 \, x\right )} + a\right )} \sinh \relax (x)^{3} + 3 \, {\left (a \cosh \relax (x) e^{\left (2 \, x\right )} + a \cosh \relax (x)\right )} \sinh \relax (x)^{2} + {\left (a \cosh \relax (x)^{4} + {\left (a e^{\left (2 \, x\right )} + a\right )} \sinh \relax (x)^{4} + 4 \, {\left (a \cosh \relax (x) e^{\left (2 \, x\right )} + a \cosh \relax (x)\right )} \sinh \relax (x)^{3} + 2 \, a \cosh \relax (x)^{2} + 2 \, {\left (3 \, a \cosh \relax (x)^{2} + {\left (3 \, a \cosh \relax (x)^{2} + a\right )} e^{\left (2 \, x\right )} + a\right )} \sinh \relax (x)^{2} + {\left (a \cosh \relax (x)^{4} + 2 \, a \cosh \relax (x)^{2} + a\right )} e^{\left (2 \, x\right )} + 4 \, {\left (a \cosh \relax (x)^{3} + a \cosh \relax (x) + {\left (a \cosh \relax (x)^{3} + a \cosh \relax (x)\right )} e^{\left (2 \, x\right )}\right )} \sinh \relax (x) + a\right )} \arctan \left (\cosh \relax (x) + \sinh \relax (x)\right ) - a \cosh \relax (x) + {\left (a \cosh \relax (x)^{3} - a \cosh \relax (x)\right )} e^{\left (2 \, x\right )} + {\left (3 \, a \cosh \relax (x)^{2} + {\left (3 \, a \cosh \relax (x)^{2} - a\right )} e^{\left (2 \, x\right )} - a\right )} \sinh \relax (x)\right )} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x}}{4 \, \cosh \relax (x) e^{x} \sinh \relax (x)^{3} + e^{x} \sinh \relax (x)^{4} + 2 \, {\left (3 \, \cosh \relax (x)^{2} + 1\right )} e^{x} \sinh \relax (x)^{2} + 4 \, {\left (\cosh \relax (x)^{3} + \cosh \relax (x)\right )} e^{x} \sinh \relax (x) + {\left (\cosh \relax (x)^{4} + 2 \, \cosh \relax (x)^{2} + 1\right )} e^{x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(a*cosh(x)^3 + (a*e^(2*x) + a)*sinh(x)^3 + 3*(a*cosh(x)*e^(2*x) + a*cosh(x))*sinh(x)^2 + (a*cosh(x)^4 + (a*e^(
2*x) + a)*sinh(x)^4 + 4*(a*cosh(x)*e^(2*x) + a*cosh(x))*sinh(x)^3 + 2*a*cosh(x)^2 + 2*(3*a*cosh(x)^2 + (3*a*co
sh(x)^2 + a)*e^(2*x) + a)*sinh(x)^2 + (a*cosh(x)^4 + 2*a*cosh(x)^2 + a)*e^(2*x) + 4*(a*cosh(x)^3 + a*cosh(x) +
 (a*cosh(x)^3 + a*cosh(x))*e^(2*x))*sinh(x) + a)*arctan(cosh(x) + sinh(x)) - a*cosh(x) + (a*cosh(x)^3 - a*cosh
(x))*e^(2*x) + (3*a*cosh(x)^2 + (3*a*cosh(x)^2 - a)*e^(2*x) - a)*sinh(x))*sqrt(a/(e^(4*x) + 2*e^(2*x) + 1))*e^
x/(4*cosh(x)*e^x*sinh(x)^3 + e^x*sinh(x)^4 + 2*(3*cosh(x)^2 + 1)*e^x*sinh(x)^2 + 4*(cosh(x)^3 + cosh(x))*e^x*s
inh(x) + (cosh(x)^4 + 2*cosh(x)^2 + 1)*e^x)

________________________________________________________________________________________

giac [A]  time = 0.13, size = 48, normalized size = 1.04 \[ \frac {1}{4} \, {\left (\pi - \frac {4 \, {\left (e^{\left (-x\right )} - e^{x}\right )}}{{\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4} + 2 \, \arctan \left (\frac {1}{2} \, {\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\right )} a^{\frac {3}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*(pi - 4*(e^(-x) - e^x)/((e^(-x) - e^x)^2 + 4) + 2*arctan(1/2*(e^(2*x) - 1)*e^(-x)))*a^(3/2)

________________________________________________________________________________________

maple [C]  time = 0.21, size = 106, normalized size = 2.30 \[ \frac {a \sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left ({\mathrm e}^{2 x}-1\right )}{1+{\mathrm e}^{2 x}}+\frac {i a \,{\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \ln \left ({\mathrm e}^{x}+i\right )}{2}-\frac {i a \,{\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \ln \left ({\mathrm e}^{x}-i\right )}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sech(x)^2)^(3/2),x)

[Out]

a/(1+exp(2*x))*(a*exp(2*x)/(1+exp(2*x))^2)^(1/2)*(exp(2*x)-1)+1/2*I*a*exp(-x)*(1+exp(2*x))*(a*exp(2*x)/(1+exp(
2*x))^2)^(1/2)*ln(exp(x)+I)-1/2*I*a*exp(-x)*(1+exp(2*x))*(a*exp(2*x)/(1+exp(2*x))^2)^(1/2)*ln(exp(x)-I)

________________________________________________________________________________________

maxima [A]  time = 1.45, size = 39, normalized size = 0.85 \[ a^{\frac {3}{2}} \arctan \left (e^{x}\right ) + \frac {a^{\frac {3}{2}} e^{\left (3 \, x\right )} - a^{\frac {3}{2}} e^{x}}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a^(3/2)*arctan(e^x) + (a^(3/2)*e^(3*x) - a^(3/2)*e^x)/(e^(4*x) + 2*e^(2*x) + 1)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (\frac {a}{{\mathrm {cosh}\relax (x)}^2}\right )}^{3/2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a/cosh(x)^2)^(3/2),x)

[Out]

int((a/cosh(x)^2)^(3/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \operatorname {sech}^{2}{\relax (x )}\right )^{\frac {3}{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sech(x)**2)**(3/2),x)

[Out]

Integral((a*sech(x)**2)**(3/2), x)

________________________________________________________________________________________