Optimal. Leaf size=25 \[ \frac {1}{10} \log (1-2 x)+\frac {\log (x)}{2}-\frac {1}{10} \log (x+2) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {1594, 1628} \begin {gather*} \frac {1}{10} \log (1-2 x)+\frac {\log (x)}{2}-\frac {1}{10} \log (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {align*} \int \frac {-1+2 x+x^2}{-2 x+3 x^2+2 x^3} \, dx &=\int \frac {-1+2 x+x^2}{x \left (-2+3 x+2 x^2\right )} \, dx\\ &=\int \left (\frac {1}{2 x}-\frac {1}{10 (2+x)}+\frac {1}{5 (-1+2 x)}\right ) \, dx\\ &=\frac {1}{10} \log (1-2 x)+\frac {\log (x)}{2}-\frac {1}{10} \log (2+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.00 \begin {gather*} \frac {1}{10} \log (1-2 x)+\frac {\log (x)}{2}-\frac {1}{10} \log (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-1+2 x+x^2}{-2 x+3 x^2+2 x^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.07, size = 19, normalized size = 0.76 \begin {gather*} \frac {1}{10} \, \log \left (2 \, x - 1\right ) - \frac {1}{10} \, \log \left (x + 2\right ) + \frac {1}{2} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 22, normalized size = 0.88 \begin {gather*} \frac {1}{10} \, \log \left ({\left | 2 \, x - 1 \right |}\right ) - \frac {1}{10} \, \log \left ({\left | x + 2 \right |}\right ) + \frac {1}{2} \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 20, normalized size = 0.80 \begin {gather*} \frac {\ln \relax (x )}{2}+\frac {\ln \left (2 x -1\right )}{10}-\frac {\ln \left (x +2\right )}{10} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.09, size = 19, normalized size = 0.76 \begin {gather*} \frac {1}{10} \, \log \left (2 \, x - 1\right ) - \frac {1}{10} \, \log \left (x + 2\right ) + \frac {1}{2} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 19, normalized size = 0.76 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {24}{145\,\left (\frac {29\,x}{100}-\frac {11}{50}\right )}+\frac {35}{29}\right )}{5}+\frac {\ln \relax (x)}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 19, normalized size = 0.76 \begin {gather*} \frac {\log {\relax (x )}}{2} + \frac {\log {\left (x - \frac {1}{2} \right )}}{10} - \frac {\log {\left (x + 2 \right )}}{10} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________