Optimal. Leaf size=22 \[ -1+2 x-x^3+(2+x)^2-\frac {x}{\log (5)} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 19, normalized size of antiderivative = 0.86, number of steps used = 3, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {12} \begin {gather*} -x^3+x^2+6 x-\frac {x}{\log (5)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (-1+\left (6+2 x-3 x^2\right ) \log (5)\right ) \, dx}{\log (5)}\\ &=-\frac {x}{\log (5)}+\int \left (6+2 x-3 x^2\right ) \, dx\\ &=6 x+x^2-x^3-\frac {x}{\log (5)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 19, normalized size = 0.86 \begin {gather*} 6 x+x^2-x^3-\frac {x}{\log (5)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 23, normalized size = 1.05 \begin {gather*} -\frac {{\left (x^{3} - x^{2} - 6 \, x\right )} \log \relax (5) + x}{\log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 23, normalized size = 1.05 \begin {gather*} -\frac {{\left (x^{3} - x^{2} - 6 \, x\right )} \log \relax (5) + x}{\log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 20, normalized size = 0.91
method | result | size |
risch | \(-x^{3}+x^{2}+6 x -\frac {x}{\ln \relax (5)}\) | \(20\) |
norman | \(x^{2}+\frac {\left (6 \ln \relax (5)-1\right ) x}{\ln \relax (5)}-x^{3}\) | \(22\) |
gosper | \(-\frac {x \left (x^{2} \ln \relax (5)-x \ln \relax (5)-6 \ln \relax (5)+1\right )}{\ln \relax (5)}\) | \(25\) |
default | \(\frac {\ln \relax (5) \left (-x^{3}+x^{2}+6 x \right )-x}{\ln \relax (5)}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 23, normalized size = 1.05 \begin {gather*} -\frac {{\left (x^{3} - x^{2} - 6 \, x\right )} \log \relax (5) + x}{\log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.89, size = 21, normalized size = 0.95 \begin {gather*} -x^3+x^2+\frac {\left (6\,\ln \relax (5)-1\right )\,x}{\ln \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 17, normalized size = 0.77 \begin {gather*} - x^{3} + x^{2} + \frac {x \left (-1 + 6 \log {\relax (5 )}\right )}{\log {\relax (5 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________