Optimal. Leaf size=33 \[ -e^x+3 \left (-1+3 \left (1-\frac {3 (-5+x)^2 (-4+x)^2}{x^2}-x\right ) x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 24, normalized size of antiderivative = 0.73, number of steps used = 5, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {14, 2194} \begin {gather*} -27 x^3+477 x^2-3258 x-e^x-\frac {10800}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^x-\frac {9 \left (-1200+362 x^2-106 x^3+9 x^4\right )}{x^2}\right ) \, dx\\ &=-\left (9 \int \frac {-1200+362 x^2-106 x^3+9 x^4}{x^2} \, dx\right )-\int e^x \, dx\\ &=-e^x-9 \int \left (362-\frac {1200}{x^2}-106 x+9 x^2\right ) \, dx\\ &=-e^x-\frac {10800}{x}-3258 x+477 x^2-27 x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 24, normalized size = 0.73 \begin {gather*} -e^x-\frac {10800}{x}-3258 x+477 x^2-27 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.08, size = 26, normalized size = 0.79 \begin {gather*} -\frac {27 \, x^{4} - 477 \, x^{3} + 3258 \, x^{2} + x e^{x} + 10800}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.98, size = 26, normalized size = 0.79 \begin {gather*} -\frac {27 \, x^{4} - 477 \, x^{3} + 3258 \, x^{2} + x e^{x} + 10800}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 24, normalized size = 0.73
method | result | size |
default | \(477 x^{2}-3258 x -\frac {10800}{x}-27 x^{3}-{\mathrm e}^{x}\) | \(24\) |
risch | \(477 x^{2}-3258 x -\frac {10800}{x}-27 x^{3}-{\mathrm e}^{x}\) | \(24\) |
norman | \(\frac {-10800-3258 x^{2}+477 x^{3}-27 x^{4}-{\mathrm e}^{x} x}{x}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 23, normalized size = 0.70 \begin {gather*} -27 \, x^{3} + 477 \, x^{2} - 3258 \, x - \frac {10800}{x} - e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 23, normalized size = 0.70 \begin {gather*} 477\,x^2-{\mathrm {e}}^x-\frac {10800}{x}-3258\,x-27\,x^3 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 19, normalized size = 0.58 \begin {gather*} - 27 x^{3} + 477 x^{2} - 3258 x - e^{x} - \frac {10800}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________