Optimal. Leaf size=24 \[ -x+\frac {3+x}{x}+\log \left (\left (-1+\frac {1}{625 x^5}+x\right )^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 28, normalized size of antiderivative = 1.17, number of steps used = 4, number of rules used = 3, integrand size = 47, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.064, Rules used = {1594, 6742, 1587} \begin {gather*} 2 \log \left (625 x^6-625 x^5+1\right )-x+\frac {3}{x}-10 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 1594
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-3-10 x-x^2+1875 x^5-1875 x^6+1875 x^7-625 x^8}{x^2 \left (1-625 x^5+625 x^6\right )} \, dx\\ &=\int \left (-1-\frac {3}{x^2}-\frac {10}{x}+\frac {1250 x^4 (-5+6 x)}{1-625 x^5+625 x^6}\right ) \, dx\\ &=\frac {3}{x}-x-10 \log (x)+1250 \int \frac {x^4 (-5+6 x)}{1-625 x^5+625 x^6} \, dx\\ &=\frac {3}{x}-x-10 \log (x)+2 \log \left (1-625 x^5+625 x^6\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 28, normalized size = 1.17 \begin {gather*} \frac {3}{x}-x-10 \log (x)+2 \log \left (1-625 x^5+625 x^6\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 31, normalized size = 1.29 \begin {gather*} -\frac {x^{2} - 2 \, x \log \left (625 \, x^{6} - 625 \, x^{5} + 1\right ) + 10 \, x \log \relax (x) - 3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 30, normalized size = 1.25 \begin {gather*} -x + \frac {3}{x} + 2 \, \log \left ({\left | 625 \, x^{6} - 625 \, x^{5} + 1 \right |}\right ) - 10 \, \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 = 29, normalized size = 1.21
method | result | size |
default | \(-x +\frac {3}{x}-10 \ln \relax (x )+2 \ln \left (625 x^{6}-625 x^{5}+1\right )\) | \(29\) |
risch | \(-x +\frac {3}{x}-10 \ln \relax (x )+2 \ln \left (625 x^{6}-625 x^{5}+1\right )\) | \(29\) |
norman | \(\frac {-x^{2}+3}{x}-10 \ln \relax (x )+2 \ln \left (625 x^{6}-625 x^{5}+1\right )\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 28, normalized size = 1.17 \begin {gather*} -x + \frac {3}{x} + 2 \, \log \left (625 \, x^{6} - 625 \, x^{5} + 1\right ) - 10 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.23, size = 26, normalized size = 1.08 \begin {gather*} 2\,\ln \left (x^6-x^5+\frac {1}{625}\right )-x-10\,\ln \relax (x)+\frac {3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 24, normalized size = 1.00 \begin {gather*} - x - 10 \log {\relax (x )} + 2 \log {\left (625 x^{6} - 625 x^{5} + 1 \right )} + \frac {3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________