Optimal. Leaf size=35 \[ \frac{a x^2}{2}-\frac{x^6}{6}+\frac{4 x^5}{5}-2 x^4+\frac{8 x^3}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0099643, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {14} \[ \frac{a x^2}{2}-\frac{x^6}{6}+\frac{4 x^5}{5}-2 x^4+\frac{8 x^3}{3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin{align*} \int x \left (a+8 x-8 x^2+4 x^3-x^4\right ) \, dx &=\int \left (a x+8 x^2-8 x^3+4 x^4-x^5\right ) \, dx\\ &=\frac{a x^2}{2}+\frac{8 x^3}{3}-2 x^4+\frac{4 x^5}{5}-\frac{x^6}{6}\\ \end{align*}
Mathematica [A] time = 0.0013309, size = 35, normalized size = 1. \[ \frac{a x^2}{2}-\frac{x^6}{6}+\frac{4 x^5}{5}-2 x^4+\frac{8 x^3}{3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 28, normalized size = 0.8 \begin{align*}{\frac{a{x}^{2}}{2}}+{\frac{8\,{x}^{3}}{3}}-2\,{x}^{4}+{\frac{4\,{x}^{5}}{5}}-{\frac{{x}^{6}}{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.08354, size = 36, normalized size = 1.03 \begin{align*} -\frac{1}{6} \, x^{6} + \frac{4}{5} \, x^{5} - 2 \, x^{4} + \frac{1}{2} \, a x^{2} + \frac{8}{3} \, x^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.2997, size = 68, normalized size = 1.94 \begin{align*} -\frac{1}{6} x^{6} + \frac{4}{5} x^{5} - 2 x^{4} + \frac{8}{3} x^{3} + \frac{1}{2} x^{2} a \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.057822, size = 29, normalized size = 0.83 \begin{align*} \frac{a x^{2}}{2} - \frac{x^{6}}{6} + \frac{4 x^{5}}{5} - 2 x^{4} + \frac{8 x^{3}}{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13136, size = 36, normalized size = 1.03 \begin{align*} -\frac{1}{6} \, x^{6} + \frac{4}{5} \, x^{5} - 2 \, x^{4} + \frac{1}{2} \, a x^{2} + \frac{8}{3} \, x^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]