Optimal. Leaf size=82 \[ -\frac {1}{5} \sqrt {\frac {1}{2} \left (5+\sqrt {5}\right )} \text {ArcTan}\left (2 \sqrt {\frac {2}{5+\sqrt {5}}} \sinh (x)\right )-\frac {1}{5} \sqrt {\frac {1}{2} \left (5-\sqrt {5}\right )} \text {ArcTan}\left (\sqrt {\frac {2}{5} \left (5+\sqrt {5}\right )} \sinh (x)\right )+\sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {1690, 1180, 209}
\begin {gather*} -\frac {1}{5} \sqrt {\frac {1}{2} \left (5+\sqrt {5}\right )} \text {ArcTan}\left (2 \sqrt {\frac {2}{5+\sqrt {5}}} \sinh (x)\right )-\frac {1}{5} \sqrt {\frac {1}{2} \left (5-\sqrt {5}\right )} \text {ArcTan}\left (\sqrt {\frac {2}{5} \left (5+\sqrt {5}\right )} \sinh (x)\right )+\sinh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 1180
Rule 1690
Rubi steps
\begin {align*} \int \coth (5 x) \sinh (x) \, dx &=\text {Subst}\left (\int \frac {1+12 x^2+16 x^4}{5+20 x^2+16 x^4} \, dx,x,\sinh (x)\right )\\ &=\text {Subst}\left (\int \left (1-\frac {4 \left (1+2 x^2\right )}{5+20 x^2+16 x^4}\right ) \, dx,x,\sinh (x)\right )\\ &=\sinh (x)-4 \text {Subst}\left (\int \frac {1+2 x^2}{5+20 x^2+16 x^4} \, dx,x,\sinh (x)\right )\\ &=\sinh (x)-\frac {1}{5} \left (4 \left (5-\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {1}{10-2 \sqrt {5}+16 x^2} \, dx,x,\sinh (x)\right )-\frac {1}{5} \left (4 \left (5+\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {1}{10+2 \sqrt {5}+16 x^2} \, dx,x,\sinh (x)\right )\\ &=-\frac {1}{5} \sqrt {\frac {1}{2} \left (5+\sqrt {5}\right )} \tan ^{-1}\left (2 \sqrt {\frac {2}{5+\sqrt {5}}} \sinh (x)\right )-\frac {1}{5} \sqrt {\frac {1}{2} \left (5-\sqrt {5}\right )} \tan ^{-1}\left (\sqrt {\frac {2}{5} \left (5+\sqrt {5}\right )} \sinh (x)\right )+\sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 76, normalized size = 0.93 \begin {gather*} \frac {1}{10} \left (-\sqrt {10-2 \sqrt {5}} \text {ArcTan}\left (\sqrt {2+\frac {2}{\sqrt {5}}} \sinh (x)\right )-\sqrt {2 \left (5+\sqrt {5}\right )} \text {ArcTan}\left (2 \sqrt {\frac {2}{5+\sqrt {5}}} \sinh (x)\right )+10 \sinh (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(163\) vs.
\(2(54)=108\).
time = 2.07, size = 164, normalized size = 2.00
method | result | size |
risch | \(\frac {{\mathrm e}^{x}}{2}-\frac {{\mathrm e}^{-x}}{2}+\left (\munderset {\textit {\_R} =\RootOf \left (2000 \textit {\_Z}^{4}+100 \textit {\_Z}^{2}+1\right )}{\sum }\textit {\_R} \ln \left (-10 \textit {\_R} \,{\mathrm e}^{x}+{\mathrm e}^{2 x}-1\right )\right )\) | \(42\) |
default | \(-\frac {\left (\sqrt {5}-1\right ) \sqrt {5}\, \arctan \left (\frac {\tanh \left (\frac {x}{2}\right )}{\sqrt {5-2 \sqrt {5}}}\right )}{10 \sqrt {5-2 \sqrt {5}}}-\frac {\sqrt {5}\, \left (\sqrt {5}+1\right ) \arctan \left (\frac {\tanh \left (\frac {x}{2}\right )}{\sqrt {5+2 \sqrt {5}}}\right )}{10 \sqrt {5+2 \sqrt {5}}}-\frac {1}{\tanh \left (\frac {x}{2}\right )+1}-\frac {\left (5+3 \sqrt {5}\right ) \sqrt {5}\, \arctan \left (\frac {5 \tanh \left (\frac {x}{2}\right )}{\sqrt {25+10 \sqrt {5}}}\right )}{10 \sqrt {25+10 \sqrt {5}}}-\frac {\left (3 \sqrt {5}-5\right ) \sqrt {5}\, \arctan \left (\frac {5 \tanh \left (\frac {x}{2}\right )}{\sqrt {25-10 \sqrt {5}}}\right )}{10 \sqrt {25-10 \sqrt {5}}}-\frac {1}{\tanh \left (\frac {x}{2}\right )-1}\) | \(164\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \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. 230 vs.
\(2 (54) = 108\).
time = 0.43, size = 230, normalized size = 2.80 \begin {gather*} -\frac {1}{10} \, {\left (2 \, \sqrt {2} \sqrt {\sqrt {5} + 5} \arctan \left (\frac {1}{40} \, {\left (\sqrt {2 \, {\left (\sqrt {5} + 1\right )} e^{\left (2 \, x\right )} + 4 \, e^{\left (4 \, x\right )} + 4} {\left (\sqrt {5} \sqrt {2} - 5 \, \sqrt {2}\right )} \sqrt {\sqrt {5} + 5} - 2 \, {\left ({\left (\sqrt {5} \sqrt {2} - 5 \, \sqrt {2}\right )} e^{\left (2 \, x\right )} - \sqrt {5} \sqrt {2} + 5 \, \sqrt {2}\right )} \sqrt {\sqrt {5} + 5}\right )} e^{\left (-x\right )}\right ) e^{x} - 2 \, \sqrt {2} \sqrt {-\sqrt {5} + 5} \arctan \left (\frac {1}{40} \, {\left (\sqrt {-2 \, {\left (\sqrt {5} - 1\right )} e^{\left (2 \, x\right )} + 4 \, e^{\left (4 \, x\right )} + 4} {\left (\sqrt {5} \sqrt {2} + 5 \, \sqrt {2}\right )} \sqrt {-\sqrt {5} + 5} - 2 \, {\left ({\left (\sqrt {5} \sqrt {2} + 5 \, \sqrt {2}\right )} e^{\left (2 \, x\right )} - \sqrt {5} \sqrt {2} - 5 \, \sqrt {2}\right )} \sqrt {-\sqrt {5} + 5}\right )} e^{\left (-x\right )}\right ) e^{x} - 5 \, e^{\left (2 \, x\right )} + 5\right )} e^{\left (-x\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 \sinh {\left (x \right )} \coth {\left (5 x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 75, normalized size = 0.91 \begin {gather*} -\frac {1}{10} \, \sqrt {2 \, \sqrt {5} + 10} \arctan \left (-\frac {e^{\left (-x\right )} - e^{x}}{\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {5}{2}}}\right ) - \frac {1}{10} \, \sqrt {-2 \, \sqrt {5} + 10} \arctan \left (-\frac {e^{\left (-x\right )} - e^{x}}{\sqrt {-\frac {1}{2} \, \sqrt {5} + \frac {5}{2}}}\right ) - \frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.33, size = 141, normalized size = 1.72 \begin {gather*} \frac {{\mathrm {e}}^x}{2}-\frac {{\mathrm {e}}^{-x}}{2}+\ln \left (40\,{\mathrm {e}}^x\,\sqrt {-\frac {\sqrt {5}}{200}-\frac {1}{40}}-4\,{\mathrm {e}}^{2\,x}+4\right )\,\sqrt {-\frac {\sqrt {5}}{200}-\frac {1}{40}}+\ln \left (40\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {5}}{200}-\frac {1}{40}}-4\,{\mathrm {e}}^{2\,x}+4\right )\,\sqrt {\frac {\sqrt {5}}{200}-\frac {1}{40}}-\ln \left (4\,{\mathrm {e}}^{2\,x}+40\,{\mathrm {e}}^x\,\sqrt {-\frac {\sqrt {5}}{200}-\frac {1}{40}}-4\right )\,\sqrt {-\frac {\sqrt {5}}{200}-\frac {1}{40}}-\ln \left (4\,{\mathrm {e}}^{2\,x}+40\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {5}}{200}-\frac {1}{40}}-4\right )\,\sqrt {\frac {\sqrt {5}}{200}-\frac {1}{40}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________