Optimal. Leaf size=20 \[ \cosh (x)-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{\sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, 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 = {388, 206} \[ \cosh (x)-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{\sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 388
Rubi steps
\begin {align*} \int \cosh (x) \tanh (3 x) \, dx &=\operatorname {Subst}\left (\int \frac {1-4 x^2}{3-4 x^2} \, dx,x,\cosh (x)\right )\\ &=\cosh (x)-2 \operatorname {Subst}\left (\int \frac {1}{3-4 x^2} \, dx,x,\cosh (x)\right )\\ &=-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{\sqrt {3}}+\cosh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.06, size = 55, normalized size = 2.75 \[ \cosh (x)-\frac {\tanh ^{-1}\left (\frac {2-i \tanh \left (\frac {x}{2}\right )}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {2+i \tanh \left (\frac {x}{2}\right )}{\sqrt {3}}\right )}{\sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 82, normalized size = 4.10 \[ \frac {3 \, \cosh \relax (x)^{2} + {\left (\sqrt {3} \cosh \relax (x) + \sqrt {3} \sinh \relax (x)\right )} \log \left (\frac {2 \, \cosh \relax (x)^{2} + 2 \, \sinh \relax (x)^{2} - 4 \, \sqrt {3} \cosh \relax (x) + 5}{2 \, \cosh \relax (x)^{2} + 2 \, \sinh \relax (x)^{2} - 1}\right ) + 6 \, \cosh \relax (x) \sinh \relax (x) + 3 \, \sinh \relax (x)^{2} + 3}{6 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.12, size = 45, normalized size = 2.25 \[ \frac {1}{6} \, \sqrt {3} \log \left (-\frac {\sqrt {3} - e^{\left (-x\right )} - e^{x}}{\sqrt {3} + e^{\left (-x\right )} + e^{x}}\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 [A] time = 0.08, size = 17, normalized size = 0.85 \[ \cosh \relax (x )-\frac {\arctanh \left (\frac {2 \cosh \relax (x ) \sqrt {3}}{3}\right ) \sqrt {3}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.46, size = 153, normalized size = 7.65 \[ -\frac {1}{12} \, \sqrt {3} \log \left (\sqrt {3} e^{\left (-x\right )} + e^{\left (-2 \, x\right )} + 1\right ) + \frac {1}{12} \, \sqrt {3} \log \left (-\sqrt {3} e^{\left (-x\right )} + e^{\left (-2 \, x\right )} + 1\right ) - \frac {1}{12} \, \sqrt {3} \log \left (\sqrt {3} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{12} \, \sqrt {3} \log \left (-\sqrt {3} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{6} \, \arctan \left (\sqrt {3} + 2 \, e^{\left (-x\right )}\right ) + \frac {1}{6} \, \arctan \left (\sqrt {3} + 2 \, e^{x}\right ) + \frac {1}{6} \, \arctan \left (-\sqrt {3} + 2 \, e^{\left (-x\right )}\right ) + \frac {1}{6} \, \arctan \left (-\sqrt {3} + 2 \, e^{x}\right ) + \frac {1}{3} \, \arctan \left (e^{\left (-x\right )}\right ) + \frac {1}{3} \, \arctan \left (e^{x}\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.46, size = 53, normalized size = 2.65 \[ \frac {{\mathrm {e}}^{-x}}{2}+\frac {{\mathrm {e}}^x}{2}+\frac {\sqrt {3}\,\ln \left (\frac {{\mathrm {e}}^{2\,x}}{3}-\frac {\sqrt {3}\,{\mathrm {e}}^x}{3}+\frac {1}{3}\right )}{6}-\frac {\sqrt {3}\,\ln \left (\frac {{\mathrm {e}}^{2\,x}}{3}+\frac {\sqrt {3}\,{\mathrm {e}}^x}{3}+\frac {1}{3}\right )}{6} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cosh {\relax (x )} \tanh {\left (3 x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________