Optimal. Leaf size=26 \[ \log \left (\frac {x}{-3+x+\frac {x+\frac {1}{4} \left (x^8+\log \left (x^2\right )\right )}{x}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 28, normalized size of antiderivative = 1.08, number of steps used = 5, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {6741, 12, 6742, 6684} \begin {gather*} 2 \log (x)-\log \left (-x^8-4 x^2-\log \left (x^2\right )+8 x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 6684
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 \left (1+4 x+3 x^8-\log \left (x^2\right )\right )}{8 x^2-4 x^3-x^9-x \log \left (x^2\right )} \, dx\\ &=2 \int \frac {1+4 x+3 x^8-\log \left (x^2\right )}{8 x^2-4 x^3-x^9-x \log \left (x^2\right )} \, dx\\ &=2 \int \left (\frac {1}{x}+\frac {-1+4 x-4 x^2-4 x^8}{x \left (-8 x+4 x^2+x^8+\log \left (x^2\right )\right )}\right ) \, dx\\ &=2 \log (x)+2 \int \frac {-1+4 x-4 x^2-4 x^8}{x \left (-8 x+4 x^2+x^8+\log \left (x^2\right )\right )} \, dx\\ &=2 \log (x)-\log \left (8 x-4 x^2-x^8-\log \left (x^2\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.24, size = 24, normalized size = 0.92 \begin {gather*} 2 \log (x)-\log \left (-8 x+4 x^2+x^8+\log \left (x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 24, normalized size = 0.92 \begin {gather*} -\log \left (x^{8} + 4 \, x^{2} - 8 \, x + \log \left (x^{2}\right )\right ) + \log \left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.44, size = 24, normalized size = 0.92 \begin {gather*} -\log \left (x^{8} + 4 \, x^{2} - 8 \, x + \log \left (x^{2}\right )\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 25, normalized size = 0.96
method | result | size |
norman | \(2 \ln \relax (x )-\ln \left (x^{8}+4 x^{2}+\ln \left (x^{2}\right )-8 x \right )\) | \(25\) |
risch | \(2 \ln \relax (x )-\ln \left (x^{8}+4 x^{2}+\ln \left (x^{2}\right )-8 x \right )\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.71, size = 24, normalized size = 0.92 \begin {gather*} -\log \left (\frac {1}{2} \, x^{8} + 2 \, x^{2} - 4 \, x + \log \relax (x)\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int -\frac {8\,x-2\,\ln \left (x^2\right )+6\,x^8+2}{x\,\ln \left (x^2\right )-8\,x^2+4\,x^3+x^9} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 22, normalized size = 0.85 \begin {gather*} 2 \log {\relax (x )} - \log {\left (x^{8} + 4 x^{2} - 8 x + \log {\left (x^{2} \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________