How to use these solu­tions

These are full worked solu­tions to the prac­tice ques­tions in the les­son Pas­cal's Tri­an­gle and the Bino­mial The­o­rem. Try each ques­tion on your own first, then read the solu­tion step by step and com­pare it with your work­ing. If your answer dif­fers, find the exact step where your work­ing and ours part ways.

Ques­tion 1: Row 7 of Pas­cal's tri­an­gle

The prob­lem

Write row 77 of Pas­cal's tri­an­gle.

Under­stand­ing the prob­lem

Pas­cal's tri­an­gle starts with row 00, which is just 11. Row nn lists the num­bers nC0,nC1,…,nCn^nC_0, {}^nC_1, \ldots, {}^nC_n, so row 77 has 88 num­bers. You are asked to write all of them.

The idea

Use Pas­cal's rule: every entry is the sum of the two entries just above it. The les­son already shows rows 00 to 55, so build row 66 and then row 77.

Step-by-step solu­tion

Step 1. Start from row 55, which the les­son gives.

151010511 \quad 5 \quad 10 \quad 10 \quad 5 \quad 1

Step 2. Build row 66. Put 11 at each end and add neigh­bour­ing pairs of row 55 in between.

1+5=6,5+10=15,10+10=20,10+5=15,5+1=6\begin{aligned} 1+5 &= 6, & 5+10 &= 15, & 10+10 &= 20, & 10+5 &= 15, & 5+1 &= 6 \end{aligned}

So row 66 is 1, 6, 15, 20, 15, 6, 11,\ 6,\ 15,\ 20,\ 15,\ 6,\ 1.

Step 3. Build row 77 the same way from row 66.

1+6=7,6+15=21,15+20=35,20+15=35,15+6=21,6+1=7\begin{aligned} 1+6 &= 7, & 6+15 &= 21, & 15+20 &= 35, & 20+15 &= 35, & 15+6 &= 21, & 6+1 &= 7 \end{aligned}

Check­ing the answer

The num­bers in row nn add up to 2n2^n. Here 1+7+21+35+35+21+7+1=128=271+7+21+35+35+21+7+1 = 128 = 2^7. Also the row is sym­met­ric, as it must be, and 7C2=7×62=21\displaystyle ^7C_2 = \frac{7 \times 6}{2} = 21 matches.

Answer

Row 7: 1, 7, 21, 35, 35, 21, 7, 11,\ 7,\ 21,\ 35,\ 35,\ 21,\ 7,\ 1.

Com­mon mis­take to avoid

Do not call 1,11, 1 "row 1" and then write the wrong row. Row nn always begins 1,n,…1, n, \ldots, so row 77 begins 1,71, 7.

Ques­tion 2: Expand­ing three bino­mi­als

The prob­lem

Expand: (a) (x+2y)5(x + 2y)^5; (b) (3−x)4(3 - x)^4; (c) (x2+2x)4\displaystyle \left(\frac{x}{2} + \frac{2}{x}\right)^4.

Under­stand­ing the prob­lem

"Expand" means write the power as a sum of sep­a­rate terms with no brack­ets left. Each is of the form (a+b)n(a+b)^n with a dif­fer­ent aa, bb and nn.

The idea

Use the bino­mial the­o­rem

(a+b)n=∑k=0nnCk an−kbk,\displaystyle (a + b)^n = \sum_{k=0}^{n} {}^nC_k\, a^{n-k} b^k,

tak­ing the coef­fi­cients nCk^nC_k from Pas­cal's tri­an­gle. Write each term as (coef­fi­cient) ×\times (power of aa) ×\times (power of bb), and sim­plify care­fully, because the pow­ers of 22, 33 and so on mul­ti­ply into the coef­fi­cients.

Step-by-step solu­tion

Part (a)

Step 1. Iden­tify the parts: a=xa = x, b=2yb = 2y, n=5n = 5. Row 55 gives coef­fi­cients 1,5,10,10,5,11, 5, 10, 10, 5, 1.

Step 2. Write the six terms, with the power of xx falling from 55 to 00 and the power of 2y2y ris­ing from 00 to 55.

(x+2y)5=x5+5x4(2y)+10x3(2y)2+10x2(2y)3+5x(2y)4+(2y)5(x+2y)^5 = x^5 + 5x^4(2y) + 10x^3(2y)^2 + 10x^2(2y)^3 + 5x(2y)^4 + (2y)^5

