Optimal. Leaf size=24 \[ e^x \left (-\frac {1}{2} \log \left (\log \left (-4+e^{-x} x\right )\right )+\log (\log (\log (16)))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.50, antiderivative size = 25, normalized size of antiderivative = 1.04, number of steps used = 3, number of rules used = 3, integrand size = 114, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {6688, 12, 2288} \begin {gather*} -\frac {1}{2} e^x \left (\log \left (\log \left (e^{-x} x-4\right )\right )-2 \log (\log (\log (16)))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2288
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^x \left (1-x-\left (4 e^x-x\right ) \log \left (-4+e^{-x} x\right ) \left (\log \left (\log \left (-4+e^{-x} x\right )\right )-2 \log (\log (\log (16)))\right )\right )}{2 \left (4 e^x-x\right ) \log \left (-4+e^{-x} x\right )} \, dx\\ &=\frac {1}{2} \int \frac {e^x \left (1-x-\left (4 e^x-x\right ) \log \left (-4+e^{-x} x\right ) \left (\log \left (\log \left (-4+e^{-x} x\right )\right )-2 \log (\log (\log (16)))\right )\right )}{\left (4 e^x-x\right ) \log \left (-4+e^{-x} x\right )} \, dx\\ &=-\frac {1}{2} e^x \left (\log \left (\log \left (-4+e^{-x} x\right )\right )-2 \log (\log (\log (16)))\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 25, normalized size = 1.04 \begin {gather*} -\frac {1}{2} e^x \left (\log \left (\log \left (-4+e^{-x} x\right )\right )-2 \log (\log (\log (16)))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.89, size = 27, normalized size = 1.12 \begin {gather*} -\frac {1}{2} \, e^{x} \log \left (\log \left ({\left (x - 4 \, e^{x}\right )} e^{\left (-x\right )}\right )\right ) + e^{x} \log \left (\log \left (4 \, \log \relax (2)\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 29, normalized size = 1.21 \begin {gather*} -\frac {1}{2} \, e^{x} \log \left (-x + \log \left (x - 4 \, e^{x}\right )\right ) + e^{x} \log \left (2 \, \log \relax (2) + \log \left (\log \relax (2)\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.26, size = 108, normalized size = 4.50
method | result | size |
risch | \(-\frac {{\mathrm e}^{x} \ln \left (-\ln \left ({\mathrm e}^{x}\right )+\ln \left (-4 \,{\mathrm e}^{x}+x \right )+\frac {i \pi \,\mathrm {csgn}\left (i \left (4 \,{\mathrm e}^{x}-x \right ) {\mathrm e}^{-x}\right ) \left (\mathrm {csgn}\left (i \left (4 \,{\mathrm e}^{x}-x \right ) {\mathrm e}^{-x}\right )+\mathrm {csgn}\left (i {\mathrm e}^{-x}\right )\right ) \left (\mathrm {csgn}\left (i \left (4 \,{\mathrm e}^{x}-x \right ) {\mathrm e}^{-x}\right )-\mathrm {csgn}\left (i \left (4 \,{\mathrm e}^{x}-x \right )\right )\right )}{2}\right )}{2}+{\mathrm e}^{x} \ln \left (2 \ln \relax (2)+\ln \left (\ln \relax (2)\right )\right )\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 29, normalized size = 1.21 \begin {gather*} -\frac {1}{2} \, e^{x} \log \left (-x + \log \left (x - 4 \, e^{x}\right )\right ) + e^{x} \log \left (2 \, \log \relax (2) + \log \left (\log \relax (2)\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.35, size = 26, normalized size = 1.08 \begin {gather*} -\frac {{\mathrm {e}}^x\,\left (\ln \left (\ln \left (x\,{\mathrm {e}}^{-x}-4\right )\right )-2\,\ln \left (2\,\ln \relax (2)+\ln \left (\ln \relax (2)\right )\right )\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.90, size = 32, normalized size = 1.33 \begin {gather*} - \frac {e^{x} \log {\left (\log {\left (\left (x - 4 e^{x}\right ) e^{- x} \right )} \right )}}{2} + e^{x} \log {\left (\log {\left (\log {\relax (2 )} \right )} + 2 \log {\relax (2 )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________