Optimal. Leaf size=35 \[ \frac {a x^3}{3}+2 x^4-\frac {8 x^5}{5}+\frac {2 x^6}{3}-\frac {x^7}{7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {14}
\begin {gather*} \frac {a x^3}{3}-\frac {x^7}{7}+\frac {2 x^6}{3}-\frac {8 x^5}{5}+2 x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {align*} \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right ) \, dx &=\int \left (a x^2+8 x^3-8 x^4+4 x^5-x^6\right ) \, dx\\ &=\frac {a x^3}{3}+2 x^4-\frac {8 x^5}{5}+\frac {2 x^6}{3}-\frac {x^7}{7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 35, normalized size = 1.00 \begin {gather*} \frac {a x^3}{3}+2 x^4-\frac {8 x^5}{5}+\frac {2 x^6}{3}-\frac {x^7}{7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 28, normalized size = 0.80
method | result | size |
gosper | \(\frac {1}{3} a \,x^{3}+2 x^{4}-\frac {8}{5} x^{5}+\frac {2}{3} x^{6}-\frac {1}{7} x^{7}\) | \(28\) |
default | \(\frac {1}{3} a \,x^{3}+2 x^{4}-\frac {8}{5} x^{5}+\frac {2}{3} x^{6}-\frac {1}{7} x^{7}\) | \(28\) |
norman | \(\frac {1}{3} a \,x^{3}+2 x^{4}-\frac {8}{5} x^{5}+\frac {2}{3} x^{6}-\frac {1}{7} x^{7}\) | \(28\) |
risch | \(\frac {1}{3} a \,x^{3}+2 x^{4}-\frac {8}{5} x^{5}+\frac {2}{3} x^{6}-\frac {1}{7} x^{7}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 27, normalized size = 0.77 \begin {gather*} -\frac {1}{7} \, x^{7} + \frac {2}{3} \, x^{6} - \frac {8}{5} \, x^{5} + \frac {1}{3} \, a x^{3} + 2 \, x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 27, normalized size = 0.77 \begin {gather*} -\frac {1}{7} \, x^{7} + \frac {2}{3} \, x^{6} - \frac {8}{5} \, x^{5} + \frac {1}{3} \, a x^{3} + 2 \, x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 29, normalized size = 0.83 \begin {gather*} \frac {a x^{3}}{3} - \frac {x^{7}}{7} + \frac {2 x^{6}}{3} - \frac {8 x^{5}}{5} + 2 x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.19, size = 27, normalized size = 0.77 \begin {gather*} -\frac {1}{7} \, x^{7} + \frac {2}{3} \, x^{6} - \frac {8}{5} \, x^{5} + \frac {1}{3} \, a x^{3} + 2 \, x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 27, normalized size = 0.77 \begin {gather*} -\frac {x^7}{7}+\frac {2\,x^6}{3}-\frac {8\,x^5}{5}+2\,x^4+\frac {a\,x^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________