Optimal. Leaf size=20 \[ \frac {3}{x^2 \left (\frac {17}{3}-2 x+\log (2-x)\right )} \]
________________________________________________________________________________________
Rubi [F] time = 0.99, 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 {612-657 x+162 x^2+(108-54 x) \log (2-x)}{-578 x^3+697 x^4-276 x^5+36 x^6+\left (-204 x^3+174 x^4-36 x^5\right ) \log (2-x)+\left (-18 x^3+9 x^4\right ) \log ^2(2-x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {9 \left (-68+73 x-18 x^2+6 (-2+x) \log (2-x)\right )}{(2-x) x^3 (17-6 x+3 \log (2-x))^2} \, dx\\ &=9 \int \frac {-68+73 x-18 x^2+6 (-2+x) \log (2-x)}{(2-x) x^3 (17-6 x+3 \log (2-x))^2} \, dx\\ &=9 \int \left (\frac {3 (-5+2 x)}{(-2+x) x^2 (-17+6 x-3 \log (2-x))^2}+\frac {2}{x^3 (-17+6 x-3 \log (2-x))}\right ) \, dx\\ &=18 \int \frac {1}{x^3 (-17+6 x-3 \log (2-x))} \, dx+27 \int \frac {-5+2 x}{(-2+x) x^2 (-17+6 x-3 \log (2-x))^2} \, dx\\ &=18 \int \frac {1}{x^3 (-17+6 x-3 \log (2-x))} \, dx+27 \int \left (-\frac {1}{4 (-2+x) (-17+6 x-3 \log (2-x))^2}+\frac {5}{2 x^2 (-17+6 x-3 \log (2-x))^2}+\frac {1}{4 x (-17+6 x-3 \log (2-x))^2}\right ) \, dx\\ &=-\left (\frac {27}{4} \int \frac {1}{(-2+x) (-17+6 x-3 \log (2-x))^2} \, dx\right )+\frac {27}{4} \int \frac {1}{x (-17+6 x-3 \log (2-x))^2} \, dx+18 \int \frac {1}{x^3 (-17+6 x-3 \log (2-x))} \, dx+\frac {135}{2} \int \frac {1}{x^2 (-17+6 x-3 \log (2-x))^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.36, size = 20, normalized size = 1.00 \begin {gather*} \frac {9}{x^2 (17-6 x+3 \log (2-x))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 26, normalized size = 1.30 \begin {gather*} -\frac {9}{6 \, x^{3} - 3 \, x^{2} \log \left (-x + 2\right ) - 17 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 26, normalized size = 1.30 \begin {gather*} -\frac {9}{6 \, x^{3} - 3 \, x^{2} \log \left (-x + 2\right ) - 17 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 21, normalized size = 1.05
method | result | size |
norman | \(-\frac {9}{x^{2} \left (-17+6 x -3 \ln \left (2-x \right )\right )}\) | \(21\) |
risch | \(-\frac {9}{x^{2} \left (-17+6 x -3 \ln \left (2-x \right )\right )}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 26, normalized size = 1.30 \begin {gather*} -\frac {9}{6 \, x^{3} - 3 \, x^{2} \log \left (-x + 2\right ) - 17 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.11, size = 20, normalized size = 1.00 \begin {gather*} \frac {9}{x^2\,\left (3\,\ln \left (2-x\right )-6\,x+17\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.21, size = 20, normalized size = 1.00 \begin {gather*} \frac {9}{- 6 x^{3} + 3 x^{2} \log {\left (2 - x \right )} + 17 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________