Explanation
Step 1: Finding the coefficient of x in (x+x1)7
The general term Tr+1 in the binomial expansion of (a+b)n is given by:
Tr+1=nCr⋅an−r⋅br
For the expression (x+x1)7, we have n=7, a=x, and b=x1:
Tr+1=7Cr⋅(x)7−r⋅(x1)r
Tr+1=7Cr⋅x7−r⋅x−r
Tr+1=7Cr⋅x7−2r
We need to find the coefficient of x (which means the power of x must be 1). So, we set the exponent equal to 1:
7−2r=1
2r=7−1
2r=6
r=3
Now, substitute r=3 back into the term to get the coefficient:
Coefficient of x=7C3
7C3=3×2×17×6×5=35
Step 2: Finding the coefficient of x in (1+x)n
The general term Tk+1 for the expansion (1+x)n is:
Tk+1=nCk⋅xk
To find the coefficient of x (where the power of x is 1), we set k=1:
Coefficient of x=nC1=n
Step 3: Equating both coefficients
According to the question, both coefficients are equal:
Coefficient from first expansion=Coefficient from second expansion
35=n
n=35
Conclusion
The value of n is 35.
Therefore, the correct option is (c).