Integrand size = 40, antiderivative size = 26 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=3 (-3+x)-\frac {e^{-2+x}}{x}+(-5+x) (4+4 \log (x)) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.88, number of steps used = 9, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {12, 14, 2228, 45, 2332} \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=7 x-\frac {e^{x-2}}{x}+4 x \log (x)-20 \log (x) \]
[In]
[Out]
Rule 12
Rule 14
Rule 45
Rule 2228
Rule 2332
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{x^2} \, dx}{e^2} \\ & = \frac {\int \left (-\frac {e^x (-1+x)}{x^2}+\frac {e^2 (-20+11 x+4 x \log (x))}{x}\right ) \, dx}{e^2} \\ & = -\frac {\int \frac {e^x (-1+x)}{x^2} \, dx}{e^2}+\int \frac {-20+11 x+4 x \log (x)}{x} \, dx \\ & = -\frac {e^{-2+x}}{x}+\int \left (\frac {-20+11 x}{x}+4 \log (x)\right ) \, dx \\ & = -\frac {e^{-2+x}}{x}+4 \int \log (x) \, dx+\int \frac {-20+11 x}{x} \, dx \\ & = -\frac {e^{-2+x}}{x}-4 x+4 x \log (x)+\int \left (11-\frac {20}{x}\right ) \, dx \\ & = -\frac {e^{-2+x}}{x}+7 x-20 \log (x)+4 x \log (x) \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.88 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=-\frac {e^{-2+x}}{x}+7 x-20 \log (x)+4 x \log (x) \]
[In]
[Out]
Time = 0.32 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.96
method | result | size |
parts | \(7 x -20 \ln \left (x \right )-\frac {{\mathrm e}^{x} {\mathrm e}^{-2}}{x}+4 x \ln \left (x \right )\) | \(25\) |
risch | \(-\frac {20 x \ln \left (x \right )-7 x^{2}-4 x^{2} \ln \left (x \right )+{\mathrm e}^{-2+x}}{x}\) | \(28\) |
norman | \(\frac {-20 x \ln \left (x \right )+7 x^{2}+4 x^{2} \ln \left (x \right )-{\mathrm e}^{-2} {\mathrm e}^{x}}{x}\) | \(31\) |
default | \({\mathrm e}^{-2} \left ({\mathrm e}^{2} \left (11 x -20 \ln \left (x \right )\right )+4 \,{\mathrm e}^{2} \left (x \ln \left (x \right )-x \right )-\frac {{\mathrm e}^{x}}{x}\right )\) | \(37\) |
parallelrisch | \(\frac {{\mathrm e}^{-2} \left (4 x^{2} {\mathrm e}^{2} \ln \left (x \right )+7 x^{2} {\mathrm e}^{2}-20 x \,{\mathrm e}^{2} \ln \left (x \right )-{\mathrm e}^{x}\right )}{x}\) | \(37\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.19 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=\frac {{\left (7 \, x^{2} e^{2} + 4 \, {\left (x^{2} - 5 \, x\right )} e^{2} \log \left (x\right ) - e^{x}\right )} e^{\left (-2\right )}}{x} \]
[In]
[Out]
Time = 0.13 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.85 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=4 x \log {\left (x \right )} + 7 x - 20 \log {\left (x \right )} - \frac {e^{x}}{x e^{2}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3.
Time = 0.21 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.38 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx={\left (4 \, {\left (x \log \left (x\right ) - x\right )} e^{2} + 11 \, x e^{2} - 20 \, e^{2} \log \left (x\right ) - {\rm Ei}\left (x\right ) + \Gamma \left (-1, -x\right )\right )} e^{\left (-2\right )} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.31 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=\frac {{\left (4 \, x^{2} e^{2} \log \left (x\right ) + 7 \, x^{2} e^{2} - 20 \, x e^{2} \log \left (x\right ) - e^{x}\right )} e^{\left (-2\right )}}{x} \]
[In]
[Out]
Time = 15.89 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.85 \[ \int \frac {e^x (1-x)+e^2 \left (-20 x+11 x^2\right )+4 e^2 x^2 \log (x)}{e^2 x^2} \, dx=x\,\left (4\,\ln \left (x\right )+7\right )-\frac {{\mathrm {e}}^{x-2}}{x}-20\,\ln \left (x\right ) \]
[In]
[Out]