Integrand size = 49, antiderivative size = 22 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=x+e^{28} \left (-e^{e^x}+e^{x^2}\right ) x^2 \]
[Out]
\[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=\int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \left (1-2 e^{28+e^x} x-e^{28+e^x+x} x^2+2 e^{28+x^2} x \left (1+x^2\right )\right ) \, dx \\ & = x-2 \int e^{28+e^x} x \, dx+2 \int e^{28+x^2} x \left (1+x^2\right ) \, dx-\int e^{28+e^x+x} x^2 \, dx \\ & = x-2 \int e^{28+e^x} x \, dx+2 \int \left (e^{28+x^2} x+e^{28+x^2} x^3\right ) \, dx-\int e^{28+e^x+x} x^2 \, dx \\ & = x-2 \int e^{28+e^x} x \, dx+2 \int e^{28+x^2} x \, dx+2 \int e^{28+x^2} x^3 \, dx-\int e^{28+e^x+x} x^2 \, dx \\ & = e^{28+x^2}+x+e^{28+x^2} x^2-2 \int e^{28+e^x} x \, dx-2 \int e^{28+x^2} x \, dx-\int e^{28+e^x+x} x^2 \, dx \\ & = x+e^{28+x^2} x^2-2 \int e^{28+e^x} x \, dx-\int e^{28+e^x+x} x^2 \, dx \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.14 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=x-e^{28+e^x} x^2+e^{28+x^2} x^2 \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(46\) vs. \(2(22)=44\).
Time = 9.56 (sec) , antiderivative size = 47, normalized size of antiderivative = 2.14
method | result | size |
parallelrisch | \(\frac {2 \,{\mathrm e}^{x^{2}} {\mathrm e}^{12} {\mathrm e}^{\ln \left (x^{2}\right )+16} x^{2}-2 \,{\mathrm e}^{12} x^{2} {\mathrm e}^{{\mathrm e}^{x}} {\mathrm e}^{\ln \left (x^{2}\right )+16}+2 x^{3}}{2 x^{2}}\) | \(47\) |
risch | \(x -x^{2} \left ({\mathrm e}^{x^{2}}-{\mathrm e}^{{\mathrm e}^{x}}\right ) {\mathrm e}^{28} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i x^{2}\right )^{3}}{2}} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )}{2}}\) | \(53\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=x^{2} e^{\left (x^{2} + 28\right )} - x^{2} e^{\left (e^{x} + 28\right )} + x \]
[In]
[Out]
Time = 0.15 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.09 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=x^{2} e^{28} e^{x^{2}} - x^{2} e^{28} e^{e^{x}} + x \]
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.55 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=-x^{2} e^{\left (e^{x} + 28\right )} + {\left (x^{2} e^{28} - e^{28}\right )} e^{\left (x^{2}\right )} + x + e^{\left (x^{2} + 28\right )} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.45 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx={\left (x^{2} e^{\left (x^{2} + x + 28\right )} - x^{2} e^{\left (x + e^{x} + 28\right )} + x e^{x}\right )} e^{\left (-x\right )} \]
[In]
[Out]
Time = 14.41 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \frac {x+e^{16} x^2 \left (e^{e^x} \left (-2 e^{12}-e^{12+x} x\right )+e^{12+x^2} \left (2+2 x^2\right )\right )}{x} \, dx=x+x^2\,{\mathrm {e}}^{x^2}\,{\mathrm {e}}^{28}-x^2\,{\mathrm {e}}^{{\mathrm {e}}^x}\,{\mathrm {e}}^{28} \]
[In]
[Out]