Optimal. Leaf size=24 \[ x \log \left (\frac {9 x^6}{400 (16-x)^2 (-4+2 x)^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 20, normalized size of antiderivative = 0.83, number of steps used = 14, number of rules used = 6, integrand size = 58, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {6688, 1657, 632, 31, 2523, 12} \begin {gather*} x \log \left (\frac {9 x^6}{1600 \left (x^2-18 x+32\right )^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 31
Rule 632
Rule 1657
Rule 2523
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2 \left (96-36 x+x^2\right )}{32-18 x+x^2}+\log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )\right ) \, dx\\ &=2 \int \frac {96-36 x+x^2}{32-18 x+x^2} \, dx+\int \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right ) \, dx\\ &=x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )+2 \int \left (1+\frac {2 (32-9 x)}{32-18 x+x^2}\right ) \, dx-\int \frac {2 \left (96-36 x+x^2\right )}{32-18 x+x^2} \, dx\\ &=2 x+x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )-2 \int \frac {96-36 x+x^2}{32-18 x+x^2} \, dx+4 \int \frac {32-9 x}{32-18 x+x^2} \, dx\\ &=2 x+x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )-2 \int \left (1+\frac {2 (32-9 x)}{32-18 x+x^2}\right ) \, dx-4 \int \frac {1}{-2+x} \, dx-32 \int \frac {1}{-16+x} \, dx\\ &=-4 \log (2-x)-32 \log (16-x)+x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )-4 \int \frac {32-9 x}{32-18 x+x^2} \, dx\\ &=-4 \log (2-x)-32 \log (16-x)+x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )+4 \int \frac {1}{-2+x} \, dx+32 \int \frac {1}{-16+x} \, dx\\ &=x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 20, normalized size = 0.83 \begin {gather*} x \log \left (\frac {9 x^6}{1600 \left (32-18 x+x^2\right )^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.77, size = 28, normalized size = 1.17 \begin {gather*} x \log \left (\frac {9 \, x^{6}}{1600 \, {\left (x^{4} - 36 \, x^{3} + 388 \, x^{2} - 1152 \, x + 1024\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 28, normalized size = 1.17 \begin {gather*} x \log \left (\frac {9 \, x^{6}}{1600 \, {\left (x^{4} - 36 \, x^{3} + 388 \, x^{2} - 1152 \, x + 1024\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.17, size = 31, normalized size = 1.29
method | result | size |
norman | \(x \ln \left (\frac {9 x^{6}}{1600 x^{4}-57600 x^{3}+620800 x^{2}-1843200 x +1638400}\right )\) | \(31\) |
risch | \(x \ln \left (\frac {9 x^{6}}{1600 x^{4}-57600 x^{3}+620800 x^{2}-1843200 x +1638400}\right )\) | \(31\) |
default | \(2 x \ln \relax (3)-2 x \ln \left (40\right )+x \ln \left (\frac {x^{6}}{x^{4}-36 x^{3}+388 x^{2}-1152 x +1024}\right )\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.50, size = 54, normalized size = 2.25 \begin {gather*} -2 \, x {\left (\log \relax (5) - \log \relax (3) + 3 \, \log \relax (2) + 1\right )} - 2 \, {\left (x - 2\right )} \log \left (x - 2\right ) - 2 \, {\left (x - 16\right )} \log \left (x - 16\right ) + 6 \, x \log \relax (x) + 2 \, x - 4 \, \log \left (x - 2\right ) - 32 \, \log \left (x - 16\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.56, size = 30, normalized size = 1.25 \begin {gather*} x\,\ln \left (\frac {9\,x^6}{1600\,x^4-57600\,x^3+620800\,x^2-1843200\,x+1638400}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.23, size = 27, normalized size = 1.12 \begin {gather*} x \log {\left (\frac {9 x^{6}}{1600 x^{4} - 57600 x^{3} + 620800 x^{2} - 1843200 x + 1638400} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________