Optimal. Leaf size=42 \[ \frac {x^3}{3}+\frac {3 x^2}{2}+19 x+\frac {3126}{35} \log (5-x)-\frac {\log (x)}{10}-\frac {31}{14} \log (x+2) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {1594, 1628} \begin {gather*} \frac {x^3}{3}+\frac {3 x^2}{2}+19 x+\frac {3126}{35} \log (5-x)-\frac {\log (x)}{10}-\frac {31}{14} \log (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {align*} \int \frac {1+x^5}{-10 x-3 x^2+x^3} \, dx &=\int \frac {1+x^5}{x \left (-10-3 x+x^2\right )} \, dx\\ &=\int \left (19+\frac {3126}{35 (-5+x)}-\frac {1}{10 x}+3 x+x^2-\frac {31}{14 (2+x)}\right ) \, dx\\ &=19 x+\frac {3 x^2}{2}+\frac {x^3}{3}+\frac {3126}{35} \log (5-x)-\frac {\log (x)}{10}-\frac {31}{14} \log (2+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 42, normalized size = 1.00 \begin {gather*} \frac {x^3}{3}+\frac {3 x^2}{2}+19 x+\frac {3126}{35} \log (5-x)-\frac {\log (x)}{10}-\frac {31}{14} \log (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1+x^5}{-10 x-3 x^2+x^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.93, size = 30, normalized size = 0.71 \begin {gather*} \frac {1}{3} \, x^{3} + \frac {3}{2} \, x^{2} + 19 \, x - \frac {31}{14} \, \log \left (x + 2\right ) + \frac {3126}{35} \, \log \left (x - 5\right ) - \frac {1}{10} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 33, normalized size = 0.79 \begin {gather*} \frac {1}{3} \, x^{3} + \frac {3}{2} \, x^{2} + 19 \, x - \frac {31}{14} \, \log \left ({\left | x + 2 \right |}\right ) + \frac {3126}{35} \, \log \left ({\left | x - 5 \right |}\right ) - \frac {1}{10} \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 31, normalized size = 0.74 \begin {gather*} \frac {x^{3}}{3}+\frac {3 x^{2}}{2}+19 x -\frac {\ln \relax (x )}{10}+\frac {3126 \ln \left (x -5\right )}{35}-\frac {31 \ln \left (x +2\right )}{14} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.88, size = 30, normalized size = 0.71 \begin {gather*} \frac {1}{3} \, x^{3} + \frac {3}{2} \, x^{2} + 19 \, x - \frac {31}{14} \, \log \left (x + 2\right ) + \frac {3126}{35} \, \log \left (x - 5\right ) - \frac {1}{10} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 30, normalized size = 0.71 \begin {gather*} 19\,x-\frac {31\,\ln \left (x+2\right )}{14}+\frac {3126\,\ln \left (x-5\right )}{35}-\frac {\ln \relax (x)}{10}+\frac {3\,x^2}{2}+\frac {x^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 36, normalized size = 0.86 \begin {gather*} \frac {x^{3}}{3} + \frac {3 x^{2}}{2} + 19 x - \frac {\log {\relax (x )}}{10} + \frac {3126 \log {\left (x - 5 \right )}}{35} - \frac {31 \log {\left (x + 2 \right )}}{14} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________