Optimal. Leaf size=9 \[ -\frac {1}{1+e^x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 9, normalized size of antiderivative = 1.00, 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 = {2320, 32}
\begin {gather*} -\frac {1}{e^x+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{2+e^{-x}+e^x} \, dx &=\text {Subst}\left (\int \frac {1}{(1+x)^2} \, dx,x,e^x\right )\\ &=-\frac {1}{1+e^x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 9, normalized size = 1.00 \begin {gather*} \frac {1}{-1-e^x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 9, normalized size = 1.00
method | result | size |
default | \(-\frac {1}{1+{\mathrm e}^{x}}\) | \(9\) |
norman | \(-\frac {1}{1+{\mathrm e}^{x}}\) | \(9\) |
risch | \(-\frac {1}{1+{\mathrm e}^{x}}\) | \(9\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 8, normalized size = 0.89 \begin {gather*} \frac {1}{e^{\left (-x\right )} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 8, normalized size = 0.89 \begin {gather*} -\frac {1}{e^{x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 7, normalized size = 0.78 \begin {gather*} - \frac {1}{e^{x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.88, size = 8, normalized size = 0.89 \begin {gather*} -\frac {1}{e^{x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 8, normalized size = 0.89 \begin {gather*} -\frac {1}{{\mathrm {e}}^x+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________