Step 3. Work out each power of 2y2y: (2y)2=4y2(2y)^2 = 4y^2, (2y)3=8y3(2y)^3 = 8y^3, (2y)4=16y4(2y)^4 = 16y^4, (2y)5=32y5(2y)^5 = 32y^5. Then mul­ti­ply.

(x+2y)5=x5+10x4y+10⋅4 x3y2+10⋅8 x2y3+5⋅16 xy4+32y5=x5+10x4y+40x3y2+80x2y3+80xy4+32y5\begin{aligned} (x+2y)^5 &= x^5 + 10x^4y + 10\cdot 4\,x^3y^2 + 10 \cdot 8\,x^2y^3 + 5\cdot 16\,xy^4 + 32y^5 \\ &= x^5 + 10x^4y + 40x^3y^2 + 80x^2y^3 + 80xy^4 + 32y^5 \end{aligned}

Part (b)

Step 1. Here a=3a = 3, b=−xb = -x, n=4n = 4; row 44 is 1,4,6,4,11, 4, 6, 4, 1. Because bb is neg­a­tive, the signs alter­nate.

Step 2. Write the terms.

(3−x)4=34−4⋅33x+6⋅32x2−4⋅3 x3+x4(3-x)^4 = 3^4 - 4\cdot 3^3 x + 6 \cdot 3^2 x^2 - 4 \cdot 3\, x^3 + x^4

Step 3. Eval­u­ate the num­bers: 34=813^4 = 81, 4⋅27=1084 \cdot 27 = 108, 6⋅9=546 \cdot 9 = 54, 4⋅3=124 \cdot 3 = 12.

(3−x)4=81−108x+54x2−12x3+x4(3-x)^4 = 81 - 108x + 54x^2 - 12x^3 + x^4

Part (c)

Step 1. Here a=x2\displaystyle a = \frac{x}{2}, b=2x\displaystyle b = \frac{2}{x}, n=4n = 4; coef­fi­cients 1,4,6,4,11, 4, 6, 4, 1.

Step 2. Write the terms.

(x2+2x)4=(x2)4+4(x2)3(2x)+6(x2)2(2x)2+4(x2)(2x)3+(2x)4\displaystyle \left(\frac{x}{2} + \frac{2}{x}\right)^4 = \left(\frac{x}{2}\right)^4 + 4\left(\frac{x}{2}\right)^3\left(\frac{2}{x}\right) + 6\left(\frac{x}{2}\right)^2\left(\frac{2}{x}\right)^2 + 4\left(\frac{x}{2}\right)\left(\frac{2}{x}\right)^3 + \left(\frac{2}{x}\right)^4

Step 3. Sim­plify each term sep­a­rately.

(x2)4=x4164⋅x38⋅2x=8x38x=x26⋅x24⋅4x2=64⋅x2⋅8x3=32x2x3=16x2(2x)4=16x4\displaystyle \begin{aligned} \left(\frac{x}{2}\right)^4 &= \frac{x^4}{16} \\ 4 \cdot \frac{x^3}{8} \cdot \frac{2}{x} &= \frac{8x^3}{8x} = x^2 \\ 6 \cdot \frac{x^2}{4} \cdot \frac{4}{x^2} &= 6 \\ 4 \cdot \frac{x}{2} \cdot \frac{8}{x^3} &= \frac{32x}{2x^3} = \frac{16}{x^2} \\ \left(\frac{2}{x}\right)^4 &= \frac{16}{x^4} \end{aligned}

Step 4. Put them together.

(x2+2x)4=x416+x2+6+16x2+16x4\displaystyle \left(\frac{x}{2} + \frac{2}{x}\right)^4 = \frac{x^4}{16} + x^2 + 6 + \frac{16}{x^2} + \frac{16}{x^4}

Check­ing the answer

Put x=y=1x = y = 1 in (a): the left side is 35=2433^5 = 243 and the right side is 1+10+40+80+80+32=2431+10+40+80+80+32 = 243. Put x=1x = 1 in (b): 24=162^4 = 16 and 81−108+54−12+1=1681 - 108 + 54 - 12 + 1 = 16. Put x=2x = 2 in (c): (1+1)4=16(1+1)^4 = 16 and 1+4+6+4+1=161 + 4 + 6 + 4 + 1 = 16. All three agree.

Answer

