Lesson Explainer: Pascal’s Triangle | Nagwa Lesson Explainer: Pascal’s Triangle | Nagwa

Lesson Explainer: Pascalโ€™s Triangle Mathematics

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this explainer, we will learn how to solve problems on Pascalโ€™s triangle.

Pascalโ€™s triangle is one of the most fascinating structures we can build from a simple number pattern. It is fascinating to see the connections between such a simple construction and many other areas of mathematics.

Pascalโ€™s triangle can be formed by starting with a one at the top and then placing two ones below. Then, each element of a row is equal to the sum of the two elements above. Hence, in the figure below, we can see that the two is the sum of the two ones above.

To complete the next row, we can consider the pairwise sum of the elements of this row. The first entry will be 1. We can think of this as the sum of 0 and 1 as shown.

The next element is the sum of 1 and 2 as shown below.

Similarly, the following element is the sum of 2 and 1 as shown.

The final element, like the first, can be thought of as the sum of 1 and 0 as follows.

Continuing this pattern, we arrive at what is known as Pascalโ€™s triangle.

Pascalโ€™s Triangle

Pascalโ€™s triangle is a triangular array of the numbers which satisfy the property that each element is equal to the sum of the two elements above. The rows are enumerated from the top such that the first row is numbered ๐‘›=0.

Similarly, the elements of each row are enumerated from ๐‘˜=0 up to ๐‘›. The first eight rows of Pascalโ€™s triangle are shown below.

Although, in much of the Western world, the triangle is named after the French mathematician Blaise Pascal, it was, in fact, well known to mathematicians centuries before him in places such as China, Persia, and India. To this day, it is know by different names in these places.

Pascalโ€™s triangle has many interesting properties. We will begin by looking as some of the simple patterns which exist in the triangle.

Some of the most obvious patterns are related to the diagonals: for example, the first diagonal only contains ones, whereas the second contains consecutive integers.

More interestingly, the third diagonal contains the triangle numbers, and the fourth contains the tetrahedral numbers.

Furthermore, we can see there is reflectional symmetry about the center.

Example 1: Elements in Pascalโ€™s Triangle

What is the second element in the 500th row of Pascalโ€™s triangle?

Answer

Recall that the second elements of each row of Pascalโ€™s triangle are consecutive integers. At this point, we might be tempted to immediately jump to the conclusion that it will therefore be 500. However, we need to be a little more careful than this. Recall that the first row only contains 1. Hence, there is no second element. The first row with a second element is the second row, which consists of two ones. Therefore, the second element in this row is 1 and not 2. Hence, the second element of the 500th row of Pascalโ€™s triangle will be 499.

Example 2: Patterns in Pascalโ€™s Triangle

A partially filled-in picture of Pascalโ€™s triangle is shown. By noticing the patterns, or otherwise, find the values of ๐‘Ž, ๐‘, ๐‘, and ๐‘‘.

Answer

We begin by considering the elements of the third diagonal. There is a clear pattern to go from one element to the other: to go from the first to the second, we add two; then to go from the second to the third, we add 3.

We can extend this pattern as follows.

Both ๐‘Ž and ๐‘ are the elements in this row. Therefore, ๐‘Ž=10 and ๐‘=15.

We now consider element ๐‘. This element is actually also in the third diagonalโ€”the one that is in the other directionโ€”and it is the sixth element. Hence, ๐‘=21.

Finally, we see that ๐‘‘ is in the second diagonal. This diagonal contains consecutive positive integers. Hence, since it is the eleventh element, its value will simply be 11.

Therefore, our final answer is ๐‘Ž=10, ๐‘=15, ๐‘=21, and ๐‘‘=11.

Example 3: Sums along Diagonals in Pascalโ€™s Triangle

The figure shows a section of Pascalโ€™s triangle. Without using a calculator, find the sum of the highlighted elements.

Answer

For this question, we could simply sum the individual elements. However, we can actually use the properties of Pascalโ€™s triangle to quickly evaluate the sum of these elements. We will start from the smallest element in the row: the 1. Clearly the sum of this element is simply 1, which we can see is the element below to the right as shown in the figure.

We now consider the first two elements and notice that their sum is the element below the second element to the right.

Similarly, the sum of the first three elements is the sum of the first two elements and the third element. From the defining property of Pascalโ€™s triangle, we see that this is the element directly below these two.

By continuing this pattern, we see that the sum of the highlighted elements will be the element below the last element to the right as shown.

Hence, the sum of the highlighted elements is 5โ€Žโ€‰โ€Ž005.

