Expand the first factor as a Maclaurin series
x2=x2+⋯ Only terms up to x5 can affect the answer.
Expand the second factor as a Maclaurin series
ex=120x5+24x4+6x3+2x2+x+1+⋯ The second series is truncated at the same power.
Write the product of the two truncated series
x2ex=(x2)(120x5+24x4+6x3+2x2+x+1) Multiplying the series term by term produces the expansion of the product.
List the products of terms whose degrees add to 0
(0)(1) A term in x0 arises from every pair of degrees summing to 0.
Add the contributions to obtain the coefficient of x0
This is the coefficient of x0 in the product.
List the products of terms whose degrees add to 1
(0)(1)+(0)(1) A term in x1 arises from every pair of degrees summing to 1.
Add the contributions to obtain the coefficient of x1
This is the coefficient of x1 in the product.
List the products of terms whose degrees add to 2
(0)(21)+(0)(1)+(1)(1) A term in x2 arises from every pair of degrees summing to 2.
Add the contributions to obtain the coefficient of x2
This is the coefficient of x2 in the product.
List the products of terms whose degrees add to 3
(0)(61)+(0)(21)+(1)(1)+(0)(1) A term in x3 arises from every pair of degrees summing to 3.
Add the contributions to obtain the coefficient of x3
This is the coefficient of x3 in the product.
List the products of terms whose degrees add to 4
(0)(241)+(0)(61)+(1)(21)+(0)(1)+(0)(1) A term in x4 arises from every pair of degrees summing to 4.
Add the contributions to obtain the coefficient of x4
a4=21 This is the coefficient of x4 in the product.
List the products of terms whose degrees add to 5
(0)(1201)+(0)(241)+(1)(61)+(0)(21)+(0)(1)+(0)(1) A term in x5 arises from every pair of degrees summing to 5.
Add the contributions to obtain the coefficient of x5
a5=61 This is the coefficient of x5 in the product.
Select the correct expansion
x2ex≈6x5+2x4+x3+x2 Collecting the coefficients gives the required expansion.