(2−x+3x2)6=6∑r=0 6Cr (2−x)6−r (3x2)r=6∑r=0 6Cr (2−x)6−r 3rx2r
Clearly, x4 occurs for r=0,1,2
For r=0
6C0 (2−x)6
Then, coefficient of x4 in this
= 6C0⋅ 6C4⋅(2)2=60
For r=1
6C1 (2−x)5⋅3⋅x2
Then, coefficient of x4 in this
= 6C1⋅ 5C2⋅(2)3⋅3=1440
For r=2
6C2 (2−x)4⋅32⋅x4
Then, coefficient of x4 in this
= 6C2⋅ 4C0⋅(2)4⋅32=2160
Therefore, the required coefficient of x4
=60+1440+2160=3660
Alternate solution:
(2−x+3x2)6=[2−x(1−3x)]6
=26− 6C1 25 x(1−3x)+ 6C2 24 x2(1−3x)2 − 6C3 23 x3(1−3x)3+ 6C4 22 x4(1−3x)4 − 6C5 2×x5(1−3x)5+ 6C6 x6(1−3x)6
Clearly, x4 occurs in 3rd,4th and 5th terms.
Now, 3rd term =15×16x2(1−6x+9x2)
Here, the coefficient of x4 is 15×16×9=2160.
4th term =−20×8x3(1−9x+27x2−27x3)
Here, the coefficient of x4 is 20×8×9=1440
5th term =15×4x4[1−4×3x+...+(3x)4]
Here, the coefficient of x4 is 15×4=60
Hence, the required coefficient of x4=2160+1440+60=3660