Optimal. Leaf size=22 \[ -\frac {x}{2}+\frac {\sinh ^2(x)}{2}+\frac {1}{2} \sinh (x) \cosh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {3089, 2564, 30, 2635, 8} \[ -\frac {x}{2}+\frac {\sinh ^2(x)}{2}+\frac {1}{2} \sinh (x) \cosh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 2564
Rule 2635
Rule 3089
Rubi steps
\begin {align*} \int \sinh (x) (\cosh (x)+\sinh (x)) \, dx &=-\left (i \int \left (i \cosh (x) \sinh (x)+i \sinh ^2(x)\right ) \, dx\right )\\ &=\int \cosh (x) \sinh (x) \, dx+\int \sinh ^2(x) \, dx\\ &=\frac {1}{2} \cosh (x) \sinh (x)-\frac {\int 1 \, dx}{2}-\operatorname {Subst}(\int x \, dx,x,i \sinh (x))\\ &=-\frac {x}{2}+\frac {1}{2} \cosh (x) \sinh (x)+\frac {\sinh ^2(x)}{2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 1.00 \[ -\frac {x}{2}+\frac {1}{4} \sinh (2 x)+\frac {\cosh ^2(x)}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 29, normalized size = 1.32 \[ -\frac {{\left (2 \, x - 1\right )} \cosh \relax (x) - {\left (2 \, x + 1\right )} \sinh \relax (x)}{4 \, {\left (\cosh \relax (x) - \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 10, normalized size = 0.45 \[ -\frac {1}{2} \, x + \frac {1}{4} \, e^{\left (2 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 17, normalized size = 0.77 \[ \frac {\cosh \relax (x ) \sinh \relax (x )}{2}-\frac {x}{2}+\frac {\left (\cosh ^{2}\relax (x )\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 22, normalized size = 1.00 \[ \frac {1}{2} \, \cosh \relax (x)^{2} - \frac {1}{2} \, x + \frac {1}{8} \, e^{\left (2 \, x\right )} - \frac {1}{8} \, e^{\left (-2 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 10, normalized size = 0.45 \[ \frac {{\mathrm {e}}^{2\,x}}{4}-\frac {x}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 31, normalized size = 1.41 \[ \frac {x \sinh ^{2}{\relax (x )}}{2} - \frac {x \cosh ^{2}{\relax (x )}}{2} + \frac {\sinh {\relax (x )} \cosh {\relax (x )}}{2} + \frac {\cosh ^{2}{\relax (x )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________