(a) x5+10x4y+40x3y2+80x2y3+80xy4+32y5x^5 + 10x^4 y + 40x^3y^2 + 80x^2y^3 + 80xy^4 + 32y^5; (b) 81−108x+54x2−12x3+x481 - 108x + 54x^2 - 12x^3 + x^4; (c) x416+x2+6+16x2+16x4\displaystyle \frac{x^4}{16} + x^2 + 6 + \frac{16}{x^2} + \frac{16}{x^4}.

Com­mon mis­take to avoid

Raise the whole of bb to the power, not just the let­ter: (2y)3=8y3(2y)^3 = 8y^3, not 2y32y^3.

Ques­tion 3: Com­put­ing pow­ers with the the­o­rem

The prob­lem

Com­pute using the bino­mial the­o­rem: (a) (102)5(102)^5; (b) (98)4(98)^4; (c) (1.1)5(1.1)^5.

Under­stand­ing the prob­lem

Mul­ti­ply­ing these num­bers out directly is long and error-prone. You are asked to write each base as a round num­ber plus or minus a small num­ber, and then expand.

The idea

Write 102=100+2102 = 100 + 2, 98=100−298 = 100 - 2 and 1.1=1+0.11.1 = 1 + 0.1. Pow­ers of 100100 and of 0.10.1 are easy, so each term of the expan­sion is easy to com­pute, exactly as in Exam­ple 3 of the les­son.

Step-by-step solu­tion

Part (a)

Step 1. Write (102)5=(100+2)5(102)^5 = (100 + 2)^5 and use row 55: 1,5,10,10,5,11, 5, 10, 10, 5, 1.

(100+2)5=1005+5⋅1004⋅2+10⋅1003⋅22+10⋅1002⋅23+5⋅100⋅24+25(100+2)^5 = 100^5 + 5\cdot 100^4 \cdot 2 + 10 \cdot 100^3 \cdot 2^2 + 10\cdot 100^2 \cdot 2^3 + 5 \cdot 100 \cdot 2^4 + 2^5

Step 2. Eval­u­ate each term.

1005=10,000,000,0005⋅1004⋅2=10⋅108=1,000,000,00010⋅106⋅4=40,000,00010⋅104⋅8=800,0005⋅100⋅16=8,00025=32\begin{aligned} 100^5 &= 10{,}000{,}000{,}000 \\ 5 \cdot 100^4 \cdot 2 &= 10 \cdot 10^8 = 1{,}000{,}000{,}000 \\ 10 \cdot 10^6 \cdot 4 &= 40{,}000{,}000 \\ 10 \cdot 10^4 \cdot 8 &= 800{,}000 \\ 5 \cdot 100 \cdot 16 &= 8{,}000 \\ 2^5 &= 32 \end{aligned}

Step 3. Add.

10,000,000,000+1,000,000,000+40,000,000+800,000+8,000+32=11,040,808,03210{,}000{,}000{,}000 + 1{,}000{,}000{,}000 + 40{,}000{,}000 + 800{,}000 + 8{,}000 + 32 = 11{,}040{,}808{,}032

Part (b)

Step 1. Write (98)4=(100−2)4(98)^4 = (100 - 2)^4; row 44 is 1,4,6,4,11, 4, 6, 4, 1, signs alter­nate.

(100−2)4=1004−4⋅1003⋅2+6⋅1002⋅4−4⋅100⋅8+16(100-2)^4 = 100^4 - 4 \cdot 100^3 \cdot 2 + 6 \cdot 100^2 \cdot 4 - 4 \cdot 100 \cdot 8 + 16

Step 2. Eval­u­ate each term.

1004=100,000,000,8,000,000,240,000,3,200,16100^4 = 100{,}000{,}000,\quad 8{,}000{,}000,\quad 240{,}000,\quad 3{,}200,\quad 16

Step 3. Com­bine with the signs.

100,000,000−8,000,000+240,000−3,200+16=92,000,000+240,000−3,200+16=92,240,000−3,200+16=92,236,816\begin{aligned} &100{,}000{,}000 - 8{,}000{,}000 + 240{,}000 - 3{,}200 + 16 \\ &= 92{,}000{,}000 + 240{,}000 - 3{,}200 + 16 \\ &= 92{,}240{,}000 - 3{,}200 + 16 = 92{,}236{,}816 \end{aligned}

Part (c)

Step 1. Write (1.1)5=(1+0.1)5(1.1)^5 = (1 + 0.1)^5.

(1+0.1)5=1+5(0.1)+10(0.1)2+10(0.1)3+5(0.1)4+(0.1)5(1+0.1)^5 = 1 + 5(0.1) + 10(0.1)^2 + 10(0.1)^3 + 5(0.1)^4 + (0.1)^5

