Optimal. Leaf size=28 \[ 2 \log \left (\frac {1}{4}+\log ^2\left (x+\frac {9}{x \left (5+\left (1+x^2\right )^2\right )}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 29.28, antiderivative size = 40, normalized size of antiderivative = 1.43, number of steps used = 4, number of rules used = 7, integrand size = 151, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.046, Rules used = {6741, 12, 6742, 6728, 6725, 6708, 31} \begin {gather*} 2 \log \left (4 \log ^2\left (\frac {x^6+2 x^4+6 x^2+9}{x^5+2 x^3+6 x}\right )+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 31
Rule 6708
Rule 6725
Rule 6728
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {16 \left (-54-18 x^2-21 x^4+16 x^6+4 x^8+x^{10}\right ) \log \left (\frac {9+6 x^2+2 x^4+x^6}{x \left (6+2 x^2+x^4\right )}\right )}{x \left (54+54 x^2+33 x^4+16 x^6+4 x^8+x^{10}\right ) \left (1+4 \log ^2\left (\frac {9+6 x^2+2 x^4+x^6}{6 x+2 x^3+x^5}\right )\right )} \, dx\\ &=16 \int \frac {\left (-54-18 x^2-21 x^4+16 x^6+4 x^8+x^{10}\right ) \log \left (\frac {9+6 x^2+2 x^4+x^6}{x \left (6+2 x^2+x^4\right )}\right )}{x \left (54+54 x^2+33 x^4+16 x^6+4 x^8+x^{10}\right ) \left (1+4 \log ^2\left (\frac {9+6 x^2+2 x^4+x^6}{6 x+2 x^3+x^5}\right )\right )} \, dx\\ &=2 \operatorname {Subst}\left (\int \frac {1}{1+x} \, dx,x,4 \log ^2\left (\frac {9+6 x^2+2 x^4+x^6}{6 x+2 x^3+x^5}\right )\right )\\ &=2 \log \left (1+4 \log ^2\left (\frac {9+6 x^2+2 x^4+x^6}{6 x+2 x^3+x^5}\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 40, normalized size = 1.43 \begin {gather*} 2 \log \left (1+4 \log ^2\left (\frac {9+6 x^2+2 x^4+x^6}{6 x+2 x^3+x^5}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.82, size = 40, normalized size = 1.43 \begin {gather*} 2 \, \log \left (4 \, \log \left (\frac {x^{6} + 2 \, x^{4} + 6 \, x^{2} + 9}{x^{5} + 2 \, x^{3} + 6 \, x}\right )^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.75, size = 40, normalized size = 1.43 \begin {gather*} 2 \, \log \left (4 \, \log \left (\frac {x^{6} + 2 \, x^{4} + 6 \, x^{2} + 9}{x^{5} + 2 \, x^{3} + 6 \, x}\right )^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 39, normalized size = 1.39
method | result | size |
risch | \(2 \ln \left (\ln \left (\frac {x^{6}+2 x^{4}+6 x^{2}+9}{x^{5}+2 x^{3}+6 x}\right )^{2}+\frac {1}{4}\right )\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.53, size = 87, normalized size = 3.11 \begin {gather*} 2 \, \log \left (-2 \, {\left (\log \left (x^{4} + 2 \, x^{2} + 6\right ) + \log \relax (x)\right )} \log \left (x^{6} + 2 \, x^{4} + 6 \, x^{2} + 9\right ) + \log \left (x^{6} + 2 \, x^{4} + 6 \, x^{2} + 9\right )^{2} + \log \left (x^{4} + 2 \, x^{2} + 6\right )^{2} + 2 \, \log \left (x^{4} + 2 \, x^{2} + 6\right ) \log \relax (x) + \log \relax (x)^{2} + \frac {1}{4}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.16, size = 38, normalized size = 1.36 \begin {gather*} 2\,\ln \left ({\ln \left (\frac {x^6+2\,x^4+6\,x^2+9}{x^5+2\,x^3+6\,x}\right )}^2+\frac {1}{4}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.82, size = 36, normalized size = 1.29 \begin {gather*} 2 \log {\left (\log {\left (\frac {x^{6} + 2 x^{4} + 6 x^{2} + 9}{x^{5} + 2 x^{3} + 6 x} \right )}^{2} + \frac {1}{4} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________