We will now turn our attention to the relationships between adjacent elements. Clearly, any element is the sum of the two elements above. However, there are other relationships between these three terms. When discussing this, we will make use of the enumeration of the rows which starts from ๐‘›=0. Similarly, within a given row, we will enumerate the elements by ๐‘˜, where ๐‘˜=0 is the first element in the row.

Let us consider the multipliers that relate the terms on the diagonals between the rows enumerated by ๐‘›=5 and ๐‘›=6. The figure below represents the multiplier that takes us from the ๐‘›=5 row to the ๐‘›=6 row going diagonally left.

It appears that there is a general form relating these terms which we can represent as multiplication by ๐‘›๐‘˜, where ๐‘˜ is the enumeration of the elements in the ๐‘›=6 row. This is in fact the correct relationship that holds for any two elements which are related on a left diagonal. Notice that both ๐‘› and ๐‘˜ are related to the lower elements. Similarly, we can look at the relationship between elements on the right diagonal. The figure below represents the multiplier that takes us from the ๐‘›=5 row to the ๐‘›=6 row going diagonally right.

Once again, a clear pattern appears which we can represent as multiplication by ๐‘›๐‘›โˆ’๐‘˜. This again generalizes to any two elements connected on a right diagonal. Once again, both ๐‘› and ๐‘˜ are related to the lower elements.

We will now consider the relationship between two consecutive elements on the same row. The figure below represents the multiplier that takes us from the (๐‘˜โˆ’1)th element to the ๐‘˜th element of the ๐‘›=6 row.

Once again there is a clear pattern here: to move from the (๐‘˜โˆ’1)th element to the ๐‘˜th, we multiply by ๐‘›โˆ’๐‘˜+1๐‘˜.

We summarize these relationships in the following figure.

Example 4: Relationship between Adjacent Elements in Pascalโ€™s Triangle

The figure shows 7 adjacent elements in Pascalโ€™s triangle.

Given that 5โ€Žโ€‰โ€Ž985 is the 18th element on the 22nd row, find ๐‘Ž, ๐‘, ๐‘, ๐‘‘, ๐‘’, and ๐‘“.

Answer

Firstly, we would like to write down the values of ๐‘› and ๐‘˜ for the given element. Recall that we begin enumeration in ๐‘› and ๐‘˜ from zero. Hence, the 18th element is the element for which ๐‘˜=17 and the 22nd row is the row for which ๐‘›=21.

We will use the relationships between consecutive elements in Pascalโ€™s triangle. We have represented the multipliers which connect adjacent elements in the figure below.

We now turn our attention to finding ๐‘Ž. Recall that, within a given row, to move from the (๐‘˜โˆ’1)th element to the ๐‘˜th, we multiply by ๐‘›โˆ’๐‘˜+1๐‘˜. Hence, to move from the ๐‘˜th to (๐‘˜โˆ’1)th, element we multiply by the reciprocal: ๐‘˜๐‘›โˆ’๐‘˜+1. Hence, ๐‘Ž=1721โˆ’17+1ร—5985=175ร—5985=20349.

We can now use the relationship between the left diagonals to find ๐‘. Recall that, to move down the left diagonal (from the (๐‘˜โˆ’1)th element on the (๐‘›โˆ’1)th row to the ๐‘˜th element on the ๐‘›th row), we multiply by ๐‘›๐‘˜. Hence, to move in the opposite direction, we multiply by the reciprocal: ๐‘˜๐‘›. Hence, ๐‘=1721ร—5985=4845.

Similarly, by using the relationship between elements on the right diagonal, we can find ๐‘. Recall that, to move down the right diagonal (from the ๐‘˜th element on the (๐‘›โˆ’1)th row to the ๐‘˜th element on the ๐‘›th row), we multiply by ๐‘›๐‘›โˆ’๐‘˜. Hence, to move in the opposite direction, we multiply by the reciprocal: ๐‘›โˆ’๐‘˜๐‘›. Hence, ๐‘=421ร—5985=1140.

It is worth checking that ๐‘+๐‘=5985, since, if this were not true, we would have made a mistake. Checking this, we find we that our three elements meet this condition. We now consider ๐‘‘. We can use the relationship between elements in the same row and we can find ๐‘‘ by multiplying by 418. Hence, ๐‘‘=418ร—5985=1330.

Finally, we can find ๐‘’ using the defining property of Pascalโ€™s triangle: 5985+๐‘‘=๐‘’. Hence, ๐‘’=5985+1330=7315.

Similarly, we can find ๐‘“ by evaluating ๐‘Ž+5985=๐‘“. Hence, ๐‘“=20349+5985=26334.

