Optimal. Leaf size=9 \[ -\frac{1}{e^x+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0108058, antiderivative size = 9, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2282, 32} \[ -\frac{1}{e^x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 32
Rubi steps
\begin{align*} \int \frac{1}{2+e^{-x}+e^x} \, dx &=\operatorname{Subst}\left (\int \frac{1}{(1+x)^2} \, dx,x,e^x\right )\\ &=-\frac{1}{1+e^x}\\ \end{align*}
Mathematica [A] time = 0.0077872, size = 9, normalized size = 1. \[ -\frac{1}{e^x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 9, normalized size = 1. \begin{align*} - \left ( 1+{{\rm e}^{x}} \right ) ^{-1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.960909, size = 11, normalized size = 1.22 \begin{align*} \frac{1}{e^{\left (-x\right )} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.24593, size = 19, normalized size = 2.11 \begin{align*} -\frac{1}{e^{x} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.071179, size = 7, normalized size = 0.78 \begin{align*} - \frac{1}{e^{x} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22883, size = 11, normalized size = 1.22 \begin{align*} -\frac{1}{e^{x} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]