Optimal. Leaf size=20 \[ \log \left (\frac {\left (x+\frac {4 (5+x)}{x^2}\right )^2}{5 x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 16, normalized size of antiderivative = 0.80, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {1594, 6742, 1587} \begin {gather*} 2 \log \left (x^3+4 x+20\right )-5 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 1594
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-100-12 x+x^3}{x \left (20+4 x+x^3\right )} \, dx\\ &=\int \left (-\frac {5}{x}+\frac {2 \left (4+3 x^2\right )}{20+4 x+x^3}\right ) \, dx\\ &=-5 \log (x)+2 \int \frac {4+3 x^2}{20+4 x+x^3} \, dx\\ &=-5 \log (x)+2 \log \left (20+4 x+x^3\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 0.80 \begin {gather*} -5 \log (x)+2 \log \left (20+4 x+x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 16, normalized size = 0.80 \begin {gather*} 2 \, \log \left (x^{3} + 4 \, x + 20\right ) - 5 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 18, normalized size = 0.90 \begin {gather*} 2 \, \log \left ({\left | x^{3} + 4 \, x + 20 \right |}\right ) - 5 \, \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 = 17, normalized size = 0.85
method | result | size |
default | \(-5 \ln \relax (x )+2 \ln \left (x^{3}+4 x +20\right )\) | \(17\) |
norman | \(-5 \ln \relax (x )+2 \ln \left (x^{3}+4 x +20\right )\) | \(17\) |
risch | \(-5 \ln \relax (x )+2 \ln \left (x^{3}+4 x +20\right )\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 16, normalized size = 0.80 \begin {gather*} 2 \, \log \left (x^{3} + 4 \, x + 20\right ) - 5 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 16, normalized size = 0.80 \begin {gather*} 2\,\ln \left (x^3+4\,x+20\right )-5\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 15, normalized size = 0.75 \begin {gather*} - 5 \log {\relax (x )} + 2 \log {\left (x^{3} + 4 x + 20 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________