Hence, the final answer is ๐‘Ž=20349,๐‘=4845,๐‘=1140,๐‘‘=1330,๐‘’=7315,๐‘“=26334.

Using this relationship between the elements, we can find a general formula for an element. We consider the element enumerated ๐‘˜ on the row enumerated ๐‘›. We consider how to get to this element from the element at the beginning of the row which is always equal to 1. To get to the second element (๐‘˜=1), we multiply by ๐‘›1. Then, to get to the next element, we multiply by ๐‘›โˆ’12. Hence, to get from the first to the third, we multiply by ๐‘›(๐‘›โˆ’1)2ร—1. Multiplying this by the multiplier to get to the next element, we have the following formula for the fourth element (at position ๐‘˜=3): ๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)3ร—2ร—1.

We can continue this pattern until we get to the element at position ๐‘˜, which gives us the formula ๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)ร—โ‹ฏร—(๐‘›โˆ’๐‘˜+1)๐‘˜ร—(๐‘˜โˆ’1)ร—โ‹ฏร—2ร—1.

Using factorial notation, we can write this more succinctly. Recall that the factorial of a positive integer ๐‘› is the product of all the positive integers less than or equal to ๐‘›. We denote the ๐‘› factorial as ๐‘›. Hence, ๐‘›=๐‘›ร—(๐‘›โˆ’1)ร—(๐‘›โˆ’2)ร—โ‹ฏร—2ร—1.

Using factorial notation, we can rewrite this as ๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)ร—โ‹ฏร—(๐‘›โˆ’๐‘˜+1)๐‘˜ร—(๐‘˜โˆ’1)ร—โ‹ฏร—2ร—1=๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)ร—โ‹ฏร—(๐‘›โˆ’๐‘˜+1)๐‘˜.

Multiplying by ๐‘›โˆ’๐‘˜๐‘›โˆ’๐‘˜, we have ๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)ร—โ‹ฏร—(๐‘›โˆ’๐‘˜+1)๐‘˜=๐‘›(๐‘›โˆ’1)(๐‘›โˆ’2)ร—โ‹ฏร—(๐‘›โˆ’๐‘˜+1)๐‘˜ร—(๐‘›โˆ’๐‘˜)!(๐‘›โˆ’๐‘˜)!=๐‘›๐‘›โˆ’๐‘˜๐‘˜.

This formula might be familiar because it is actually the formula for the combination ๏Š๏‡๐ถ which is also sometimes referred to as the binomial coefficient ๏€ฟ๐‘›๐‘˜๏‹. Hence, in finding a general formula, we have also demonstrated that there is a strong connection between Pascalโ€™s triangle and combinatorics. In addition, we have also shown that Pascalโ€™s triangle is the triangle made of the binomial coefficients (which is, in fact, an alternative definition of the triangle).

In the rest of this explainer, we will spend a little time exploring these two connections, starting with the connection between Pascalโ€™s triangle and the binomial coefficients.

Pascalโ€™s triangle can be used to find the coefficients of the terms in the expansion of (๐‘Ž+๐‘)๏Š. The figure demonstrates this.

This relationship is often captured in the binomial theorem.

Binomial Theorem

For an integer ๐‘›, (๐‘Ž+๐‘)=๐ถ๐‘Ž+๐ถ๐‘Ž๐‘+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+๐ถ๐‘,๏Š๏Š๏Šฆ๏Š๏Š๏Šง๏Š๏Šฑ๏Šง๏Šง๏Š๏Šจ๏Š๏Šฑ๏Šจ๏Šจ๏Š๏Ž๏Š๏Šฑ๏Ž๏Ž๏Š๏Š๏Šฑ๏Šง๏Šง๏Š๏Šฑ๏Šง๏Š๏Š๏Š where ๏Š๏Ž๐ถ=๐‘›๐‘›โˆ’๐‘Ÿ๐‘Ÿ.

Sometimes the following notation is used in place of ๏Š๏Ž๐ถ: ๏€ฟ๐‘›๐‘Ÿ๏‹, ๏Š๏Ž๐ถ, ๐ถ๏Š๏Ž, ๐ถ๏Š๏Ž•๏Ž, and ๐ถ(๐‘›,๐‘Ÿ).

Example 5: Sum of a Row of Pascalโ€™s Triangle

What is the sum of the terms in the 30th row of Pascalโ€™s triangle?

Answer

Recall that the 30th row of Pascalโ€™s triangle is the row we enumerate ๐‘›=29. Given the connection between the elements of Pascalโ€™s triangle and the binomial coefficients, we can restate this as the problem of evaluating ๏Šจ๏Šฏ๏Šฆ๏Šจ๏Šฏ๏Šง๏Šจ๏Šฏ๏Šจ๏Šจ๏Šฏ๏Šจ๏Šฎ๏Šจ๏Šฏ๏Šจ๏Šฏ๐ถ+๐ถ+๐ถ+โ‹ฏ+๐ถ+๐ถ.

