Integrand size = 64, antiderivative size = 20 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=e^x-2 x \log (-3+x)-\frac {\log (x)}{e^{3/2}} \]
[Out]
Time = 0.58 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.60, number of steps used = 11, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.109, Rules used = {12, 1607, 6874, 2225, 907, 2436, 2332} \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=e^x-6 \log (3-x)+2 (3-x) \log (x-3)-\frac {\log (x)}{e^{3/2}} \]
[In]
[Out]
Rule 12
Rule 907
Rule 1607
Rule 2225
Rule 2332
Rule 2436
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{-3 x+x^2} \, dx}{e^{3/2}} \\ & = \frac {\int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{(-3+x) x} \, dx}{e^{3/2}} \\ & = \frac {\int \left (e^{\frac {3}{2}+x}+\frac {3-x-2 e^{3/2} x^2+6 e^{3/2} x \log (-3+x)-2 e^{3/2} x^2 \log (-3+x)}{(-3+x) x}\right ) \, dx}{e^{3/2}} \\ & = \frac {\int e^{\frac {3}{2}+x} \, dx}{e^{3/2}}+\frac {\int \frac {3-x-2 e^{3/2} x^2+6 e^{3/2} x \log (-3+x)-2 e^{3/2} x^2 \log (-3+x)}{(-3+x) x} \, dx}{e^{3/2}} \\ & = e^x+\frac {\int \left (\frac {3-x-2 e^{3/2} x^2}{(-3+x) x}-2 e^{3/2} \log (-3+x)\right ) \, dx}{e^{3/2}} \\ & = e^x-2 \int \log (-3+x) \, dx+\frac {\int \frac {3-x-2 e^{3/2} x^2}{(-3+x) x} \, dx}{e^{3/2}} \\ & = e^x-2 \text {Subst}(\int \log (x) \, dx,x,-3+x)+\frac {\int \left (-2 e^{3/2}-\frac {6 e^{3/2}}{-3+x}-\frac {1}{x}\right ) \, dx}{e^{3/2}} \\ & = e^x-6 \log (3-x)+2 (3-x) \log (-3+x)-\frac {\log (x)}{e^{3/2}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(47\) vs. \(2(20)=40\).
Time = 0.23 (sec) , antiderivative size = 47, normalized size of antiderivative = 2.35 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=\frac {e^{\frac {3}{2}+x}-6 e^{3/2} \log (3-x)+2 e^{3/2} (3-x) \log (-3+x)-\log (x)}{e^{3/2}} \]
[In]
[Out]
Time = 0.56 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.85
method | result | size |
risch | \({\mathrm e}^{x}-\ln \left (x \right ) {\mathrm e}^{-\frac {3}{2}}-2 \ln \left (-3+x \right ) x\) | \(17\) |
norman | \({\mathrm e}^{x}-\ln \left (x \right ) {\mathrm e}^{-\frac {3}{2}}-2 \ln \left (-3+x \right ) x\) | \(19\) |
parallelrisch | \({\mathrm e}^{-\frac {3}{2}} \left (-2 \,{\mathrm e}^{\frac {3}{2}} \ln \left (-3+x \right ) x -\ln \left (x \right )+{\mathrm e}^{\frac {3}{2}} {\mathrm e}^{x}\right )\) | \(25\) |
parts | \(-6 \ln \left (-3+x \right )-\ln \left (x \right ) {\mathrm e}^{-\frac {3}{2}}-2 \left (-3+x \right ) \ln \left (-3+x \right )-6+{\mathrm e}^{x}\) | \(28\) |
default | \({\mathrm e}^{-\frac {3}{2}} \left ({\mathrm e}^{\frac {3}{2}} {\mathrm e}^{x}-2 \,{\mathrm e}^{\frac {3}{2}} \left (\left (-3+x \right ) \ln \left (-3+x \right )+3-x \right )-2 x \,{\mathrm e}^{\frac {3}{2}}-\ln \left (x \right )-6 \,{\mathrm e}^{\frac {3}{2}} \ln \left (-3+x \right )\right )\) | \(46\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.10 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=-{\left (2 \, x e^{\frac {3}{2}} \log \left (x - 3\right ) - e^{\left (x + \frac {3}{2}\right )} + \log \left (x\right )\right )} e^{\left (-\frac {3}{2}\right )} \]
[In]
[Out]
Time = 0.12 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.95 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=- 2 x \log {\left (x - 3 \right )} + e^{x} - \frac {\log {\left (x \right )}}{e^{\frac {3}{2}}} \]
[In]
[Out]
\[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=\int { -\frac {{\left (2 \, x^{2} e^{\frac {3}{2}} + 2 \, {\left (x^{2} - 3 \, x\right )} e^{\frac {3}{2}} \log \left (x - 3\right ) - {\left (x^{2} - 3 \, x\right )} e^{\left (x + \frac {3}{2}\right )} + x - 3\right )} e^{\left (-\frac {3}{2}\right )}}{x^{2} - 3 \, x} \,d x } \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.10 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx=-{\left (2 \, x e^{\frac {3}{2}} \log \left (x - 3\right ) - e^{\left (x + \frac {3}{2}\right )} + \log \left (x\right )\right )} e^{\left (-\frac {3}{2}\right )} \]
[In]
[Out]
Time = 0.38 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \frac {3-x-2 e^{3/2} x^2+e^{\frac {3}{2}+x} \left (-3 x+x^2\right )+e^{3/2} \left (6 x-2 x^2\right ) \log (-3+x)}{e^{3/2} \left (-3 x+x^2\right )} \, dx={\mathrm {e}}^x-2\,x\,\ln \left (x-3\right )-{\mathrm {e}}^{-\frac {3}{2}}\,\ln \left (x\right ) \]
[In]
[Out]