The sum of the coefficients of x499 and x500 in (1+x)1000+x(1+x)999+x2(1+x)998+…+x1000 is :
Solutions · 1
Official solution
Let
S=(1+x)1000+x(1+x)999+x2(1+x)998+⋯+x1000
Notice that this is a Geometric Progression (GP) with:
First term (a): (1+x)1000
Common ratio (r):1+xx
Number of terms ( n ): 1001
The sum of a GP is given by S=a(1−r)(1−rn). Substituting our values:
S=(1+x)1000[1−1+xx1−(1+xx)1001]
Simplify the denominator: 1−1+xx=1+x1+x−x=1+x1.
S=(1+x)1000⋅(1+x)[1−(1+x)1001x1001]S=(1+x)1001−x1001
Now we need the coefficients of x499 and x500 in the simplified expression (1+x)1001−x1001.
Since x1001 only affects the term with power 1001, we only look at (1+x)1001.
In the binomial expansion (1+x)n
Coefficient of xr is nCr
Coefficient of x499 in S :
1001C499
Coefficient of x500 in S :
1001C500 (The term x1001 does not contribute.)
1001C499+1001C500=1002C500
[
nCr+nCr+1=n+1Cr+1]