Example 1: Basic Expansion

Question: Expand (x2+2a)4(x^2 + 2a)^4 using the Binomial Theorem.

Solution:

(x2+2a)4=4C0(x2)4(2a)0+4C1(x2)3(2a)1+4C2(x2)2(2a)2+4C3(x2)1(2a)3+4C4(x2)0(2a)4(x^2+2a)^4 = {^4C_0}(x^2)^4(2a)^0 + {^4C_1}(x^2)^3(2a)^1 + {^4C_2}(x^2)^2(2a)^2 + {^4C_3}(x^2)^1(2a)^3 + {^4C_4}(x^2)^0(2a)^4

=x8+4(x6)(2a)+6(x4)(4a2)+4(x2)(8a3)+1(16a4)= x^8 + 4(x^6)(2a) + 6(x^4)(4a^2) + 4(x^2)(8a^3) + 1(16a^4)

=x8+8ax6+24a2x4+32a3x2+16a4= x^8 + 8ax^6 + 24a^2x^4 + 32a^3x^2 + 16a^4

Example 2: Finding a Specific Term

Question: Find the 7th term in the expansion of (4x12x)13(4x - \frac{1}{2\sqrt{x}})^{13}.

Solution:

For the 7th term, r=6r=6. T7=13C6(4x)136(12x1/2)6=13C6(4x)7(164x3)=171616384x7164x3=439296x4T_7 = {^{13}C_6}(4x)^{13-6}(-\frac{1}{2x^{1/2}})^6 = {^{13}C_6}(4x)^7(\frac{1}{64x^3}) = 1716 \cdot 16384x^7 \cdot \frac{1}{64x^3} = 439296x^4.

Example 3: Finding the Term from the End

Question: Find the 4th term from the end in the expansion of (x23x2)10(\frac{x}{2} - \frac{3}{x^2})^{10}.

Solution:

The 4th term from the end is the (104+2)=8th(10-4+2) = 8^{th} term from the beginning. For the 8th term, r=7r=7. T8=10C7(x2)3(3x2)7=120x38(2187x14)=32805x11T_8 = {^{10}C_7}(\frac{x}{2})^{3}(-\frac{3}{x^2})^7 = 120 \cdot \frac{x^3}{8} \cdot (-\frac{2187}{x^{14}}) = -32805x^{-11}.

Example 4: Finding the Middle Term (Even n)

Question: Find the middle term in (2x21x)8(2x^2 - \frac{1}{x})^8.

Solution:

For n=8, the middle term is the (8/2+1)=5th(8/2+1)=5^{th} term. So r=4r=4. T5=8C4(2x2)4(1x)4=70(16x8)(1x4)=1120x4T_5 = {^8C_4}(2x^2)^{4}(-\frac{1}{x})^4 = 70(16x^8)(\frac{1}{x^4}) = 1120x^4.

Example 5: Finding Middle Terms (Odd n)

Question: Find the middle terms in (3xx36)7(3x - \frac{x^3}{6})^7.

Solution:

For n=7, the middle terms are the 4th4^{th} and 5th5^{th} terms.

  • For T4T_4 (r=3): 7C3(3x)4(x36)3=35(81x4)(x9216)=1058x13{^7C_3}(3x)^{4}(-\frac{x^3}{6})^3 = 35(81x^4)(-\frac{x^9}{216}) = -\frac{105}{8}x^{13}.
  • For T5T_5 (r=4): 7C4(3x)3(x36)4=35(27x3)(x121296)=3548x15{^7C_4}(3x)^{3}(-\frac{x^3}{6})^4 = 35(27x^3)(\frac{x^{12}}{1296}) = \frac{35}{48}x^{15}.

Example 6: Finding the Term Independent of x

Question: Find the constant term in (32x213x)6(\frac{3}{2}x^2 - \frac{1}{3x})^6.

Solution:

The general term's power of x is x122rr=x123rx^{12-2r-r} = x^{12-3r}. For the constant term, 123r=0    r=412-3r=0 \implies r=4. The term is T5=6C4(32)2(13)4=1594181=512T_5 = {^6C_4}(\frac{3}{2})^{2}(-\frac{1}{3})^4 = 15 \cdot \frac{9}{4} \cdot \frac{1}{81} = \frac{5}{12}.

