Optimal. Leaf size=26 \[ -\sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \coth (x)}{\sqrt {a \text {csch}^2(x)}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4122, 217, 206} \[ -\sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \coth (x)}{\sqrt {a \text {csch}^2(x)}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 217
Rule 4122
Rubi steps
\begin {align*} \int \sqrt {a \text {csch}^2(x)} \, dx &=-\left (a \operatorname {Subst}\left (\int \frac {1}{\sqrt {-a+a x^2}} \, dx,x,\coth (x)\right )\right )\\ &=-\left (a \operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {\coth (x)}{\sqrt {a \text {csch}^2(x)}}\right )\right )\\ &=-\sqrt {a} \tanh ^{-1}\left (\frac {\sqrt {a} \coth (x)}{\sqrt {a \text {csch}^2(x)}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 0.77 \[ \sinh (x) \sqrt {a \text {csch}^2(x)} \log \left (\tanh \left (\frac {x}{2}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.13, size = 97, normalized size = 3.73 \[ \left [\sqrt {\frac {a}{e^{\left (4 \, x\right )} - 2 \, e^{\left (2 \, x\right )} + 1}} {\left (e^{\left (2 \, x\right )} - 1\right )} \log \left (\frac {\cosh \relax (x) + \sinh \relax (x) - 1}{\cosh \relax (x) + \sinh \relax (x) + 1}\right ), 2 \, \sqrt {-a} \arctan \left (\frac {\sqrt {-a} \sqrt {\frac {a}{e^{\left (4 \, x\right )} - 2 \, e^{\left (2 \, x\right )} + 1}} {\left (e^{\left (2 \, x\right )} - 1\right )} e^{x}}{a \cosh \relax (x) e^{x} + a e^{x} \sinh \relax (x)}\right )\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 29, normalized size = 1.12 \[ -\sqrt {a} {\left (\log \left (e^{x} + 1\right ) - \log \left ({\left | e^{x} - 1 \right |}\right )\right )} \mathrm {sgn}\left (e^{\left (3 \, x\right )} - e^{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.23, size = 67, normalized size = 2.58 \[ \sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left ({\mathrm e}^{2 x}-1\right )^{2}}}\, {\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right ) \ln \left ({\mathrm e}^{x}-1\right )-\sqrt {\frac {a \,{\mathrm e}^{2 x}}{\left ({\mathrm e}^{2 x}-1\right )^{2}}}\, {\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right ) \ln \left ({\mathrm e}^{x}+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 24, normalized size = 0.92 \[ \sqrt {a} \log \left (e^{\left (-x\right )} + 1\right ) - \sqrt {a} \log \left (e^{\left (-x\right )} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.04 \[ \int \sqrt {\frac {a}{{\mathrm {sinh}\relax (x)}^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {a \operatorname {csch}^{2}{\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________