Optimal. Leaf size=28 \[ \frac {2 x+\frac {1+x}{-1+x}}{7+2 x-\frac {\log (x)}{x^2}} \]
________________________________________________________________________________________
Rubi [F] time = 1.70, 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 {-x+2 x^2-3 x^3+4 x^4-32 x^5+12 x^6+\left (2 x-4 x^2+10 x^3-6 x^4\right ) \log (x)}{49 x^4-70 x^5-3 x^6+20 x^7+4 x^8+\left (-14 x^2+24 x^3-6 x^4-4 x^5\right ) \log (x)+\left (1-2 x+x^2\right ) \log ^2(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {x \left (-1+2 x-3 x^2+4 x^3-32 x^4+12 x^5+\left (2-4 x+10 x^2-6 x^3\right ) \log (x)\right )}{(1-x)^2 \left (x^2 (7+2 x)-\log (x)\right )^2} \, dx\\ &=\int \left (-\frac {x \left (-1+x+12 x^2-8 x^3+22 x^4+12 x^5\right )}{(-1+x) \left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {2 x \left (-1+2 x-5 x^2+3 x^3\right )}{(-1+x)^2 \left (7 x^2+2 x^3-\log (x)\right )}\right ) \, dx\\ &=2 \int \frac {x \left (-1+2 x-5 x^2+3 x^3\right )}{(-1+x)^2 \left (7 x^2+2 x^3-\log (x)\right )} \, dx-\int \frac {x \left (-1+x+12 x^2-8 x^3+22 x^4+12 x^5\right )}{(-1+x) \left (7 x^2+2 x^3-\log (x)\right )^2} \, dx\\ &=2 \int \left (\frac {1}{7 x^2+2 x^3-\log (x)}-\frac {1}{(-1+x)^2 \left (7 x^2+2 x^3-\log (x)\right )}+\frac {x}{7 x^2+2 x^3-\log (x)}+\frac {3 x^2}{7 x^2+2 x^3-\log (x)}\right ) \, dx-\int \left (\frac {38}{\left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {38}{(-1+x) \left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {39 x}{\left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {38 x^2}{\left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {26 x^3}{\left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {34 x^4}{\left (7 x^2+2 x^3-\log (x)\right )^2}+\frac {12 x^5}{\left (7 x^2+2 x^3-\log (x)\right )^2}\right ) \, dx\\ &=2 \int \frac {1}{7 x^2+2 x^3-\log (x)} \, dx-2 \int \frac {1}{(-1+x)^2 \left (7 x^2+2 x^3-\log (x)\right )} \, dx+2 \int \frac {x}{7 x^2+2 x^3-\log (x)} \, dx+6 \int \frac {x^2}{7 x^2+2 x^3-\log (x)} \, dx-12 \int \frac {x^5}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-26 \int \frac {x^3}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-34 \int \frac {x^4}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-38 \int \frac {1}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-38 \int \frac {1}{(-1+x) \left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-38 \int \frac {x^2}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx-39 \int \frac {x}{\left (7 x^2+2 x^3-\log (x)\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.67, size = 35, normalized size = 1.25 \begin {gather*} -\frac {x^2 \left (1-x+2 x^2\right )}{(-1+x) \left (-7 x^2-2 x^3+\log (x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 40, normalized size = 1.43 \begin {gather*} \frac {2 \, x^{4} - x^{3} + x^{2}}{2 \, x^{4} + 5 \, x^{3} - 7 \, x^{2} - {\left (x - 1\right )} \log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 40, normalized size = 1.43 \begin {gather*} \frac {2 \, x^{4} - x^{3} + x^{2}}{2 \, x^{4} + 5 \, x^{3} - 7 \, x^{2} - x \log \relax (x) + \log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 37, normalized size = 1.32
method | result | size |
risch | \(\frac {\left (2 x^{2}-x +1\right ) x^{2}}{\left (x -1\right ) \left (2 x^{3}+7 x^{2}-\ln \relax (x )\right )}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 40, normalized size = 1.43 \begin {gather*} \frac {2 \, x^{4} - x^{3} + x^{2}}{2 \, x^{4} + 5 \, x^{3} - 7 \, x^{2} - {\left (x - 1\right )} \log \relax (x)} \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 {\ln \relax (x)\,\left (-6\,x^4+10\,x^3-4\,x^2+2\,x\right )-x+2\,x^2-3\,x^3+4\,x^4-32\,x^5+12\,x^6}{{\ln \relax (x)}^2\,\left (x^2-2\,x+1\right )-\ln \relax (x)\,\left (4\,x^5+6\,x^4-24\,x^3+14\,x^2\right )+49\,x^4-70\,x^5-3\,x^6+20\,x^7+4\,x^8} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 32, normalized size = 1.14 \begin {gather*} \frac {- 2 x^{4} + x^{3} - x^{2}}{- 2 x^{4} - 5 x^{3} + 7 x^{2} + \left (x - 1\right ) \log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________