Solveeit Logo

Question

Question: If the number of terms in the expansion of $\left(2+\frac{1}{x}+\frac{1}{x^2}\right)^n$ is 13, then ...

If the number of terms in the expansion of (2+1x+1x2)n\left(2+\frac{1}{x}+\frac{1}{x^2}\right)^n is 13, then the sum of the coefficients is equal to

A

4096

Answer

4096

Explanation

Solution

To find the sum of the coefficients, we first need to determine the value of nn.

1. Determine the number of terms in the expansion: The given expression is (2+1x+1x2)n\left(2+\frac{1}{x}+\frac{1}{x^2}\right)^n. Let's consider the general term in the expansion of (a+b+c)n(a+b+c)^n. It is given by n!r1!r2!r3!ar1br2cr3\frac{n!}{r_1! r_2! r_3!} a^{r_1} b^{r_2} c^{r_3}, where r1+r2+r3=nr_1+r_2+r_3=n and r1,r2,r30r_1, r_2, r_3 \ge 0. In this problem, a=2a=2, b=1x=x1b=\frac{1}{x}=x^{-1}, and c=1x2=x2c=\frac{1}{x^2}=x^{-2}. Substituting these values, the general term becomes: n!r1!r2!r3!(2)r1(x1)r2(x2)r3=n!r1!r2!r3!2r1xr2x2r3=(n!r1!r2!r3!2r1)x(r2+2r3)\frac{n!}{r_1! r_2! r_3!} (2)^{r_1} (x^{-1})^{r_2} (x^{-2})^{r_3} = \frac{n!}{r_1! r_2! r_3!} 2^{r_1} x^{-r_2} x^{-2r_3} = \left(\frac{n!}{r_1! r_2! r_3!} 2^{r_1}\right) x^{-(r_2+2r_3)} The distinct terms in the expansion depend on the distinct powers of xx. Let P=r2+2r3P = r_2+2r_3. We need to find the range of possible values for PP. Since r1,r2,r3r_1, r_2, r_3 are non-negative integers and r1+r2+r3=nr_1+r_2+r_3=n:

  • Minimum value of P: This occurs when r2=0r_2=0 and r3=0r_3=0. In this case, P=0+2(0)=0P = 0+2(0)=0. This corresponds to r1=nr_1=n, giving the term 2nx02^n x^0.
  • Maximum value of P: This occurs when r2r_2 and r3r_3 are maximized, meaning r1r_1 is minimized (i.e., r1=0r_1=0). If r1=0r_1=0, then r2+r3=nr_2+r_3=n. To maximize r2+2r3r_2+2r_3, we should maximize r3r_3. So, set r2=0r_2=0 and r3=nr_3=n. In this case, P=0+2(n)=2nP = 0+2(n)=2n. This corresponds to the term (1/x2)n=x2n(1/x^2)^n = x^{-2n}.

Now, we need to check if all integer powers between 00 and 2n2n can be formed. Let kk be an integer such that 0k2n0 \le k \le 2n. We need to show that there exist non-negative integers r2,r3r_2, r_3 such that r2+2r3=kr_2+2r_3=k and r2+r3nr_2+r_3 \le n.

  • If kk is even: Let k=2mk=2m. Choose r2=0,r3=mr_2=0, r_3=m. Then r2+2r3=2m=kr_2+2r_3 = 2m = k. For this to be valid, we need r2+r3nr_2+r_3 \le n, which means 0+mn0+m \le n, or mnm \le n. Since k2nk \le 2n, we have 2m2n2m \le 2n, so mnm \le n. Thus, all even powers from 00 to 2n2n are possible.
  • If kk is odd: Let k=2m+1k=2m+1. Choose r2=1,r3=mr_2=1, r_3=m. Then r2+2r3=1+2m=kr_2+2r_3 = 1+2m = k. For this to be valid, we need r2+r3nr_2+r_3 \le n, which means 1+mn1+m \le n. Since k2nk \le 2n, we have 2m+12n2m+1 \le 2n, which implies 2m2n12m \le 2n-1, so mn1/2m \le n-1/2. Thus mn1m \le n-1. Therefore, 1+m1+(n1)=n1+m \le 1+(n-1) = n. Thus, all odd powers from 11 to 2n12n-1 are possible.

Combining both cases, all integer powers of xx from x0x^0 to x2nx^{-2n} are possible. The number of distinct powers of xx is (2n0)+1=2n+1(2n - 0) + 1 = 2n+1. Therefore, the number of terms in the expansion is 2n+12n+1.

We are given that the number of terms is 13. So, 2n+1=132n+1 = 13 2n=122n = 12 n=6n = 6

2. Calculate the sum of the coefficients: To find the sum of the coefficients of a polynomial expression, we substitute all variables with 1. For the expression (2+1x+1x2)n\left(2+\frac{1}{x}+\frac{1}{x^2}\right)^n, the sum of the coefficients is obtained by setting x=1x=1. Sum of coefficients =(2+11+112)n= \left(2+\frac{1}{1}+\frac{1}{1^2}\right)^n Sum of coefficients =(2+1+1)n= (2+1+1)^n Sum of coefficients =(4)n= (4)^n

Since we found n=6n=6: Sum of coefficients =46= 4^6 46=(22)6=212=40964^6 = (2^2)^6 = 2^{12} = 4096.