3.59 \(\int \left (8+24 x+8 x^2-15 x^3+8 x^4\right )^2 \, dx\)

Optimal. Leaf size=52 \[ \frac{64 x^9}{9}-30 x^8+\frac{353 x^7}{7}+24 x^6-\frac{528 x^5}{5}+36 x^4+\frac{704 x^3}{3}+192 x^2+64 x \]

[Out]

64*x + 192*x^2 + (704*x^3)/3 + 36*x^4 - (528*x^5)/5 + 24*x^6 + (353*x^7)/7 - 30*
x^8 + (64*x^9)/9

_______________________________________________________________________________________

Rubi [A]  time = 0.0353111, antiderivative size = 52, 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 \[ \frac{64 x^9}{9}-30 x^8+\frac{353 x^7}{7}+24 x^6-\frac{528 x^5}{5}+36 x^4+\frac{704 x^3}{3}+192 x^2+64 x \]

Antiderivative was successfully verified.

[In]  Int[(8 + 24*x + 8*x^2 - 15*x^3 + 8*x^4)^2,x]

[Out]

64*x + 192*x^2 + (704*x^3)/3 + 36*x^4 - (528*x^5)/5 + 24*x^6 + (353*x^7)/7 - 30*
x^8 + (64*x^9)/9

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 50.0146, size = 49, normalized size = 0.94 \[ \frac{64 x^{9}}{9} - 30 x^{8} + \frac{353 x^{7}}{7} + 24 x^{6} - \frac{528 x^{5}}{5} + 36 x^{4} + \frac{704 x^{3}}{3} + 192 x^{2} + 64 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((8*x**4-15*x**3+8*x**2+24*x+8)**2,x)

[Out]

64*x**9/9 - 30*x**8 + 353*x**7/7 + 24*x**6 - 528*x**5/5 + 36*x**4 + 704*x**3/3 +
 192*x**2 + 64*x

_______________________________________________________________________________________

Mathematica [A]  time = 0.00175255, size = 52, normalized size = 1. \[ \frac{64 x^9}{9}-30 x^8+\frac{353 x^7}{7}+24 x^6-\frac{528 x^5}{5}+36 x^4+\frac{704 x^3}{3}+192 x^2+64 x \]

Antiderivative was successfully verified.

[In]  Integrate[(8 + 24*x + 8*x^2 - 15*x^3 + 8*x^4)^2,x]

[Out]

64*x + 192*x^2 + (704*x^3)/3 + 36*x^4 - (528*x^5)/5 + 24*x^6 + (353*x^7)/7 - 30*
x^8 + (64*x^9)/9

_______________________________________________________________________________________

Maple [A]  time = 0.002, size = 45, normalized size = 0.9 \[ 64\,x+192\,{x}^{2}+{\frac{704\,{x}^{3}}{3}}+36\,{x}^{4}-{\frac{528\,{x}^{5}}{5}}+24\,{x}^{6}+{\frac{353\,{x}^{7}}{7}}-30\,{x}^{8}+{\frac{64\,{x}^{9}}{9}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((8*x^4-15*x^3+8*x^2+24*x+8)^2,x)

[Out]

64*x+192*x^2+704/3*x^3+36*x^4-528/5*x^5+24*x^6+353/7*x^7-30*x^8+64/9*x^9

_______________________________________________________________________________________

Maxima [A]  time = 0.800497, size = 59, normalized size = 1.13 \[ \frac{64}{9} \, x^{9} - 30 \, x^{8} + \frac{353}{7} \, x^{7} + 24 \, x^{6} - \frac{528}{5} \, x^{5} + 36 \, x^{4} + \frac{704}{3} \, x^{3} + 192 \, x^{2} + 64 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8)^2,x, algorithm="maxima")

[Out]

64/9*x^9 - 30*x^8 + 353/7*x^7 + 24*x^6 - 528/5*x^5 + 36*x^4 + 704/3*x^3 + 192*x^
2 + 64*x

_______________________________________________________________________________________

Fricas [A]  time = 0.224085, size = 1, normalized size = 0.02 \[ \frac{64}{9} x^{9} - 30 x^{8} + \frac{353}{7} x^{7} + 24 x^{6} - \frac{528}{5} x^{5} + 36 x^{4} + \frac{704}{3} x^{3} + 192 x^{2} + 64 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8)^2,x, algorithm="fricas")

[Out]

64/9*x^9 - 30*x^8 + 353/7*x^7 + 24*x^6 - 528/5*x^5 + 36*x^4 + 704/3*x^3 + 192*x^
2 + 64*x

_______________________________________________________________________________________

Sympy [A]  time = 0.085883, size = 49, normalized size = 0.94 \[ \frac{64 x^{9}}{9} - 30 x^{8} + \frac{353 x^{7}}{7} + 24 x^{6} - \frac{528 x^{5}}{5} + 36 x^{4} + \frac{704 x^{3}}{3} + 192 x^{2} + 64 x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((8*x**4-15*x**3+8*x**2+24*x+8)**2,x)

[Out]

64*x**9/9 - 30*x**8 + 353*x**7/7 + 24*x**6 - 528*x**5/5 + 36*x**4 + 704*x**3/3 +
 192*x**2 + 64*x

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.260312, size = 59, normalized size = 1.13 \[ \frac{64}{9} \, x^{9} - 30 \, x^{8} + \frac{353}{7} \, x^{7} + 24 \, x^{6} - \frac{528}{5} \, x^{5} + 36 \, x^{4} + \frac{704}{3} \, x^{3} + 192 \, x^{2} + 64 \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8)^2,x, algorithm="giac")

[Out]

64/9*x^9 - 30*x^8 + 353/7*x^7 + 24*x^6 - 528/5*x^5 + 36*x^4 + 704/3*x^3 + 192*x^
2 + 64*x