Optimal. Leaf size=28 \[ \sinh (x)-\frac {1}{4} \tan ^{-1}(\sinh (x))-\frac {\tan ^{-1}\left (\sqrt {2} \sinh (x)\right )}{2 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 28, 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 = {1676, 1166, 203} \[ \sinh (x)-\frac {1}{4} \tan ^{-1}(\sinh (x))-\frac {\tan ^{-1}\left (\sqrt {2} \sinh (x)\right )}{2 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 1166
Rule 1676
Rubi steps
\begin {align*} \int \coth (4 x) \sinh (x) \, dx &=\operatorname {Subst}\left (\int \frac {1+8 x^2+8 x^4}{4+12 x^2+8 x^4} \, dx,x,\sinh (x)\right )\\ &=\operatorname {Subst}\left (\int \left (1-\frac {3+4 x^2}{4+12 x^2+8 x^4}\right ) \, dx,x,\sinh (x)\right )\\ &=\sinh (x)-\operatorname {Subst}\left (\int \frac {3+4 x^2}{4+12 x^2+8 x^4} \, dx,x,\sinh (x)\right )\\ &=\sinh (x)-2 \operatorname {Subst}\left (\int \frac {1}{4+8 x^2} \, dx,x,\sinh (x)\right )-2 \operatorname {Subst}\left (\int \frac {1}{8+8 x^2} \, dx,x,\sinh (x)\right )\\ &=-\frac {1}{4} \tan ^{-1}(\sinh (x))-\frac {\tan ^{-1}\left (\sqrt {2} \sinh (x)\right )}{2 \sqrt {2}}+\sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 28, normalized size = 1.00 \[ \sinh (x)-\frac {1}{4} \tan ^{-1}(\sinh (x))-\frac {\tan ^{-1}\left (\sqrt {2} \sinh (x)\right )}{2 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.50, size = 128, normalized size = 4.57 \[ -\frac {{\left (\sqrt {2} \cosh \relax (x) + \sqrt {2} \sinh \relax (x)\right )} \arctan \left (\frac {1}{2} \, \sqrt {2} \cosh \relax (x) + \frac {1}{2} \, \sqrt {2} \sinh \relax (x)\right ) - {\left (\sqrt {2} \cosh \relax (x) + \sqrt {2} \sinh \relax (x)\right )} \arctan \left (-\frac {\sqrt {2} \cosh \relax (x)^{2} + 2 \, \sqrt {2} \cosh \relax (x) \sinh \relax (x) + \sqrt {2} \sinh \relax (x)^{2} + \sqrt {2}}{2 \, {\left (\cosh \relax (x) - \sinh \relax (x)\right )}}\right ) + 2 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )} \arctan \left (\cosh \relax (x) + \sinh \relax (x)\right ) - 2 \, \cosh \relax (x)^{2} - 4 \, \cosh \relax (x) \sinh \relax (x) - 2 \, \sinh \relax (x)^{2} + 2}{4 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.14, size = 54, normalized size = 1.93 \[ -\frac {1}{8} \, \pi - \frac {1}{8} \, \sqrt {2} {\left (\pi + 2 \, \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\right )} - \frac {1}{4} \, \arctan \left (\frac {1}{2} \, {\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right ) - \frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.31, size = 143, normalized size = 5.11 \[ -\frac {1}{\tanh \left (\frac {x}{2}\right )+1}+\frac {\sqrt {2}\, \arctan \left (\frac {2 \tanh \left (\frac {x}{2}\right )}{-2+2 \sqrt {2}}\right )}{-4+4 \sqrt {2}}-\frac {\arctan \left (\frac {2 \tanh \left (\frac {x}{2}\right )}{-2+2 \sqrt {2}}\right )}{-2+2 \sqrt {2}}-\frac {\sqrt {2}\, \arctan \left (\frac {2 \tanh \left (\frac {x}{2}\right )}{2+2 \sqrt {2}}\right )}{2 \left (2+2 \sqrt {2}\right )}-\frac {\arctan \left (\frac {2 \tanh \left (\frac {x}{2}\right )}{2+2 \sqrt {2}}\right )}{2+2 \sqrt {2}}-\frac {\arctan \left (\tanh \left (\frac {x}{2}\right )\right )}{2}-\frac {1}{\tanh \left (\frac {x}{2}\right )-1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.46, size = 60, normalized size = 2.14 \[ \frac {1}{4} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, e^{\left (-x\right )}\right )}\right ) + \frac {1}{4} \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, e^{\left (-x\right )}\right )}\right ) + \frac {1}{2} \, \arctan \left (e^{\left (-x\right )}\right ) - \frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.43, size = 52, normalized size = 1.86 \[ \frac {{\mathrm {e}}^x}{2}-\frac {\mathrm {atan}\left ({\mathrm {e}}^x\right )}{2}-\frac {{\mathrm {e}}^{-x}}{2}-\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,{\mathrm {e}}^x}{2}+\frac {\sqrt {2}\,{\mathrm {e}}^{3\,x}}{2}\right )}{4}-\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,{\mathrm {e}}^x}{2}\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sinh {\relax (x )} \coth {\left (4 x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________