3.86 \(\int \sqrt {3-3 \text {sech}(x)} \, dx\)

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

[Out]

2*arctanh(tanh(x)/(1-sech(x))^(1/2))*3^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3774, 203} \[ 2 \sqrt {3} \tanh ^{-1}\left (\frac {\tanh (x)}{\sqrt {1-\text {sech}(x)}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[3 - 3*Sech[x]],x]

[Out]

2*Sqrt[3]*ArcTanh[Tanh[x]/Sqrt[1 - Sech[x]]]

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 3774

Int[Sqrt[csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[(-2*b)/d, Subst[Int[1/(a + x^2), x], x, (b*C
ot[c + d*x])/Sqrt[a + b*Csc[c + d*x]]], x] /; FreeQ[{a, b, c, d}, x] && EqQ[a^2 - b^2, 0]

Rubi steps

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

________________________________________________________________________________________

Mathematica [B]  time = 0.57, size = 51, normalized size = 2.43 \[ \frac {\sqrt {3} \sqrt {e^{2 x}+1} \sqrt {1-\text {sech}(x)} \left (\sinh ^{-1}\left (e^x\right )+\tanh ^{-1}\left (\sqrt {e^{2 x}+1}\right )\right )}{e^x-1} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[3 - 3*Sech[x]],x]

[Out]

(Sqrt[3]*Sqrt[1 + E^(2*x)]*(ArcSinh[E^x] + ArcTanh[Sqrt[1 + E^(2*x)]])*Sqrt[1 - Sech[x]])/(-1 + E^x)

________________________________________________________________________________________

fricas [B]  time = 0.39, size = 235, normalized size = 11.19 \[ \frac {1}{2} \, \sqrt {3} \log \left (\frac {\cosh \relax (x)^{4} + {\left (4 \, \cosh \relax (x) + 3\right )} \sinh \relax (x)^{3} + \sinh \relax (x)^{4} + 3 \, \cosh \relax (x)^{3} + {\left (6 \, \cosh \relax (x)^{2} + 9 \, \cosh \relax (x) + 5\right )} \sinh \relax (x)^{2} + \sqrt {2} {\left (\cosh \relax (x)^{3} + 3 \, {\left (\cosh \relax (x) + 1\right )} \sinh \relax (x)^{2} + \sinh \relax (x)^{3} + 3 \, \cosh \relax (x)^{2} + {\left (3 \, \cosh \relax (x)^{2} + 6 \, \cosh \relax (x) + 4\right )} \sinh \relax (x) + 4 \, \cosh \relax (x) + 4\right )} \sqrt {\frac {\cosh \relax (x)}{\cosh \relax (x) - \sinh \relax (x)}} + 5 \, \cosh \relax (x)^{2} + {\left (4 \, \cosh \relax (x)^{3} + 9 \, \cosh \relax (x)^{2} + 10 \, \cosh \relax (x) + 4\right )} \sinh \relax (x) + 4 \, \cosh \relax (x) + 4}{\cosh \relax (x)^{3} + 3 \, \cosh \relax (x)^{2} \sinh \relax (x) + 3 \, \cosh \relax (x) \sinh \relax (x)^{2} + \sinh \relax (x)^{3}}\right ) + \frac {1}{2} \, \sqrt {3} \log \left (-\frac {\sqrt {2} \sqrt {\frac {\cosh \relax (x)}{\cosh \relax (x) - \sinh \relax (x)}} {\left (\cosh \relax (x) + \sinh \relax (x) - 1\right )} + \cosh \relax (x)^{2} + {\left (2 \, \cosh \relax (x) - 1\right )} \sinh \relax (x) + \sinh \relax (x)^{2} - \cosh \relax (x) + 1}{\cosh \relax (x) + \sinh \relax (x)}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*sqrt(3)*log((cosh(x)^4 + (4*cosh(x) + 3)*sinh(x)^3 + sinh(x)^4 + 3*cosh(x)^3 + (6*cosh(x)^2 + 9*cosh(x) +
5)*sinh(x)^2 + sqrt(2)*(cosh(x)^3 + 3*(cosh(x) + 1)*sinh(x)^2 + sinh(x)^3 + 3*cosh(x)^2 + (3*cosh(x)^2 + 6*cos
h(x) + 4)*sinh(x) + 4*cosh(x) + 4)*sqrt(cosh(x)/(cosh(x) - sinh(x))) + 5*cosh(x)^2 + (4*cosh(x)^3 + 9*cosh(x)^
2 + 10*cosh(x) + 4)*sinh(x) + 4*cosh(x) + 4)/(cosh(x)^3 + 3*cosh(x)^2*sinh(x) + 3*cosh(x)*sinh(x)^2 + sinh(x)^
3)) + 1/2*sqrt(3)*log(-(sqrt(2)*sqrt(cosh(x)/(cosh(x) - sinh(x)))*(cosh(x) + sinh(x) - 1) + cosh(x)^2 + (2*cos
h(x) - 1)*sinh(x) + sinh(x)^2 - cosh(x) + 1)/(cosh(x) + sinh(x)))

________________________________________________________________________________________

giac [B]  time = 0.13, size = 69, normalized size = 3.29 \[ \sqrt {3} {\left (\log \left (\sqrt {e^{\left (2 \, x\right )} + 1} - e^{x} + 1\right ) \mathrm {sgn}\left (e^{x} - 1\right ) - \log \left (\sqrt {e^{\left (2 \, x\right )} + 1} - e^{x}\right ) \mathrm {sgn}\left (e^{x} - 1\right ) - \log \left (-\sqrt {e^{\left (2 \, x\right )} + 1} + e^{x} + 1\right ) \mathrm {sgn}\left (e^{x} - 1\right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(3)*(log(sqrt(e^(2*x) + 1) - e^x + 1)*sgn(e^x - 1) - log(sqrt(e^(2*x) + 1) - e^x)*sgn(e^x - 1) - log(-sqrt
(e^(2*x) + 1) + e^x + 1)*sgn(e^x - 1))

________________________________________________________________________________________

maple [F]  time = 0.32, size = 0, normalized size = 0.00 \[ \int \sqrt {3-3 \,\mathrm {sech}\relax (x )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3-3*sech(x))^(1/2),x)

[Out]

int((3-3*sech(x))^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {-3 \, \operatorname {sech}\relax (x) + 3}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(sqrt(-3*sech(x) + 3), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.05 \[ \int \sqrt {3-\frac {3}{\mathrm {cosh}\relax (x)}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3 - 3/cosh(x))^(1/2),x)

[Out]

int((3 - 3/cosh(x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \sqrt {3} \int \sqrt {1 - \operatorname {sech}{\relax (x )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3-3*sech(x))**(1/2),x)

[Out]

sqrt(3)*Integral(sqrt(1 - sech(x)), x)

________________________________________________________________________________________