Optimal. Leaf size=39 \[ -x+\frac {3 x^2}{2}+\frac {11 x^3}{3}-\frac {3 x^4}{4}-\frac {11 x^5}{5}+\frac {5 x^6}{6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {645}
\begin {gather*} \frac {5 x^6}{6}-\frac {11 x^5}{5}-\frac {3 x^4}{4}+\frac {11 x^3}{3}+\frac {3 x^2}{2}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 645
Rubi steps
\begin {align*} \int (-1+5 x) \left (-1-x+x^2\right )^2 \, dx &=\int \left (-1+3 x+11 x^2-3 x^3-11 x^4+5 x^5\right ) \, dx\\ &=-x+\frac {3 x^2}{2}+\frac {11 x^3}{3}-\frac {3 x^4}{4}-\frac {11 x^5}{5}+\frac {5 x^6}{6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 39, normalized size = 1.00 \begin {gather*} -x+\frac {3 x^2}{2}+\frac {11 x^3}{3}-\frac {3 x^4}{4}-\frac {11 x^5}{5}+\frac {5 x^6}{6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 30, normalized size = 0.77
method | result | size |
gosper | \(-x +\frac {3}{2} x^{2}+\frac {11}{3} x^{3}-\frac {3}{4} x^{4}-\frac {11}{5} x^{5}+\frac {5}{6} x^{6}\) | \(30\) |
default | \(-x +\frac {3}{2} x^{2}+\frac {11}{3} x^{3}-\frac {3}{4} x^{4}-\frac {11}{5} x^{5}+\frac {5}{6} x^{6}\) | \(30\) |
norman | \(-x +\frac {3}{2} x^{2}+\frac {11}{3} x^{3}-\frac {3}{4} x^{4}-\frac {11}{5} x^{5}+\frac {5}{6} x^{6}\) | \(30\) |
risch | \(-x +\frac {3}{2} x^{2}+\frac {11}{3} x^{3}-\frac {3}{4} x^{4}-\frac {11}{5} x^{5}+\frac {5}{6} x^{6}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.21, size = 29, normalized size = 0.74 \begin {gather*} \frac {5}{6} \, x^{6} - \frac {11}{5} \, x^{5} - \frac {3}{4} \, x^{4} + \frac {11}{3} \, x^{3} + \frac {3}{2} \, x^{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.92, size = 29, normalized size = 0.74 \begin {gather*} \frac {5}{6} \, x^{6} - \frac {11}{5} \, x^{5} - \frac {3}{4} \, x^{4} + \frac {11}{3} \, x^{3} + \frac {3}{2} \, x^{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 34, normalized size = 0.87 \begin {gather*} \frac {5 x^{6}}{6} - \frac {11 x^{5}}{5} - \frac {3 x^{4}}{4} + \frac {11 x^{3}}{3} + \frac {3 x^{2}}{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.02, size = 29, normalized size = 0.74 \begin {gather*} \frac {5}{6} \, x^{6} - \frac {11}{5} \, x^{5} - \frac {3}{4} \, x^{4} + \frac {11}{3} \, x^{3} + \frac {3}{2} \, x^{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 29, normalized size = 0.74 \begin {gather*} \frac {5\,x^6}{6}-\frac {11\,x^5}{5}-\frac {3\,x^4}{4}+\frac {11\,x^3}{3}+\frac {3\,x^2}{2}-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________