Optimal. Leaf size=21 \[ 2 \sqrt{3} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{1-\text{sech}(x)}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0186269, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3774, 203} \[ 2 \sqrt{3} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{1-\text{sech}(x)}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3774
Rule 203
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.526214, 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]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.111, size = 0, normalized size = 0. \begin{align*} \int \sqrt{3-3\,{\rm sech} \left (x\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{-3 \, \operatorname{sech}\left (x\right ) + 3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.47617, size = 833, normalized size = 39.67 \begin{align*} \frac{1}{2} \, \sqrt{3} \log \left (\frac{\cosh \left (x\right )^{4} +{\left (4 \, \cosh \left (x\right ) + 3\right )} \sinh \left (x\right )^{3} + \sinh \left (x\right )^{4} + 3 \, \cosh \left (x\right )^{3} +{\left (6 \, \cosh \left (x\right )^{2} + 9 \, \cosh \left (x\right ) + 5\right )} \sinh \left (x\right )^{2} + \sqrt{2}{\left (\cosh \left (x\right )^{3} + 3 \,{\left (\cosh \left (x\right ) + 1\right )} \sinh \left (x\right )^{2} + \sinh \left (x\right )^{3} + 3 \, \cosh \left (x\right )^{2} +{\left (3 \, \cosh \left (x\right )^{2} + 6 \, \cosh \left (x\right ) + 4\right )} \sinh \left (x\right ) + 4 \, \cosh \left (x\right ) + 4\right )} \sqrt{\frac{\cosh \left (x\right )}{\cosh \left (x\right ) - \sinh \left (x\right )}} + 5 \, \cosh \left (x\right )^{2} +{\left (4 \, \cosh \left (x\right )^{3} + 9 \, \cosh \left (x\right )^{2} + 10 \, \cosh \left (x\right ) + 4\right )} \sinh \left (x\right ) + 4 \, \cosh \left (x\right ) + 4}{\cosh \left (x\right )^{3} + 3 \, \cosh \left (x\right )^{2} \sinh \left (x\right ) + 3 \, \cosh \left (x\right ) \sinh \left (x\right )^{2} + \sinh \left (x\right )^{3}}\right ) + \frac{1}{2} \, \sqrt{3} \log \left (-\frac{\sqrt{2} \sqrt{\frac{\cosh \left (x\right )}{\cosh \left (x\right ) - \sinh \left (x\right )}}{\left (\cosh \left (x\right ) + \sinh \left (x\right ) - 1\right )} + \cosh \left (x\right )^{2} +{\left (2 \, \cosh \left (x\right ) - 1\right )} \sinh \left (x\right ) + \sinh \left (x\right )^{2} - \cosh \left (x\right ) + 1}{\cosh \left (x\right ) + \sinh \left (x\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \sqrt{3} \int \sqrt{1 - \operatorname{sech}{\left (x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.1214, size = 93, normalized size = 4.43 \begin{align*} \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 )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]