I am attempting to find the coefficient of $x^5$ in the expression $(2 + x - x^2)^5$ by using the multinomial theorem. I was capable of performing this task only when the number of elements is 2 (using the binomial theorem), however, I am stuck on this one.
2026-02-22 20:42:59.1771792979
On
What is the coefficient of $x^5$ in the expression $(2 + x - x^2)^5$
1.2k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
0
On
Hint :
$$2+x-x^2=(2-x)(x+1)$$
Now can you count the cases when the multiplication of the terms from each bracket will make up to $x^5?$
The trinomial expansion formula: $$(a+b+c)^n=\sum_{i+j+k=n} {{n} \choose {i,j,k}} a^ib^jc^k = \sum_{i+j+k=n} \frac{n!}{i!j!k!} a^ib^jc^k.$$ So: $$(2+x+(-x^2))^5=\sum_{i+j+k=5} {5 \choose {i,j,k}} 2^ix^j(-x^2)^k= \\ \cdots+\frac{5!}{0!5!0!}2^0x^5(-x^2)^0+\frac{5!}{1!3!1!}2^1x^3(-x^2)^1+\frac{5!}{2!1!2!}2^2x^1(-x^2)^2=\cdots+81x^5.$$