Optimal. Leaf size=12 \[ e^x-3 \log \left (e^x+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2282, 43} \[ e^x-3 \log \left (e^x+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2282
Rubi steps
\begin {align*} \int \frac {e^x \left (-2+e^x\right )}{1+e^x} \, dx &=\operatorname {Subst}\left (\int \frac {-2+x}{1+x} \, dx,x,e^x\right )\\ &=\operatorname {Subst}\left (\int \left (1-\frac {3}{1+x}\right ) \, dx,x,e^x\right )\\ &=e^x-3 \log \left (1+e^x\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 12, normalized size = 1.00 \[ e^x-3 \log \left (e^x+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 10, normalized size = 0.83 \[ e^{x} - 3 \, \log \left (e^{x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 10, normalized size = 0.83 \[ e^{x} - 3 \, \log \left (e^{x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 11, normalized size = 0.92 \[ {\mathrm e}^{x}-3 \ln \left ({\mathrm e}^{x}+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.11, size = 10, normalized size = 0.83 \[ e^{x} - 3 \, \log \left (e^{x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.33, size = 10, normalized size = 0.83 \[ {\mathrm {e}}^x-3\,\ln \left ({\mathrm {e}}^x+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 10, normalized size = 0.83 \[ e^{x} - 3 \log {\left (e^{x} + 1 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________