Integrand size = 64, antiderivative size = 28 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\frac {1}{3} \left (-1+e^{\frac {\left (3+\frac {-3+x}{x}\right )^2}{4 e}}\right )^2 \]
[Out]
Time = 0.22 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.68, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.047, Rules used = {12, 14, 6838} \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\frac {1}{3} e^{\frac {(3-4 x)^2}{2 e x^2}}-\frac {2}{3} e^{\frac {(3-4 x)^2}{4 e x^2}} \]
[In]
[Out]
Rule 12
Rule 14
Rule 6838
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{x^3} \, dx}{e} \\ & = \frac {\int \left (-\frac {e^{\frac {(3-4 x)^2}{4 e x^2}} (-3+4 x)}{x^3}+\frac {e^{\frac {(3-4 x)^2}{2 e x^2}} (-3+4 x)}{x^3}\right ) \, dx}{e} \\ & = -\frac {\int \frac {e^{\frac {(3-4 x)^2}{4 e x^2}} (-3+4 x)}{x^3} \, dx}{e}+\frac {\int \frac {e^{\frac {(3-4 x)^2}{2 e x^2}} (-3+4 x)}{x^3} \, dx}{e} \\ & = -\frac {2}{3} e^{\frac {(3-4 x)^2}{4 e x^2}}+\frac {1}{3} e^{\frac {(3-4 x)^2}{2 e x^2}} \\ \end{align*}
Time = 0.84 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.57 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\frac {1}{3} e^{\frac {(3-4 x)^2}{4 e x^2}} \left (-2+e^{\frac {(3-4 x)^2}{4 e x^2}}\right ) \]
[In]
[Out]
Time = 0.40 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.29
method | result | size |
risch | \(\frac {{\mathrm e}^{\frac {\left (-3+4 x \right )^{2} {\mathrm e}^{-1}}{2 x^{2}}}}{3}-\frac {2 \,{\mathrm e}^{\frac {\left (-3+4 x \right )^{2} {\mathrm e}^{-1}}{4 x^{2}}}}{3}\) | \(36\) |
parts | \(\frac {{\mathrm e}^{\frac {\left (16 x^{2}-24 x +9\right ) {\mathrm e}^{-1}}{2 x^{2}}}}{3}-\frac {2 \,{\mathrm e}^{\frac {\left (16 x^{2}-24 x +9\right ) {\mathrm e}^{-1}}{4 x^{2}}}}{3}\) | \(48\) |
norman | \(\frac {\frac {x^{2} {\mathrm e}^{\frac {\left (16 x^{2}-24 x +9\right ) {\mathrm e}^{-1}}{2 x^{2}}}}{3}-\frac {2 \,{\mathrm e}^{\frac {\left (16 x^{2}-24 x +9\right ) {\mathrm e}^{-1}}{4 x^{2}}} x^{2}}{3}}{x^{2}}\) | \(58\) |
default | \({\mathrm e}^{-1} \left (-\frac {4 i {\mathrm e}^{4 \,{\mathrm e}^{-1}} \sqrt {\pi }\, {\mathrm e}^{-4 \,{\mathrm e}^{-1}} {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} {\mathrm e}^{\frac {1}{2}}\right )}{3}+\frac {2 i {\mathrm e}^{8 \,{\mathrm e}^{-1}} \sqrt {\pi }\, {\mathrm e}^{-8 \,{\mathrm e}^{-1}} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i \sqrt {2}\, {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}}\right )}{3}-3 \,{\mathrm e}^{4 \,{\mathrm e}^{-1}} \left (\frac {2 \,{\mathrm e} \,{\mathrm e}^{\frac {9 \,{\mathrm e}^{-1}}{4 x^{2}}-\frac {6 \,{\mathrm e}^{-1}}{x}}}{9}-\frac {4 i \sqrt {\pi }\, {\mathrm e}^{-4 \,{\mathrm e}^{-1}} {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} {\mathrm e}^{\frac {1}{2}}\right )}{9}\right )+3 \,{\mathrm e}^{8 \,{\mathrm e}^{-1}} \left (\frac {{\mathrm e} \,{\mathrm e}^{\frac {9 \,{\mathrm e}^{-1}}{2 x^{2}}-\frac {12 \,{\mathrm e}^{-1}}{x}}}{9}-\frac {2 i \sqrt {\pi }\, {\mathrm e}^{-8 \,{\mathrm e}^{-1}} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i \sqrt {2}\, {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}}\right )}{9}\right )\right )\) | \(239\) |
derivativedivides | \(-{\mathrm e}^{-1} \left (\frac {4 i {\mathrm e}^{4 \,{\mathrm e}^{-1}} \sqrt {\pi }\, {\mathrm e}^{-4 \,{\mathrm e}^{-1}} {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} {\mathrm e}^{\frac {1}{2}}\right )}{3}-\frac {2 i {\mathrm e}^{8 \,{\mathrm e}^{-1}} \sqrt {\pi }\, {\mathrm e}^{-8 \,{\mathrm e}^{-1}} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i \sqrt {2}\, {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}}\right )}{3}+3 \,{\mathrm e}^{4 \,{\mathrm e}^{-1}} \left (\frac {2 \,{\mathrm e} \,{\mathrm e}^{\frac {9 \,{\mathrm e}^{-1}}{4 x^{2}}-\frac {6 \,{\mathrm e}^{-1}}{x}}}{9}-\frac {4 i \sqrt {\pi }\, {\mathrm e}^{-4 \,{\mathrm e}^{-1}} {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} {\mathrm e}^{\frac {1}{2}}\right )}{9}\right )-3 \,{\mathrm e}^{8 \,{\mathrm e}^{-1}} \left (\frac {{\mathrm e} \,{\mathrm e}^{\frac {9 \,{\mathrm e}^{-1}}{2 x^{2}}-\frac {12 \,{\mathrm e}^{-1}}{x}}}{9}-\frac {2 i \sqrt {\pi }\, {\mathrm e}^{-8 \,{\mathrm e}^{-1}} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}} \operatorname {erf}\left (\frac {3 i \sqrt {2}\, {\mathrm e}^{-\frac {1}{2}}}{2 x}-2 i {\mathrm e}^{-1} \sqrt {2}\, {\mathrm e}^{\frac {1}{2}}\right )}{9}\right )\right )\) | \(240\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.46 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\frac {1}{3} \, e^{\left (\frac {{\left (16 \, x^{2} - 24 \, x + 9\right )} e^{\left (-1\right )}}{2 \, x^{2}}\right )} - \frac {2}{3} \, e^{\left (\frac {{\left (16 \, x^{2} - 24 \, x + 9\right )} e^{\left (-1\right )}}{4 \, x^{2}}\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 44 vs. \(2 (19) = 38\).
Time = 0.11 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.57 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\frac {e^{\frac {2 \cdot \left (4 x^{2} - 6 x + \frac {9}{4}\right )}{e x^{2}}}}{3} - \frac {2 e^{\frac {4 x^{2} - 6 x + \frac {9}{4}}{e x^{2}}}}{3} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 52 vs. \(2 (22) = 44\).
Time = 0.30 (sec) , antiderivative size = 52, normalized size of antiderivative = 1.86 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=-\frac {1}{3} \, {\left (2 \, e^{\left (\frac {6 \, e^{\left (-1\right )}}{x} + \frac {9 \, e^{\left (-1\right )}}{4 \, x^{2}} + 4 \, e^{\left (-1\right )} + 1\right )} - e^{\left (\frac {9 \, e^{\left (-1\right )}}{2 \, x^{2}} + 8 \, e^{\left (-1\right )} + 1\right )}\right )} e^{\left (-\frac {12 \, e^{\left (-1\right )}}{x} - 1\right )} \]
[In]
[Out]
\[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx=\int { \frac {{\left ({\left (4 \, x - 3\right )} e^{\left (\frac {{\left (16 \, x^{2} - 24 \, x + 9\right )} e^{\left (-1\right )}}{2 \, x^{2}}\right )} - {\left (4 \, x - 3\right )} e^{\left (\frac {{\left (16 \, x^{2} - 24 \, x + 9\right )} e^{\left (-1\right )}}{4 \, x^{2}}\right )}\right )} e^{\left (-1\right )}}{x^{3}} \,d x } \]
[In]
[Out]
Time = 12.88 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.61 \[ \int \frac {e^{\frac {9-24 x+16 x^2}{4 e x^2}} (3-4 x)+e^{\frac {9-24 x+16 x^2}{2 e x^2}} (-3+4 x)}{e x^3} \, dx={\mathrm {e}}^{4\,{\mathrm {e}}^{-1}-\frac {6\,{\mathrm {e}}^{-1}}{x}+\frac {9\,{\mathrm {e}}^{-1}}{4\,x^2}}\,\left (\frac {{\mathrm {e}}^{4\,{\mathrm {e}}^{-1}-\frac {6\,{\mathrm {e}}^{-1}}{x}+\frac {9\,{\mathrm {e}}^{-1}}{4\,x^2}}}{3}-\frac {2}{3}\right ) \]
[In]
[Out]