Optimal. Leaf size=17 \[ \log \left (x \left (5+x^2+x^3\right ) (x+x \log (4))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 14, normalized size of antiderivative = 0.82, number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {1594, 6742, 1587} \begin {gather*} \log \left (x^3+x^2+5\right )+2 \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 {10+4 x^2+5 x^3}{x \left (5+x^2+x^3\right )} \, dx\\ &=\int \left (\frac {2}{x}+\frac {x (2+3 x)}{5+x^2+x^3}\right ) \, dx\\ &=2 \log (x)+\int \frac {x (2+3 x)}{5+x^2+x^3} \, dx\\ &=2 \log (x)+\log \left (5+x^2+x^3\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.82 \begin {gather*} 2 \log (x)+\log \left (5+x^2+x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 14, normalized size = 0.82 \begin {gather*} \log \left (x^{3} + x^{2} + 5\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 16, normalized size = 0.94 \begin {gather*} \log \left ({\left | x^{3} + x^{2} + 5 \right |}\right ) + 2 \, \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 = 15, normalized size = 0.88
method | result | size |
default | \(\ln \left (x^{3}+x^{2}+5\right )+2 \ln \relax (x )\) | \(15\) |
norman | \(\ln \left (x^{3}+x^{2}+5\right )+2 \ln \relax (x )\) | \(15\) |
risch | \(\ln \left (x^{3}+x^{2}+5\right )+2 \ln \relax (x )\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 14, normalized size = 0.82 \begin {gather*} \log \left (x^{3} + x^{2} + 5\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.15, size = 14, normalized size = 0.82 \begin {gather*} \ln \left (x^3+x^2+5\right )+2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 14, normalized size = 0.82 \begin {gather*} 2 \log {\relax (x )} + \log {\left (x^{3} + x^{2} + 5 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________