Pascal's triangle
In a nutshell
Pascal's Triangle provides you with a quick and easy method to read off the coefficients of the terms in the expansion of (x+y)n. In particular, the mth entry of the nth row is the coefficient of the xn−mym−1 term in the expansion of (x+y)n−1. The entries of the nth row of Pascal's Triangle are easily obtained from those of the (n−1)th row, making it easy to reproduce the whole triangle at a moment's notice.
1113121311
Computing entries
Row n has n entries, and the first and last entry of every row is given by a 1. To compute the entry directly below two others, simply add the two together.
Example 1
Compute the 4th row of Pascal's Triangle.
The rules above tell you that the first two rows must be given by:
111
The first and last entry of row 3 is 1. To obtain the second entry of row 3, compute the sum of the first and second entries in the second row as 1+1=2, and hence find that the triangle now looks like this:
111211
The first and last entry of row 4 is 1. To obtain the second entry of the fourth row, add together the first two entries of row 3 to obtain 1+2=3. Similarly, to obtain the third entry in row 4, add together the second and third entries of row 3 to obtain 2+1=3. The triangle now looks like this:
1113121311
Therefore, the fourth row of Pascal's triangle is 1, 3, 3, 1.
Relation to binomial expansions
It can be tedious to carry out the full expansion of (x+y)n for large values of n - however, Pascal's triangle provides you with a convenient shortcut! Observe:
(x+y)0(x+y)1(x+y)2(x+y)3====1x31x2+1x+3x2y1+2xy+1y+3xy21y2+1y3
This pattern continues, hence reducing the problem of computing the expansion of (x+y)n to that of producing row n of Pascal's triangle. It follows that the mth entry of the nth row is the coefficient of the xn−mym−1 term in the expansion of (x+y)n−1.
Note: The exponents of x and y in the terms in the nth row of the triangle should sum to n−1, and we enter them so that the powers of x are descending and the powers of y are ascending.
Example 2
Expand (x+y)4.
Following the working from Example 1, we compute the 5th row of Pascal's triangle via the entries from the 4th:
1+3=43+3=63+1=4
Thus the triangle up to row 4 is given by:
111413126131411
Using the guide for assigning entries as coefficients from above, observe that powers of x should be descending from left to right, the powers of y should be ascending, and the sums of the powers of x and y in each term should sum to 5−1=4.
Therefore, (x+y)4=x4+4x3y+6x2y2+4xy3+y4.