Optimal. Leaf size=25 \[ -e^x-\log \left (-4+4 e^{\frac {e^{x^2} x}{8}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.61, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 57, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.088, Rules used = {6741, 12, 6742, 2194, 6684} \begin {gather*} -\log \left (1-e^{\frac {e^{x^2} x}{8}}\right )-e^x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2194
Rule 6684
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-8 e^x-e^{\frac {e^{x^2} x}{8}} \left (-8 e^x+e^{x^2} \left (-1-2 x^2\right )\right )}{8 \left (1-e^{\frac {e^{x^2} x}{8}}\right )} \, dx\\ &=\frac {1}{8} \int \frac {-8 e^x-e^{\frac {e^{x^2} x}{8}} \left (-8 e^x+e^{x^2} \left (-1-2 x^2\right )\right )}{1-e^{\frac {e^{x^2} x}{8}}} \, dx\\ &=\frac {1}{8} \int \left (-8 e^x+\frac {e^{\frac {1}{8} x \left (e^{x^2}+8 x\right )} \left (1+2 x^2\right )}{1-e^{\frac {e^{x^2} x}{8}}}\right ) \, dx\\ &=\frac {1}{8} \int \frac {e^{\frac {1}{8} x \left (e^{x^2}+8 x\right )} \left (1+2 x^2\right )}{1-e^{\frac {e^{x^2} x}{8}}} \, dx-\int e^x \, dx\\ &=-e^x-\log \left (1-e^{\frac {e^{x^2} x}{8}}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.36, size = 25, normalized size = 1.00 \begin {gather*} -e^x-\log \left (1-e^{\frac {e^{x^2} x}{8}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 18, normalized size = 0.72 \begin {gather*} -e^{x} - \log \left (e^{\left (\frac {1}{8} \, x e^{\left (x^{2}\right )}\right )} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 30, normalized size = 1.20 \begin {gather*} x^{2} - e^{x} - \log \left (e^{\left (x^{2} + \frac {1}{8} \, x e^{\left (x^{2}\right )}\right )} - e^{\left (x^{2}\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 19, normalized size = 0.76
method | result | size |
risch | \(-{\mathrm e}^{x}-\ln \left ({\mathrm e}^{\frac {{\mathrm e}^{x^{2}} x}{8}}-1\right )\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 18, normalized size = 0.72 \begin {gather*} -e^{x} - \log \left (e^{\left (\frac {1}{8} \, x e^{\left (x^{2}\right )}\right )} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.18, size = 18, normalized size = 0.72 \begin {gather*} -\ln \left ({\mathrm {e}}^{\frac {x\,{\mathrm {e}}^{x^2}}{8}}-1\right )-{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.28, size = 29, normalized size = 1.16 \begin {gather*} - \frac {7 x e^{x^{2}}}{64} - e^{x} - \frac {\log {\left (e^{\frac {x e^{x^{2}}}{8}} - 1 \right )}}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________