Optimal. Leaf size=4 \[ x+\tanh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {3012, 8} \[ x+\tanh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3012
Rubi steps
\begin {align*} \int \left (1+\cosh ^2(x)\right ) \text {sech}^2(x) \, dx &=\tanh (x)+\int 1 \, dx\\ &=x+\tanh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 4, normalized size = 1.00 \[ x+\tanh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.47, size = 14, normalized size = 3.50 \[ \frac {{\left (x - 1\right )} \cosh \relax (x) + \sinh \relax (x)}{\cosh \relax (x)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.11, size = 12, normalized size = 3.00 \[ x - \frac {2}{e^{\left (2 \, x\right )} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.37, size = 5, normalized size = 1.25 \[ x +\tanh \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 12, normalized size = 3.00 \[ x + \frac {2}{e^{\left (-2 \, x\right )} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.65, size = 12, normalized size = 3.00 \[ x-\frac {2}{{\mathrm {e}}^{2\,x}+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (\cosh ^{2}{\relax (x )} + 1\right ) \operatorname {sech}^{2}{\relax (x )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________