Integrand size = 25, antiderivative size = 17 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=2 \log (1-x)+\log (x)+3 \log (3+x) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {1608, 1642} \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=2 \log (1-x)+\log (x)+3 \log (x+3) \]
[In]
[Out]
Rule 1608
Rule 1642
Rubi steps \begin{align*} \text {integral}& = \int \frac {-3+5 x+6 x^2}{x \left (-3+2 x+x^2\right )} \, dx \\ & = \int \left (\frac {2}{-1+x}+\frac {1}{x}+\frac {3}{3+x}\right ) \, dx \\ & = 2 \log (1-x)+\log (x)+3 \log (3+x) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=2 \log (1-x)+\log (x)+3 \log (3+x) \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.94
method | result | size |
default | \(2 \ln \left (-1+x \right )+\ln \left (x \right )+3 \ln \left (3+x \right )\) | \(16\) |
norman | \(2 \ln \left (-1+x \right )+\ln \left (x \right )+3 \ln \left (3+x \right )\) | \(16\) |
risch | \(2 \ln \left (-1+x \right )+\ln \left (x \right )+3 \ln \left (3+x \right )\) | \(16\) |
parallelrisch | \(2 \ln \left (-1+x \right )+\ln \left (x \right )+3 \ln \left (3+x \right )\) | \(16\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=3 \, \log \left (x + 3\right ) + 2 \, \log \left (x - 1\right ) + \log \left (x\right ) \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=\log {\left (x \right )} + 2 \log {\left (x - 1 \right )} + 3 \log {\left (x + 3 \right )} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=3 \, \log \left (x + 3\right ) + 2 \, \log \left (x - 1\right ) + \log \left (x\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.06 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=3 \, \log \left ({\left | x + 3 \right |}\right ) + 2 \, \log \left ({\left | x - 1 \right |}\right ) + \log \left ({\left | x \right |}\right ) \]
[In]
[Out]
Time = 0.07 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int \frac {-3+5 x+6 x^2}{-3 x+2 x^2+x^3} \, dx=2\,\ln \left (x-1\right )+3\,\ln \left (x+3\right )+\ln \left (x\right ) \]
[In]
[Out]