Optimal. Leaf size=28 \[ \log \left (2 x+\frac {x-\frac {x^2}{9}}{x^4 \left (1+x+(3+x)^2\right )}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.30, antiderivative size = 38, normalized size of antiderivative = 1.36, number of steps used = 3, number of rules used = 2, integrand size = 87, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.023, Rules used = {2074, 1587} \begin {gather*} \log \left (18 x^6+126 x^5+180 x^4-x+9\right )-3 \log (x)-\log (x+2)-\log (x+5) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{-5-x}+\frac {1}{-2-x}-\frac {3}{x}+\frac {-1+720 x^3+630 x^4+108 x^5}{9-x+180 x^4+126 x^5+18 x^6}\right ) \, dx\\ &=-3 \log (x)-\log (2+x)-\log (5+x)+\int \frac {-1+720 x^3+630 x^4+108 x^5}{9-x+180 x^4+126 x^5+18 x^6} \, dx\\ &=-3 \log (x)-\log (2+x)-\log (5+x)+\log \left (9-x+180 x^4+126 x^5+18 x^6\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 47, normalized size = 1.68 \begin {gather*} 2 \left (-\frac {3 \log (x)}{2}-\frac {1}{2} \log \left (10+7 x+x^2\right )+\frac {1}{2} \log \left (9-x+180 x^4+126 x^5+18 x^6\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 37, normalized size = 1.32 \begin {gather*} \log \left (18 \, x^{6} + 126 \, x^{5} + 180 \, x^{4} - x + 9\right ) - \log \left (x^{2} + 7 \, x + 10\right ) - 3 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 42, normalized size = 1.50 \begin {gather*} \log \left ({\left | 18 \, x^{6} + 126 \, x^{5} + 180 \, x^{4} - x + 9 \right |}\right ) - \log \left ({\left | x + 5 \right |}\right ) - \log \left ({\left | x + 2 \right |}\right ) - 3 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 38, normalized size = 1.36
method | result | size |
risch | \(-3 \ln \relax (x )-\ln \left (x^{2}+7 x +10\right )+\ln \left (18 x^{6}+126 x^{5}+180 x^{4}-x +9\right )\) | \(38\) |
default | \(-3 \ln \relax (x )-\ln \left (5+x \right )-\ln \left (2+x \right )+\ln \left (18 x^{6}+126 x^{5}+180 x^{4}-x +9\right )\) | \(39\) |
norman | \(-3 \ln \relax (x )-\ln \left (5+x \right )-\ln \left (2+x \right )+\ln \left (18 x^{6}+126 x^{5}+180 x^{4}-x +9\right )\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.55, size = 38, normalized size = 1.36 \begin {gather*} \log \left (18 \, x^{6} + 126 \, x^{5} + 180 \, x^{4} - x + 9\right ) - \log \left (x + 5\right ) - \log \left (x + 2\right ) - 3 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.20, size = 37, normalized size = 1.32 \begin {gather*} \ln \left (18\,x^6+126\,x^5+180\,x^4-x+9\right )-\ln \left (x^2+7\,x+10\right )-3\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 34, normalized size = 1.21 \begin {gather*} - 3 \log {\relax (x )} - \log {\left (x^{2} + 7 x + 10 \right )} + \log {\left (18 x^{6} + 126 x^{5} + 180 x^{4} - x + 9 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________