Optimal. Leaf size=36 \[ 5 \left (2 x-\log (x)-\log \left (\frac {1}{-((-2+x) x)+\frac {x}{1-x-3 x^2}}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 35, normalized size of antiderivative = 0.97, number of steps used = 4, number of rules used = 3, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {2074, 628, 1587} \begin {gather*} -5 \log \left (-3 x^2-x+1\right )+5 \log \left (3 x^3-5 x^2-3 x+3\right )+10 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (10-\frac {5 (1+6 x)}{-1+x+3 x^2}+\frac {5 \left (-3-10 x+9 x^2\right )}{3-3 x-5 x^2+3 x^3}\right ) \, dx\\ &=10 x-5 \int \frac {1+6 x}{-1+x+3 x^2} \, dx+5 \int \frac {-3-10 x+9 x^2}{3-3 x-5 x^2+3 x^3} \, dx\\ &=10 x-5 \log \left (1-x-3 x^2\right )+5 \log \left (3-3 x-5 x^2+3 x^3\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 35, normalized size = 0.97 \begin {gather*} 5 \left (2 x-\log \left (1-x-3 x^2\right )+\log \left (3-3 x-5 x^2+3 x^3\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 33, normalized size = 0.92 \begin {gather*} 10 \, x + 5 \, \log \left (3 \, x^{3} - 5 \, x^{2} - 3 \, x + 3\right ) - 5 \, \log \left (3 \, x^{2} + x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 35, normalized size = 0.97 \begin {gather*} 10 \, x + 5 \, \log \left ({\left | 3 \, x^{3} - 5 \, x^{2} - 3 \, x + 3 \right |}\right ) - 5 \, \log \left ({\left | 3 \, x^{2} + x - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 34, normalized size = 0.94
method | result | size |
default | \(10 x -5 \ln \left (3 x^{2}+x -1\right )+5 \ln \left (3 x^{3}-5 x^{2}-3 x +3\right )\) | \(34\) |
norman | \(10 x -5 \ln \left (3 x^{2}+x -1\right )+5 \ln \left (3 x^{3}-5 x^{2}-3 x +3\right )\) | \(34\) |
risch | \(10 x -5 \ln \left (3 x^{2}+x -1\right )+5 \ln \left (3 x^{3}-5 x^{2}-3 x +3\right )\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 33, normalized size = 0.92 \begin {gather*} 10 \, x + 5 \, \log \left (3 \, x^{3} - 5 \, x^{2} - 3 \, x + 3\right ) - 5 \, \log \left (3 \, x^{2} + x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.16, size = 31, normalized size = 0.86 \begin {gather*} 10\,x-5\,\ln \left (3\,x^2+x-1\right )+5\,\ln \left (x^3-\frac {5\,x^2}{3}-x+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 32, normalized size = 0.89 \begin {gather*} 10 x - 5 \log {\left (3 x^{2} + x - 1 \right )} + 5 \log {\left (3 x^{3} - 5 x^{2} - 3 x + 3 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________