Optimal. Leaf size=9 \[ x \sinh (x)-\cosh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0105901, antiderivative size = 9, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 4, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {3296, 2638} \[ x \sinh (x)-\cosh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3296
Rule 2638
Rubi steps
\begin{align*} \int x \cosh (x) \, dx &=x \sinh (x)-\int \sinh (x) \, dx\\ &=-\cosh (x)+x \sinh (x)\\ \end{align*}
Mathematica [A] time = 0.0020097, size = 9, normalized size = 1. \[ x \sinh (x)-\cosh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 10, normalized size = 1.1 \begin{align*} -\cosh \left ( x \right ) +x\sinh \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.960057, size = 46, normalized size = 5.11 \begin{align*} \frac{1}{2} \, x^{2} \cosh \left (x\right ) - \frac{1}{4} \,{\left (x^{2} + 2 \, x + 2\right )} e^{\left (-x\right )} - \frac{1}{4} \,{\left (x^{2} - 2 \, x + 2\right )} e^{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.59057, size = 28, normalized size = 3.11 \begin{align*} x \sinh \left (x\right ) - \cosh \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.18511, size = 7, normalized size = 0.78 \begin{align*} x \sinh{\left (x \right )} - \cosh{\left (x \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.0772, size = 23, normalized size = 2.56 \begin{align*} -\frac{1}{2} \,{\left (x + 1\right )} e^{\left (-x\right )} + \frac{1}{2} \,{\left (x - 1\right )} e^{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]