Optimal. Leaf size=28 \[ \frac {5 x^2+\log (x)}{\frac {2}{5 \left (2-\frac {15}{x}\right )}-x} \]
________________________________________________________________________________________
Rubi [A] time = 0.39, antiderivative size = 42, normalized size of antiderivative = 1.50, number of steps used = 17, number of rules used = 9, integrand size = 52, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.173, Rules used = {1594, 27, 6742, 44, 43, 2357, 2304, 2314, 31} \begin {gather*} -5 x+\frac {77}{77-10 x}+\frac {200 x \log (x)}{5929 (77-10 x)}+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 31
Rule 43
Rule 44
Rule 1594
Rule 2304
Rule 2314
Rule 2357
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-5775+1520 x-28975 x^2+7700 x^3-500 x^4+\left (5775-1500 x+100 x^2\right ) \log (x)}{x^2 \left (5929-1540 x+100 x^2\right )} \, dx\\ &=\int \frac {-5775+1520 x-28975 x^2+7700 x^3-500 x^4+\left (5775-1500 x+100 x^2\right ) \log (x)}{x^2 (-77+10 x)^2} \, dx\\ &=\int \left (-\frac {28975}{(-77+10 x)^2}-\frac {5775}{x^2 (-77+10 x)^2}+\frac {1520}{x (-77+10 x)^2}+\frac {7700 x}{(-77+10 x)^2}-\frac {500 x^2}{(-77+10 x)^2}+\frac {25 \left (231-60 x+4 x^2\right ) \log (x)}{x^2 (-77+10 x)^2}\right ) \, dx\\ &=-\frac {5795}{2 (77-10 x)}+25 \int \frac {\left (231-60 x+4 x^2\right ) \log (x)}{x^2 (-77+10 x)^2} \, dx-500 \int \frac {x^2}{(-77+10 x)^2} \, dx+1520 \int \frac {1}{x (-77+10 x)^2} \, dx-5775 \int \frac {1}{x^2 (-77+10 x)^2} \, dx+7700 \int \frac {x}{(-77+10 x)^2} \, dx\\ &=-\frac {5795}{2 (77-10 x)}+25 \int \left (\frac {3 \log (x)}{77 x^2}+\frac {8 \log (x)}{77 (-77+10 x)^2}\right ) \, dx-500 \int \left (\frac {1}{100}+\frac {5929}{100 (-77+10 x)^2}+\frac {77}{50 (-77+10 x)}\right ) \, dx+1520 \int \left (\frac {1}{5929 x}+\frac {10}{77 (-77+10 x)^2}-\frac {10}{5929 (-77+10 x)}\right ) \, dx-5775 \int \left (\frac {1}{5929 x^2}+\frac {20}{456533 x}+\frac {100}{5929 (-77+10 x)^2}-\frac {200}{456533 (-77+10 x)}\right ) \, dx+7700 \int \left (\frac {77}{10 (-77+10 x)^2}+\frac {1}{10 (-77+10 x)}\right ) \, dx\\ &=\frac {77}{77-10 x}+\frac {75}{77 x}-5 x-\frac {20 \log (77-10 x)}{5929}+\frac {20 \log (x)}{5929}+\frac {75}{77} \int \frac {\log (x)}{x^2} \, dx+\frac {200}{77} \int \frac {\log (x)}{(-77+10 x)^2} \, dx\\ &=\frac {77}{77-10 x}-5 x-\frac {20 \log (77-10 x)}{5929}+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x}+\frac {200 x \log (x)}{5929 (77-10 x)}+\frac {200 \int \frac {1}{-77+10 x} \, dx}{5929}\\ &=\frac {77}{77-10 x}-5 x+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x}+\frac {200 x \log (x)}{5929 (77-10 x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 37, normalized size = 1.32 \begin {gather*} -5 \left (-\frac {77}{5 (77-10 x)}+x-\frac {4 \log (x)}{77 (77-10 x)}+\frac {15 \log (x)}{77 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 36, normalized size = 1.29 \begin {gather*} -\frac {50 \, x^{3} - 385 \, x^{2} + 5 \, {\left (2 \, x - 15\right )} \log \relax (x) + 77 \, x}{10 \, x^{2} - 77 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 32, normalized size = 1.14 \begin {gather*} -\frac {5}{77} \, {\left (\frac {4}{10 \, x - 77} + \frac {15}{x}\right )} \log \relax (x) - 5 \, x - \frac {77}{10 \, x - 77} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 30, normalized size = 1.07
method | result | size |
norman | \(\frac {\frac {5775 x}{2}-10 x \ln \relax (x )-50 x^{3}+75 \ln \relax (x )}{x \left (10 x -77\right )}\) | \(30\) |
default | \(-5 x +\frac {20 \ln \relax (x )}{5929}-\frac {77}{10 x -77}-\frac {75 \ln \relax (x )}{77 x}-\frac {200 \ln \relax (x ) x}{5929 \left (10 x -77\right )}\) | \(37\) |
risch | \(-\frac {5 \left (2 x -15\right ) \ln \relax (x )}{x \left (10 x -77\right )}-\frac {50 x^{2}-385 x +77}{10 x -77}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.40, size = 66, normalized size = 2.36 \begin {gather*} -5 \, x - \frac {25 \, {\left ({\left (8 \, x^{2} + 2310 \, x - 17787\right )} \log \relax (x) + 2310 \, x - 17787\right )}}{5929 \, {\left (10 \, x^{2} - 77 \, x\right )}} + \frac {75 \, {\left (20 \, x - 77\right )}}{77 \, {\left (10 \, x^{2} - 77 \, x\right )}} - \frac {6679}{77 \, {\left (10 \, x - 77\right )}} + \frac {20}{5929} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.40, size = 25, normalized size = 0.89 \begin {gather*} -\frac {5\,\left (2\,x-15\right )\,\left (\ln \relax (x)+5\,x^2\right )}{x\,\left (10\,x-77\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 26, normalized size = 0.93 \begin {gather*} - 5 x + \frac {\left (75 - 10 x\right ) \log {\relax (x )}}{10 x^{2} - 77 x} - \frac {77}{10 x - 77} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________