Optimal. Leaf size=19 \[ \left (3+e+\frac {3 x}{2}\right ) \left (3-x-x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.68, 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 {3 x^3}{2}-\frac {9 x^2}{2}+\frac {3 x}{2}-\frac {1}{4} e (2 x+1)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (3+e (-2-4 x)-18 x-9 x^2\right ) \, dx\\ &=\frac {3 x}{2}-\frac {9 x^2}{2}-\frac {3 x^3}{2}-\frac {1}{4} e (1+2 x)^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 30, normalized size = 1.58 \begin {gather*} \frac {3 x}{2}-e x-\frac {9 x^2}{2}-e x^2-\frac {3 x^3}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 23, normalized size = 1.21 \begin {gather*} -\frac {3}{2} \, x^{3} - \frac {9}{2} \, x^{2} - {\left (x^{2} + x\right )} e + \frac {3}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 23, normalized size = 1.21 \begin {gather*} -\frac {3}{2} \, x^{3} - \frac {9}{2} \, x^{2} - {\left (x^{2} + x\right )} e + \frac {3}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 23, normalized size = 1.21
method | result | size |
gosper | \(-\frac {x \left (2 x \,{\mathrm e}+3 x^{2}+2 \,{\mathrm e}+9 x -3\right )}{2}\) | \(23\) |
norman | \(\left (-{\mathrm e}-\frac {9}{2}\right ) x^{2}+\left (-{\mathrm e}+\frac {3}{2}\right ) x -\frac {3 x^{3}}{2}\) | \(25\) |
risch | \(-x^{2} {\mathrm e}-x \,{\mathrm e}-\frac {3 x^{3}}{2}-\frac {9 x^{2}}{2}+\frac {3 x}{2}\) | \(27\) |
default | \(\frac {{\mathrm e} \left (-2 x^{2}-2 x \right )}{2}-\frac {3 x^{3}}{2}-\frac {9 x^{2}}{2}+\frac {3 x}{2}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 23, normalized size = 1.21 \begin {gather*} -\frac {3}{2} \, x^{3} - \frac {9}{2} \, x^{2} - {\left (x^{2} + x\right )} e + \frac {3}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 22, normalized size = 1.16 \begin {gather*} -\frac {3\,x^3}{2}+\left (-\mathrm {e}-\frac {9}{2}\right )\,x^2+\left (\frac {3}{2}-\mathrm {e}\right )\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.05, size = 26, normalized size = 1.37 \begin {gather*} - \frac {3 x^{3}}{2} + x^{2} \left (- \frac {9}{2} - e\right ) + x \left (\frac {3}{2} - e\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________