Optimal. Leaf size=27 \[ \log \left (3 \left (-4-\log \left (\log \left (\frac {2 x^2}{3-x+\frac {\log (x)}{x}}\right )\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.25, antiderivative size = 22, normalized size of antiderivative = 0.81, number of steps used = 2, number of rules used = 2, integrand size = 109, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.018, Rules used = {6688, 6684} \begin {gather*} \log \left (\log \left (\log \left (\frac {2 x^3}{(3-x) x+\log (x)}\right )\right )+4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {1-6 x+x^2-3 \log (x)}{x ((-3+x) x-\log (x)) \log \left (\frac {2 x^3}{-((-3+x) x)+\log (x)}\right ) \left (4+\log \left (\log \left (\frac {2 x^3}{-((-3+x) x)+\log (x)}\right )\right )\right )} \, dx\\ &=\log \left (4+\log \left (\log \left (\frac {2 x^3}{(3-x) x+\log (x)}\right )\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.40, size = 21, normalized size = 0.78 \begin {gather*} \log \left (4+\log \left (\log \left (\frac {2 x^3}{-((-3+x) x)+\log (x)}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 23, normalized size = 0.85 \begin {gather*} \log \left (\log \left (\log \left (-\frac {2 \, x^{3}}{x^{2} - 3 \, x - \log \relax (x)}\right )\right ) + 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.62, size = 28, normalized size = 1.04 \begin {gather*} \log \left (\log \left (i \, \pi + \log \relax (2) - \log \left (x^{2} - 3 \, x - \log \relax (x)\right ) + 3 \, \log \relax (x)\right ) + 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.43, size = 243, normalized size = 9.00
method | result | size |
risch | \(\ln \left (\ln \left (\ln \relax (2)+i \pi +3 \ln \relax (x )-\ln \left (-\ln \relax (x )+x^{2}-3 x \right )-\frac {i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \left (-\mathrm {csgn}\left (i x^{2}\right )+\mathrm {csgn}\left (i x \right )\right )^{2}}{2}-\frac {i \pi \,\mathrm {csgn}\left (i x^{3}\right ) \left (-\mathrm {csgn}\left (i x^{3}\right )+\mathrm {csgn}\left (i x^{2}\right )\right ) \left (-\mathrm {csgn}\left (i x^{3}\right )+\mathrm {csgn}\left (i x \right )\right )}{2}+\frac {i \pi \,\mathrm {csgn}\left (\frac {i x^{3}}{\ln \relax (x )-x^{2}+3 x}\right ) \left (\mathrm {csgn}\left (\frac {i x^{3}}{\ln \relax (x )-x^{2}+3 x}\right )+\mathrm {csgn}\left (i x^{3}\right )\right ) \left (\mathrm {csgn}\left (\frac {i x^{3}}{\ln \relax (x )-x^{2}+3 x}\right )-\mathrm {csgn}\left (\frac {i}{\ln \relax (x )-x^{2}+3 x}\right )\right )}{2}+i \pi \mathrm {csgn}\left (\frac {i x^{3}}{\ln \relax (x )-x^{2}+3 x}\right )^{2} \left (-\mathrm {csgn}\left (\frac {i x^{3}}{\ln \relax (x )-x^{2}+3 x}\right )-1\right )\right )+4\right )\) | \(243\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.86, size = 25, normalized size = 0.93 \begin {gather*} \log \left (\log \left (\log \relax (2) - \log \left (-x^{2} + 3 \, x + \log \relax (x)\right ) + 3 \, \log \relax (x)\right ) + 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.03, size = 23, normalized size = 0.85 \begin {gather*} \ln \left (\ln \left (\ln \left (\frac {2\,x^3}{3\,x+\ln \relax (x)-x^2}\right )\right )+4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.68, size = 20, normalized size = 0.74 \begin {gather*} \log {\left (\log {\left (\log {\left (\frac {2 x^{3}}{- x^{2} + 3 x + \log {\relax (x )}} \right )} \right )} + 4 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________