Optimal. Leaf size=29 \[ 5+e^{\frac {2}{3} e^{-6+2 e^3} (3-x) x^2 (3+x)}+x \]
________________________________________________________________________________________
Rubi [A] time = 0.42, antiderivative size = 28, normalized size of antiderivative = 0.97, number of steps used = 4, number of rules used = 3, integrand size = 49, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {12, 1593, 6706} \begin {gather*} e^{\frac {2}{3} e^{2 e^3-6} \left (9 x^2-x^4\right )}+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1593
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{3} \int \left (3+\exp \left (-6+2 e^3+\frac {1}{3} e^{-6+2 e^3} \left (18 x^2-2 x^4\right )\right ) \left (36 x-8 x^3\right )\right ) \, dx\\ &=x+\frac {1}{3} \int \exp \left (-6+2 e^3+\frac {1}{3} e^{-6+2 e^3} \left (18 x^2-2 x^4\right )\right ) \left (36 x-8 x^3\right ) \, dx\\ &=x+\frac {1}{3} \int \exp \left (-6+2 e^3+\frac {1}{3} e^{-6+2 e^3} \left (18 x^2-2 x^4\right )\right ) x \left (36-8 x^2\right ) \, dx\\ &=e^{\frac {2}{3} e^{-6+2 e^3} \left (9 x^2-x^4\right )}+x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.36, size = 35, normalized size = 1.21 \begin {gather*} e^{6 e^{-6+2 e^3} x^2-\frac {2}{3} e^{-6+2 e^3} x^4}+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 43, normalized size = 1.48 \begin {gather*} {\left (x e^{\left (2 \, e^{3} - 6\right )} + e^{\left (-\frac {2}{3} \, {\left (x^{4} - 9 \, x^{2}\right )} e^{\left (2 \, e^{3} - 6\right )} + 2 \, e^{3} - 6\right )}\right )} e^{\left (-2 \, e^{3} + 6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 28, normalized size = 0.97 \begin {gather*} x + e^{\left (-\frac {2}{3} \, x^{4} e^{\left (2 \, e^{3} - 6\right )} + 6 \, x^{2} e^{\left (2 \, e^{3} - 6\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 22, normalized size = 0.76
method | result | size |
risch | \({\mathrm e}^{-\frac {2 x^{2} \left (x -3\right ) \left (3+x \right ) {\mathrm e}^{2 \,{\mathrm e}^{3}-6}}{3}}+x\) | \(22\) |
default | \(x +{\mathrm e}^{\frac {\left (-2 x^{4}+18 x^{2}\right ) {\mathrm e}^{2 \,{\mathrm e}^{3}-6}}{3}}\) | \(24\) |
norman | \(x +{\mathrm e}^{\frac {\left (-2 x^{4}+18 x^{2}\right ) {\mathrm e}^{2 \,{\mathrm e}^{3}-6}}{3}}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.85, size = 258, normalized size = 8.90 \begin {gather*} \frac {3}{2} \, \sqrt {3} \sqrt {2} \sqrt {\pi } \operatorname {erf}\left (\frac {1}{3} \, \sqrt {3} \sqrt {2} x^{2} e^{\left (e^{3} - 3\right )} - \frac {3}{2} \, \sqrt {3} \sqrt {2} e^{\left (e^{3} - 3\right )}\right ) e^{\left (e^{3} + \frac {27}{2} \, e^{\left (2 \, e^{3} - 6\right )} - 3\right )} - \frac {3 \, \sqrt {\frac {2}{3}} {\left (\frac {3 \, \sqrt {\pi } {\left (2 \, x^{2} e^{\left (2 \, e^{3} - 6\right )} - 9 \, e^{\left (2 \, e^{3} - 6\right )}\right )} {\left (\operatorname {erf}\left (\sqrt {\frac {1}{6}} \sqrt {{\left (2 \, x^{2} e^{\left (2 \, e^{3} - 6\right )} - 9 \, e^{\left (2 \, e^{3} - 6\right )}\right )}^{2}} e^{\left (-e^{3} + 3\right )}\right ) - 1\right )} e^{\left (3 \, e^{3} - 9\right )}}{\sqrt {{\left (2 \, x^{2} e^{\left (2 \, e^{3} - 6\right )} - 9 \, e^{\left (2 \, e^{3} - 6\right )}\right )}^{2}} \left (-e^{\left (2 \, e^{3} - 6\right )}\right )^{\frac {3}{2}}} - \frac {\sqrt {\frac {2}{3}} e^{\left (-\frac {1}{6} \, {\left (2 \, x^{2} e^{\left (2 \, e^{3} - 6\right )} - 9 \, e^{\left (2 \, e^{3} - 6\right )}\right )}^{2} e^{\left (-2 \, e^{3} + 6\right )} + 2 \, e^{3} - 6\right )}}{\left (-e^{\left (2 \, e^{3} - 6\right )}\right )^{\frac {3}{2}}}\right )} e^{\left (2 \, e^{3} + \frac {27}{2} \, e^{\left (2 \, e^{3} - 6\right )} - 6\right )}}{2 \, \sqrt {-e^{\left (2 \, e^{3} - 6\right )}}} + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.23, size = 28, normalized size = 0.97 \begin {gather*} x+{\mathrm {e}}^{6\,x^2\,{\mathrm {e}}^{2\,{\mathrm {e}}^3}\,{\mathrm {e}}^{-6}-\frac {2\,x^4\,{\mathrm {e}}^{2\,{\mathrm {e}}^3}\,{\mathrm {e}}^{-6}}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 22, normalized size = 0.76 \begin {gather*} x + e^{\left (- \frac {2 x^{4}}{3} + 6 x^{2}\right ) e^{-6 + 2 e^{3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________