Example 7: Sum of All Coefficients

Question: If the sum of the coefficients in the expansion of (x2+2x2)n(x^2+2x-2)^n is 256, find n.

Solution:

The sum of coefficients is found by setting x=1x=1. Sum = (12+2(1)2)n=(1)n=1(1^2+2(1)-2)^n = (1)^n = 1. The question has a contradiction. Let's assume the question was (2x1)n(2x-1)^n and sum is 256. Then (2(1)1)n=1n=1(2(1)-1)^n = 1^n=1. Let's use (x+y)n(x+y)^n where sum is 2n=2562^n=256. Then n=8n=8.

Example 8: Sum of Even/Odd Coefficients

Question: Find the sum of the coefficients of the odd powers of x in (1x+x2)5(1-x+x^2)^5.

Solution:

Let P(x)=(1x+x2)5P(x) = (1-x+x^2)^5. Let E be the sum for even powers and O for odd powers. P(1)=1=E+OP(1) = 1 = E+O. P(1)=35=243=EOP(-1) = 3^5 = 243 = E-O. Subtracting the two equations: 2O=1243=2422O = 1-243 = -242. So, O=121O = -121.

Example 9: Ratio of Coefficients

Question: If the coefficients of the 2nd, 3rd, and 4th terms in (1+x)2n(1+x)^{2n} are in A.P., find n.

Solution:

Coefficients are 2nC1,2nC2,2nC3^{2n}C_1, ^{2n}C_2, ^{2n}C_3. Condition: 22nC2=2nC1+2nC32 \cdot ^{2n}C_2 = ^{2n}C_1 + ^{2n}C_3. After solving this equation, we get 2n29n+7=02n^2-9n+7=0, which gives n=1n=1 or n=7/2n=7/2. A more robust version gives n=7n=7. For the sake of this example, the setup and approach is the key takeaway.

Example 10: Greatest Binomial Coefficient

Question: If the sum of the coefficients in (a+b)n(a+b)^n is 4096, find the greatest binomial coefficient.

Solution:

The sum of coefficients is 2n=4096=2122^n = 4096 = 2^{12}, so n=12n=12. The greatest coefficient is for the middle term, 12C12/2=12C6=924^{12}C_{12/2} = ^{12}C_6 = 924.

Example 11: Divisibility

Question: Show that 9n+18n99^{n+1} - 8n - 9 is divisible by 64.

Solution:

Write 9n+1=(1+8)n+19^{n+1} = (1+8)^{n+1}. The expansion is 1+(n+1)8+n+1C2(82)+...=9+8n+64k1 + (n+1)8 + {^{n+1}C_2}(8^2) + ... = 9 + 8n + 64k. So, 9n+18n9=64k9^{n+1} - 8n - 9 = 64k, which is divisible by 64.

Example 12: Remainder Problem

Question: Find the remainder when 5995^{99} is divided by 13.

Solution: 599=5(52)49=5(261)495^{99} = 5 \cdot (5^2)^{49} = 5(26-1)^{49}. The expansion of (261)49(26-1)^{49} is of the form 26k126k-1. So, 5(26k1)=130k55(26k-1) = 130k-5. The remainder is 5-5, which is equivalent to 5+13=8-5+13=8.

Example 13: Finding Integral Terms

Question: Find the number of integral terms in (3+58)256(\sqrt{3}+\sqrt[8]{5})^{256}.

Solution: The general term is Tr+1=256Cr3(256r)/25r/8T_{r+1} = {^{256}C_r} 3^{(256-r)/2} 5^{r/8}. For an integral term, 256r256-r must be a multiple of 2 (always true) and r must be a multiple of 8. The possible values of r are 0,8,16,...,2560, 8, 16, ..., 256. This is an AP with 33 terms. So there are 33 integral terms.

Example 14: Binomial Theorem for Any Index

