Optimal. Leaf size=27 \[ \frac {3}{10} \left ((1-2 x)^2+x\right ) \left (-x+\log \left (e^{2 e-2 x}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.19, number of steps used = 2, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {12} \begin {gather*} -\frac {18 x^3}{5}+\frac {27 x^2}{10}-\frac {9 x}{10}+\frac {3}{80} e (3-8 x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{10} \int \left (-9+54 x-108 x^2+e (-18+48 x)\right ) \, dx\\ &=\frac {3}{80} e (3-8 x)^2-\frac {9 x}{10}+\frac {27 x^2}{10}-\frac {18 x^3}{5}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 28, normalized size = 1.04 \begin {gather*} \frac {3}{10} \left (-3 x-6 e x+9 x^2+8 e x^2-12 x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 27, normalized size = 1.00 \begin {gather*} -\frac {18}{5} \, x^{3} + \frac {27}{10} \, x^{2} + \frac {3}{5} \, {\left (4 \, x^{2} - 3 \, x\right )} e - \frac {9}{10} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 27, normalized size = 1.00 \begin {gather*} -\frac {18}{5} \, x^{3} + \frac {27}{10} \, x^{2} + \frac {3}{5} \, {\left (4 \, x^{2} - 3 \, x\right )} e - \frac {9}{10} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 23, normalized size = 0.85
method | result | size |
gosper | \(\frac {3 x \left (8 x \,{\mathrm e}-12 x^{2}-6 \,{\mathrm e}+9 x -3\right )}{10}\) | \(23\) |
norman | \(\left (-\frac {9 \,{\mathrm e}}{5}-\frac {9}{10}\right ) x +\left (\frac {12 \,{\mathrm e}}{5}+\frac {27}{10}\right ) x^{2}-\frac {18 x^{3}}{5}\) | \(25\) |
risch | \(\frac {12 x^{2} {\mathrm e}}{5}-\frac {9 x \,{\mathrm e}}{5}-\frac {18 x^{3}}{5}+\frac {27 x^{2}}{10}-\frac {9 x}{10}\) | \(27\) |
default | \(\frac {{\mathrm e} \left (24 x^{2}-18 x \right )}{10}-\frac {18 x^{3}}{5}+\frac {27 x^{2}}{10}-\frac {9 x}{10}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 27, normalized size = 1.00 \begin {gather*} -\frac {18}{5} \, x^{3} + \frac {27}{10} \, x^{2} + \frac {3}{5} \, {\left (4 \, x^{2} - 3 \, x\right )} e - \frac {9}{10} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.35, size = 25, normalized size = 0.93 \begin {gather*} -\frac {18\,x^3}{5}+\left (\frac {12\,\mathrm {e}}{5}+\frac {27}{10}\right )\,x^2+\left (-\frac {9\,\mathrm {e}}{5}-\frac {9}{10}\right )\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 32, normalized size = 1.19 \begin {gather*} - \frac {18 x^{3}}{5} + x^{2} \left (\frac {27}{10} + \frac {12 e}{5}\right ) + x \left (- \frac {9 e}{5} - \frac {9}{10}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________