Pascal's triangle

From Citizendium
Revision as of 05:38, 26 October 2007 by imported>Olier Raby (→‎Computing a root square: Typo.)
Jump to navigation Jump to search

The Pascal's triangle is a convenient tabular presentation for the binomial coefficients. Already known in the 11th century[1], it was adopted in Western world under this name after Blaise Pascal published his Traité du triangle arithmétique ("Treatise on the Arithmetical Triangle") in 1654.

Here is the first rows of Pascal's triangle :



We can use Pascal's triangle to compute the binomial expansion of

The coefficients 1, 4, 6, 4, 1 appear directly in the triangle.

The terms in Pascal's triangle have applications in algebra and in probabilities. We can equally compute the Fibonacci numbers and create the Sierpinski triangle. After studying it, Isaac Newton expanded it and found new methods to extract the square root and to calculate the natural logarithm of a number.

History

The earliest explicit depictions of a triangle of binomial coefficients occur in the 10th century in commentaries on the Chandas Shastra, an ancient Indian book on Sanskrit prosody written by Pingala between the 5th century BC and 2nd century BC. While Pingala's work only survives in fragments, the commentator Halayudha, around 975, used the triangle to explain obscure references to Meru-prastaara, the "Staircase of Mount Meru". It was also realised that the shallow diagonals of the triangle sum to the Fibonacci numbers. The Indian mathematician Bhattotpala (c. 1068) later gives rows 0-16 of the triangle.

At around the same time, it was discussed in Persia by the mathematician Al-Karaji (953–1029) and the poet-astronomer-mathematician Omar Khayyám (1048-1131); thus the triangle is referred to as the "Khayyam triangle" in Iran. Several theorems related to the triangle were known, including the binomial theorem. It seems that Khayyam used a method of finding nth roots based on the binomial expansion, and therefore on the binomial coefficients.

In 13th century, Yang Hui (1238-1298) presented an arithmetic triangle, which was the same as Pascal's Triangle. Today, Pascal's triangle is called "Yang Hui's triangle" in China. In Italy, it is known as "Tartaglia's triangle", named for the Italian algebraist Niccolo Fontana Tartaglia who lived a century before Pascal.

In 1655, Blaise Pascal published its Traité du triangle arithmétique ("Treatise on arithmetical triangle"), wherein he collected several results then known about the triangle, and employed them to solve problems in probabilities. The triangle was later named after Pascal by Pierre Raymond de Montmort (1708) and Abraham de Moivre (1730).

After that, even if it was useful in many areas of mathematices, most research most research was done within its descendants, like probabilities and combinatorics.

Formulas

Each coefficient in the triangle is the sum of the two coefficients above it[2]. For instance, . The binomial coefficients relate to this construction by Pascal's rule, which states that if

is the kth binomial coefficient in the binomial expansion of (x+y)n, then

for any nonnegative integer n and any integer k between 0 and n.[3]

Properties

In order to ease the understanding of some properties, the triangle should be presented differently :



Each coefficient is the sum of the coefficient exactly over it and the other to its left. For instance, .

Let's call this rule the "addition rule"[2].

Using this format, it is easy to apply an index to each row :



Starting the indices at zero facilitates many calculations.

The sum of any row is , with being the row index : For instance, the sum of row 4 is .

Since there is a formula for summing a row, then maybe there is one for a column ? It is the case. Again, we index the triangle, but this time it will be the columns :


Anyone familiar with the factorial function can easily find the general formula. The sum of a column ending at row is

.

There is another method to compute this sum, see [4].

Up until now, we added along the rows and the columns. We can add along the diagonals. Adding from left to right gives :



The numbers on the rigth are the Fibonacci numbers.

One Row at a Time

As you know by now, we can build any row if we know the row before just by adding its terms two at a time. It is possible to build a row directly, without knowing the row before. We will build the row 4 in order to discover the rule. We know that each row starts with 1 :




Because it only applies to a row, we call it the "row rule". For any term, once the row and the column indices are know, we can compute is neighbour.

[5]