Step 2. Eval­u­ate each term.

1+0.5+0.1+0.01+0.0005+0.000011 + 0.5 + 0.1 + 0.01 + 0.0005 + 0.00001

Step 3. Add: 1.610511.61051.

Check­ing the answer

Esti­mates: 1025102^5 is a lit­tle more than 1005=1010100^5 = 10^{10}, and 1.1×10101.1 \times 10^{10} is sen­si­ble. 98498^4 is a lit­tle less than 10810^8, as found. 1.12=1.211.1^2 = 1.21, 1.14=1.46411.1^4 = 1.4641, 1.4641×1.1=1.610511.4641 \times 1.1 = 1.61051, which matches.

Answer

(a) 11,040,808,03211{,}040{,}808{,}032; (b) 92,236,81692{,}236{,}816; (c) 1.610511.61051.

Ques­tion 4: Com­par­ing (1.01)100(1.01)^{100} with 2

The prob­lem

Which is larger: (1.01)100(1.01)^{100} or 22?

Under­stand­ing the prob­lem

You can­not eas­ily mul­ti­ply 1.011.01 by itself 100100 times. You only need to decide which num­ber is big­ger, not find (1.01)100(1.01)^{100} exactly.

The idea

Expand (1+0.01)100(1 + 0.01)^{100} and look at just the first two terms. Every term of the expan­sion is pos­i­tive, so the whole sum is larger than any part of it. This is the method of Exam­ple 4 in the les­son.

Step-by-step solu­tion

Step 1. Write the expan­sion.

(1+0.01)100=1+100C1(0.01)+100C2(0.01)2+⋯(1 + 0.01)^{100} = 1 + {}^{100}C_1 (0.01) + {}^{100}C_2 (0.01)^2 + \cdots

Step 2. The first two terms add to exactly 22.

1+100×0.01=1+1=21 + 100 \times 0.01 = 1 + 1 = 2

Step 3. All the remain­ing terms are pos­i­tive (pos­i­tive coef­fi­cients times pow­ers of a pos­i­tive num­ber). The third term alone is 100×992(0.0001)=0.495\displaystyle \frac{100 \times 99}{2}(0.0001) = 0.495. So

(1.01)100=2+0.495+(more positive terms)>2.(1.01)^{100} = 2 + 0.495 + (\text{more positive terms}) > 2.

Check­ing the answer

A cal­cu­la­tor gives (1.01)100≈2.705(1.01)^{100} \approx 2.705, which is indeed larger than 22.

Answer

(1.01)100(1.01)^{100} is larger than 22.

Ques­tion 5: Sum of two sixth pow­ers

The prob­lem

Find (x+1)6+(x−1)6(x + 1)^6 + (x - 1)^6 and hence find (2+1)6+(2−1)6(\sqrt{2} + 1)^6 + (\sqrt{2} - 1)^6.

Under­stand­ing the prob­lem

First find a sim­pli­fied for­mula in xx, then put x=2x = \sqrt{2} in that for­mula. The word "hence" tells you to use the first result for the sec­ond part.

The idea

Expand both with row 66: 1,6,15,20,15,6,11, 6, 15, 20, 15, 6, 1. In (x−1)6(x-1)^6 the terms with odd pow­ers of 11 change sign, so when you add, the odd terms can­cel and the even terms dou­ble (com­pare Exam­ple 5).

Step-by-step solu­tion

Step 1. Expand (x+1)6(x+1)^6.

(x+1)6=x6+6x5+15x4+20x3+15x2+6x+1(x+1)^6 = x^6 + 6x^5 + 15x^4 + 20x^3 + 15x^2 + 6x + 1

Step 2. Expand (x−1)6(x-1)^6; the signs alter­nate.

(x−1)6=x6−6x5+15x4−20x3+15x2−6x+1(x-1)^6 = x^6 - 6x^5 + 15x^4 - 20x^3 + 15x^2 - 6x + 1

Step 3. Add. The x5x^5, x3x^3 and xx terms can­cel; the oth­ers dou­ble.

(x+1)6+(x−1)6=2x6+30x4+30x2+2=2(x6+15x4+15x2+1)(x+1)^6 + (x-1)^6 = 2x^6 + 30x^4 + 30x^2 + 2 = 2(x^6 + 15x^4 + 15x^2 + 1)

Step 4. Put x=2x = \sqrt{2}. Then x2=2x^2 = 2, x4=4x^4 = 4, x6=8x^6 = 8.

