Air
- 202
- 0
Homework Statement
a) Find the coefficient of [itex]x^5[/itex] in [itex](1+x+x^2)^4[/itex].
b) Find the coefficient of [itex]x^2[/itex] in [itex](2+2x+x^2)^n[/itex].
2. The attempt at a solution
a) [itex](1)^0(x)^3(x^2)^1[/itex] & [itex](1)^1(x)^1(x^2)^2[/itex].
Coefficient of first: [itex]\frac{4!}{(0!)(3!)(1!)} = 4[/itex]
Coefficient of second: [itex]\frac{4!}{(1!)(1!)(2!)}=16[/itex]
Therefore coefficient of [itex]x^5[/itex] is [itex]4+12 = 16[/itex].
b) This is the part I'm struggling on. May I have help here. It's a general term (power of [itex]n[/itex] which is confusing me).