Optimal. Leaf size=17 \[ \log \left (20 x (4+x) \left (\frac {1}{3}-\frac {\log (x)}{5}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.38, antiderivative size = 14, normalized size of antiderivative = 0.82, number of steps used = 7, number of rules used = 5, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {6741, 6742, 72, 2302, 29} \begin {gather*} \log (x)+\log (x+4)+\log (5-3 \log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 72
Rule 2302
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {8+7 x-(12+6 x) \log (x)}{x (4+x) (5-3 \log (x))} \, dx\\ &=\int \left (\frac {2 (2+x)}{x (4+x)}+\frac {3}{x (-5+3 \log (x))}\right ) \, dx\\ &=2 \int \frac {2+x}{x (4+x)} \, dx+3 \int \frac {1}{x (-5+3 \log (x))} \, dx\\ &=2 \int \left (\frac {1}{2 x}+\frac {1}{2 (4+x)}\right ) \, dx+\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,-5+3 \log (x)\right )\\ &=\log (x)+\log (4+x)+\log (5-3 \log (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 14, normalized size = 0.82 \begin {gather*} \log (x)+\log (4+x)+\log (5-3 \log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.92, size = 16, normalized size = 0.94 \begin {gather*} \log \left (x^{2} + 4 \, x\right ) + \log \left (3 \, \log \relax (x) - 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 14, normalized size = 0.82 \begin {gather*} \log \left (x + 4\right ) + \log \relax (x) + \log \left (3 \, \log \relax (x) - 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 15, normalized size = 0.88
method | result | size |
norman | \(\ln \relax (x )+\ln \left (4+x \right )+\ln \left (3 \ln \relax (x )-5\right )\) | \(15\) |
risch | \(\ln \left (x^{2}+4 x \right )+\ln \left (\ln \relax (x )-\frac {5}{3}\right )\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.86, size = 12, normalized size = 0.71 \begin {gather*} \log \left (x + 4\right ) + \log \relax (x) + \log \left (\log \relax (x) - \frac {5}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.25, size = 14, normalized size = 0.82 \begin {gather*} \ln \left (3\,\ln \relax (x)-5\right )+\ln \left (x+4\right )+\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 15, normalized size = 0.88 \begin {gather*} \log {\left (x^{2} + 4 x \right )} + \log {\left (\log {\relax (x )} - \frac {5}{3} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________