Optimal. Leaf size=23 \[ \log \left (\frac {2 e^x x^3 \left (-x+\log \left (\log ^2(x)\right )\right )}{-5+x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 1.23, antiderivative size = 24, normalized size of antiderivative = 1.04, number of steps used = 6, number of rules used = 4, integrand size = 71, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {6741, 6742, 893, 6684} \begin {gather*} x+\log \left (x-\log \left (\log ^2(x)\right )\right )-\log (5-x)+3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 893
Rule 6684
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-10+2 x+\left (20 x+2 x^2-x^3\right ) \log (x)+\left (-15-3 x+x^2\right ) \log (x) \log \left (\log ^2(x)\right )}{(5-x) x \log (x) \left (x-\log \left (\log ^2(x)\right )\right )} \, dx\\ &=\int \left (\frac {-15-3 x+x^2}{(-5+x) x}+\frac {-2+x \log (x)}{x \log (x) \left (x-\log \left (\log ^2(x)\right )\right )}\right ) \, dx\\ &=\int \frac {-15-3 x+x^2}{(-5+x) x} \, dx+\int \frac {-2+x \log (x)}{x \log (x) \left (x-\log \left (\log ^2(x)\right )\right )} \, dx\\ &=\log \left (x-\log \left (\log ^2(x)\right )\right )+\int \left (1+\frac {1}{5-x}+\frac {3}{x}\right ) \, dx\\ &=x-\log (5-x)+3 \log (x)+\log \left (x-\log \left (\log ^2(x)\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 24, normalized size = 1.04 \begin {gather*} x-\log (5-x)+3 \log (x)+\log \left (x-\log \left (\log ^2(x)\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 22, normalized size = 0.96 \begin {gather*} x - \log \left (x - 5\right ) + 3 \, \log \relax (x) + \log \left (-x + \log \left (\log \relax (x)^{2}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.60, size = 22, normalized size = 0.96 \begin {gather*} x - \log \left (x - 5\right ) + 3 \, \log \relax (x) + \log \left (-x + \log \left (\log \relax (x)^{2}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.18, size = 75, normalized size = 3.26
method | result | size |
risch | \(x -\ln \left (x -5\right )+3 \ln \relax (x )+\ln \left (\ln \left (\ln \relax (x )\right )-\frac {i \left (\pi \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (i \ln \relax (x )^{2}\right )-2 \pi \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (i \ln \relax (x )^{2}\right )^{2}+\pi \mathrm {csgn}\left (i \ln \relax (x )^{2}\right )^{3}-2 i x \right )}{4}\right )\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.56, size = 20, normalized size = 0.87 \begin {gather*} x - \log \left (x - 5\right ) + 3 \, \log \relax (x) + \log \left (-\frac {1}{2} \, x + \log \left (\log \relax (x)\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.65, size = 22, normalized size = 0.96 \begin {gather*} x-\ln \left (x-5\right )+\ln \left (\ln \left ({\ln \relax (x)}^2\right )-x\right )+3\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.35, size = 20, normalized size = 0.87 \begin {gather*} x + 3 \log {\relax (x )} + \log {\left (- x + \log {\left (\log {\relax (x )}^{2} \right )} \right )} - \log {\left (x - 5 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________