Optimal. Leaf size=20 \[ \frac {\tanh ^{-1}\left (\frac {4-e^x}{\sqrt {17}}\right )}{\sqrt {17}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2320, 632, 212}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {4-e^x}{\sqrt {17}}\right )}{\sqrt {17}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 632
Rule 2320
Rubi steps
\begin {align*} \int \frac {e^x}{-1-8 e^x+e^{2 x}} \, dx &=\text {Subst}\left (\int \frac {1}{-1-8 x+x^2} \, dx,x,e^x\right )\\ &=-\left (2 \text {Subst}\left (\int \frac {1}{68-x^2} \, dx,x,-8+2 e^x\right )\right )\\ &=\frac {\tanh ^{-1}\left (\frac {4-e^x}{\sqrt {17}}\right )}{\sqrt {17}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 19, normalized size = 0.95 \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {-4+e^x}{\sqrt {17}}\right )}{\sqrt {17}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 18, normalized size = 0.90
method | result | size |
default | \(-\frac {\sqrt {17}\, \arctanh \left (\frac {\left (2 \,{\mathrm e}^{x}-8\right ) \sqrt {17}}{34}\right )}{17}\) | \(18\) |
risch | \(\frac {\sqrt {17}\, \ln \left ({\mathrm e}^{x}-4-\sqrt {17}\right )}{34}-\frac {\sqrt {17}\, \ln \left ({\mathrm e}^{x}-4+\sqrt {17}\right )}{34}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 26, normalized size = 1.30 \begin {gather*} \frac {1}{34} \, \sqrt {17} \log \left (-\frac {\sqrt {17} - e^{x} + 4}{\sqrt {17} + e^{x} - 4}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 42 vs.
\(2 (15) = 30\).
time = 0.34, size = 42, normalized size = 2.10 \begin {gather*} \frac {1}{34} \, \sqrt {17} \log \left (-\frac {2 \, {\left (\sqrt {17} + 4\right )} e^{x} - 8 \, \sqrt {17} - e^{\left (2 \, x\right )} - 33}{e^{\left (2 \, x\right )} - 8 \, e^{x} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 17, normalized size = 0.85 \begin {gather*} \operatorname {RootSum} {\left (68 z^{2} - 1, \left ( i \mapsto i \log {\left (- 34 i + e^{x} - 4 \right )} \right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 33 vs.
\(2 (15) = 30\).
time = 4.59, size = 33, normalized size = 1.65 \begin {gather*} \frac {1}{34} \, \sqrt {17} \log \left (\frac {{\left | -2 \, \sqrt {17} + 2 \, e^{x} - 8 \right |}}{{\left | 2 \, \sqrt {17} + 2 \, e^{x} - 8 \right |}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.39, size = 17, normalized size = 0.85 \begin {gather*} -\frac {\sqrt {17}\,\mathrm {atanh}\left (\frac {\sqrt {17}\,\left (2\,{\mathrm {e}}^x-8\right )}{34}\right )}{17} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________