Integrand size = 69, antiderivative size = 25 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=e^{21+x}-x-e^{-\log ^2\left (x^2\right )} \log (-3+x) \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(56\) vs. \(2(25)=50\).
Time = 0.58 (sec) , antiderivative size = 56, normalized size of antiderivative = 2.24, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.058, Rules used = {1607, 6874, 2225, 2326} \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=-\frac {e^{-\log ^2\left (x^2\right )} \left (3 \log (x-3) \log \left (x^2\right )-x \log (x-3) \log \left (x^2\right )\right )}{(3-x) \log \left (x^2\right )}-x+e^{x+21} \]
[In]
[Out]
Rule 1607
Rule 2225
Rule 2326
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{(-3+x) x} \, dx \\ & = \int \left (-1+e^{21+x}+\frac {e^{-\log ^2\left (x^2\right )} \left (-x-12 \log (-3+x) \log \left (x^2\right )+4 x \log (-3+x) \log \left (x^2\right )\right )}{(-3+x) x}\right ) \, dx \\ & = -x+\int e^{21+x} \, dx+\int \frac {e^{-\log ^2\left (x^2\right )} \left (-x-12 \log (-3+x) \log \left (x^2\right )+4 x \log (-3+x) \log \left (x^2\right )\right )}{(-3+x) x} \, dx \\ & = e^{21+x}-x-\frac {e^{-\log ^2\left (x^2\right )} \left (3 \log (-3+x) \log \left (x^2\right )-x \log (-3+x) \log \left (x^2\right )\right )}{(3-x) \log \left (x^2\right )} \\ \end{align*}
Time = 3.31 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=e^{21+x}-x-e^{-\log ^2\left (x^2\right )} \log (-3+x) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(50\) vs. \(2(23)=46\).
Time = 1.14 (sec) , antiderivative size = 51, normalized size of antiderivative = 2.04
method | result | size |
parallelrisch | \(\frac {\left (-18 \,{\mathrm e}^{\ln \left (x^{2}\right )^{2}} x +18 \,{\mathrm e}^{x +21} {\mathrm e}^{\ln \left (x^{2}\right )^{2}}-18 \ln \left (-3+x \right )-27 \,{\mathrm e}^{\ln \left (x^{2}\right )^{2}}\right ) {\mathrm e}^{-\ln \left (x^{2}\right )^{2}}}{18}\) | \(51\) |
risch | \({\mathrm e}^{x +21}-x -\ln \left (-3+x \right ) {\mathrm e}^{-\frac {{\left (-i \pi \operatorname {csgn}\left (i x^{2}\right )^{3}+2 i \pi \operatorname {csgn}\left (i x^{2}\right )^{2} \operatorname {csgn}\left (i x \right )-i \pi \,\operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x \right )^{2}+4 \ln \left (x \right )\right )}^{2}}{4}}\) | \(74\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.28 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=-{\left ({\left (x - e^{\left (x + 21\right )}\right )} e^{\left (\log \left (x^{2}\right )^{2}\right )} + \log \left (x - 3\right )\right )} e^{\left (-\log \left (x^{2}\right )^{2}\right )} \]
[In]
[Out]
Time = 1.16 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.76 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=- x + e^{x + 21} - e^{- \log {\left (x^{2} \right )}^{2}} \log {\left (x - 3 \right )} \]
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.84 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=-e^{\left (-4 \, \log \left (x\right )^{2}\right )} \log \left (x - 3\right ) - x + e^{\left (x + 21\right )} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.92 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx=-e^{\left (-\log \left (x^{2}\right )^{2}\right )} \log \left (x - 3\right ) - x + e^{\left (x + 21\right )} \]
[In]
[Out]
Time = 13.10 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.92 \[ \int \frac {e^{-\log ^2\left (x^2\right )} \left (-x+e^{\log ^2\left (x^2\right )} \left (3 x-x^2+e^{21+x} \left (-3 x+x^2\right )\right )+(-12+4 x) \log (-3+x) \log \left (x^2\right )\right )}{-3 x+x^2} \, dx={\mathrm {e}}^{x+21}-x-\ln \left (x-3\right )\,{\mathrm {e}}^{-{\ln \left (x^2\right )}^2} \]
[In]
[Out]