We could of course simply evaluate this with a calculator. However, by using the binomial theorem, (๐‘Ž+๐‘)=๐ถ๐‘Ž+๐ถ๐‘Ž๐‘+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+๐ถ๐‘,๏Š๏Š๏Šฆ๏Š๏Š๏Šง๏Š๏Šฑ๏Šง๏Šง๏Š๏Šจ๏Š๏Šฑ๏Šจ๏Šจ๏Š๏Ž๏Š๏Šฑ๏Ž๏Ž๏Š๏Š๏Šฑ๏Šง๏Šง๏Š๏Šฑ๏Šง๏Š๏Š๏Š we can seriously simplify the process of evaluating this expression. Notice that if we set ๐‘Ž=๐‘=1 and ๐‘›=29, we have 2=๐ถ+๐ถ+๐ถ+โ‹ฏ+๐ถ+๐ถ.๏Šจ๏Šฏ๏Šจ๏Šฏ๏Šฆ๏Šจ๏Šฏ๏Šง๏Šจ๏Šฏ๏Šจ๏Šจ๏Šฏ๏Šจ๏Šฎ๏Šจ๏Šฏ๏Šจ๏Šฏ

Hence, the sum of the terms in the 30th row of Pascalโ€™s triangle is 2๏Šจ๏Šฏ.

The property that the last example explored is not unique to the 30th row. In fact, the sum of consecutive rows of Pascalโ€™s triangle is consecutive powers of two. In particular, the row enumerated ๐‘› has a sum of 2๏Š.

Example 6: Sum of Every Second Element in a Row of Pascalโ€™s Triangle

What is sum of every other element in the 1โ€Žโ€‰โ€Ž000th row of Pascalโ€™s triangle?

Answer

Recall that the 1โ€Žโ€‰โ€Ž000th row of Pascalโ€™s triangle is the row we enumerate ๐‘›=999. For a question like this, the numbers are clearly going to be too large for us to evaluate in a long-handed way. Therefore, we need to find an alternative way. Firstly, using the connection between Pascalโ€™s triangle and the binomial coefficients, we can restate this as the problem of evaluating ๏Šฏ๏Šฏ๏Šฏ๏Šฆ๏Šฏ๏Šฏ๏Šฏ๏Šจ๏Šฏ๏Šฏ๏Šฏ๏Šช๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฌ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฎ๐ถ+๐ถ+๐ถ+โ‹ฏ+๐ถ+๐ถ.

We will denote this sum ๐‘†๏Šฆ. Furthermore, we will denote the sum of the other terms ๐‘†๏Šง. Hence, ๐‘†=๐ถ+๐ถ+๐ถ+โ‹ฏ+๐ถ+๐ถ.๏Šง๏Šฏ๏Šฏ๏Šฏ๏Šง๏Šฏ๏Šฏ๏Šฏ๏Šฉ๏Šฏ๏Šฏ๏Šฏ๏Šซ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šญ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ

We know that the sum of all the terms of this row will be equal to 2๏Šฏ๏Šฏ๏Šฏ. Hence, ๐‘†+๐‘†=2๏Šฆ๏Šง๏Šฏ๏Šฏ๏Šฏ. We now would like to find another expression in terms of ๐‘†๏Šฆ and ๐‘†๏Šง so that we can solve for ๐‘†๏Šฆ. Using the binomial theorem, (๐‘Ž+๐‘)=๐ถ๐‘Ž+๐ถ๐‘Ž๐‘+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+โ‹ฏ+๐ถ๐‘Ž๐‘+๐ถ๐‘,๏Š๏Š๏Šฆ๏Š๏Š๏Šง๏Š๏Šฑ๏Šง๏Šง๏Š๏Šจ๏Š๏Šฑ๏Šจ๏Šจ๏Š๏Ž๏Š๏Šฑ๏Ž๏Ž๏Š๏Š๏Šฑ๏Šง๏Šง๏Š๏Šฑ๏Šง๏Š๏Š๏Š we can find such an expression by setting ๐‘Ž=1, ๐‘=โˆ’1, and ๐‘›=999 as follows: 0=๐ถโˆ’๐ถ+๐ถโˆ’๐ถ+๐ถ+โ‹ฏ+๐ถโˆ’๐ถ.๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฆ๏Šฏ๏Šฏ๏Šฏ๏Šง๏Šฏ๏Šฏ๏Šฏ๏Šจ๏Šฏ๏Šฏ๏Šฏ๏Šฉ๏Šฏ๏Šฏ๏Šฏ๏Šช๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฎ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ๏Šฏ

