Optimal. Leaf size=27 \[ \left (2-3 x-x \left (\frac {x}{4}+\frac {4}{(2+x) \log (x)}\right )\right )^2 \]
________________________________________________________________________________________
Rubi [F] time = 0.35, 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 {-256 x-128 x^2+\left (256+128 x-352 x^2-128 x^3-8 x^4\right ) \log (x)+\left (-256+640 x+672 x^2+176 x^3+16 x^4\right ) \log ^2(x)+\left (-384-64 x+624 x^2+560 x^3+184 x^4+24 x^5+x^6\right ) \log ^3(x)}{\left (32+48 x+24 x^2+4 x^3\right ) \log ^3(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{4} (6+x) \left (-8+12 x+x^2\right )-\frac {32 x}{(2+x)^2 \log ^3(x)}-\frac {2 \left (-32-16 x+44 x^2+16 x^3+x^4\right )}{(2+x)^3 \log ^2(x)}+\frac {4 \left (-8+24 x+9 x^2+x^3\right )}{(2+x)^2 \log (x)}\right ) \, dx\\ &=\frac {1}{4} \int (6+x) \left (-8+12 x+x^2\right ) \, dx-2 \int \frac {-32-16 x+44 x^2+16 x^3+x^4}{(2+x)^3 \log ^2(x)} \, dx+4 \int \frac {-8+24 x+9 x^2+x^3}{(2+x)^2 \log (x)} \, dx-32 \int \frac {x}{(2+x)^2 \log ^3(x)} \, dx\\ &=\frac {1}{16} \left (8-12 x-x^2\right )^2-2 \int \frac {-32-16 x+44 x^2+16 x^3+x^4}{(2+x)^3 \log ^2(x)} \, dx+4 \int \frac {-8+24 x+9 x^2+x^3}{(2+x)^2 \log (x)} \, dx-32 \int \frac {x}{(2+x)^2 \log ^3(x)} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 49, normalized size = 1.81 \begin {gather*} \frac {1}{16} x \left (-192+128 x+24 x^2+x^3+\frac {256 x}{(2+x)^2 \log ^2(x)}+\frac {32 \left (-8+12 x+x^2\right )}{(2+x) \log (x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.49, size = 75, normalized size = 2.78 \begin {gather*} \frac {{\left (x^{6} + 28 \, x^{5} + 228 \, x^{4} + 416 \, x^{3} - 256 \, x^{2} - 768 \, x\right )} \log \relax (x)^{2} + 256 \, x^{2} + 32 \, {\left (x^{4} + 14 \, x^{3} + 16 \, x^{2} - 16 \, x\right )} \log \relax (x)}{16 \, {\left (x^{2} + 4 \, x + 4\right )} \log \relax (x)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 4.46, size = 76, normalized size = 2.81 \begin {gather*} \frac {1}{16} \, x^{4} + \frac {3}{2} \, x^{3} + 8 \, x^{2} - 12 \, x + \frac {2 \, {\left (x^{4} \log \relax (x) + 14 \, x^{3} \log \relax (x) + 16 \, x^{2} \log \relax (x) + 8 \, x^{2} - 16 \, x \log \relax (x)\right )}}{x^{2} \log \relax (x)^{2} + 4 \, x \log \relax (x)^{2} + 4 \, \log \relax (x)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 58, normalized size = 2.15
method | result | size |
risch | \(-12 x +\frac {x^{4}}{16}+8 x^{2}+\frac {3 x^{3}}{2}+\frac {2 x \left (x^{3} \ln \relax (x )+14 x^{2} \ln \relax (x )+16 x \ln \relax (x )+8 x -16 \ln \relax (x )\right )}{\left (2+x \right )^{2} \ln \relax (x )^{2}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.38, size = 75, normalized size = 2.78 \begin {gather*} \frac {{\left (x^{6} + 28 \, x^{5} + 228 \, x^{4} + 416 \, x^{3} - 256 \, x^{2} - 768 \, x\right )} \log \relax (x)^{2} + 256 \, x^{2} + 32 \, {\left (x^{4} + 14 \, x^{3} + 16 \, x^{2} - 16 \, x\right )} \log \relax (x)}{16 \, {\left (x^{2} + 4 \, x + 4\right )} \log \relax (x)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.53, size = 68, normalized size = 2.52 \begin {gather*} \frac {x\,\left (x^5+28\,x^4+228\,x^3+416\,x^2-256\,x-768\right )}{16\,{\left (x+2\right )}^2}+\frac {16\,x^2+\frac {x\,\ln \relax (x)\,\left (32\,x^3+448\,x^2+512\,x-512\right )}{16}}{{\ln \relax (x)}^2\,{\left (x+2\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.20, size = 60, normalized size = 2.22 \begin {gather*} \frac {x^{4}}{16} + \frac {3 x^{3}}{2} + 8 x^{2} - 12 x + \frac {16 x^{2} + \left (2 x^{4} + 28 x^{3} + 32 x^{2} - 32 x\right ) \log {\relax (x )}}{\left (x^{2} + 4 x + 4\right ) \log {\relax (x )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________