Optimal. Leaf size=19 \[ \left (3+e+\frac {3 x}{2}\right ) \left (3-x-x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, 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]
________________________________________________________________________________________
Maple [A]
time = 0.23, size = 27, normalized size = 1.42
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\) |
default | \(-x^{2} {\mathrm e}-x \,{\mathrm e}-\frac {3 x^{3}}{2}-\frac {9 x^{2}}{2}+\frac {3 x}{2}\) | \(27\) |
risch | \(-x^{2} {\mathrm e}-x \,{\mathrm e}-\frac {3 x^{3}}{2}-\frac {9 x^{2}}{2}+\frac {3 x}{2}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, 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]
________________________________________________________________________________________
Fricas [A]
time = 0.32, 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]
________________________________________________________________________________________
Sympy [A]
time = 0.01, 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]
________________________________________________________________________________________
Giac [A]
time = 0.41, 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]
________________________________________________________________________________________