Optimal. Leaf size=12 \[ e^x-3 \log \left (1+e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, 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 = {2320, 45}
\begin {gather*} e^x-3 \log \left (e^x+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2320
Rubi steps
\begin {align*} \int \frac {e^x \left (-2+e^x\right )}{1+e^x} \, dx &=\text {Subst}\left (\int \frac {-2+x}{1+x} \, dx,x,e^x\right )\\ &=\text {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 \begin {gather*} e^x-3 \log \left (1+e^x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 11, normalized size = 0.92
method | result | size |
derivativedivides | \({\mathrm e}^{x}-3 \ln \left (1+{\mathrm e}^{x}\right )\) | \(11\) |
default | \({\mathrm e}^{x}-3 \ln \left (1+{\mathrm e}^{x}\right )\) | \(11\) |
norman | \({\mathrm e}^{x}-3 \ln \left (1+{\mathrm e}^{x}\right )\) | \(11\) |
risch | \({\mathrm e}^{x}-3 \ln \left (1+{\mathrm e}^{x}\right )\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 10, normalized size = 0.83 \begin {gather*} e^{x} - 3 \, \log \left (e^{x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 10, normalized size = 0.83 \begin {gather*} e^{x} - 3 \, \log \left (e^{x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 10, normalized size = 0.83 \begin {gather*} e^{x} - 3 \log {\left (e^{x} + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.56, size = 10, normalized size = 0.83 \begin {gather*} e^{x} - 3 \, \log \left (e^{x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.33, size = 10, normalized size = 0.83 \begin {gather*} {\mathrm {e}}^x-3\,\ln \left ({\mathrm {e}}^x+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________