Optimal. Leaf size=19 \[ 2+\left (x-x \left (e^2+x-7 (4+x)\right )\right )^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 36, normalized size of antiderivative = 1.89, number of steps used = 3, number of rules used = 1, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.030, Rules used = {6} \begin {gather*} 36 x^4-12 e^2 x^3+348 x^3+\left (841+e^4\right ) x^2-58 e^2 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\left (1682+2 e^4\right ) x+1044 x^2+144 x^3+e^2 \left (-116 x-36 x^2\right )\right ) \, dx\\ &=\left (841+e^4\right ) x^2+348 x^3+36 x^4+e^2 \int \left (-116 x-36 x^2\right ) \, dx\\ &=-58 e^2 x^2+\left (841+e^4\right ) x^2+348 x^3-12 e^2 x^3+36 x^4\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.74 \begin {gather*} \left (-29+e^2-6 x\right )^2 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.05, size = 37, normalized size = 1.95 \begin {gather*} 36 \, x^{4} + 348 \, x^{3} + x^{2} e^{4} + 841 \, x^{2} - 2 \, {\left (6 \, x^{3} + 29 \, x^{2}\right )} e^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 37, normalized size = 1.95 \begin {gather*} 36 \, x^{4} + 348 \, x^{3} + x^{2} e^{4} + 841 \, x^{2} - 2 \, {\left (6 \, x^{3} + 29 \, x^{2}\right )} e^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 14, normalized size = 0.74
method | result | size |
gosper | \(x^{2} \left ({\mathrm e}^{2}-6 x -29\right )^{2}\) | \(14\) |
norman | \(\left (-12 \,{\mathrm e}^{2}+348\right ) x^{3}+\left ({\mathrm e}^{4}-58 \,{\mathrm e}^{2}+841\right ) x^{2}+36 x^{4}\) | \(31\) |
risch | \(x^{2} {\mathrm e}^{4}-12 x^{3} {\mathrm e}^{2}-58 x^{2} {\mathrm e}^{2}+36 x^{4}+348 x^{3}+841 x^{2}\) | \(37\) |
default | \(x^{2} {\mathrm e}^{4}+{\mathrm e}^{2} \left (-12 x^{3}-58 x^{2}\right )+36 x^{4}+348 x^{3}+841 x^{2}\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.35, size = 37, normalized size = 1.95 \begin {gather*} 36 \, x^{4} + 348 \, x^{3} + x^{2} e^{4} + 841 \, x^{2} - 2 \, {\left (6 \, x^{3} + 29 \, x^{2}\right )} e^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.92, size = 15, normalized size = 0.79 \begin {gather*} x^2\,{\left (6\,x-{\mathrm {e}}^2+29\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 27, normalized size = 1.42 \begin {gather*} 36 x^{4} + x^{3} \left (348 - 12 e^{2}\right ) + x^{2} \left (- 58 e^{2} + e^{4} + 841\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________