Optimal. Leaf size=13 \[ \frac {\sinh (x)}{a}-\frac {x}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2682, 8} \[ \frac {\sinh (x)}{a}-\frac {x}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2682
Rubi steps
\begin {align*} \int \frac {\sinh ^2(x)}{a+a \cosh (x)} \, dx &=\frac {\sinh (x)}{a}-\frac {\int 1 \, dx}{a}\\ &=-\frac {x}{a}+\frac {\sinh (x)}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 1.31 \[ \frac {2 \left (\frac {\sinh (x)}{2}-\frac {x}{2}\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.69, size = 11, normalized size = 0.85 \[ -\frac {x - \sinh \relax (x)}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 17, normalized size = 1.31 \[ -\frac {2 \, x + e^{\left (-x\right )} - e^{x}}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.07, size = 51, normalized size = 3.92 \[ -\frac {1}{a \left (\tanh \left (\frac {x}{2}\right )-1\right )}+\frac {\ln \left (\tanh \left (\frac {x}{2}\right )-1\right )}{a}-\frac {1}{a \left (\tanh \left (\frac {x}{2}\right )+1\right )}-\frac {\ln \left (\tanh \left (\frac {x}{2}\right )+1\right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 23, normalized size = 1.77 \[ -\frac {x}{a} - \frac {e^{\left (-x\right )}}{2 \, a} + \frac {e^{x}}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.91, size = 23, normalized size = 1.77 \[ \frac {{\mathrm {e}}^x}{2\,a}-\frac {x}{a}-\frac {{\mathrm {e}}^{-x}}{2\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.41, size = 46, normalized size = 3.54 \[ - \frac {x \tanh ^{2}{\left (\frac {x}{2} \right )}}{a \tanh ^{2}{\left (\frac {x}{2} \right )} - a} + \frac {x}{a \tanh ^{2}{\left (\frac {x}{2} \right )} - a} - \frac {2 \tanh {\left (\frac {x}{2} \right )}}{a \tanh ^{2}{\left (\frac {x}{2} \right )} - a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________