





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






row0 1 row1 1 1 row2 1 2 1 row3 1 3 3 1 row4 1 4 6 4 1 row5 1 5 10 10 5 1 row6 1 6 15 20 15 6 1 row7 1 7 21 35 35 21 7 1 row8 1 8 28 56 70 56 28 8 1 Pascal’s triangle gives us the combinatorial coefficients The r th^ entry of row n in Pascal’s triangle is (
), the number of ways of choosing r objects from n. [Keep in mind the convention that indexing starts at zero—the top row of the triangle is row 0 and the left-hand entry of every row is the 0th^ entry.]
3. Pascal’s triangle If you don’t know about Pascal’s triangle, it’s time you did. Like the Fibonacci numbers, it has a simple structure, and its entries have some fascinating properties. The top row, with a single 1 is the zeroth row and the rows are numbered 1, 2, 3, … down from there. The last row displayed above is the “8th” row. There are 1’s on each end of every row and otherwise each entry is the sum of the two entries above it. That description is enough to completely specify the entries of the triangle. Of course it continues for ever—simply use the summation property to descend one row at a time. The combinatorial coefficients. The combinatorial coefficient “ n choose r ,” is written (
) or on your calculator it might be written (^) 𝑛C 𝑟 or C𝑛,𝑟. By definition, (
) is the number of ways of choosing r objects from a set of n objects. Equivalently it is the number of subsets of size r in a set of size n. For example, look at Pascal’s triangle to discover that a set of 6 objects {A, B, C, D, E, F} has 20 subsets of size 3, that is, (
) = 20. Now use your calculator to get the same result. Example 1. Pascal’s triangle tells us that (
) = 10. Show how the penta- gon at the right provides a simple argument that there are 10 ways to select 2 objects from a set of 5. Solution. In the diagram, take the red vertices to be the 5 objects and the 10 connecting lines to be the different ways to choose 2 of these. Example 2. What’s the relationship here between the 5 and the 10? Can you generalize this diagram to give you a formula for (
)? [Hint: How many lines are drawn from a fixed vertex.]
This is a simple elegant argu- ment and it’s an important one as it gives the students experi- ence at thinking on a structural level. You will find that some students “get it” quickly, in fact they will even come up with the red-grey argument. Others will have trouble. They’ll have lost the big picture. They are not sure what we have accom- plished that we didn’t already know. row0 1 row1 1 1 row2 1 2 1 row3 1 3 3 1 row4 1 4 6 4 1 row5 1 5 10 10 5 1 row6 1 6 15 20 15 6 1 row7 1 7 21 35 35 21 7 1 row8 1 8 28 56 70 56 28 8 1 Why do the combinatorial coefficients obey the sum rule? That’s the big question. If the correspondence between Pascal’s triangle and the combinatorial coeffi- cients ( n r ) is to be believed, then the combinatorial coefficients must satisfy that simple sum rule. And since everything is so SIMPLE, there must be a simple way of seeing why this should be true. Let’s take a particular example. Can we see why it ought to be true that (
Using the numbers (from the triangle) this is 35 = 15 + 20 What we need to find is a combinatorial argument that the number of ways of choosing 3 things from 7 is the sum of the number of ways of choosing 2 things from 6 and the number of ways of choosing 3 things from 6. How might we show that? On the left we are choosing from a set of 7 and on the right we are choosing from a set of 6. How can we relate a set of 7 to a set of 6? Well here’s a way––make one of the 7 different from the others. Colour one of the 7 objects red and colour the re- maining 6 grey. Okay. What are the different ways of choosing a subset of 3 things from that set of 7? Well there are two cases depend- ing on whether the red coin is chosen. If the red coin is cho- sen we need to choose 2 grey coins and that can be done in (
) ways. If the red coin is not chosen then we have to choose 3 grey coins and that can be done in (
)ways. The total number of ways is the sum. And that does it. The argument is general and shows that: (
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 3 2 2 3 3 4 4 5 6 7 8 3 3 6 6 10 15 21 28 36 4 4 10 20 35 56 84 120 5 15 35 70 6 21 56 126 252 462 792 126 210 330 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1+ = 4 Method 2. Looking at smaller grids. Rather than draw new grids, it’s simpler to work with the 8×6 grid we al- ready have but consider targets closer to the starting point. For example there’s only one way to get to any cell on the top row––you have to go straight across. The same applies to the cells in the first column. We con- tinue working down and across, inserting in each cell the number of paths that will take you to that cell. We soon discover an organic connection among these numbers. This is illus- trated by the cell that contains the equation 1 + 3 = 4. There are only two ways to arrive at that cell, from above or from the left. There’s only 1 way to get to the cell above and 3 ways to get to the cell at the left, so the total number of ways will be the sum of these. That observation gives us a fast way to fill in the remaining cells. As we proceed to insert the numbers we notice Pascal’s triangle emerging along the diagonals. Well that’s not really a surprise as we have that sum rule and we note that we started off with a 1, 1 in that first diagonal. Filling in the whole table gives us the same answer we got before: 792 dif- ferent paths. These two different ways of getting the answer complement one another wonderfully. Indeed the proof that we looked at above, that (
is really embedded in a concrete way in the two approaches to this example. The first method identifies the numbers in the cells as the combinatorial coefficients, and the second method identi- fies them as the entries of Pascal’s triangle. It is interesting that the students who start with this second method will get the answer 792 and will be able to see from the triangle that it is ( 12 5 ). But then there is the question: why is it the number of ways of choosing 5 things from 7. And that ques- tion might lead them to the first method.
Project 2 We work with exactly the same set-up as in Problem 1 except now there is a red cell that cannot be occupied. Same question: how many different allowable ways are there of getting to the bottom- right corner? This time, only some of the paths will be admissible. For example, the path displayed in Problem 1 (see below) is no longer admissi- ble as it passes through the red cell. We will try to adapt each of the two methods. Method 1. Counting the paths In this approach, we think of a path as a sequence of length 12 with 7 D’s and 5 R’s—for example: DRRDDDDRDRRD This path is a slight perturbation of the path in the diagram and does not pass through the red cell. But it seems not so clear how to easily tell from the sequence whether or not the path hits the red cell. If the students are allowed to work on this problem many of them will make some interesting progress but some will get stuck. For those students I give a hint. Suppose I told you instead that we wanted to count the paths that do pass through the red cell. Can you find a way to do that? The reason this will solve the original problem is that if we subtract the answer to this from the total number of paths in Problem , we’ll get the number that do not visit the red cell. Okay. How many paths pass through the red cell? That question might give you pause for a moment, but most students soon hit on the idea that the answer Well that will be the number of paths from the start to the red cell times the number from the red cell to the end. To go from the start to the red cell we need 7 moves, 3 of which are R so that’s (
). To go from the red cell to the end we need 5 moves, 2 of which are R so that’s (
). The total is (
Finally, the number that avoid the red cell is the total number mi- nus these: (
row0 1 row1 1 1 row2 1 2 1 row3 1 3 3 1 row4 1 4 6 4 1 row5 1 5 10 10 5 1 row6 1 6 15 20 15 6 1 row7 1 7 21 35 35 21 7 1 row8 1 8 28 56 70 56 28 8 1 Appendix. The binomial coefficients Some student know Pascal’s triangle as the recipe for expanding a binomial power. For example suppose you want to expand the 6 th^ power of (𝑎 + 𝑏). You would get: (𝑎 + 𝑏)^6 = 𝑎^6 + 6 𝑎^5 𝑏 + 15 𝑎^4 𝑏^2 + 20 𝑎^3 𝑏^3 + 15 𝑎^2 𝑏^4 + 6 𝑎𝑏^5 + 𝑏^6 The coefficients we get are the entries in row 6 of the triangle. Our job is to understand why this is the case. Understanding the binomial expansion. Perhaps the first thing to do is to make sure that everyone understand what (𝑎 + 𝑏)^6 really is: (𝑎 + 𝑏)^6 = (𝑎 + 𝑏)(𝑎 + 𝑏)(𝑎 + 𝑏)(𝑎 + 𝑏)(𝑎 + 𝑏)(𝑎 + 𝑏) That is, it’s the product of 6 copies of ( a + b ). Now to get a typical term in the expansion of this product, we take one term out of each of the 6 brackets and multiply them together. And the total number of terms we get is the number of different ways that we can do that. For example, if we decided to take the a out of the first two terms and the last two terms, and take b out of the middle two terms, we’d get the term aabbaa which we’d write as 𝑎^4 𝑏^2. Of course there are other ways of getting the term 𝑎^4 𝑏^2 , for example we could take a out of the first four terms and b out of the last two. In fact the expansion above tells us there are 15 different ways of getting the term 𝑎^4 𝑏^2. Can we convince ourselves of that? This is a good question to get a couple of volunteers up to the front to explain the reason to their classmates. To get 4 a ’s and 2 b ’s I need to choose 2 brackets to take the b ’s from and then I take a from the remaining 4 brackets. In how many ways can I do that? The answer is––the number of ways I can choose 2 things from 6 and that’s (
) and that’s 15. The same argument works for the other terms and that gives us the general formula: (𝑎 + 𝑏)^6 = (
Problems.