Newton's Binomial Coefficients

Isaac Newton studied the triangle's properties. He discovered two remarkable generalizations.[6]

He discovered that the triangle extends along the negative axis. To better understand how he achieved this, let us write the triangle using another format :



Jacob Bernoulli is the "father" of this mathematical object named the "figurate number triangle"[7]. To ease the understanding in the following text, we will call it the "Bernoulli triangle", even this matrix does not resemble a triangle anymore !

Using the row rule, let's compute the row -1 :



It is rather strange to see all those and , they seem outside the triangle. However, each term in this row obeys the addition rule and the row rule. Some quick calculations should convince you.

We can further extend the triangle along the negative axis.



As we wrote earlier, Newton did not stop there. He asked himself if there were rows with fractional index, like .

And the answer is yes !

Let's use again the preceding example where we computed the terms of row 4.



What is the first term of row ? By definition, it is 1. What are the terms after that ? We will use the row rule to compute them !

As you can see, no term goes to zero, even if each comes closer as it is further away from 1.

In the following augmented Bernoulli triangle, we added the row  :



A quick head calculation confirms that the rule works, as expected. After some trials, we conclude that the rule only works if the row indices have a difference of 1, 2, 3,...

Computing a Root Square

Newton's generalizations open new areas that were not primarily connected to the Pascal's triangle, namely with irrational numbers and logarithms. We are ready to compute the square root of a number.

We know this equation :

If we replace with 2 and with 3, then we get

,

which is equal to 25, or . This is quite common knowledge, not to say it is boring.

Suppose we replace the exponent 2, an integer, by the exponent , a fraction. When it is 2, we get the square, when it is , we get the square root. This a rule of the exponentiation. Thus, we can use the triangle's coefficients to compute the square root.

This observation is technically correct, but there are some details that hugely simplify the calculations. If the exponent is a fraction, then SHOULD be equal to 1 and, in this case, MUST be equal to or less than 1. More preciseley, [8].

Let's compute , i.e. .



In the parenthesis, is equal to 1, and is lower than 1. Here is how we proceeded. Compute the perfect square lower than , here it is 4. Change the sum within the parenthesis in order to display the perfect square. Get it outside the parenthesis, while carrying the square root operation on both terms. Extract the square root from both, one requiring to use the binomial coefficients.

Let's see how to compute the root square of the parenthesis.

We use the terms on the row .




The estimate of the square root of is . The square of this value is . The error is around 3%, but we can sharpen the result by adding more terms.

We can compute any root with this method. However, it is not used in practice, since there are faster convergent methods, like the Newton-Raphson algorithm.

Computing the Logarithm of a Number

Starting with this equation :

,

and we replace some terms within it :

This is good for the square. To compute the logarithm, we use the terms in row -1.

From calculus, we know :

If we integrate both sides of the previous equation, we get the natural logarithm of a number[9] :

References

  1. Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji, School of Mathematics and Statistics, University of St Andrews. Consulted 2005-09-03.
  2. 2.0 2.1 This rule does not apply to the ones bordering the triangle. We just insert them.
  3. By convention, the binomial coefficient is set to zero if k is either less than zero or greater than n.
  4. Suppose we wish to add the terms in row 3, i.e. the fourth column, until row 6. The sum is given by multiplying four terms at numerator, starting at , and four terms at the denominator starting at . The sum is equal to . In short, fourth column, four terms at numerator, four terms at denominator, all decreasing.
  5. Equally, we can compute any triangle's term using , but it may exceed the calculator capacity !
  6. Eli Maor, e: The Story of a Number, Princeton University Press, 1994, p.71. ISBN 0-691-05854-7.
  7. Eric W. Weisstein, CRC Concise Encyclopedia of Mathematics, CRC Press, 1999, p. 636. ISBN 0-8493-9640-9
  8. This it is outside the scope of this article, since it has to do with series convergence.
  9. William H Beyer (ed.), Standard Mathematical Tables and Formulae, 29th edition, CRC Press, p.279. ISBN 0-8493-0629-9