Optimal. Leaf size=22 \[ \log ^2(x)-\log \left (\frac {1}{9} x \log (4+\log (x (5+x)))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 1.02, antiderivative size = 25, normalized size of antiderivative = 1.14, number of steps used = 5, number of rules used = 4, integrand size = 93, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {6688, 6742, 2301, 6684} \begin {gather*} \frac {1}{4} (1-2 \log (x))^2-\log (\log (\log (x (x+5))+4)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2301
Rule 6684
Rule 6688
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-5-2 x+(5+x) (-1+2 \log (x)) (4+\log (x (5+x))) \log (4+\log (x (5+x)))}{x (5+x) (4+\log (x (5+x))) \log (4+\log (x (5+x)))} \, dx\\ &=\int \left (\frac {-1+2 \log (x)}{x}+\frac {-5-2 x}{x (5+x) (4+\log (x (5+x))) \log (4+\log (x (5+x)))}\right ) \, dx\\ &=\int \frac {-1+2 \log (x)}{x} \, dx+\int \frac {-5-2 x}{x (5+x) (4+\log (x (5+x))) \log (4+\log (x (5+x)))} \, dx\\ &=\frac {1}{4} (1-2 \log (x))^2-\log (\log (4+\log (x (5+x))))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.22, size = 21, normalized size = 0.95 \begin {gather*} -\log (x)+\log ^2(x)-\log (\log (4+\log (x (5+x)))) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 23, normalized size = 1.05 \begin {gather*} \log \relax (x)^{2} - \log \relax (x) - \log \left (\log \left (\log \left (x^{2} + 5 \, x\right ) + 4\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.23, size = 21, normalized size = 0.95 \begin {gather*} \log \relax (x)^{2} - \log \relax (x) - \log \left (\log \left (\log \left (x + 5\right ) + \log \relax (x) + 4\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 24, normalized size = 1.09
method | result | size |
default | \(\ln \relax (x )^{2}-\ln \relax (x )-\ln \left (\ln \left (\ln \left (x^{2}+5 x \right )+4\right )\right )\) | \(24\) |
risch | \(\ln \relax (x )^{2}-\ln \relax (x )-\ln \left (\ln \left (\ln \relax (x )+\ln \left (5+x \right )-\frac {i \pi \,\mathrm {csgn}\left (i x \left (5+x \right )\right ) \left (-\mathrm {csgn}\left (i x \left (5+x \right )\right )+\mathrm {csgn}\left (i x \right )\right ) \left (-\mathrm {csgn}\left (i x \left (5+x \right )\right )+\mathrm {csgn}\left (i \left (5+x \right )\right )\right )}{2}+4\right )\right )\) | \(68\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.60, size = 21, normalized size = 0.95 \begin {gather*} \log \relax (x)^{2} - \log \relax (x) - \log \left (\log \left (\log \left (x + 5\right ) + \log \relax (x) + 4\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.73, size = 23, normalized size = 1.05 \begin {gather*} {\ln \relax (x)}^2-\ln \relax (x)-\ln \left (\ln \left (\ln \left (x^2+5\,x\right )+4\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.80, size = 20, normalized size = 0.91 \begin {gather*} \log {\relax (x )}^{2} - \log {\relax (x )} - \log {\left (\log {\left (\log {\left (x^{2} + 5 x \right )} + 4 \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________