Integrand size = 26, antiderivative size = 12 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=e^{3 x (1+x)} x^2 \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(27\) vs. \(2(12)=24\).
Time = 0.03 (sec) , antiderivative size = 27, normalized size of antiderivative = 2.25, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {1608, 2326} \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=\frac {e^{3 x^2+3 x} x \left (2 x^2+x\right )}{2 x+1} \]
[In]
[Out]
Rule 1608
Rule 2326
Rubi steps \begin{align*} \text {integral}& = \int e^{3 x+3 x^2} x \left (2+3 x+6 x^2\right ) \, dx \\ & = \frac {e^{3 x+3 x^2} x \left (x+2 x^2\right )}{1+2 x} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=e^{3 x (1+x)} x^2 \]
[In]
[Out]
Time = 0.14 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00
method | result | size |
risch | \({\mathrm e}^{3 \left (1+x \right ) x} x^{2}\) | \(12\) |
gosper | \({\mathrm e}^{3 x^{2}+3 x} x^{2}\) | \(15\) |
default | \({\mathrm e}^{3 x^{2}+3 x} x^{2}\) | \(15\) |
norman | \({\mathrm e}^{3 x^{2}+3 x} x^{2}\) | \(15\) |
parallelrisch | \({\mathrm e}^{3 x^{2}+3 x} x^{2}\) | \(15\) |
parts | \(-i \sqrt {3}\, \sqrt {\pi }\, {\mathrm e}^{-\frac {3}{4}} \operatorname {erf}\left (i \sqrt {3}\, x +\frac {i \sqrt {3}}{2}\right ) x^{3}-\frac {i \sqrt {3}\, \sqrt {\pi }\, {\mathrm e}^{-\frac {3}{4}} \operatorname {erf}\left (i \sqrt {3}\, x +\frac {i \sqrt {3}}{2}\right ) x^{2}}{2}-\frac {i \sqrt {3}\, \sqrt {\pi }\, {\mathrm e}^{-\frac {3}{4}} \operatorname {erf}\left (i \sqrt {3}\, x +\frac {i \sqrt {3}}{2}\right ) x}{3}-\frac {i {\mathrm e}^{-\frac {3}{4}} \sqrt {3}\, \left (2 i x^{2} {\mathrm e}^{\frac {3 \left (1+2 x \right )^{2}}{4}} \sqrt {3}-6 x^{3} \operatorname {erf}\left (\frac {i \sqrt {3}\, \left (1+2 x \right )}{2}\right ) \sqrt {\pi }-3 \sqrt {\pi }\, x^{2} \operatorname {erf}\left (\frac {i \sqrt {3}\, \left (1+2 x \right )}{2}\right )-2 \sqrt {\pi }\, x \,\operatorname {erf}\left (\frac {i \sqrt {3}\, \left (1+2 x \right )}{2}\right )\right )}{6}\) | \(173\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=x^{2} e^{\left (3 \, x^{2} + 3 \, x\right )} \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=x^{2} e^{3 x^{2} + 3 x} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3.
Time = 0.34 (sec) , antiderivative size = 268, normalized size of antiderivative = 22.33 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=\frac {1}{72} \, \sqrt {3} {\left (\frac {36 \, {\left (2 \, x + 1\right )}^{3} \Gamma \left (\frac {3}{2}, -\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )}{\left (-{\left (2 \, x + 1\right )}^{2}\right )^{\frac {3}{2}}} - \frac {9 \, \sqrt {\pi } {\left (2 \, x + 1\right )} {\left (\operatorname {erf}\left (\frac {1}{2} \, \sqrt {3} \sqrt {-{\left (2 \, x + 1\right )}^{2}}\right ) - 1\right )}}{\sqrt {-{\left (2 \, x + 1\right )}^{2}}} + 18 \, \sqrt {3} e^{\left (\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )} - 8 \, \sqrt {3} \Gamma \left (2, -\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )\right )} e^{\left (-\frac {3}{4}\right )} - \frac {1}{24} \, \sqrt {3} {\left (\frac {4 \, {\left (2 \, x + 1\right )}^{3} \Gamma \left (\frac {3}{2}, -\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )}{\left (-{\left (2 \, x + 1\right )}^{2}\right )^{\frac {3}{2}}} - \frac {3 \, \sqrt {\pi } {\left (2 \, x + 1\right )} {\left (\operatorname {erf}\left (\frac {1}{2} \, \sqrt {3} \sqrt {-{\left (2 \, x + 1\right )}^{2}}\right ) - 1\right )}}{\sqrt {-{\left (2 \, x + 1\right )}^{2}}} + 4 \, \sqrt {3} e^{\left (\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )}\right )} e^{\left (-\frac {3}{4}\right )} - \frac {1}{18} \, \sqrt {3} {\left (\frac {3 \, \sqrt {\pi } {\left (2 \, x + 1\right )} {\left (\operatorname {erf}\left (\frac {1}{2} \, \sqrt {3} \sqrt {-{\left (2 \, x + 1\right )}^{2}}\right ) - 1\right )}}{\sqrt {-{\left (2 \, x + 1\right )}^{2}}} - 2 \, \sqrt {3} e^{\left (\frac {3}{4} \, {\left (2 \, x + 1\right )}^{2}\right )}\right )} e^{\left (-\frac {3}{4}\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 24 vs. \(2 (11) = 22\).
Time = 0.28 (sec) , antiderivative size = 24, normalized size of antiderivative = 2.00 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=\frac {1}{4} \, {\left ({\left (2 \, x + 1\right )}^{2} - 4 \, x - 1\right )} e^{\left (3 \, x^{2} + 3 \, x\right )} \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int e^{3 x+3 x^2} \left (2 x+3 x^2+6 x^3\right ) \, dx=x^2\,{\mathrm {e}}^{3\,x^2+3\,x} \]
[In]
[Out]