Optimal. Leaf size=36 \[ -\frac {1}{6} \tanh ^{-1}(\cosh (x))-\frac {1}{6} \tanh ^{-1}(2 \cosh (x))+\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{2 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 3, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {12, 2082, 213}
\begin {gather*} -\frac {1}{6} \tanh ^{-1}(\cosh (x))-\frac {1}{6} \tanh ^{-1}(2 \cosh (x))+\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{2 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 213
Rule 2082
Rubi steps
\begin {align*} \int \cosh (x) \text {csch}(6 x) \, dx &=-\text {Subst}\left (\int \frac {1}{2 \left (3-19 x^2+32 x^4-16 x^6\right )} \, dx,x,\cosh (x)\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \frac {1}{3-19 x^2+32 x^4-16 x^6} \, dx,x,\cosh (x)\right )\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \left (-\frac {1}{3 \left (-1+x^2\right )}+\frac {2}{-3+4 x^2}-\frac {2}{3 \left (-1+4 x^2\right )}\right ) \, dx,x,\cosh (x)\right )\right )\\ &=\frac {1}{6} \text {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\cosh (x)\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{-1+4 x^2} \, dx,x,\cosh (x)\right )-\text {Subst}\left (\int \frac {1}{-3+4 x^2} \, dx,x,\cosh (x)\right )\\ &=-\frac {1}{6} \tanh ^{-1}(\cosh (x))-\frac {1}{6} \tanh ^{-1}(2 \cosh (x))+\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {3}}\right )}{2 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.04, size = 91, normalized size = 2.53 \begin {gather*} \frac {1}{12} \left (2 \sqrt {3} \tanh ^{-1}\left (\frac {2-i \tanh \left (\frac {x}{2}\right )}{\sqrt {3}}\right )+2 \sqrt {3} \tanh ^{-1}\left (\frac {2+i \tanh \left (\frac {x}{2}\right )}{\sqrt {3}}\right )-2 \log \left (\cosh \left (\frac {x}{2}\right )\right )+\log (1-2 \cosh (x))-\log (1+2 \cosh (x))+2 \log \left (\sinh \left (\frac {x}{2}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(76\) vs.
\(2(26)=52\).
time = 1.04, size = 77, normalized size = 2.14
method | result | size |
risch | \(\frac {\ln \left ({\mathrm e}^{x}-1\right )}{6}-\frac {\ln \left ({\mathrm e}^{x}+1\right )}{6}-\frac {\ln \left (1+{\mathrm e}^{x}+{\mathrm e}^{2 x}\right )}{12}+\frac {\ln \left (1+{\mathrm e}^{2 x}+{\mathrm e}^{x} \sqrt {3}\right ) \sqrt {3}}{12}-\frac {\ln \left (1+{\mathrm e}^{2 x}-{\mathrm e}^{x} \sqrt {3}\right ) \sqrt {3}}{12}+\frac {\ln \left (1-{\mathrm e}^{x}+{\mathrm e}^{2 x}\right )}{12}\) | \(77\) |
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. 101 vs.
\(2 (26) = 52\).
time = 0.43, size = 101, normalized size = 2.81 \begin {gather*} \frac {1}{12} \, \sqrt {3} \log \left (\frac {2 \, \cosh \left (x\right )^{2} + 2 \, \sinh \left (x\right )^{2} + 4 \, \sqrt {3} \cosh \left (x\right ) + 5}{2 \, \cosh \left (x\right )^{2} + 2 \, \sinh \left (x\right )^{2} - 1}\right ) - \frac {1}{12} \, \log \left (\frac {2 \, \cosh \left (x\right ) + 1}{\cosh \left (x\right ) - \sinh \left (x\right )}\right ) + \frac {1}{12} \, \log \left (\frac {2 \, \cosh \left (x\right ) - 1}{\cosh \left (x\right ) - \sinh \left (x\right )}\right ) - \frac {1}{6} \, \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \frac {1}{6} \, \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) - 1\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 \cosh {\left (x \right )} \operatorname {csch}{\left (6 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. 79 vs.
\(2 (26) = 52\).
time = 0.39, size = 79, normalized size = 2.19 \begin {gather*} -\frac {1}{12} \, \sqrt {3} \log \left (-\frac {\sqrt {3} - e^{\left (-x\right )} - e^{x}}{\sqrt {3} + e^{\left (-x\right )} + e^{x}}\right ) - \frac {1}{12} \, \log \left (e^{\left (-x\right )} + e^{x} + 2\right ) - \frac {1}{12} \, \log \left (e^{\left (-x\right )} + e^{x} + 1\right ) + \frac {1}{12} \, \log \left (e^{\left (-x\right )} + e^{x} - 1\right ) + \frac {1}{12} \, \log \left (e^{\left (-x\right )} + e^{x} - 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 91, normalized size = 2.53 \begin {gather*} \frac {\ln \left (\frac {1}{3}-\frac {{\mathrm {e}}^x}{3}\right )}{6}-\frac {\ln \left (-\frac {{\mathrm {e}}^x}{3}-\frac {1}{3}\right )}{6}-\frac {\ln \left (-\frac {{\mathrm {e}}^{2\,x}}{36}-\frac {{\mathrm {e}}^x}{36}-\frac {1}{36}\right )}{12}+\frac {\ln \left (\frac {{\mathrm {e}}^x}{36}-\frac {{\mathrm {e}}^{2\,x}}{36}-\frac {1}{36}\right )}{12}+\frac {\sqrt {3}\,\ln \left (-\frac {{\mathrm {e}}^{2\,x}}{12}-\frac {\sqrt {3}\,{\mathrm {e}}^x}{12}-\frac {1}{12}\right )}{12}-\frac {\sqrt {3}\,\ln \left (\frac {\sqrt {3}\,{\mathrm {e}}^x}{12}-\frac {{\mathrm {e}}^{2\,x}}{12}-\frac {1}{12}\right )}{12} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________