Optimal. Leaf size=12 \[ -\frac {1}{2} \tanh ^{-1}\left (\frac {e^x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2249, 207} \[ -\frac {1}{2} \tanh ^{-1}\left (\frac {e^x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 2249
Rubi steps
\begin {align*} \int \frac {e^x}{-4+e^{2 x}} \, dx &=\operatorname {Subst}\left (\int \frac {1}{-4+x^2} \, dx,x,e^x\right )\\ &=-\frac {1}{2} \tanh ^{-1}\left (\frac {e^x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 12, normalized size = 1.00 \[ -\frac {1}{2} \tanh ^{-1}\left (\frac {e^x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.40, size = 15, normalized size = 1.25 \[ -\frac {1}{4} \, \log \left (e^{x} + 2\right ) + \frac {1}{4} \, \log \left (e^{x} - 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.22, size = 16, normalized size = 1.33 \[ -\frac {1}{4} \, \log \left (e^{x} + 2\right ) + \frac {1}{4} \, \log \left ({\left | e^{x} - 2 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 16, normalized size = 1.33 \[ \frac {\ln \left ({\mathrm e}^{x}-2\right )}{4}-\frac {\ln \left ({\mathrm e}^{x}+2\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.93, size = 15, normalized size = 1.25 \[ -\frac {1}{4} \, \log \left (e^{x} + 2\right ) + \frac {1}{4} \, \log \left (e^{x} - 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.14, size = 15, normalized size = 1.25 \[ \frac {\ln \left ({\mathrm {e}}^x-2\right )}{4}-\frac {\ln \left ({\mathrm {e}}^x+2\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 15, normalized size = 1.25 \[ \frac {\log {\left (e^{x} - 2 \right )}}{4} - \frac {\log {\left (e^{x} + 2 \right )}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________