Lesson Explainer: Pascal’s Triangle Mathematics

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, 𝑎=172117+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.

Download the Nagwa Classes App

Attend sessions, chat with your teacher and class, and access class-specific questions. Download the Nagwa Classes app today!

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