Optimal. Leaf size=42 \[ -\frac {\coth (x)}{2 a \sqrt {a \sinh ^2(x)}}+\frac {\tanh ^{-1}(\cosh (x)) \sinh (x)}{2 a \sqrt {a \sinh ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 42, 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 = {3283, 3286,
3855} \begin {gather*} \frac {\sinh (x) \tanh ^{-1}(\cosh (x))}{2 a \sqrt {a \sinh ^2(x)}}-\frac {\coth (x)}{2 a \sqrt {a \sinh ^2(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3283
Rule 3286
Rule 3855
Rubi steps
\begin {align*} \int \frac {1}{\left (a \sinh ^2(x)\right )^{3/2}} \, dx &=-\frac {\coth (x)}{2 a \sqrt {a \sinh ^2(x)}}-\frac {\int \frac {1}{\sqrt {a \sinh ^2(x)}} \, dx}{2 a}\\ &=-\frac {\coth (x)}{2 a \sqrt {a \sinh ^2(x)}}-\frac {\sinh (x) \int \text {csch}(x) \, dx}{2 a \sqrt {a \sinh ^2(x)}}\\ &=-\frac {\coth (x)}{2 a \sqrt {a \sinh ^2(x)}}+\frac {\tanh ^{-1}(\cosh (x)) \sinh (x)}{2 a \sqrt {a \sinh ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 44, normalized size = 1.05 \begin {gather*} -\frac {\left (\text {csch}^2\left (\frac {x}{2}\right )+4 \log \left (\tanh \left (\frac {x}{2}\right )\right )+\text {sech}^2\left (\frac {x}{2}\right )\right ) \sinh ^3(x)}{8 \left (a \sinh ^2(x)\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(70\) vs.
\(2(34)=68\).
time = 0.80, size = 71, normalized size = 1.69
method | result | size |
default | \(-\frac {\sqrt {a \left (\cosh ^{2}\left (x \right )\right )}\, \left (-\ln \left (\frac {2 \sqrt {a}\, \sqrt {a \left (\cosh ^{2}\left (x \right )\right )}+2 a}{\sinh \left (x \right )}\right ) a \left (\sinh ^{2}\left (x \right )\right )+\sqrt {a}\, \sqrt {a \left (\cosh ^{2}\left (x \right )\right )}\right )}{2 a^{\frac {5}{2}} \sinh \left (x \right ) \cosh \left (x \right ) \sqrt {a \left (\sinh ^{2}\left (x \right )\right )}}\) | \(71\) |
risch | \(-\frac {1+{\mathrm e}^{2 x}}{a \left ({\mathrm e}^{2 x}-1\right ) \sqrt {a \left ({\mathrm e}^{2 x}-1\right )^{2} {\mathrm e}^{-2 x}}}+\frac {\left ({\mathrm e}^{2 x}-1\right ) {\mathrm e}^{-x} \ln \left ({\mathrm e}^{x}+1\right )}{2 a \sqrt {a \left ({\mathrm e}^{2 x}-1\right )^{2} {\mathrm e}^{-2 x}}}-\frac {\left ({\mathrm e}^{2 x}-1\right ) {\mathrm e}^{-x} \ln \left ({\mathrm e}^{x}-1\right )}{2 a \sqrt {a \left ({\mathrm e}^{2 x}-1\right )^{2} {\mathrm e}^{-2 x}}}\) | \(109\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 62, normalized size = 1.48 \begin {gather*} -\frac {e^{\left (-x\right )} + e^{\left (-3 \, x\right )}}{2 \, a^{\frac {3}{2}} e^{\left (-2 \, x\right )} - a^{\frac {3}{2}} e^{\left (-4 \, x\right )} - a^{\frac {3}{2}}} - \frac {\log \left (e^{\left (-x\right )} + 1\right )}{2 \, a^{\frac {3}{2}}} + \frac {\log \left (e^{\left (-x\right )} - 1\right )}{2 \, a^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 327 vs.
\(2 (34) = 68\).
time = 0.40, size = 327, normalized size = 7.79 \begin {gather*} \frac {{\left (6 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right )^{2} + 2 \, e^{x} \sinh \left (x\right )^{3} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} + 1\right )} e^{x} \sinh \left (x\right ) + 2 \, {\left (\cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} e^{x} - {\left (4 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right )^{3} + e^{x} \sinh \left (x\right )^{4} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} - 1\right )} e^{x} \sinh \left (x\right )^{2} + 4 \, {\left (\cosh \left (x\right )^{3} - \cosh \left (x\right )\right )} e^{x} \sinh \left (x\right ) + {\left (\cosh \left (x\right )^{4} - 2 \, \cosh \left (x\right )^{2} + 1\right )} e^{x}\right )} \log \left (\frac {\cosh \left (x\right ) + \sinh \left (x\right ) + 1}{\cosh \left (x\right ) + \sinh \left (x\right ) - 1}\right )\right )} \sqrt {a e^{\left (4 \, x\right )} - 2 \, a e^{\left (2 \, x\right )} + a} e^{\left (-x\right )}}{2 \, {\left (a^{2} \cosh \left (x\right )^{4} - {\left (a^{2} e^{\left (2 \, x\right )} - a^{2}\right )} \sinh \left (x\right )^{4} - 2 \, a^{2} \cosh \left (x\right )^{2} - 4 \, {\left (a^{2} \cosh \left (x\right ) e^{\left (2 \, x\right )} - a^{2} \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 2 \, {\left (3 \, a^{2} \cosh \left (x\right )^{2} - a^{2} - {\left (3 \, a^{2} \cosh \left (x\right )^{2} - a^{2}\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right )^{2} + a^{2} - {\left (a^{2} \cosh \left (x\right )^{4} - 2 \, a^{2} \cosh \left (x\right )^{2} + a^{2}\right )} e^{\left (2 \, x\right )} + 4 \, {\left (a^{2} \cosh \left (x\right )^{3} - a^{2} \cosh \left (x\right ) - {\left (a^{2} \cosh \left (x\right )^{3} - a^{2} \cosh \left (x\right )\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a \sinh ^{2}{\left (x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 37, normalized size = 0.88 \begin {gather*} -\frac {e^{\left (-x\right )} + e^{x}}{{\left ({\left (e^{\left (-x\right )} + e^{x}\right )}^{2} - 4\right )} a^{\frac {3}{2}} \mathrm {sgn}\left (e^{\left (3 \, x\right )} - e^{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{{\left (a\,{\mathrm {sinh}\left (x\right )}^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________