Integrand size = 26, antiderivative size = 13 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=e^{80-\frac {x}{2}} x^2 \]
[Out]
Time = 0.05 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {12, 1607, 2227, 2207, 2225} \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=e^{80-\frac {x}{2}} x^2 \]
[In]
[Out]
Rule 12
Rule 1607
Rule 2207
Rule 2225
Rule 2227
Rubi steps \begin{align*} \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{align*}
Time = 0.09 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=e^{80-\frac {x}{2}} x^2 \]
[In]
[Out]
Time = 0.11 (sec) , antiderivative size = 11, normalized size of antiderivative = 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\) |
parallelrisch | \({\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}{2}+\frac {x \,{\mathrm e}^{10}}{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}{2}+\frac {x \,{\mathrm e}^{10}}{2}} \left (1-\frac {\left (x \,{\mathrm e}^{10}+2\right ) {\mathrm e}^{-\frac {x \,{\mathrm e}^{10}}{2}}}{2}\right )\) | \(68\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.77 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=x^{2} e^{\left (-\frac {1}{2} \, x + 80\right )} \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.92 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=x^{2} e^{70} e^{10 - \frac {x}{2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 37 vs. \(2 (10) = 20\).
Time = 0.19 (sec) , antiderivative size = 37, normalized size of antiderivative = 2.85 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx={\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 )} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.31 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx={\left ({\left (x - 160\right )}^{2} + 320 \, x - 25600\right )} e^{\left (-\frac {1}{2} \, x + 80\right )} \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.77 \[ \int \frac {1}{2} e^{70+\frac {20-x}{2}} \left (4 x-x^2\right ) \, dx=x^2\,{\mathrm {e}}^{-\frac {x}{2}}\,{\mathrm {e}}^{80} \]
[In]
[Out]