Integrand size = 47, antiderivative size = 13 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=4+\frac {1}{3-e+e^x}+x \]
[Out]
Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.92, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {2320, 907} \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=x+\frac {1}{e^x+3-e} \]
[In]
[Out]
Rule 907
Rule 2320
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {(-3+e)^2+(5-2 e) x+x^2}{x (3-e+x)^2} \, dx,x,e^x\right ) \\ & = \text {Subst}\left (\int \left (-\frac {1}{(-3+e-x)^2}+\frac {1}{x}\right ) \, dx,x,e^x\right ) \\ & = \frac {1}{3-e+e^x}+x \\ \end{align*}
Time = 0.21 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.92 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=\frac {1}{3-e+e^x}+x \]
[In]
[Out]
Time = 0.52 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15
method | result | size |
risch | \(x -\frac {1}{-{\mathrm e}^{x}+{\mathrm e}-3}\) | \(15\) |
norman | \(\frac {\left ({\mathrm e}-3\right ) x -{\mathrm e}^{x} x -1}{-{\mathrm e}^{x}+{\mathrm e}-3}\) | \(25\) |
parallelrisch | \(\frac {x \,{\mathrm e}-{\mathrm e}^{x} x -3 x -1}{-{\mathrm e}^{x}+{\mathrm e}-3}\) | \(26\) |
default | \(\frac {\frac {{\mathrm e}^{2} x}{{\mathrm e}-3}+\frac {{\mathrm e}^{2}}{{\mathrm e}-3}-\frac {{\mathrm e}^{2} x \,{\mathrm e}^{x}}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}}{-{\mathrm e}^{x}+{\mathrm e}-3}-\frac {{\mathrm e}^{2} \ln \left (-{\mathrm e}^{x}+{\mathrm e}-3\right )}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}+\frac {{\mathrm e}-3}{-{\mathrm e}^{x}+{\mathrm e}-3}+\ln \left (-{\mathrm e}^{x}+{\mathrm e}-3\right )+\frac {\frac {9 x}{{\mathrm e}-3}+\frac {9}{{\mathrm e}-3}-\frac {9 x \,{\mathrm e}^{x}}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}}{-{\mathrm e}^{x}+{\mathrm e}-3}-\frac {9 \ln \left (-{\mathrm e}^{x}+{\mathrm e}-3\right )}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}+\frac {-\frac {6 \,{\mathrm e}}{{\mathrm e}-3}-\frac {6 \,{\mathrm e} x}{{\mathrm e}-3}+\frac {6 \,{\mathrm e} x \,{\mathrm e}^{x}}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}}{-{\mathrm e}^{x}+{\mathrm e}-3}+\frac {6 \,{\mathrm e} \ln \left (-{\mathrm e}^{x}+{\mathrm e}-3\right )}{{\mathrm e}^{2}-6 \,{\mathrm e}+9}+\frac {5}{-{\mathrm e}^{x}+{\mathrm e}-3}-\frac {2 \,{\mathrm e}}{-{\mathrm e}^{x}+{\mathrm e}-3}\) | \(281\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.92 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=\frac {x e - x e^{x} - 3 \, x - 1}{e - e^{x} - 3} \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.77 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=x + \frac {1}{e^{x} - e + 3} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.08 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=x - \frac {1}{e - e^{x} - 3} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.08 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=x - \frac {1}{e - e^{x} - 3} \]
[In]
[Out]
Time = 11.23 (sec) , antiderivative size = 28, normalized size of antiderivative = 2.15 \[ \int \frac {9-6 e+e^2+(5-2 e) e^x+e^{2 x}}{9-6 e+e^2+(6-2 e) e^x+e^{2 x}} \, dx=\frac {1}{{\mathrm {e}}^x-\mathrm {e}+3}-\frac {3\,x-x\,\mathrm {e}}{\mathrm {e}-3} \]
[In]
[Out]