Ask NSDL Archive

Ask NSDL Archive

http://ask.nsdl.org
http://ask.nsdl.org | nsdl@nsdl.org

Home

About

Discrete mathematics

Question

What is the Pascal's Triangle? How does it work? Thanks for taking time to answer this question.

Answer

Pascal's triangle is a particular table of numbers in the shape of a triangle. The first row of the triangle has 1 number, the next has 2 numbers, and so on. The first few rows of Pascal's triangle are<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp; 2&nbsp; 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp; 3 &nbsp;3&nbsp; 1<BR>&nbsp; 1&nbsp; 4 &nbsp;6 &nbsp;4 &nbsp;1<BR>Each&nbsp;entry in Pascal's triangle is the sum of the two&nbsp;entries&nbsp;just above it, except for the&nbsp;entries on the edge, which are all 1.<BR><BR>You might be able&nbsp;to see that each entry in the triangle is the number of downward paths to that entry from the top 1, where&nbsp;a&nbsp;path jogs downwards from row to row, going from an entry to one of the two nearest entries&nbsp;in the row below. To see this, notice that every path to an entry&nbsp;must go&nbsp;through one of the two entries just above it, so&nbsp;each path to&nbsp;one of those two entries can be extended&nbsp;(in exactly one way) to a path to the entry in question.<BR><BR>You may also be able to see that if we number the rows starting at 0, and the entries in each row starting a 0, that the&nbsp;nth entry in row r is the number of ways to pick n items from a list of r items. For example, the first 6 in the triangle is the number of ways to pick 2 items from a list of 4. To see this, think of each of the rows 0,1,2,...r-1as representing one of the items, and each path&nbsp;from the top of the triangle to the nth entry in row r as specifying the choices, where a jog to the left&nbsp;from&nbsp;a row means the item corresponding to that row is not&nbsp;picked, an a jog to the right means the item is picked. To get to the nth item in row r, we have to jog right exactly n times, meaning exactly n items are picked (namely the n items corresponding to the rows&nbsp;where the path jogged right).<BR><BR>For this reason, the nth item in the rth row is called "the number of combinations of r things taken n at a time" or "r choose n", sometimes written&nbsp;rCn. So 4C2 = 6. These numbers are also called&nbsp;"binomial coefficients",&nbsp; because (1 + x)<SUP>r&nbsp;</SUP>= rC0 + rC1 x + rC2 x<SUP>2</SUP> + rC3 x<SUP>3</SUP> + ... + rCr x<SUP>r</SUP>. To see this, notice that (1+x)<SUP>r</SUP> is (1+x) multiplied by itself r times. For each factor of (1+x), we can pick either the 1 or the x to multiply. Just think of a path in Pascal's triangle from the top to row r as&nbsp;representing the choices of 1 (jog left) or x (jog right). By the way, this immediately leads to the observation that the sum of the entries in row r is 2<SUP>r</SUP>.<BR><BR>There are many other interesting properties of the entries in Pascal's triangle. See some of the URLs below. There are also other triangles similar to Pascal's. For example, if&nbsp;instead of just adding the two entries we first multiplied the right one by its position in its row, we'd get a table of "Stirling numbers of the second kind", which give the number of ways of grouping r items into n nonempty sets. This triangle looks as follows:<BR>1<BR>0&nbsp; &nbsp;1<BR>0&nbsp; &nbsp;1 &nbsp;&nbsp;&nbsp;1<BR>0&nbsp; &nbsp;1 &nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;1<BR>0&nbsp; &nbsp;1&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp;6&nbsp; &nbsp;&nbsp; 1<BR>0&nbsp; &nbsp;1 &nbsp;15&nbsp; 25&nbsp; 10&nbsp; &nbsp; 1<BR><BR>The field of mathematics in which Pascal's triangle finds itself is called "combinatorics".<BR><BR><BR><BR><BR><BR>&nbsp; http://ptri1.tripod.com/http://mathforum.org/dr.math/faq/faq.pascal.triangle.htmlhttp://mathworld.wolfram.com/PascalsTriangle.html Pascal<BR>binomial<BR>coefficient<BR>combination<BR>combinatorics<BR> http://vrd.askvrd.org/services/answerschema.xml


This site was whacked using the TRIAL version of WebWhacker. This message does not appear on a licensed copy of WebWhacker.