Optimal. Leaf size=11 \[ \cosh (x) \log (\cosh (x))-\cosh (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2638, 2554} \[ \cosh (x) \log (\cosh (x))-\cosh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2554
Rule 2638
Rubi steps
\begin {align*} \int \log (\cosh (x)) \sinh (x) \, dx &=\cosh (x) \log (\cosh (x))-\int \sinh (x) \, dx\\ &=-\cosh (x)+\cosh (x) \log (\cosh (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 11, normalized size = 1.00 \[ \cosh (x) \log (\cosh (x))-\cosh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \log (\cosh (x)) \sinh (x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.12, size = 46, normalized size = 4.18 \[ -\frac {\cosh \relax (x)^{2} - {\left (\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} + 1\right )} \log \left (\cosh \relax (x)\right ) + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} + 1}{2 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.12, size = 32, normalized size = 2.91 \[ \frac {1}{2} \, {\left (e^{\left (-x\right )} + e^{x}\right )} \log \left (\frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, 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.16, size = 12, normalized size = 1.09
method | result | size |
derivativedivides | \(-\cosh \relax (x )+\cosh \relax (x ) \ln \left (\cosh \relax (x )\right )\) | \(12\) |
default | \(-\cosh \relax (x )+\cosh \relax (x ) \ln \left (\cosh \relax (x )\right )\) | \(12\) |
risch | \(-\frac {\left (1+{\mathrm e}^{2 x}\right ) {\mathrm e}^{-x} \ln \left ({\mathrm e}^{x}\right )}{2}-\frac {\left (-i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{2}+i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i \left (1+{\mathrm e}^{2 x}\right )\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right ) {\mathrm e}^{2 x}+i \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right ) \mathrm {csgn}\left (i \left (1+{\mathrm e}^{2 x}\right )\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \pi -i \pi \,\mathrm {csgn}\left (i \left (1+{\mathrm e}^{2 x}\right )\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{2}+i \pi \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{3}+i \pi \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{3} {\mathrm e}^{2 x}-i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{2} {\mathrm e}^{2 x}-i \pi \,\mathrm {csgn}\left (i \left (1+{\mathrm e}^{2 x}\right )\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right )\right )^{2} {\mathrm e}^{2 x}+2+2 \ln \relax (2) {\mathrm e}^{2 x}-2 \,{\mathrm e}^{2 x} \ln \left (1+{\mathrm e}^{2 x}\right )+2 \,{\mathrm e}^{2 x}+2 \ln \relax (2)-2 \ln \left (1+{\mathrm e}^{2 x}\right )\right ) {\mathrm e}^{-x}}{4}\) | \(309\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 11, normalized size = 1.00 \[ \cosh \relax (x) \log \left (\cosh \relax (x)\right ) - \cosh \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.36, size = 8, normalized size = 0.73 \[ \mathrm {cosh}\relax (x)\,\left (\ln \left (\mathrm {cosh}\relax (x)\right )-1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.95, size = 10, normalized size = 0.91 \[ \log {\left (\cosh {\relax (x )} \right )} \cosh {\relax (x )} - \cosh {\relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________