Optimal. Leaf size=23 \[ e^2 \left (5+e^{e^{-3+x^2}}-2 e^{1+x}+x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 24, normalized size of antiderivative = 1.04, number of steps used = 5, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {2194, 6715, 2282} \begin {gather*} e^{e^{x^2-3}+2}+e^2 x-2 e^{x+3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rule 2282
Rule 6715
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=e^2 x-2 \int e^{3+x} \, dx+2 \int e^{-1+e^{-3+x^2}+x^2} x \, dx\\ &=-2 e^{3+x}+e^2 x+\operatorname {Subst}\left (\int e^{-1+e^{-3+x}+x} \, dx,x,x^2\right )\\ &=-2 e^{3+x}+e^2 x+\operatorname {Subst}\left (\int e^{-1+\frac {x}{e^3}} \, dx,x,e^{x^2}\right )\\ &=e^{2+e^{-3+x^2}}-2 e^{3+x}+e^2 x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 24, normalized size = 1.04 \begin {gather*} e^{2+e^{-3+x^2}}-2 e^{3+x}+e^2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.60, size = 40, normalized size = 1.74 \begin {gather*} {\left (x e^{\left (x^{2} - 1\right )} - e^{\left (x^{2} + x + \log \relax (2)\right )} + e^{\left (x^{2} + e^{\left (x^{2} - 3\right )} - 1\right )}\right )} e^{\left (-x^{2} + 3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 22, normalized size = 0.96 \begin {gather*} x e^{2} - e^{\left (x + \log \relax (2) + 3\right )} + e^{\left (e^{\left (x^{2} - 3\right )} + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 21, normalized size = 0.91
method | result | size |
risch | \(-2 \,{\mathrm e}^{3+x}+{\mathrm e}^{2+{\mathrm e}^{x^{2}-3}}+{\mathrm e}^{2} x\) | \(21\) |
default | \(-{\mathrm e}^{2} {\mathrm e}^{\ln \relax (2)+x +1}+{\mathrm e}^{2} {\mathrm e}^{{\mathrm e}^{x^{2}-3}}+{\mathrm e}^{2} x\) | \(26\) |
norman | \(-{\mathrm e}^{2} {\mathrm e}^{\ln \relax (2)+x +1}+{\mathrm e}^{2} {\mathrm e}^{{\mathrm e}^{x^{2}-3}}+{\mathrm e}^{2} x\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 20, normalized size = 0.87 \begin {gather*} x e^{2} - 2 \, e^{\left (x + 3\right )} + e^{\left (e^{\left (x^{2} - 3\right )} + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.44, size = 22, normalized size = 0.96 \begin {gather*} {\mathrm {e}}^2\,{\mathrm {e}}^{{\mathrm {e}}^{x^2}\,{\mathrm {e}}^{-3}}+x\,{\mathrm {e}}^2-2\,{\mathrm {e}}^3\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.21, size = 26, normalized size = 1.13 \begin {gather*} x e^{2} - 2 e^{2} e^{x + 1} + e^{2} e^{e^{x^{2} - 3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________