Optimal. Leaf size=21 \[ \log \left (\frac {121 \log \left (\frac {1}{3} \left (-\frac {3}{x^2}-\log (x)\right )\right )}{x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.75, antiderivative size = 19, normalized size of antiderivative = 0.90, number of steps used = 5, number of rules used = 4, integrand size = 64, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {2561, 6691, 6742, 6684} \begin {gather*} \log \left (\log \left (-\frac {1}{x^2}-\frac {\log (x)}{3}\right )\right )-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2561
Rule 6684
Rule 6691
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-6+x^2+\left (-3-x^2 \log (x)\right ) \log \left (\frac {-3-x^2 \log (x)}{3 x^2}\right )}{x^3 \left (\frac {3}{x^2}+\log (x)\right ) \log \left (\frac {-3-x^2 \log (x)}{3 x^2}\right )} \, dx\\ &=\int \frac {-6+x^2+\left (-3-x^2 \log (x)\right ) \log \left (\frac {-3-x^2 \log (x)}{3 x^2}\right )}{x \left (3+x^2 \log (x)\right ) \log \left (\frac {-3-x^2 \log (x)}{3 x^2}\right )} \, dx\\ &=\int \left (-\frac {1}{x}+\frac {-6+x^2}{x \left (3+x^2 \log (x)\right ) \log \left (-\frac {1}{x^2}-\frac {\log (x)}{3}\right )}\right ) \, dx\\ &=-\log (x)+\int \frac {-6+x^2}{x \left (3+x^2 \log (x)\right ) \log \left (-\frac {1}{x^2}-\frac {\log (x)}{3}\right )} \, dx\\ &=-\log (x)+\log \left (\log \left (-\frac {1}{x^2}-\frac {\log (x)}{3}\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 19, normalized size = 0.90 \begin {gather*} -\log (x)+\log \left (\log \left (-\frac {1}{x^2}-\frac {\log (x)}{3}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 20, normalized size = 0.95 \begin {gather*} -\log \relax (x) + \log \left (\log \left (-\frac {x^{2} \log \relax (x) + 3}{3 \, x^{2}}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 25, normalized size = 1.19 \begin {gather*} -\log \relax (x) + \log \left (-\log \relax (3) + \log \left (-x^{2} \log \relax (x) - 3\right ) - 2 \, \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.10, size = 211, normalized size = 10.05
method | result | size |
risch | \(-\ln \relax (x )+\ln \left (\ln \left (x^{2} \ln \relax (x )+3\right )+\frac {i \left (\pi \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )-2 \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}-\pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (i \left (x^{2} \ln \relax (x )+3\right )\right ) \mathrm {csgn}\left (\frac {i \left (x^{2} \ln \relax (x )+3\right )}{x^{2}}\right )+\pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (\frac {i \left (x^{2} \ln \relax (x )+3\right )}{x^{2}}\right )^{2}+\pi \mathrm {csgn}\left (i x^{2}\right )^{3}-2 \pi \mathrm {csgn}\left (\frac {i \left (x^{2} \ln \relax (x )+3\right )}{x^{2}}\right )^{2}+\pi \,\mathrm {csgn}\left (i \left (x^{2} \ln \relax (x )+3\right )\right ) \mathrm {csgn}\left (\frac {i \left (x^{2} \ln \relax (x )+3\right )}{x^{2}}\right )^{2}+\pi \mathrm {csgn}\left (\frac {i \left (x^{2} \ln \relax (x )+3\right )}{x^{2}}\right )^{3}+2 \pi +2 i \ln \relax (3)+4 i \ln \relax (x )\right )}{2}\right )\) | \(211\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 25, normalized size = 1.19 \begin {gather*} -\log \relax (x) + \log \left (-\log \relax (3) + \log \left (-x^{2} \log \relax (x) - 3\right ) - 2 \, \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.56, size = 21, normalized size = 1.00 \begin {gather*} \ln \left (\ln \left (-\frac {\frac {x^2\,\ln \relax (x)}{3}+1}{x^2}\right )\right )-\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.36, size = 20, normalized size = 0.95 \begin {gather*} - \log {\relax (x )} + \log {\left (\log {\left (\frac {- \frac {x^{2} \log {\relax (x )}}{3} - 1}{x^{2}} \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________