Optimal. Leaf size=24 \[ 2 x+\frac {x}{x+\frac {(-3-x)^4}{\log ^2(4 x)}} \]
________________________________________________________________________________________
Rubi [F] time = 11.33, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {13122+34992 x+40824 x^2+27216 x^3+11340 x^4+3024 x^5+504 x^6+48 x^7+2 x^8+\left (162+216 x+108 x^2+24 x^3+2 x^4\right ) \log (4 x)+\left (81+324 x+378 x^2+192 x^3+45 x^4+4 x^5\right ) \log ^2(4 x)+2 x^2 \log ^4(4 x)}{6561+17496 x+20412 x^2+13608 x^3+5670 x^4+1512 x^5+252 x^6+24 x^7+x^8+\left (162 x+216 x^2+108 x^3+24 x^4+2 x^5\right ) \log ^2(4 x)+x^2 \log ^4(4 x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 (3+x)^8+2 (3+x)^4 \log (4 x)+(3+x)^3 \left (3+9 x+4 x^2\right ) \log ^2(4 x)+2 x^2 \log ^4(4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx\\ &=\int \left (2+\frac {-6561-8748 x+6804 x^3+5670 x^4+2268 x^5+504 x^6+60 x^7+3 x^8+162 x \log (4 x)+216 x^2 \log (4 x)+108 x^3 \log (4 x)+24 x^4 \log (4 x)+2 x^5 \log (4 x)}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}-\frac {3 (-1+x) (3+x)^3}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )}\right ) \, dx\\ &=2 x-3 \int \frac {(-1+x) (3+x)^3}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )} \, dx+\int \frac {-6561-8748 x+6804 x^3+5670 x^4+2268 x^5+504 x^6+60 x^7+3 x^8+162 x \log (4 x)+216 x^2 \log (4 x)+108 x^3 \log (4 x)+24 x^4 \log (4 x)+2 x^5 \log (4 x)}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx\\ &=2 x-3 \int \frac {(-1+x) (3+x)^3}{x \left ((3+x)^4+x \log ^2(4 x)\right )} \, dx+\int \frac {3 (-1+x) (3+x)^7+2 x (3+x)^4 \log (4 x)}{x \left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx\\ &=2 x-3 \int \left (-\frac {27}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )}+\frac {18 x}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)}+\frac {8 x^2}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)}+\frac {x^3}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)}\right ) \, dx+\int \left (-\frac {8748}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}-\frac {6561}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {6804 x^2}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {5670 x^3}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {2268 x^4}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {504 x^5}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {60 x^6}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {3 x^7}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {162 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {216 x \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {108 x^2 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {24 x^3 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}+\frac {2 x^4 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2}\right ) \, dx\\ &=2 x+2 \int \frac {x^4 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+3 \int \frac {x^7}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx-3 \int \frac {x^3}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)} \, dx+24 \int \frac {x^3 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx-24 \int \frac {x^2}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)} \, dx-54 \int \frac {x}{81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)} \, dx+60 \int \frac {x^6}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+81 \int \frac {1}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )} \, dx+108 \int \frac {x^2 \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+162 \int \frac {\log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+216 \int \frac {x \log (4 x)}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+504 \int \frac {x^5}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+2268 \int \frac {x^4}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+5670 \int \frac {x^3}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx-6561 \int \frac {1}{x \left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx+6804 \int \frac {x^2}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx-8748 \int \frac {1}{\left (81+108 x+54 x^2+12 x^3+x^4+x \log ^2(4 x)\right )^2} \, dx\\ &=2 x+2 \int \frac {x^4 \log (4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+3 \int \frac {x^7}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx-3 \int \frac {x^3}{(3+x)^4+x \log ^2(4 x)} \, dx+24 \int \frac {x^3 \log (4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx-24 \int \frac {x^2}{(3+x)^4+x \log ^2(4 x)} \, dx-54 \int \frac {x}{(3+x)^4+x \log ^2(4 x)} \, dx+60 \int \frac {x^6}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+81 \int \frac {1}{x \left ((3+x)^4+x \log ^2(4 x)\right )} \, dx+108 \int \frac {x^2 \log (4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+162 \int \frac {\log (4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+216 \int \frac {x \log (4 x)}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+504 \int \frac {x^5}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+2268 \int \frac {x^4}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+5670 \int \frac {x^3}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx-6561 \int \frac {1}{x \left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx+6804 \int \frac {x^2}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx-8748 \int \frac {1}{\left ((3+x)^4+x \log ^2(4 x)\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.69, size = 40, normalized size = 1.67 \begin {gather*} \frac {(3+x)^4 (-1+2 x)+2 x^2 \log ^2(4 x)}{(3+x)^4+x \log ^2(4 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.74, size = 65, normalized size = 2.71 \begin {gather*} \frac {2 \, x^{5} + 23 \, x^{4} + 2 \, x^{2} \log \left (4 \, x\right )^{2} + 96 \, x^{3} + 162 \, x^{2} + 54 \, x - 81}{x^{4} + 12 \, x^{3} + x \log \left (4 \, x\right )^{2} + 54 \, x^{2} + 108 \, x + 81} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 5.53, size = 52, normalized size = 2.17 \begin {gather*} 2 \, x - \frac {x^{4} + 12 \, x^{3} + 54 \, x^{2} + 108 \, x + 81}{x^{4} + 12 \, x^{3} + x \log \left (4 \, x\right )^{2} + 54 \, x^{2} + 108 \, x + 81} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 53, normalized size = 2.21
method | result | size |
risch | \(2 x -\frac {x^{4}+12 x^{3}+54 x^{2}+108 x +81}{x^{4}+x \ln \left (4 x \right )^{2}+12 x^{3}+54 x^{2}+108 x +81}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.49, size = 91, normalized size = 3.79 \begin {gather*} \frac {2 \, x^{5} + 23 \, x^{4} + 8 \, x^{2} \log \relax (2) \log \relax (x) + 2 \, x^{2} \log \relax (x)^{2} + 2 \, {\left (4 \, \log \relax (2)^{2} + 81\right )} x^{2} + 96 \, x^{3} + 54 \, x - 81}{x^{4} + 12 \, x^{3} + 4 \, x \log \relax (2) \log \relax (x) + x \log \relax (x)^{2} + 4 \, {\left (\log \relax (2)^{2} + 27\right )} x + 54 \, x^{2} + 81} \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 {34992\,x+{\ln \left (4\,x\right )}^2\,\left (4\,x^5+45\,x^4+192\,x^3+378\,x^2+324\,x+81\right )+\ln \left (4\,x\right )\,\left (2\,x^4+24\,x^3+108\,x^2+216\,x+162\right )+40824\,x^2+27216\,x^3+11340\,x^4+3024\,x^5+504\,x^6+48\,x^7+2\,x^8+2\,x^2\,{\ln \left (4\,x\right )}^4+13122}{17496\,x+{\ln \left (4\,x\right )}^2\,\left (2\,x^5+24\,x^4+108\,x^3+216\,x^2+162\,x\right )+20412\,x^2+13608\,x^3+5670\,x^4+1512\,x^5+252\,x^6+24\,x^7+x^8+x^2\,{\ln \left (4\,x\right )}^4+6561} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.36, size = 49, normalized size = 2.04 \begin {gather*} 2 x + \frac {- x^{4} - 12 x^{3} - 54 x^{2} - 108 x - 81}{x^{4} + 12 x^{3} + 54 x^{2} + x \log {\left (4 x \right )}^{2} + 108 x + 81} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________