Start with a single 1, then build each new row by putting 1 at both ends and adding the two numbers just above every other position. The rule is one small addition, yet the numbers it produces count routes through the triangle, count the ways to choose a few objects from a group, and appear as the coefficients when a power such as is multiplied out. Why should one addition rule answer three different questions? This page gives the entries something concrete to count and shows that each count obeys the same rule.
Key terms
Pascal’s triangle
Definition Pascal’s triangle is a triangular array of numbers arranged in rows. The top row is row 0 and holds a single 1. Row holds entries in positions , counted from the left starting at 0. Each row begins and ends with 1, and every other entry is the sum of the two entries diagonally above it. So for the entry in row at position is the sum of the entries in row at positions and . The surprise is that this one rule produces, in row at position , the number of ways to choose objects from different objects. That number is written and called a binomial coefficient. It also counts the paths from the top that end at that position, and it is the coefficient of when is multiplied out. As a consequence, the entries of row add up to . The triangle is named after Pascal, who wrote a treatise on it in the 1650s, although it was known centuries earlier in India, Persia and China.
In plain words Each number is the sum of the two numbers above it, with 1s down both edges. Rows and positions are both numbered from 0, so the 6 in the middle of the row 1, 4, 6, 4, 1 sits in row 4 at position 2.
Example Row 0 to row 5 are
The 6 in row 4 is , the two entries above it, and each 10 in row 5 is . The row sums are 1, 2, 4, 8, 16 and 32, each twice the one before. Other directions hold patterns too. Adding the entries along a shallow diagonal, in row at position 0, row at position 1, row at position 2 and so on while the position stays within its row, gives 1, 1, 2, 3, 5 and 8 for to 5. These are the first Fibonacci numbers, in which each number is the sum of the two before it. For the diagonal sum is .
Combinations
Definition For whole numbers and , a combination of objects from a set of different objects is a selection of of them in which order does not matter, in other words a subset of size . Two selections are the same combination when they contain the same objects. The number of combinations of objects from is written and read as choose . To count them, fix one object of the set. A combination of size either leaves that object out, and is then a choice of of the other objects, or contains it, and is then a choice of of the other objects. No combination is of both kinds, so for this gives Pascal’s rule,
the addition rule of the triangle. Together with , for the single empty selection and the selection of everything, these counts fill the triangle row by row.
In plain words A combination is a choice of a group in which only membership counts, like picking two people for a team without naming a captain. Splitting the choices by whether one particular object is in the group gives exactly the two numbers above it in the triangle.
Example The numbers of ways to choose 0, 1, 2, 3 or 4 of the four objects A, B, C and D are 1, 4, 6, 4 and 1, which is row 4. The six pairs are AB, AC, AD, BC, BD and CD. Marking D splits them into AB, AC and BC, which leave D out, and AD, BD and CD, which include it. That gives , the same sum that built the 6 in the triangle. The lesson Combinations and Binomial Coefficients in the probability course counts combinations in more detail.
Binomial coefficients
Definition For whole numbers and , the binomial coefficient is the number of combinations of objects from different objects. It is given by
where for and . The formula comes from counting ordered selections, of which there are , and dividing by the orders in which each combination can be listed. The binomial coefficient is the entry of Pascal’s triangle in row at position , both counted from 0. Binomial coefficients are symmetric, , because choosing the objects to take is the same as choosing the objects to leave. The entries of row add up to , because each of the objects is either taken or left, which gives subsets of all sizes together.
In plain words A binomial coefficient answers the question of how many groups of a given size can be picked. Row of the triangle lists all the answers for objects, from the group of none to the group of all.
Example The middle entry of row 4 is
Row 4 reads the same in both directions, 1, 4, 6, 4, 1, and its entries add up to , the number of subsets of a set of four objects, counting the empty set and the whole set.
Lattice paths
Definition A lattice path is a route through a grid of points made of steps of a few allowed kinds. In Pascal’s triangle, start at the top entry and step down to the next row each time, either down to the left or down to the right. After steps the path is in row , and its position there is the number of steps it took to the right. So the paths that end in row at position are exactly the sequences of steps with steps to the right. There is one path to the top, the path with no steps, and one path to each end of a row, straight down an edge. A path to any other position arrives through one of the two positions diagonally above it, so the number of paths to it is the sum of the numbers of paths to those two. The path counts start, end and grow by the same rule as the triangle, so the number of paths to row , position , is . The same count on a square grid says that there are paths from the point to the point made of steps one unit to the right or one unit up.
In plain words To count the routes to a point, add the routes to the two points you could have come from. Each route is a list of left and right steps, and choosing which of the steps go right picks out the route.
Example Write R for a step down to the right and L for a step down to the left. The paths to row 4 at position 2 take four steps, two of each kind, and there are six of them, RRLL, RLRL, RLLR, LRRL, LRLR and LLRR. Their right steps are in places 1 and 2, 1 and 3, 1 and 4, 2 and 3, 2 and 4, and 3 and 4, one path for each of the ways to choose two of the four places.
Binomial theorem
Definition The binomial theorem says that for every whole number and all numbers and ,
where the symbol means adding the terms for , and a power with exponent 0 counts as 1, even when its base is 0. The reason is that multiplying out the brackets of means choosing or from each bracket, multiplying the choices, and adding the products over all ways of choosing. A product equals exactly when was chosen from of the brackets, and there are ways to pick those brackets.
In plain words The coefficients in the expansion of are row of Pascal’s triangle. Each coefficient counts the ways to pick which brackets supply a .
Example Row 4 gives
The term collects the six products in which comes from two of the four brackets, one for each pair of brackets, just as there were six pairs of letters and six paths. Taking gives , the row sum again.
Check yourself
- Build row 6 from row 5 and check that its entries add up to . Which entry counts the ways to choose 3 objects from 6?
Show the answer
Row 5 is 1, 5, 10, 10, 5, 1. Adding neighbors gives , , , and , with a 1 at each end, so row 6 is 1, 6, 15, 20, 15, 6, 1. Its sum is . Choosing 3 objects from 6 is the entry in row 6 at position 3, counting from 0, which is the middle entry 20. The formula agrees, since
Counting positions from 1 instead would point at 15, which is , a common slip.
- Change a rule. Block the middle point of row 2, so that no path may pass through it. How many paths from the top now reach the middle of row 4, and does the addition rule still work?
Show the answer
The addition rule still works if the blocked point gets the count 0, because every path to a point still arrives through one of the two points above it. The counts become
so 2 paths reach the middle of row 4, namely RRLL and LLRR. A direct check agrees. Of the six paths to that point, RLRL, RLLR, LRRL and LRLR take one step of each kind first and so pass through the blocked point, which leaves . The new counts are no longer binomial coefficients, because the allowed paths are no longer all the sequences of left and right steps.
- Extend the pattern. Since , the binomial theorem computes powers of 11 from the rows of the triangle. Check that , which reads row 4, and explain why does not read row 5.
Show the answer
Take and in row 4.
Every coefficient is a single digit, so each one lands in its own decimal place and the digits are the row. Row 5 is 1, 5, 10, 10, 5, 1, and
The two entries 10 have two digits, so each carries 1 into the next place to the left, and the digits no longer show the row. Reading a row from a power of 11 works only while every entry of the row is less than 10, which is true for rows 0 to 4.