Optimal. Leaf size=13 \[ \left (-\frac {x}{5}+\log (-3920+x)\right ) \log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.26, antiderivative size = 26, normalized size of antiderivative = 2.00, number of steps used = 12, number of rules used = 8, integrand size = 43, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.186, Rules used = {1593, 6688, 2394, 2315, 6742, 2357, 2295, 2316} \begin {gather*} \log \left (\frac {x}{3920}\right ) \log (x-3920)+\log (3920) \log (x-3920)-\frac {1}{5} x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 2295
Rule 2315
Rule 2316
Rule 2357
Rule 2394
Rule 6688
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {3920 x-x^2+(-19600+5 x) \log (-3920+x)+\left (3925 x-x^2\right ) \log (x)}{x (-19600+5 x)} \, dx\\ &=\int \left (\frac {\log (-3920+x)}{x}-\frac {-3920+x+(-3925+x) \log (x)}{5 (-3920+x)}\right ) \, dx\\ &=-\left (\frac {1}{5} \int \frac {-3920+x+(-3925+x) \log (x)}{-3920+x} \, dx\right )+\int \frac {\log (-3920+x)}{x} \, dx\\ &=\log (-3920+x) \log \left (\frac {x}{3920}\right )-\frac {1}{5} \int \left (1+\frac {(-3925+x) \log (x)}{-3920+x}\right ) \, dx-\int \frac {\log \left (\frac {x}{3920}\right )}{-3920+x} \, dx\\ &=-\frac {x}{5}+\log (-3920+x) \log \left (\frac {x}{3920}\right )+\text {Li}_2\left (1-\frac {x}{3920}\right )-\frac {1}{5} \int \frac {(-3925+x) \log (x)}{-3920+x} \, dx\\ &=-\frac {x}{5}+\log (-3920+x) \log \left (\frac {x}{3920}\right )+\text {Li}_2\left (1-\frac {x}{3920}\right )-\frac {1}{5} \int \left (\log (x)-\frac {5 \log (x)}{-3920+x}\right ) \, dx\\ &=-\frac {x}{5}+\log (-3920+x) \log \left (\frac {x}{3920}\right )+\text {Li}_2\left (1-\frac {x}{3920}\right )-\frac {1}{5} \int \log (x) \, dx+\int \frac {\log (x)}{-3920+x} \, dx\\ &=\log (3920) \log (-3920+x)+\log (-3920+x) \log \left (\frac {x}{3920}\right )-\frac {1}{5} x \log (x)+\text {Li}_2\left (1-\frac {x}{3920}\right )+\int \frac {\log \left (\frac {x}{3920}\right )}{-3920+x} \, dx\\ &=\log (3920) \log (-3920+x)+\log (-3920+x) \log \left (\frac {x}{3920}\right )-\frac {1}{5} x \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 26, normalized size = 2.00 \begin {gather*} \log (3920) \log (-3920+x)+\log (-3920+x) \log \left (\frac {x}{3920}\right )-\frac {1}{5} x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 12, normalized size = 0.92 \begin {gather*} -\frac {1}{5} \, {\left (x - 5 \, \log \left (x - 3920\right )\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.53, size = 13, normalized size = 1.00 \begin {gather*} -\frac {1}{5} \, x \log \relax (x) + \log \left (x - 3920\right ) \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.16, size = 14, normalized size = 1.08
method | result | size |
norman | \(\ln \relax (x ) \ln \left (x -3920\right )-\frac {x \ln \relax (x )}{5}\) | \(14\) |
risch | \(\ln \relax (x ) \ln \left (x -3920\right )-\frac {x \ln \relax (x )}{5}\) | \(14\) |
default | \(\ln \left (x -3920\right ) \ln \left (\frac {x}{3920}\right )-\frac {x \ln \relax (x )}{5}+\left (\ln \relax (x )-\ln \left (\frac {x}{3920}\right )\right ) \ln \left (-\frac {x}{3920}+1\right )\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.52, size = 13, normalized size = 1.00 \begin {gather*} -\frac {1}{5} \, x \log \relax (x) + \log \left (x - 3920\right ) \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.81, size = 12, normalized size = 0.92 \begin {gather*} -\frac {\ln \relax (x)\,\left (x-5\,\ln \left (x-3920\right )\right )}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.30, size = 14, normalized size = 1.08 \begin {gather*} - \frac {x \log {\relax (x )}}{5} + \log {\relax (x )} \log {\left (x - 3920 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________