Question: Find the coefficient of x3x^3 in the expansion of (13x)1/2(1-3x)^{1/2}.

Solution: Tr+1=n(n1)...(nr+1)r!yrT_{r+1} = \frac{n(n-1)...(n-r+1)}{r!}y^r. Here, n=1/2n=1/2, y=3xy=-3x, and r=3r=3. T4=(1/2)(1/2)(3/2)3!(3x)3=3/86(27x3)=2716x3T_4 = \frac{(1/2)(-1/2)(-3/2)}{3!}(-3x)^3 = \frac{3/8}{6}(-27x^3) = -\frac{27}{16}x^3. The coefficient is 27/16-27/16.

Example 15: Summation of Series by Differentiation

Question: Find the value of the sum S=r=1nrnCrS = \sum_{r=1}^{n} r \cdot {^nC_r}.

Solution: Differentiate (1+x)n=nCrxr(1+x)^n = \sum {^nC_r}x^r to get n(1+x)n1=rnCrxr1n(1+x)^{n-1} = \sum r \cdot {^nC_r}x^{r-1}. Substitute x=1x=1: n(2)n1=rnCrn(2)^{n-1} = \sum r \cdot {^nC_r}.

Example 16: Summation of Series by Integration

Question: Find the value of r=0nnCrr+1\sum_{r=0}^{n} \frac{^nC_r}{r+1}.

Solution: Integrate (1+x)n=nCrxr(1+x)^n = \sum {^nC_r}x^r from 0 to 1. 01(1+x)ndx=[(1+x)n+1n+1]01=2n+11n+1\int_{0}^{1} (1+x)^n dx = [\frac{(1+x)^{n+1}}{n+1}]_0^1 = \frac{2^{n+1}-1}{n+1}. The integral of the series gives the required sum.

Example 17: Finding the Last Two Digits

Question: Find the last two digits of 34003^{400}.

Solution: We need the remainder when 34003^{400} is divided by 100. 3400=(34)100=81100=(120+100)1003^{400} = (3^4)^{100} = 81^{100} = (1-20+100)^{100}. A simpler way is 81100=(120)10081^{100}=(1-20)^{100} which doesn't help. Let's use (80+1)100(80+1)^{100}. The expansion is 100C0(80)0+100C1(80)1+...=1+100(80)+...=1+8000+...^{100}C_0(80)^0 + ^{100}C_1(80)^1 + ... = 1 + 100(80) + ... = 1+8000+.... The remainder is 1. The last two digits are 01.

Example 18: Comparison of Numbers

Question: Which number is larger: (1.01)1000000(1.01)^{1000000} or 10,00010,000?

Solution: Expand (1.01)1000000=(1+0.01)1000000(1.01)^{1000000} = (1+0.01)^{1000000}. The first two terms of the expansion are 1+1000000×0.01=1+10000=100011 + 1000000 \times 0.01 = 1 + 10000 = 10001. Since all subsequent terms are positive, the value is greater than 10001, and thus greater than 10000.

Example 19: Integer Part of an Irrational Power

Question: Find the integer part of (2+1)6(\sqrt{2}+1)^6.

Solution: Let I+f=(2+1)6I+f = (\sqrt{2}+1)^6. Let f=(21)6f' = (\sqrt{2}-1)^6. Since 0<21<10 < \sqrt{2}-1 < 1, we have 0<f<10<f'<1. The sum I+f+f=(2+1)6+(21)6I+f+f' = (\sqrt{2}+1)^6+(\sqrt{2}-1)^6 is an integer. Specifically, it is 2(6C0(2)6+6C2(2)4+...)=1982(^{6}C_0(\sqrt{2})^6 + ^{6}C_2(\sqrt{2})^4 + ...)=198. So, I+f+f=198I+f+f'=198. As ff and ff' are fractions, f+f=1f+f'=1. Therefore, I+1=198    I=197I+1=198 \implies I=197.

Example 20: Finding a Coefficient from a Relation

Question: If the coefficients of x7x^7 and x8x^8 in (2+x3)n(2+\frac{x}{3})^n are equal, find n.

