Optimal. Leaf size=30 \[ -e^{-x+x \left (e^2-\left (2-\frac {1}{2 x}\right ) x\right )}+10 x \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 26, normalized size of antiderivative = 0.87, number of steps used = 4, number of rules used = 3, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {12, 2244, 2236} \begin {gather*} 10 x-e^{-2 x^2-\frac {1}{2} \left (1-2 e^2\right ) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2236
Rule 2244
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (20+e^{\frac {1}{2} \left (-x+2 e^2 x-4 x^2\right )} \left (1-2 e^2+8 x\right )\right ) \, dx\\ &=10 x+\frac {1}{2} \int e^{\frac {1}{2} \left (-x+2 e^2 x-4 x^2\right )} \left (1-2 e^2+8 x\right ) \, dx\\ &=10 x+\frac {1}{2} \int e^{\frac {1}{2} \left (-1+2 e^2\right ) x-2 x^2} \left (1-2 e^2+8 x\right ) \, dx\\ &=-e^{-\frac {1}{2} \left (1-2 e^2\right ) x-2 x^2}+10 x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 26, normalized size = 0.87 \begin {gather*} -e^{\frac {1}{2} \left (-1+2 e^2\right ) x-2 x^2}+10 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 20, normalized size = 0.67 \begin {gather*} 10 \, x - e^{\left (-2 \, x^{2} + x e^{2} - \frac {1}{2} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 20, normalized size = 0.67 \begin {gather*} 10 \, x - e^{\left (-2 \, x^{2} + x e^{2} - \frac {1}{2} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 20, normalized size = 0.67
method | result | size |
risch | \(10 x -{\mathrm e}^{\frac {x \left (2 \,{\mathrm e}^{2}-4 x -1\right )}{2}}\) | \(20\) |
norman | \(10 x -{\mathrm e}^{{\mathrm e}^{2} x -2 x^{2}-\frac {x}{2}}\) | \(21\) |
default | \(10 x +\frac {\sqrt {\pi }\, {\mathrm e}^{\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right )^{2}}{8}} \sqrt {2}\, \erf \left (\sqrt {2}\, x -\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right ) \sqrt {2}}{4}\right )}{8}-{\mathrm e}^{-2 x^{2}+\left ({\mathrm e}^{2}-\frac {1}{2}\right ) x}+\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right ) \sqrt {\pi }\, {\mathrm e}^{\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right )^{2}}{8}} \sqrt {2}\, \erf \left (\sqrt {2}\, x -\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right ) \sqrt {2}}{4}\right )}{4}-\frac {\sqrt {\pi }\, {\mathrm e}^{2+\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right )^{2}}{8}} \sqrt {2}\, \erf \left (\sqrt {2}\, x -\frac {\left ({\mathrm e}^{2}-\frac {1}{2}\right ) \sqrt {2}}{4}\right )}{4}\) | \(125\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 20, normalized size = 0.67 \begin {gather*} 10 \, x - e^{\left (-2 \, x^{2} + x e^{2} - \frac {1}{2} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.16, size = 20, normalized size = 0.67 \begin {gather*} 10\,x-{\mathrm {e}}^{x\,{\mathrm {e}}^2-\frac {x}{2}-2\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 17, normalized size = 0.57 \begin {gather*} 10 x - e^{- 2 x^{2} - \frac {x}{2} + x e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________