Pascal's Triangle - Maple Help

Pascal's Triangle

Main Concept

Pascal's triangle is an infinite triangular array of integers with many interesting connections to integer arithmetic, including the binomial coefficients and the Fibonacci numbers. Although the triangle had been studied centuries earlier by Indian, Greek, Persian, Chinese, and Italian mathematicians, it is named Pascal's triangle after French mathematician Blaise Pascal, who developed many of its uses and organized his results in his treatise, Traité du triangle arithmétique.

Constructing Pascal's triangle

Each number in this array can be identified using its row and its specific position with the row. The rows are numbered from top to bottom, beginning with , while the terms in each row are numbered from left to right, beginning with . To construct this triangle, we begin by writing only the number 1 in row 0. Then, to find the elements of the following rows, we add the number above and to the left (Row = $n-1$, Position = $k-1$) and the number above and to the right (Row = $n-1$, Position = k) of our current position (Row = $n$, Position = k) to get the number that belongs here. If we are at the edge of the triangle, where the number to the right or left is not present, we substitute a 0 in its place, which is why each row begins and ends with 1 ( on the left side and  on the right side for every row).

For example:

 • To construct row 1, we imagine row 0 to have the form '0 1 0' and so the number in position 0 of row 1 is  and the number in position 1 of row one is . This gives row 1 the form '1 1'.
 • To construct row 2, we imagine row 1 to have the form '0 1 1 0' and so the number in position 0 of row 2 is , the number in position 1 of row 2 is , and the number in position 2 of row 2 is . This gives row 2 the form '1 2 1'.

Binomial coefficients

Consider the following expansions of the power ${\left(x+y\right)}^{n}$ into a sum of terms:

 •
 •
 •

This expansion can be expressed more compactly using the Binomial Formula:

.

The binomial coefficient $\left(\genfrac{}{}{0}{}{n}{k}\right)$, also written $C\left(n,k\right)$ or ${}_{n}{C}_{k}$ and pronounced n choose k, is the number of ways of choosing a subset of k objects from a group of n objects. Its value can be given more explicitly as

for $k\le n$.

As you may have noticed, the coefficients of the expansion of the ${n}^{\mathrm{th}}$ power ${\left(x+y\right)}^{n}$ correspond directly to the numbers in the ${n}^{\mathrm{th}}$ row of Pascal's Triangle:

 •
 •
 • and so on...

In other words, the number in the ${k}^{\mathrm{th}}$ position of the ${n}^{\mathrm{th}}$ row of Pascal's Triangle is $\left(\genfrac{}{}{0}{}{n}{k}\right)$. For example, the number in position 0 of row 1 is $\left(\genfrac{}{}{0}{}{1}{0}\right)=1$ while the number in position 2 of row 5 is $\left(\genfrac{}{}{0}{}{5}{2}\right)=10$.

Also, due to the symmetry of Pascal's triangle, we can easily see that . Finally, looking back upon the the original way of constructing the triangle, in which the two numbers in the row above are added together to get the current value, we see that

$\left(\genfrac{}{}{0}{}{n-1}{k-1}\right)+\left(\genfrac{}{}{0}{}{n-1}{k}\right)=\left(\genfrac{}{}{0}{}{n}{k}\right)$ for $n>0$ and $0\le k\le n$.

Select "Explore By Term" and then click on the diagram of Pascal's Triangle below to highlight any term and see how its value relates to its row and position. Select "Compare to Binomial Expansion" and then use the "Row" slider to highlight an entire row of the triangle and compare its terms with the coefficients of the corresponding binomial expansion.

 Row (k)



 More MathApps