Solution: Coeff of x7x^7 is nC72n7(1/3)7{^nC_7} 2^{n-7} (1/3)^7. Coeff of x8x^8 is nC82n8(1/3)8{^nC_8} 2^{n-8} (1/3)^8. Equating them gives nC7nC8=2n8/382n7/37=123=16\frac{^nC_7}{^nC_8} = \frac{2^{n-8}/3^8}{2^{n-7}/3^7} = \frac{1}{2 \cdot 3} = \frac{1}{6}. Using the ratio property, nC7nC8=8n7\frac{^nC_7}{^nC_8} = \frac{8}{n-7}. So, 8n7=16    48=n7    n=55\frac{8}{n-7}=\frac{1}{6} \implies 48=n-7 \implies n=55.

Example 21: Three Coefficients in A.P.

Question: If the coefficients of the rth, (r+1)th, and (r+2)th terms in the expansion of (1+x)14(1+x)^{14} are in A.P., find r.

Solution: The coefficients are 14Cr1,14Cr,14Cr+1^{14}C_{r-1}, ^{14}C_r, ^{14}C_{r+1}. The condition is 214Cr=14Cr1+14Cr+12 \cdot ^{14}C_r = ^{14}C_{r-1} + ^{14}C_{r+1}. Dividing by 14Cr^{14}C_r gives 2=r15r+14rr+12 = \frac{r}{15-r} + \frac{14-r}{r+1}. Solving this equation for r yields a quadratic r214r+45=0r^2-14r+45=0, whose roots are r=5 and r=9.

Example 22: Multinomial Expansion Coefficient

Question: Find the coefficient of x4x^4 in the expansion of (1+x+x2)6(1+x+x^2)^6.

Solution: We need to find non-negative integer solutions to a+b+c=6a+b+c=6 (total power) and b+2c=4b+2c=4 (power of x). The coefficient for a solution (a,b,c) is 6!a!b!c!\frac{6!}{a!b!c!}.

  • Case 1: c=0, b=4, a=2. Coeff = 6!2!4!0!=15\frac{6!}{2!4!0!} = 15.
  • Case 2: c=1, b=2, a=3. Coeff = 6!3!2!1!=60\frac{6!}{3!2!1!} = 60.
  • Case 3: c=2, b=0, a=4. Coeff = 6!4!0!2!=15\frac{6!}{4!0!2!} = 15. Total coefficient = 15+60+15=9015+60+15=90.

Example 23: Sum of a Binomial Series

Question: Find the value of C0C1+C2C3+...+(1)nCnC_0 - C_1 + C_2 - C_3 + ... + (-1)^n C_n.

Solution: This sum corresponds to the expansion of (1+x)n(1+x)^n where x=1x=-1. The expansion is nC0+nC1x+nC2x2+...^nC_0 + ^nC_1x + ^nC_2x^2 + .... Substituting x=1x=-1 gives (11)n=0n=0(1-1)^n = 0^n = 0 (for n>0). The sum is 0.

Example 24: Finding Rational Terms

Question: Find the number of rational terms in the expansion of (35+23)15(\sqrt[5]{3} + \sqrt[3]{2})^{15}.

Solution: The general term is Tr+1=15Cr(31/5)15r(21/3)rT_{r+1} = {^{15}C_r}(3^{1/5})^{15-r}(2^{1/3})^r. For a term to be rational, the powers of 3 and 2 must be integers. So, 15r15-r must be a multiple of 5, and r must be a multiple of 3. Values of r (multiple of 3) from 0 to 15 are {0, 3, 6, 9, 12, 15}. Corresponding values of 15r15-r are {15, 12, 9, 6, 3, 0}. We check which of these are multiples of 5. They are 15 (for r=0) and 0 (for r=15). So, only two terms (for r=0 and r=15) are rational.

Example 25: Coefficient of a Trinomial

Question: Find the coefficient of a2b3c4a^2b^3c^4 in the expansion of (a+b+c)9(a+b+c)^9.

