Optimal. Leaf size=25 \[ -3 \left (\frac {5 x}{-2+x}-x^6+(3+\log (2))^2\right )+\log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 17, normalized size of antiderivative = 0.68, number of steps used = 4, number of rules used = 3, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {1594, 27, 1620} \begin {gather*} 3 x^6+\frac {30}{2-x}+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 1594
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {4+26 x+x^2+72 x^6-72 x^7+18 x^8}{x \left (4-4 x+x^2\right )} \, dx\\ &=\int \frac {4+26 x+x^2+72 x^6-72 x^7+18 x^8}{(-2+x)^2 x} \, dx\\ &=\int \left (\frac {30}{(-2+x)^2}+\frac {1}{x}+18 x^5\right ) \, dx\\ &=\frac {30}{2-x}+3 x^6+\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.60 \begin {gather*} -\frac {30}{-2+x}+3 x^6+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 24, normalized size = 0.96 \begin {gather*} \frac {3 \, x^{7} - 6 \, x^{6} + {\left (x - 2\right )} \log \relax (x) - 30}{x - 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.11, size = 16, normalized size = 0.64 \begin {gather*} 3 \, x^{6} - \frac {30}{x - 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.04, size = 16, normalized size = 0.64
method | result | size |
default | \(3 x^{6}+\ln \relax (x )-\frac {30}{x -2}\) | \(16\) |
risch | \(3 x^{6}+\ln \relax (x )-\frac {30}{x -2}\) | \(16\) |
norman | \(\frac {3 x^{7}-6 x^{6}-30}{x -2}+\ln \relax (x )\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 15, normalized size = 0.60 \begin {gather*} 3 \, x^{6} - \frac {30}{x - 2} + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 15, normalized size = 0.60 \begin {gather*} \ln \relax (x)-\frac {30}{x-2}+3\,x^6 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 12, normalized size = 0.48 \begin {gather*} 3 x^{6} + \log {\relax (x )} - \frac {30}{x - 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________