(2+1)6+(2−1)6=2(8+15⋅4+15⋅2+1)=2(8+60+30+1)=2×99=198\begin{aligned} (\sqrt{2}+1)^6 + (\sqrt{2}-1)^6 &= 2(8 + 15 \cdot 4 + 15 \cdot 2 + 1) \\ &= 2(8 + 60 + 30 + 1) = 2 \times 99 = 198 \end{aligned}

Check­ing the answer

2+1≈2.414\sqrt{2} + 1 \approx 2.414, and 2.4146≈197.992.414^6 \approx 197.99, while (2−1)6≈0.005(\sqrt{2} - 1)^6 \approx 0.005. Their sum is about 198198. It is also sen­si­ble that the answer is a whole num­ber, because all the 2\sqrt{2} terms came from odd pow­ers and can­celled.

Answer

(x+1)6+(x−1)6=2(x6+15x4+15x2+1)(x+1)^6 + (x-1)^6 = 2(x^6 + 15x^4 + 15x^2 + 1), and (2+1)6+(2−1)6=198(\sqrt{2} + 1)^6 + (\sqrt{2} - 1)^6 = 198.

Ques­tion 6: A divis­i­bil­ity proof

The prob­lem

Show that 9n+1−8n−99^{n+1} - 8n - 9 is divis­i­ble by 6464 for every pos­i­tive inte­ger nn.

Under­stand­ing the prob­lem

You must prove that, what­ever pos­i­tive inte­ger nn is, the num­ber 9n+1−8n−99^{n+1} - 8n - 9 equals 6464 times a whole num­ber. Check­ing a few val­ues is not a proof; you need an argu­ment that works for every nn.

The idea

Write 9=1+89 = 1 + 8 and expand (1+8)n+1(1 + 8)^{n+1}. The first two terms will can­cel with −8n−9-8n - 9, and every later term con­tains 82=648^2 = 64. This is the method of Exam­ple 6.

Step-by-step solu­tion

Step 1. Expand with the bino­mial the­o­rem, using m=n+1m = n+1 as the power.

9n+1=(1+8)n+1=1+n+1C1⋅8+n+1C2⋅82+n+1C3⋅83+⋯+8n+19^{n+1} = (1+8)^{n+1} = 1 + {}^{n+1}C_1 \cdot 8 + {}^{n+1}C_2 \cdot 8^2 + {}^{n+1}C_3 \cdot 8^3 + \cdots + 8^{n+1}

Step 2. Sim­plify the first two terms: n+1C1=n+1^{n+1}C_1 = n + 1, so 1+8(n+1)=8n+91 + 8(n+1) = 8n + 9.

Step 3. Take out 82=648^2 = 64 from every remain­ing term.

9n+1=8n+9+64[n+1C2+n+1C3⋅8+⋯+8n−1]9^{n+1} = 8n + 9 + 64\left[{}^{n+1}C_2 + {}^{n+1}C_3 \cdot 8 + \cdots + 8^{n-1}\right]

Step 4. Sub­tract 8n+98n + 9 from both sides.

9n+1−8n−9=64[n+1C2+n+1C3⋅8+⋯+8n−1]9^{n+1} - 8n - 9 = 64\left[{}^{n+1}C_2 + {}^{n+1}C_3 \cdot 8 + \cdots + 8^{n-1}\right]

Step 5. The bracket is a sum of whole num­bers (bino­mial coef­fi­cients times pow­ers of 88), so it is a whole num­ber. Hence the left side is a mul­ti­ple of 6464.

Check­ing the answer

n=1n = 1: 81−8−9=6481 - 8 - 9 = 64. n=2n = 2: 729−16−9=704=64×11729 - 16 - 9 = 704 = 64 \times 11. Both are mul­ti­ples of 6464.

Answer

9n+1−8n−9=64×(a whole number)9^{n+1} - 8n - 9 = 64 \times (\text{a whole number}), so it is divis­i­ble by 6464 for every pos­i­tive inte­ger nn.

Ques­tion 7: Sums of bino­mial coef­fi­cients

The prob­lem

Find the sum 10C0+10C1+⋯+10C10^{10}C_0 + {}^{10}C_1 + \cdots + {}^{10}C_{10} and the sum of the even-posi­tion coef­fi­cients 10C0+10C2+⋯+10C10^{10}C_0 + {}^{10}C_2 + \cdots + {}^{10}C_{10}.