We can rewrite this as 0=๐‘†โˆ’๐‘†.๏Šฆ๏Šง

Since ๐‘†+๐‘†=2๏Šฆ๏Šง๏Šฏ๏Šฏ๏Šฏ, we can add these two equations to get 2๐‘†=2.๏Šฆ๏Šฏ๏Šฏ๏Šฏ

Hence, ๐‘†=2๏Šฆ๏Šฏ๏Šฏ๏Šฎ. Therefore, the sum of every other element in the 1โ€Žโ€‰โ€Ž000th row of Pascalโ€™s triangle is 2๏Šฏ๏Šฏ๏Šฎ.

Finally, we will consider the connection between Pascalโ€™s triangle and combinatorics. We can consider Pascalโ€™s triangle as a graph where each entry represents a node. At each node, we have a choice of going left or right. Given this idea, the entries in Pascalโ€™s triangles can be interpreted as the number of distinct paths that lead through the graph from the top element to the given element. For example, if we consider the third element of the fourth row, we can see there are three distinct paths to get from the top of the triangle to the given element.

We can use this property to solve combinatorics and probabilistic problems as the next example will demonstrate.

Example 7: Pascalโ€™s Triangle and Combinatorics

Ramy is playing a game where a ball is dropped onto an array of pegs, from vertically above the top peg, and it bounces down to numbered buckets at the bottom.

He only gets a prize if it falls into buckets 3 or 7. Find the probability that he gets a prize given that there is an even probability it will fall to the left or the right of any given peg.

Answer

The probability that a ball ends in a particular bucket will be equal to the number of possible paths to that bucket divided by the total number of paths through the array. Recall that the entries of Pascalโ€™s triangle can be interpreted as the number of possible paths through the triangle. Hence, the number of paths to each bucket can be found using pascals triangle. In the given figure, we have 9 buckets. Therefore, we would like to consider the ninth row of Pascalโ€™s triangle, which is the row for which ๐‘›=8. We can write this row out by either using the general formula for the entries or simply reproducing the first nine rows of the triangle. Here we will use the general formula.

The ninth row of Pascalโ€™s triangle is represented below. ๏Šฎ๏Šฆ๏Šฎ๏Šง๏Šฎ๏Šจ๏Šฎ๏Šฉ๏Šฎ๏Šช๏Šฎ๏Šซ๏Šฎ๏Šฌ๏Šฎ๏Šญ๏Šฎ๏Šฎ๐ถ๐ถ๐ถ๐ถ๐ถ๐ถ๐ถ๐ถ๐ถ

Evaluating each of these can express the elements of this row as follows. 18285670562881

We can write the number of paths to each bucket in the diagram as follows.

To find the total number of paths, we could add these numbers up or use the fact that the sum of the elements of the (๐‘›+1)th row is 2๏Š. Hence, the total number of paths through the array is 2๏Šฎ. Hence, the probability that the ball ends up in the third bucket is 282=764๏Šฎ. Similarly, the probability that the ball ends up in the seventh bucket is also 282=764๏Šฎ. Therefore, the probability that Ramy wins a prize is given by the sum of these: 764+764=732.

There are many other interesting patterns and properties of Pascalโ€™s triangle. For example, it is interesting to explore the patterns we get by considering the location of all the odd numbers in Pascalโ€™s triangle, or the connection between Pascalโ€™s triangles and powers of 11.

Key Points

  • Pascalโ€™s triangle can be defined in two ways:
    • the triangle which satisfies the property that each element is equal to the sum of the two elements above,
    • the triangle of the binomial coefficients.
  • Pascalโ€™s triangle has many symmetries and interesting properties such as the following:
    • The entries in the first diagonal are all one; in the second, they are the consecutive positive integers; in the third, they are the triangle numbers; and in the fourth, they are the tetrahedral numbers.
    • Each row is symmetric about its middle.
    • The sum of the elements in the (๐‘›+1)th row is 2๏Š.
    • The alternating sum of any row is zero.
  • The general formula for the (๐‘˜+1)th element in the (๐‘›+1)th row is ๐‘›๐‘›โˆ’๐‘˜๐‘˜=๐ถ=๏€ฟ๐‘›๐‘˜๏‹๏Š๏‡.
  • Pascalโ€™s triangle can be used to help expand binomials.
  • Pascalโ€™s triangle has useful applications in combinatorics and probability.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy