Optimal. Leaf size=17 \[ \log \left (-x+\frac {4 x}{-\frac {8}{3}-x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {1594, 1628} \begin {gather*} \log (x)-\log (3 x+8)+\log (3 x+20) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {160+48 x+9 x^2}{x \left (160+84 x+9 x^2\right )} \, dx\\ &=\int \left (\frac {1}{x}-\frac {3}{8+3 x}+\frac {3}{20+3 x}\right ) \, dx\\ &=\log (x)-\log (8+3 x)+\log (20+3 x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 1.00 \begin {gather*} \log (x)-\log (8+3 x)+\log (20+3 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 19, normalized size = 1.12 \begin {gather*} \log \left (3 \, x^{2} + 20 \, x\right ) - \log \left (3 \, x + 8\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 20, normalized size = 1.18 \begin {gather*} \log \left ({\left | 3 \, x + 20 \right |}\right ) - \log \left ({\left | 3 \, x + 8 \right |}\right ) + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 18, normalized size = 1.06
method | result | size |
default | \(-\ln \left (3 x +8\right )+\ln \relax (x )+\ln \left (3 x +20\right )\) | \(18\) |
norman | \(-\ln \left (3 x +8\right )+\ln \relax (x )+\ln \left (3 x +20\right )\) | \(18\) |
risch | \(-\ln \left (3 x +8\right )+\ln \left (3 x^{2}+20 x \right )\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 17, normalized size = 1.00 \begin {gather*} \log \left (3 \, x + 20\right ) - \log \left (3 \, x + 8\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 15, normalized size = 0.88 \begin {gather*} \ln \left (x\,\left (3\,x+20\right )\right )-\ln \left (x+\frac {8}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.88 \begin {gather*} - \log {\left (3 x + 8 \right )} + \log {\left (3 x^{2} + 20 x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________