Integrand size = 68, antiderivative size = 23 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=\left (8 x+9 e^x x\right ) \left (4+\left (x-\log \left (x^2\right )\right )^2\right ) \]
[Out]
\[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=\int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = 32 x-16 x^2+8 x^3+\int e^x \left (36+27 x^2+9 x^3\right ) \, dx+\int \left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right ) \, dx+\int \left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right ) \, dx \\ & = 32 x-16 x^2+8 x^3+36 e^x \log \left (x^2\right )+32 x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+\int \left (36 e^x+27 e^x x^2+9 e^x x^3\right ) \, dx-\int \left (-32 (-2+x)-\frac {36 e^x \left (-2+x^2\right )}{x}\right ) \, dx+\int \left (8 \log ^2\left (x^2\right )+9 e^x (1+x) \log ^2\left (x^2\right )\right ) \, dx \\ & = 16 (2-x)^2+32 x-16 x^2+8 x^3+36 e^x \log \left (x^2\right )+32 x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+8 \int \log ^2\left (x^2\right ) \, dx+9 \int e^x x^3 \, dx+9 \int e^x (1+x) \log ^2\left (x^2\right ) \, dx+27 \int e^x x^2 \, dx+36 \int e^x \, dx+36 \int \frac {e^x \left (-2+x^2\right )}{x} \, dx \\ & = 36 e^x+16 (2-x)^2+32 x-16 x^2+27 e^x x^2+8 x^3+9 e^x x^3+36 e^x \log \left (x^2\right )+32 x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+8 x \log ^2\left (x^2\right )+9 \int \left (e^x \log ^2\left (x^2\right )+e^x x \log ^2\left (x^2\right )\right ) \, dx-27 \int e^x x^2 \, dx-32 \int \log \left (x^2\right ) \, dx+36 \int \left (-\frac {2 e^x}{x}+e^x x\right ) \, dx-54 \int e^x x \, dx \\ & = 36 e^x+16 (2-x)^2+96 x-54 e^x x-16 x^2+8 x^3+9 e^x x^3+36 e^x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+8 x \log ^2\left (x^2\right )+9 \int e^x \log ^2\left (x^2\right ) \, dx+9 \int e^x x \log ^2\left (x^2\right ) \, dx+36 \int e^x x \, dx+54 \int e^x \, dx+54 \int e^x x \, dx-72 \int \frac {e^x}{x} \, dx \\ & = 90 e^x+16 (2-x)^2+96 x+36 e^x x-16 x^2+8 x^3+9 e^x x^3-72 \operatorname {ExpIntegralEi}(x)+36 e^x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+8 x \log ^2\left (x^2\right )+9 \int e^x \log ^2\left (x^2\right ) \, dx+9 \int e^x x \log ^2\left (x^2\right ) \, dx-36 \int e^x \, dx-54 \int e^x \, dx \\ & = 16 (2-x)^2+96 x+36 e^x x-16 x^2+8 x^3+9 e^x x^3-72 \operatorname {ExpIntegralEi}(x)+36 e^x \log \left (x^2\right )-16 x^2 \log \left (x^2\right )-18 e^x x^2 \log \left (x^2\right )+8 x \log ^2\left (x^2\right )+9 \int e^x \log ^2\left (x^2\right ) \, dx+9 \int e^x x \log ^2\left (x^2\right ) \, dx \\ \end{align*}
Time = 0.31 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.17 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=\left (8+9 e^x\right ) x \left (4+x^2-2 x \log \left (x^2\right )+\log ^2\left (x^2\right )\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(61\) vs. \(2(22)=44\).
Time = 0.18 (sec) , antiderivative size = 62, normalized size of antiderivative = 2.70
method | result | size |
parallelrisch | \(9 \,{\mathrm e}^{x} x^{3}-18 x^{2} {\mathrm e}^{x} \ln \left (x^{2}\right )+9 \,{\mathrm e}^{x} \ln \left (x^{2}\right )^{2} x +8 x^{3}-16 x^{2} \ln \left (x^{2}\right )+8 x \ln \left (x^{2}\right )^{2}+36 \,{\mathrm e}^{x} x +32 x\) | \(62\) |
risch | \(\left (36 \,{\mathrm e}^{x} x +32 x \right ) \ln \left (x \right )^{2}+\left (-16 i x \left (\pi \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )-2 \pi \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{2}+\pi \operatorname {csgn}\left (i x^{2}\right )^{3}-4 i\right )-18 i \left (\pi x \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )-2 \pi x \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{2}+\pi x \operatorname {csgn}\left (i x^{2}\right )^{3}-4 i\right ) {\mathrm e}^{x}\right ) \ln \left (x \right )+16 i \pi x \operatorname {csgn}\left (i x^{2}\right )^{3}+16 i \pi x \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )-36 i {\mathrm e}^{x} \pi \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{2}+18 i {\mathrm e}^{x} \pi \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )-32 i \pi x \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{2}+18 i {\mathrm e}^{x} \pi \operatorname {csgn}\left (i x^{2}\right )^{3}-\frac {\pi ^{2} \operatorname {csgn}\left (i x^{2}\right )^{2} \left (\operatorname {csgn}\left (i x \right )^{2}-2 \,\operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x \right )+\operatorname {csgn}\left (i x^{2}\right )^{2}\right )^{2} \left (8 x +9 \,{\mathrm e}^{x} x \right )}{4}+\left (-32 x^{2}+64 x +\left (-36 x^{2}+72\right ) {\mathrm e}^{x}\right ) \ln \left (x \right )+i \pi \,\operatorname {csgn}\left (i x^{2}\right ) \left (\operatorname {csgn}\left (i x \right )^{2}-2 \,\operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x \right )+\operatorname {csgn}\left (i x^{2}\right )^{2}\right ) \left (8 x^{2}-16 x +9 \,{\mathrm e}^{x} x^{2}-18 \,{\mathrm e}^{x}\right )+36 \,{\mathrm e}^{x} x -36 \,{\mathrm e}^{x}+\left (9 x^{3}+36\right ) {\mathrm e}^{x}+8 x^{3}+32 x\) | \(400\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 55 vs. \(2 (22) = 44\).
Time = 0.25 (sec) , antiderivative size = 55, normalized size of antiderivative = 2.39 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=8 \, x^{3} + {\left (9 \, x e^{x} + 8 \, x\right )} \log \left (x^{2}\right )^{2} + 9 \, {\left (x^{3} + 4 \, x\right )} e^{x} - 2 \, {\left (9 \, x^{2} e^{x} + 8 \, x^{2}\right )} \log \left (x^{2}\right ) + 32 \, x \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 60 vs. \(2 (19) = 38\).
Time = 0.17 (sec) , antiderivative size = 60, normalized size of antiderivative = 2.61 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=8 x^{3} - 16 x^{2} \log {\left (x^{2} \right )} + 8 x \log {\left (x^{2} \right )}^{2} + 32 x + \left (9 x^{3} - 18 x^{2} \log {\left (x^{2} \right )} + 9 x \log {\left (x^{2} \right )}^{2} + 36 x\right ) e^{x} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 54 vs. \(2 (22) = 44\).
Time = 0.26 (sec) , antiderivative size = 54, normalized size of antiderivative = 2.35 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=8 \, x^{3} - 32 \, x^{2} \log \left (x\right ) + 32 \, x \log \left (x\right )^{2} + 9 \, {\left (x^{3} + 4\right )} e^{x} - 36 \, {\left (x^{2} \log \left (x\right ) - x \log \left (x\right )^{2} - x + 1\right )} e^{x} + 32 \, x \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 82 vs. \(2 (22) = 44\).
Time = 0.29 (sec) , antiderivative size = 82, normalized size of antiderivative = 3.57 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=8 \, x^{3} + {\left (9 \, x e^{x} + 8 \, x\right )} \log \left (x^{2}\right )^{2} + 9 \, {\left (x^{3} + 4\right )} e^{x} + 36 \, x e^{x} - 2 \, {\left (8 \, x^{2} + 9 \, {\left (x^{2} - 2\right )} e^{x} - 16 \, x\right )} \log \left (x^{2}\right ) - 32 \, x \log \left (x^{2}\right ) - 36 \, e^{x} \log \left (x^{2}\right ) + 32 \, x - 36 \, e^{x} \]
[In]
[Out]
Time = 13.10 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.13 \[ \int \left (32-32 x+24 x^2+e^x \left (36+27 x^2+9 x^3\right )+\left (32-32 x+e^x \left (36-36 x-18 x^2\right )\right ) \log \left (x^2\right )+\left (8+e^x (9+9 x)\right ) \log ^2\left (x^2\right )\right ) \, dx=x\,\left (9\,{\mathrm {e}}^x+8\right )\,\left (x^2-2\,x\,\ln \left (x^2\right )+{\ln \left (x^2\right )}^2+4\right ) \]
[In]
[Out]