Optimal. Leaf size=16 \[ 4-36 \log \left (x+\frac {x}{x+x^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {1593, 2075, 628} \begin {gather*} 36 \log (x+1)-36 \log \left (x^2+x+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 1593
Rule 2075
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {(-72-36 x) x}{1+2 x+2 x^2+x^3} \, dx\\ &=\int \left (\frac {36}{1+x}-\frac {36 (1+2 x)}{1+x+x^2}\right ) \, dx\\ &=36 \log (1+x)-36 \int \frac {1+2 x}{1+x+x^2} \, dx\\ &=36 \log (1+x)-36 \log \left (1+x+x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 1.00 \begin {gather*} -36 \left (-\log (1+x)+\log \left (1+x+x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 16, normalized size = 1.00 \begin {gather*} -36 \, \log \left (x^{2} + x + 1\right ) + 36 \, \log \left (x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.11, size = 17, normalized size = 1.06 \begin {gather*} -36 \, \log \left (x^{2} + x + 1\right ) + 36 \, \log \left ({\left | x + 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 17, normalized size = 1.06
method | result | size |
default | \(-36 \ln \left (x^{2}+x +1\right )+36 \ln \left (x +1\right )\) | \(17\) |
norman | \(-36 \ln \left (x^{2}+x +1\right )+36 \ln \left (x +1\right )\) | \(17\) |
risch | \(-36 \ln \left (x^{2}+x +1\right )+36 \ln \left (x +1\right )\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 16, normalized size = 1.00 \begin {gather*} -36 \, \log \left (x^{2} + x + 1\right ) + 36 \, \log \left (x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.16, size = 16, normalized size = 1.00 \begin {gather*} 36\,\ln \left (x+1\right )-36\,\ln \left (x^2+x+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.94 \begin {gather*} 36 \log {\left (x + 1 \right )} - 36 \log {\left (x^{2} + x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________