Optimal. Leaf size=19 \[ \frac {(-1+3 x) (3-\log (6-x))}{x^9} \]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 32, normalized size of antiderivative = 1.68, number of steps used = 9, number of rules used = 7, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.180, Rules used = {1593, 6742, 893, 43, 2414, 12, 77} \begin {gather*} -\frac {3}{x^9}+\frac {\log (6-x)}{x^9}+\frac {9}{x^8}-\frac {3 \log (6-x)}{x^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 43
Rule 77
Rule 893
Rule 1593
Rule 2414
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-162+460 x-75 x^2+\left (54-153 x+24 x^2\right ) \log (6-x)}{(-6+x) x^{10}} \, dx\\ &=\int \left (\frac {-162+460 x-75 x^2}{(-6+x) x^{10}}+\frac {3 (-3+8 x) \log (6-x)}{x^{10}}\right ) \, dx\\ &=3 \int \frac {(-3+8 x) \log (6-x)}{x^{10}} \, dx+\int \frac {-162+460 x-75 x^2}{(-6+x) x^{10}} \, dx\\ &=\frac {\log (6-x)}{x^9}-\frac {3 \log (6-x)}{x^8}+3 \int \frac {1-3 x}{3 (6-x) x^9} \, dx+\int \left (-\frac {17}{10077696 (-6+x)}+\frac {27}{x^{10}}-\frac {433}{6 x^9}+\frac {17}{36 x^8}+\frac {17}{216 x^7}+\frac {17}{1296 x^6}+\frac {17}{7776 x^5}+\frac {17}{46656 x^4}+\frac {17}{279936 x^3}+\frac {17}{1679616 x^2}+\frac {17}{10077696 x}\right ) \, dx\\ &=-\frac {3}{x^9}+\frac {433}{48 x^8}-\frac {17}{252 x^7}-\frac {17}{1296 x^6}-\frac {17}{6480 x^5}-\frac {17}{31104 x^4}-\frac {17}{139968 x^3}-\frac {17}{559872 x^2}-\frac {17}{1679616 x}-\frac {17 \log (6-x)}{10077696}+\frac {\log (6-x)}{x^9}-\frac {3 \log (6-x)}{x^8}+\frac {17 \log (x)}{10077696}+\int \frac {1-3 x}{(6-x) x^9} \, dx\\ &=-\frac {3}{x^9}+\frac {433}{48 x^8}-\frac {17}{252 x^7}-\frac {17}{1296 x^6}-\frac {17}{6480 x^5}-\frac {17}{31104 x^4}-\frac {17}{139968 x^3}-\frac {17}{559872 x^2}-\frac {17}{1679616 x}-\frac {17 \log (6-x)}{10077696}+\frac {\log (6-x)}{x^9}-\frac {3 \log (6-x)}{x^8}+\frac {17 \log (x)}{10077696}+\int \left (\frac {17}{10077696 (-6+x)}+\frac {1}{6 x^9}-\frac {17}{36 x^8}-\frac {17}{216 x^7}-\frac {17}{1296 x^6}-\frac {17}{7776 x^5}-\frac {17}{46656 x^4}-\frac {17}{279936 x^3}-\frac {17}{1679616 x^2}-\frac {17}{10077696 x}\right ) \, dx\\ &=-\frac {3}{x^9}+\frac {9}{x^8}+\frac {\log (6-x)}{x^9}-\frac {3 \log (6-x)}{x^8}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 32, normalized size = 1.68 \begin {gather*} -\frac {3}{x^9}+\frac {9}{x^8}+\frac {\log (6-x)}{x^9}-\frac {3 \log (6-x)}{x^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 22, normalized size = 1.16 \begin {gather*} -\frac {{\left (3 \, x - 1\right )} \log \left (-x + 6\right ) - 9 \, x + 3}{x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 27, normalized size = 1.42 \begin {gather*} -\frac {{\left (3 \, x - 1\right )} \log \left (-x + 6\right )}{x^{9}} + \frac {3 \, {\left (3 \, x - 1\right )}}{x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.41, size = 25, normalized size = 1.32
method | result | size |
norman | \(\frac {-3+9 x -3 \ln \left (-x +6\right ) x +\ln \left (-x +6\right )}{x^{9}}\) | \(25\) |
risch | \(-\frac {\left (3 x -1\right ) \ln \left (-x +6\right )}{x^{9}}+\frac {9 x -3}{x^{9}}\) | \(28\) |
derivativedivides | \(-\frac {17 \ln \left (-x +6\right )}{10077696}-\frac {3}{x^{9}}+\frac {9}{x^{8}}+\frac {\ln \left (-x +6\right ) \left (-x +6\right ) \left (\left (-x +6\right )^{8}-54 \left (-x +6\right )^{7}+1296 \left (-x +6\right )^{6}-18144 \left (-x +6\right )^{5}+163296 \left (-x +6\right )^{4}-979776 \left (-x +6\right )^{3}+3919104 \left (-x +6\right )^{2}+10077696 x -45349632\right )}{10077696 x^{9}}+\frac {\ln \left (-x +6\right ) \left (-x +6\right ) \left (\left (-x +6\right )^{7}-48 \left (-x +6\right )^{6}+1008 \left (-x +6\right )^{5}-12096 \left (-x +6\right )^{4}+90720 \left (-x +6\right )^{3}-435456 \left (-x +6\right )^{2}-1306368 x +5598720\right )}{559872 x^{8}}\) | \(175\) |
default | \(-\frac {17 \ln \left (-x +6\right )}{10077696}-\frac {3}{x^{9}}+\frac {9}{x^{8}}+\frac {\ln \left (-x +6\right ) \left (-x +6\right ) \left (\left (-x +6\right )^{8}-54 \left (-x +6\right )^{7}+1296 \left (-x +6\right )^{6}-18144 \left (-x +6\right )^{5}+163296 \left (-x +6\right )^{4}-979776 \left (-x +6\right )^{3}+3919104 \left (-x +6\right )^{2}+10077696 x -45349632\right )}{10077696 x^{9}}+\frac {\ln \left (-x +6\right ) \left (-x +6\right ) \left (\left (-x +6\right )^{7}-48 \left (-x +6\right )^{6}+1008 \left (-x +6\right )^{5}-12096 \left (-x +6\right )^{4}+90720 \left (-x +6\right )^{3}-435456 \left (-x +6\right )^{2}-1306368 x +5598720\right )}{559872 x^{8}}\) | \(175\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.41, size = 112, normalized size = 5.89 \begin {gather*} \frac {210 \, x^{8} + 630 \, x^{7} + 2520 \, x^{6} + 11340 \, x^{5} + 54432 \, x^{4} + 272160 \, x^{3} + 1399680 \, x^{2} + 35 \, {\left (x^{9} - 1119744 \, x + 373248\right )} \log \left (-x + 6\right ) + 124921440 \, x}{13063680 \, x^{9}} - \frac {35 \, x^{8} + 105 \, x^{7} + 420 \, x^{6} + 1890 \, x^{5} + 9072 \, x^{4} + 45360 \, x^{3} + 233280 \, x^{2} + 1224720 \, x + 6531840}{2177280 \, x^{9}} - \frac {1}{373248} \, \log \left (x - 6\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.17, size = 18, normalized size = 0.95 \begin {gather*} -\frac {\left (\ln \left (6-x\right )-3\right )\,\left (3\,x-1\right )}{x^9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 20, normalized size = 1.05 \begin {gather*} \frac {\left (1 - 3 x\right ) \log {\left (6 - x \right )}}{x^{9}} - \frac {3 - 9 x}{x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________