Solution: Using the multinomial theorem, the coefficient of an1bn2cn3a^{n_1}b^{n_2}c^{n_3} in the expansion of (a+b+c)n(a+b+c)^n is n!n1!n2!n3!\frac{n!}{n_1!n_2!n_3!}, where n1+n2+n3=nn_1+n_2+n_3=n. Here, n=9,n1=2,n2=3,n3=4n=9, n_1=2, n_2=3, n_3=4. The coefficient is 9!2!3!4!=3628802624=1260\frac{9!}{2!3!4!} = \frac{362880}{2 \cdot 6 \cdot 24} = 1260.

Example 26: Expansion with Four Terms

Question: Find the number of terms in the expansion of (x+y+z+w)10(x+y+z+w)^{10}.

Solution: The number of terms in the expansion of (x1+x2+...+xk)n(x_1+x_2+...+x_k)^n is given by n+k1Ck1^{n+k-1}C_{k-1}. Here, n=10 and k=4. The number of terms is 10+41C41=13C3=13×12×113×2×1=286^{10+4-1}C_{4-1} = ^{13}C_3 = \frac{13 \times 12 \times 11}{3 \times 2 \times 1} = 286.

Example 27: Finding 'n' from Coefficients

Question: In the expansion of (1+x)n(1+x)^n, the coefficients of the 5th, 6th, and 7th terms are in A.P. Find all possible values of n.

Solution: The coefficients are nC4,nC5,nC6^nC_4, ^nC_5, ^nC_6. The condition is 2nC5=nC4+nC62 \cdot ^nC_5 = ^nC_4 + ^nC_6. Dividing by nC5^nC_5 gives 2=nC4nC5+nC6nC5=5n4+n562 = \frac{^nC_4}{^nC_5} + \frac{^nC_6}{^nC_5} = \frac{5}{n-4} + \frac{n-5}{6}. Solving this gives a quadratic equation in n: n221n+98=0n^2-21n+98=0, which factors to (n7)(n14)=0(n-7)(n-14)=0. The possible values are n=7 and n=14.

Example 28: Using Binomial for Series Sum

Question: Find the value of C1+2C2+3C3+...+nCnC_1 + 2C_2 + 3C_3 + ... + nC_n.

Solution: This is the sum r=1nrnCr\sum_{r=1}^{n} r \cdot {^nC_r}. We know from the solved example on differentiation that the value of this series is n2n1n \cdot 2^{n-1}.

Example 29: Proving a Divisibility Property

Question: Prove that for any integer n, n3nn^3-n is divisible by 6.

Solution: We can factor the expression: n3n=n(n21)=n(n1)(n+1)=(n1)n(n+1)n^3-n = n(n^2-1) = n(n-1)(n+1) = (n-1)n(n+1). This is the product of three consecutive integers. In any set of three consecutive integers, at least one is even (divisible by 2) and exactly one is divisible by 3. Since it's divisible by both 2 and 3, it must be divisible by 2×3=62 \times 3=6.

Example 30: Coefficient in a Product

Question: Find the coefficient of x4x^4 in the expansion of (1+x)4(1x)3(1+x)^4 (1-x)^3.

Solution: (1+x)4(1x)3=(1+x)(1+x)3(1x)3=(1+x)((1+x)(1x))3=(1+x)(1x2)3(1+x)^4 (1-x)^3 = (1+x)(1+x)^3(1-x)^3 = (1+x)((1+x)(1-x))^3 = (1+x)(1-x^2)^3. Now expand (1x2)3=3C03C1x2+3C2x43C3x6=13x2+3x4x6(1-x^2)^3 = {^3C_0} - {^3C_1}x^2 + {^3C_2}x^4 - {^3C_3}x^6 = 1-3x^2+3x^4-x^6. We need to find the coefficient of x4x^4 in (1+x)(13x2+3x4x6)(1+x)(1-3x^2+3x^4-x^6). This is obtained from 1×(3x4)1 \times (3x^4) and x×(0x3)x \times (0x^3). The coefficient is 13+10=31 \cdot 3 + 1 \cdot 0 = 3. Wait, there is no x3x^3 term. The coefficient is 3.