Optimal. Leaf size=24 \[ \frac {2}{x-2 x^2}+\log \left (12 \left (-3+\frac {36}{x}\right )+x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 28, normalized size of antiderivative = 1.17, number of steps used = 3, number of rules used = 2, integrand size = 54, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.037, Rules used = {2074, 628} \begin {gather*} \log \left (x^2-36 x+432\right )+\frac {4}{1-2 x}+\frac {2}{x}-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2}{x^2}-\frac {1}{x}+\frac {8}{(-1+2 x)^2}+\frac {2 (-18+x)}{432-36 x+x^2}\right ) \, dx\\ &=\frac {4}{1-2 x}+\frac {2}{x}-\log (x)+2 \int \frac {-18+x}{432-36 x+x^2} \, dx\\ &=\frac {4}{1-2 x}+\frac {2}{x}-\log (x)+\log \left (432-36 x+x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 25, normalized size = 1.04 \begin {gather*} \frac {2}{x-2 x^2}-\log (x)+\log \left (432-36 x+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.99, size = 46, normalized size = 1.92 \begin {gather*} \frac {{\left (2 \, x^{2} - x\right )} \log \left (x^{2} - 36 \, x + 432\right ) - {\left (2 \, x^{2} - x\right )} \log \relax (x) - 2}{2 \, x^{2} - x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 27, normalized size = 1.12 \begin {gather*} -\frac {2}{{\left (2 \, x - 1\right )} x} + \log \left (x^{2} - 36 \, x + 432\right ) - \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 27, normalized size = 1.12
method | result | size |
norman | \(-\frac {2}{x \left (2 x -1\right )}-\ln \relax (x )+\ln \left (x^{2}-36 x +432\right )\) | \(27\) |
risch | \(-\frac {2}{x \left (2 x -1\right )}-\ln \relax (x )+\ln \left (x^{2}-36 x +432\right )\) | \(27\) |
default | \(-\frac {4}{2 x -1}+\frac {2}{x}-\ln \relax (x )+\ln \left (x^{2}-36 x +432\right )\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 27, normalized size = 1.12 \begin {gather*} -\frac {2}{2 \, x^{2} - x} + \log \left (x^{2} - 36 \, x + 432\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.09, size = 25, normalized size = 1.04 \begin {gather*} \ln \left (x^2-36\,x+432\right )-\ln \relax (x)+\frac {1}{\frac {x}{2}-x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 20, normalized size = 0.83 \begin {gather*} - \log {\relax (x )} + \log {\left (x^{2} - 36 x + 432 \right )} - \frac {2}{2 x^{2} - x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________