Under­stand­ing the prob­lem

The first sum is all eleven coef­fi­cients of (a+b)10(a+b)^{10}. The sec­ond takes only 10C0,10C2,10C4,…,10C10^{10}C_0, {}^{10}C_2, {}^{10}C_4, \ldots, {}^{10}C_{10}.

The idea

The les­son shows two facts: putting a=b=1a = b = 1 gives ∑nCk=2n\displaystyle \sum {}^nC_k = 2^n; putting a=1a = 1, b=−1b = -1 gives nC0−nC1+nC2−⋯=0^nC_0 - {}^nC_1 + {}^nC_2 - \cdots = 0. Adding these two facts iso­lates the even-posi­tion terms.

Step-by-step solu­tion

Step 1. Put a=b=1a = b = 1 in (a+b)10(a+b)^{10}.

10C0+10C1+⋯+10C10=210=1024^{10}C_0 + {}^{10}C_1 + \cdots + {}^{10}C_{10} = 2^{10} = 1024

Step 2. Put a=1a = 1, b=−1b = -1.

10C0−10C1+10C2−⋯+10C10=0^{10}C_0 - {}^{10}C_1 + {}^{10}C_2 - \cdots + {}^{10}C_{10} = 0

Step 3. Call the even-posi­tion sum EE and the odd-posi­tion sum OO. The two lines say E+O=1024E + O = 1024 and E−O=0E - O = 0.

Step 4. Add the two equa­tions: 2E=10242E = 1024, so E=512E = 512.

Check­ing the answer

Row 1010 is 1,10,45,120,210,252,210,120,45,10,11, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1. Even posi­tions: 1+45+210+210+45+1=5121 + 45 + 210 + 210 + 45 + 1 = 512. Cor­rect.

Answer

The full sum is 10241024 and the even-posi­tion sum is 512512.

Ques­tion 8: Expand­ing a tri­no­mial

The prob­lem

Expand (1+x+x2)3(1 + x + x^2)^3 using (1+(x+x2))3(1 + (x + x^2))^3.

Under­stand­ing the prob­lem

This has three terms inside the bracket, but the bino­mial the­o­rem needs two. The hint groups x+x2x + x^2 as a sin­gle term bb.

The idea

Use (1+b)3=1+3b+3b2+b3(1 + b)^3 = 1 + 3b + 3b^2 + b^3 with b=x+x2b = x + x^2, then expand each power of bb (each is again a bino­mial) and col­lect like terms.

Step-by-step solu­tion

Step 1. Apply the the­o­rem with b=x+x2b = x + x^2.

(1+b)3=1+3b+3b2+b3(1 + b)^3 = 1 + 3b + 3b^2 + b^3

Step 2. Find the pow­ers of bb.

b=x+x2b2=x2+2x3+x4b3=x3+3x4+3x5+x6\begin{aligned} b &= x + x^2 \\ b^2 &= x^2 + 2x^3 + x^4 \\ b^3 &= x^3 + 3x^4 + 3x^5 + x^6 \end{aligned}

Step 3. Mul­ti­ply by the coef­fi­cients.

3b=3x+3x23b2=3x2+6x3+3x4b3=x3+3x4+3x5+x6\begin{aligned} 3b &= 3x + 3x^2 \\ 3b^2 &= 3x^2 + 6x^3 + 3x^4 \\ b^3 &= x^3 + 3x^4 + 3x^5 + x^6 \end{aligned}

Step 4. Add every­thing, col­lect­ing each power of xx.

x0:1x1:3x2:3+3=6x3:6+1=7x4:3+3=6x5:3x6:1\begin{aligned} x^0 &: 1 \\ x^1 &: 3 \\ x^2 &: 3 + 3 = 6 \\ x^3 &: 6 + 1 = 7 \\ x^4 &: 3 + 3 = 6 \\ x^5 &: 3 \\ x^6 &: 1 \end{aligned}

Check­ing the answer

Put x=1x = 1: the left side is 33=273^3 = 27, and 1+3+6+7+6+3+1=271 + 3 + 6 + 7 + 6 + 3 + 1 = 27. The coef­fi­cients are also sym­met­ric, as expected from the sym­met­ric bracket 1+x+x21 + x + x^2.

Answer

(1+x+x2)3=1+3x+6x2+7x3+6x4+3x5+x6(1 + x + x^2)^3 = 1 + 3x + 6x^2 + 7x^3 + 6x^4 + 3x^5 + x^6.