Optimal. Leaf size=27 \[ x^2 \left (\frac {8}{x}-x+x \left (-e+\frac {-2+\log (4)}{x}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 23, normalized size of antiderivative = 0.85, number of steps used = 3, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {6} \begin {gather*} -\left ((1+e) x^3\right )-x^2 (2-\log (4))+8 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (8-3 x^2-3 e x^2+x (-4+2 \log (4))\right ) \, dx\\ &=\int \left (8+(-3-3 e) x^2+x (-4+2 \log (4))\right ) \, dx\\ &=8 x-(1+e) x^3-x^2 (2-\log (4))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 26, normalized size = 0.96 \begin {gather*} 8 x-2 x^2-x^3-e x^3+x^2 \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.90, size = 28, normalized size = 1.04 \begin {gather*} -x^{3} e - x^{3} + 2 \, x^{2} \log \relax (2) - 2 \, x^{2} + 8 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 28, normalized size = 1.04 \begin {gather*} -x^{3} e - x^{3} + 2 \, x^{2} \log \relax (2) - 2 \, x^{2} + 8 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 23, normalized size = 0.85
method | result | size |
gosper | \(-x \left (x^{2} {\mathrm e}-2 x \ln \relax (2)+x^{2}+2 x -8\right )\) | \(23\) |
norman | \(\left (-{\mathrm e}-1\right ) x^{3}+\left (2 \ln \relax (2)-2\right ) x^{2}+8 x\) | \(25\) |
default | \(2 x^{2} \ln \relax (2)-x^{3} {\mathrm e}-x^{3}-2 x^{2}+8 x\) | \(29\) |
risch | \(2 x^{2} \ln \relax (2)-x^{3} {\mathrm e}-x^{3}-2 x^{2}+8 x\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 28, normalized size = 1.04 \begin {gather*} -x^{3} e - x^{3} + 2 \, x^{2} \log \relax (2) - 2 \, x^{2} + 8 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.36, size = 21, normalized size = 0.78 \begin {gather*} \left (-\mathrm {e}-1\right )\,x^3+\left (\ln \relax (4)-2\right )\,x^2+8\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 22, normalized size = 0.81 \begin {gather*} x^{3} \left (- e - 1\right ) + x^{2} \left (-2 + 2 \log {\relax (2 )}\right ) + 8 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________