We are given the expression (1+x)101(1−x+x2)100 and need to find the number of distinct powers of x in its expansion.
First, recognize that 1−x+x2 can be rewritten using the identity 1+x3=(1+x)(1−x+x2). Solving for 1−x+x2, we get:
1−x+x2=1+x1+x3
for x=−1. Substituting this into the original expression:
(1+x)101⋅(1−x+x2)100=(1+x)101⋅(1+x1+x3)100=(1+x)101⋅(1+x)100(1+x3)100
Simplify the exponents:
=(1+x)101−100⋅(1+x3)100=(1+x)⋅(1+x3)100
So, the expression simplifies to (1+x)(1+x3)100.
Now, expand (1+x3)100 using the binomial theorem:
(1+x3)100=∑k=0100(k100)(x3)k=∑k=0100(k100)x3k
Multiply this by (1+x):
(1+x)⋅∑k=0100(k100)x3k=∑k=0100(k100)x3k+x⋅∑k=0100(k100)x3k=∑k=0100(k100)x3k+∑k=0100(k100)x3k+1
This gives two separate sums:
- The first sum: ∑k=0100(k100)x3k has exponents 3k for k=0,1,2,…,100. This produces exponents: 0,3,6,…,300.
- The second sum: ∑k=0100(k100)x3k+1 has exponents 3k+1 for k=0,1,2,…,100. This produces exponents: 1,4,7,…,301.
Now, count the number of terms in each sum:
- For the first sum, exponents form an arithmetic sequence with first term 0, common difference 3, and last term 300. The number of terms is 3300−0+1=100+1=101.
- For the second sum, exponents form an arithmetic sequence with first term 1, common difference 3, and last term 301. The number of terms is 3301−1+1=3300+1=100+1=101.
To find the total number of distinct powers, check if there is any overlap between the exponents of the two sums. Suppose an exponent m appears in both sums. Then:
m=3a for some integer a (from the first sum)
m=3b+1 for some integer b (from the second sum)
Equating these:
3a=3b+1⟹3a−3b=1⟹3(a−b)=1
This equation has no integer solutions because 3 times an integer cannot equal 1. Therefore, there are no common exponents between the two sums.
Since there is no overlap, the total number of distinct exponents is the sum of the terms from both sums:
101+101=202
Hence, the number of distinct powers of x is 202.
So, the answer is 202.