Optimal. Leaf size=13 \[ e^{80-\frac {x}{2}} x^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {12, 1593, 2196, 2176, 2194} \begin {gather*} e^{80-\frac {x}{2}} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1593
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx\\ &=\frac {1}{2} \int e^{70+\frac {20-x}{2}} (4-x) x \, dx\\ &=\frac {1}{2} \int \left (4 e^{80-\frac {x}{2}} x-e^{80-\frac {x}{2}} x^2\right ) \, dx\\ &=-\left (\frac {1}{2} \int e^{80-\frac {x}{2}} x^2 \, dx\right )+2 \int e^{80-\frac {x}{2}} x \, dx\\ &=-4 e^{80-\frac {x}{2}} x+e^{80-\frac {x}{2}} x^2-2 \int e^{80-\frac {x}{2}} x \, dx+4 \int e^{80-\frac {x}{2}} \, dx\\ &=-8 e^{80-\frac {x}{2}}+e^{80-\frac {x}{2}} x^2-4 \int e^{80-\frac {x}{2}} \, dx\\ &=e^{80-\frac {x}{2}} x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 1.00 \begin {gather*} e^{80-\frac {x}{2}} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.49, size = 10, normalized size = 0.77 \begin {gather*} x^{2} e^{\left (-\frac {1}{2} \, x + 80\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 10, normalized size = 0.77 \begin {gather*} x^{2} e^{\left (-\frac {1}{2} \, x + 80\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 11, normalized size = 0.85
method | result | size |
risch | \(x^{2} {\mathrm e}^{80-\frac {x}{2}}\) | \(11\) |
gosper | \({\mathrm e}^{-\frac {x}{2}+10} x^{2} {\mathrm e}^{72} {\mathrm e}^{-2}\) | \(21\) |
norman | \({\mathrm e}^{-\frac {x}{2}+10} x^{2} {\mathrm e}^{72} {\mathrm e}^{-2}\) | \(21\) |
derivativedivides | \(-2 \,{\mathrm e}^{72} {\mathrm e}^{-2} \left (-200 \,{\mathrm e}^{-\frac {x}{2}+10}+80 \,{\mathrm e}^{-\frac {x}{2}+10} \left (-\frac {x}{4}+5\right )-8 \,{\mathrm e}^{-\frac {x}{2}+10} \left (-\frac {x}{4}+5\right )^{2}\right )\) | \(54\) |
default | \(\frac {{\mathrm e}^{72} {\mathrm e}^{-2} \left (800 \,{\mathrm e}^{-\frac {x}{2}+10}-320 \,{\mathrm e}^{-\frac {x}{2}+10} \left (-\frac {x}{4}+5\right )+32 \,{\mathrm e}^{-\frac {x}{2}+10} \left (-\frac {x}{4}+5\right )^{2}\right )}{2}\) | \(54\) |
meijerg | \(-4 \,{\mathrm e}^{50+\frac {x \,{\mathrm e}^{10}}{2}-\frac {x}{2}} \left (2-\frac {\left (\frac {3 x^{2} {\mathrm e}^{20}}{4}+3 x \,{\mathrm e}^{10}+6\right ) {\mathrm e}^{-\frac {x \,{\mathrm e}^{10}}{2}}}{3}\right )+8 \,{\mathrm e}^{60+\frac {x \,{\mathrm e}^{10}}{2}-\frac {x}{2}} \left (1-\frac {\left (x \,{\mathrm e}^{10}+2\right ) {\mathrm e}^{-\frac {x \,{\mathrm e}^{10}}{2}}}{2}\right )\) | \(68\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 37, normalized size = 2.85 \begin {gather*} {\left (x^{2} e^{80} + 4 \, x e^{80} + 8 \, e^{80}\right )} e^{\left (-\frac {1}{2} \, x\right )} - 4 \, {\left (x e^{80} + 2 \, e^{80}\right )} e^{\left (-\frac {1}{2} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 10, normalized size = 0.77 \begin {gather*} x^2\,{\mathrm {e}}^{-\frac {x}{2}}\,{\mathrm {e}}^{80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 12, normalized size = 0.92 \begin {gather*} x^{2} e^{70} e^{10 - \frac {x}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________