Optimal. Leaf size=20 \[ -\frac {\text {ArcTan}\left (\frac {2 \sinh (x)}{\sqrt {3}}\right )}{\sqrt {3}}+\sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {396, 209}
\begin {gather*} \sinh (x)-\frac {\text {ArcTan}\left (\frac {2 \sinh (x)}{\sqrt {3}}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 396
Rubi steps
\begin {align*} \int \coth (3 x) \sinh (x) \, dx &=\text {Subst}\left (\int \frac {1+4 x^2}{3+4 x^2} \, dx,x,\sinh (x)\right )\\ &=\sinh (x)-2 \text {Subst}\left (\int \frac {1}{3+4 x^2} \, dx,x,\sinh (x)\right )\\ &=-\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {3}}\right )}{\sqrt {3}}+\sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 20, normalized size = 1.00 \begin {gather*} -\frac {\text {ArcTan}\left (\frac {2 \sinh (x)}{\sqrt {3}}\right )}{\sqrt {3}}+\sinh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(50\) vs.
\(2(16)=32\).
time = 0.99, size = 51, normalized size = 2.55
method | result | size |
default | \(-\frac {1}{\tanh \left (\frac {x}{2}\right )+1}-\frac {\sqrt {3}\, \arctan \left (\tanh \left (\frac {x}{2}\right ) \sqrt {3}\right )}{3}-\frac {1}{\tanh \left (\frac {x}{2}\right )-1}-\frac {\sqrt {3}\, \arctan \left (\frac {\tanh \left (\frac {x}{2}\right ) \sqrt {3}}{3}\right )}{3}\) | \(51\) |
risch | \(\frac {{\mathrm e}^{x}}{2}-\frac {{\mathrm e}^{-x}}{2}+\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{2 x}-i \sqrt {3}\, {\mathrm e}^{x}-1\right )}{6}-\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{2 x}+i \sqrt {3}\, {\mathrm e}^{x}-1\right )}{6}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 49 vs.
\(2 (16) = 32\).
time = 0.47, size = 49, normalized size = 2.45 \begin {gather*} \frac {1}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{\left (-x\right )} + 1\right )}\right ) + \frac {1}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{\left (-x\right )} - 1\right )}\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]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 118 vs.
\(2 (16) = 32\).
time = 0.35, size = 118, normalized size = 5.90 \begin {gather*} -\frac {2 \, {\left (\sqrt {3} \cosh \left (x\right ) + \sqrt {3} \sinh \left (x\right )\right )} \arctan \left (\frac {1}{3} \, \sqrt {3} \cosh \left (x\right ) + \frac {1}{3} \, \sqrt {3} \sinh \left (x\right )\right ) - 2 \, {\left (\sqrt {3} \cosh \left (x\right ) + \sqrt {3} \sinh \left (x\right )\right )} \arctan \left (-\frac {\sqrt {3} \cosh \left (x\right )^{2} + 2 \, \sqrt {3} \cosh \left (x\right ) \sinh \left (x\right ) + \sqrt {3} \sinh \left (x\right )^{2} + 2 \, \sqrt {3}}{3 \, {\left (\cosh \left (x\right ) - \sinh \left (x\right )\right )}}\right ) - 3 \, \cosh \left (x\right )^{2} - 6 \, \cosh \left (x\right ) \sinh \left (x\right ) - 3 \, \sinh \left (x\right )^{2} + 3}{6 \, {\left (\cosh \left (x\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 \sinh {\left (x \right )} \coth {\left (3 x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 36 vs.
\(2 (16) = 32\).
time = 0.39, size = 36, normalized size = 1.80 \begin {gather*} -\frac {1}{6} \, \sqrt {3} {\left (\pi + 2 \, \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\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 = 0.08, size = 47, normalized size = 2.35 \begin {gather*} \frac {{\mathrm {e}}^x}{2}-\frac {{\mathrm {e}}^{-x}}{2}-\frac {\sqrt {3}\,\mathrm {atan}\left (\frac {2\,\sqrt {3}\,{\mathrm {e}}^x}{3}+\frac {\sqrt {3}\,{\mathrm {e}}^{3\,x}}{3}\right )}{3}-\frac {\sqrt {3}\,\mathrm {atan}\left (\frac {\sqrt {3}\,{\mathrm {e}}^x}{3}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________