Pascal's triangle: Difference between revisions
imported>Olier Raby (→Unexpected Relations: Added text.) |
imported>Olier Raby (→Unexpected Relations: Added text.) |
||
Line 449: | Line 449: | ||
outputs <math>\scriptstyle \pi = 3.17316</math>. This formula is not used in | outputs <math>\scriptstyle \pi = 3.17316</math>. This formula is not used in | ||
practice since <math>\scriptstyle n</math> must be very large to compute <math>\scriptstyle \pi</math> to any decent precision. | practice since <math>\scriptstyle n</math> must be very large to compute <math>\scriptstyle \pi</math> to any decent precision. | ||
If you stack marbles in the simplest 1D figure (along a line), then you arrange 1, 2, 3, 4,... marbles. | |||
If you stack marbles in the simplest 2D figure (triangle), then you arrange 1, 3, 6, 10,... marbles. | |||
If you stack marbles in the simplest 3D figure (a tetrahedron or 4-sided pyramid), then you arrange 1, 4, 10, 20,... marbles. | |||
If you stack marbles in the simplest 4D figure (a 4-simplex), then you arrange 1, 5, 15, 35,... marbles. | |||
And so on. | |||
These numbers appears within the columns of the figurate number triangle, | |||
the column 1 contains the classic and basic counting numbers : 1, 2, 3, 4,... | |||
The column 2 contains the triangular numbers : 1, 3, 6, 10, 15, 21,... | |||
The column 3 contains the tetrahedral numbers : 1, 4, 10, 20, 35, 56,... | |||
The column 4 contains the pentatope numbers : 1, 5, 15, 35, 70, 126,... | |||
And so on. | |||
== References == | == References == | ||
<References/> | <References/> |
Revision as of 17:32, 21 November 2007
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.
Pascal's triangle appears under different formats. Here is its most common :
We can use Pascal's triangle to compute the binomial expansion of . For instance,
The triangle shows the coefficients on the fifth row.
Pascal's triangle has applications in algebra and in probabilities. We can use it to compute the Fibonacci numbers and to create the Sierpinski triangle. After studying it, Isaac Newton expanded the triangle 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 was done within its descendants, like probabilities and combinatorics.
Some Properties
Each term in the triangle is the sum of the two terms 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 , then
By convention, the binomial coefficient is set to zero if is either less than zero or greater than .
To better understand some properties, the triangle is presented differently :
Each coefficient is the sum of the coefficient exactly over it and its left neighbour[2]. For instance, . Let's call this rule the "addition rule".
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. This time, we index 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 [3].
Up until now, we added along the rows and the columns. We can add along the diagonals. Doing so from left to right and from bottom to top gives :
The numbers on the right are the Fibonacci numbers.
One Row at a Time
We can build any row if we know the row before just by adding its terms two at a time. However, it is possible to build a row directly. We will build the row 4 in order to discover the rule. Each row starts with 1 :
Once the row and the column indices are know, we can compute the neighbours, either right or left, of any term. Because it only applies to a row, we call it the "row rule".
Newton's Binomial Coefficients
Isaac Newton studied the triangle's properties and discovered two remarkable generalizations.[5]
He found 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"[6]. To ease the understanding in the following text, we will call it the "Bernoulli triangle", even is this matrix does not resemble a triangle anymore !
Using the row rule, let's compute the row -1 :
There is an infinity of and . This is another hint that this object is a matrix. Each term in this row obeys the addition rule and the row rule. Some 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 !
In the preceding example, we computed the terms of row 4. Let's use that row again :
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 !
No term goes to zero, even if each comes closer as it is further away from the first.
In the following augmented Bernoulli triangle, using the row rule, we added the rows and :
Some calculations confirm that the addition rule works, as expected. After some tests, we see that it works only if the row indices have a difference of 1. For instance, we cannot easily build row 3.25 from row 3, but we can easily build row from row . Up to a point, there are two matrices in the preceding Bernoulli triangle, one for the integers and one for the multiples of .
Newton's generalizations opened routes to areas not primarily connected to the Pascal's triangle, namely numeric roots (like the square roots) and logarithms.
Computing a Root Square
Armed with the knowledge of the previous section, we are ready to compute the square root of a number.
We start with 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 boring.
Suppose we replace the exponent 2, an integer, by the exponent , a fraction. When the exponent value 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 terms to compute a 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, [7].
Let's compute , i.e. Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sqrt{5}~} .
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (2+3)^{\frac{1}{2}} = (4 + 1)^{\frac{1}{2}} = (4 \times (1 + \frac{1}{4}))^{\frac{1}{2}} = 4^{\frac{1}{2}} \times (1 + \frac{1}{4})^{\frac{1}{2}} = 2 \, (1 + 0.25)^{\frac{1}{2}} }
In the last parenthesis, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x~}
is equal to 1, and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |y| = 0.25~}
is lower than 1. Here is how we proceeded. Compute the perfect square lower than Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (2 + 3)~}
, here it is 4. Change the sum within the parenthesis in order to display the perfect square. Get it outside the parenthesis, while applying the square root operation on both terms. Extract the square root from both, one requiring to use the binomial coefficients.
To compute the root square of the parenthesis, we use the row Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle {\frac{1}{2}}~} in the triangle.
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1 + 0.25)^{\frac{1}{2}} = 1 + \frac{1}{2} \times 0.25 - \frac{1}{8} \times 0.25 + \frac{1}{16} \times 0.25 - \frac{5}{128} \times 0.25 + \frac{7}{256} \times 0.25 - \frac{21}{1024} \times 0.25 \cdots }
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1 + 0.25)^{\frac{1}{2}} = 1 + 0.25 \times ( \frac{1}{2} - \frac{1}{8} + \frac{1}{16} - \frac{5}{128} + \frac{7}{256} - \frac{21}{1024} \cdots ) }
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1 + 0.25)^{\frac{1}{2}} \approx 1.1013183593}
Using six terms, the square root estimate of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (2 + 3)~} is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2 * 1.1013183593 = 2.202636718~} . The square of this value is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 4.8516085~} . Compared to the exact value, the error is close to 3%. Using more terms will sharpen the result.
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 :
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (x+y)^2 = x^2 + 2 x y + y^2~} ,
we replace some terms within it :
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1+z)^2 = 1^2 + 2 \times 1 \times z + z^2~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1+z)^2 = 1 + 2 z + z^2~} ,
which is good for the square of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1+z)~} . To compute the logarithm, we use the terms in row -1.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (1+z)^{-1} = 1 - z + z^2 - z^3 + z^4 - z^5 + z^6 +\cdots~}
If we integrate both sides of the previous equation[8], we get the natural logarithm of a number[9] :
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \ln{(1+z)} = z - \frac{z^2}{2} + \frac{z^3}{3} - \frac{z^4}{4} + \frac{z^5}{5} - \frac{z^6}{6} + \frac{z^7}{7} +\cdots \text{ with } z \in \R \text{ and } -1 < z \leq 1 ~}
Normal Curve
Pascal's triangle lends itself to graphical representation. If you draw an histogram of the 19Template:Th row coefficients, you would get something like the following picture.
Suppose we compute the terms of the 1000Template:Th row in Pascal's triangle. If we divide each term by 21000 and consider each value as a point on a continuous curve, we would get the following curve.
Gauss, the famous German mathematician, studied the normal curve[10]. It is the commonest statistical law encountered in natural phenomenons[11]Template:,[10]. For this reason, the properties of many statistical curves are compared to the normal curve properties. In its simplest form, its equation is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle P(z) = e^{-z^2/2}} .
Unexpected Relations
Each row of order Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle 2^n-1, n \in \N} , only contains odd numbers. No other row has this property.
We saw the normal curve, a way to represent the binomial coefficients as a continuous curve. In its simplest form, its equation Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle P(z) = e^{- z^2/2}} and the area under that curve is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \sqrt{2 \pi}} . The equation of this curve involves Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle e} , while its area involves Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \pi} . How can this be possible, since the binomial coefficients are obtained by adding natural numbers, and we divided those coefficients by a power of 2 ?
Applying modulo 2 to every number in Pascal's triangle, we get
1
1 1
1 0 1
1 1 1 1
1 0 0 0 1
1 1 0 0 1 1
1 0 1 0 1 0 1
...
Viewing these ones and zeroes as binary digits, we get 1, 3, 5, 15, 17, 51,... in base ten. They are the number of sides found in constructible polygons with odd number of sides. This is true up to row 32.
We can compute Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \pi} from the Pascal's triangle : Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \frac{\binom{2n}{n}}{2^{2n}} = \frac{1}{\sqrt{n \pi}}} . For instance, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \frac{\binom{50}{25}}{2^{50}} = \frac{1}{\sqrt{25 \pi}}} outputs Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \pi = 3.17316} . This formula is not used in practice since Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle n} must be very large to compute Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \pi} to any decent precision.
If you stack marbles in the simplest 1D figure (along a line), then you arrange 1, 2, 3, 4,... marbles. If you stack marbles in the simplest 2D figure (triangle), then you arrange 1, 3, 6, 10,... marbles. If you stack marbles in the simplest 3D figure (a tetrahedron or 4-sided pyramid), then you arrange 1, 4, 10, 20,... marbles. If you stack marbles in the simplest 4D figure (a 4-simplex), then you arrange 1, 5, 15, 35,... marbles. And so on.
These numbers appears within the columns of the figurate number triangle, the column 1 contains the classic and basic counting numbers : 1, 2, 3, 4,... The column 2 contains the triangular numbers : 1, 3, 6, 10, 15, 21,... The column 3 contains the tetrahedral numbers : 1, 4, 10, 20, 35, 56,... The column 4 contains the pentatope numbers : 1, 5, 15, 35, 70, 126,... And so on.
References
- ↑ Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji, School of Mathematics and Statistics, University of St Andrews. Consulted 2005-09-03.
- ↑ 2.0 2.1 This rule does not apply to the ones bordering the triangle. We just insert them.
- ↑ 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 Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle (r + 1) = 6 + 1 = 7} , and four terms at the denominator starting at Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle (c + 1) = (3 + 1) = 4} . It is is equal to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \scriptstyle \frac{ 7 \times 6 \times 5 \times 4 }{ 4 \times 3 \times 2 \times 1 } = 35} . In short, fourth column, four terms at numerator, four terms at denominator, all decreasing.
- ↑ Equally, we can compute any triangle's term using Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \binom{r}{c} = \frac{ r! }{ c! (r - c)! } \text{ with } r, c \in \N^* \text{ and } r \geq c ~} , but it may exceed the calculator capacity !
- ↑ Eli Maor, e: The Story of a Number, Princeton University Press, 1994, p.71. ISBN 0-691-05854-7.
- ↑ Eric W. Weisstein, CRC Concise Encyclopedia of Mathematics, CRC Press, 1999, p. 636. ISBN 0-8493-9640-9
- ↑ The reason of this limitation is outside the scope of this article, it has to do with series convergence.
- ↑
From calculus, we know that :
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cdots~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int{z^1 dz}= \frac{z^2}{2} ~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int{z^0 dz}= \frac{z^1}{1} ~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int{z^{-1} dz} = \int{\frac{dz}{z} } = \ln{z} ~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int{z^{-2} dz} = \frac{z^{-1}}{-1} ~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int{z^{-3} dz} = \frac{z^{-2}}{-2} ~}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cdots~}
- ↑ William H Beyer (ed.), Standard Mathematical Tables and Formulae, 29th edition, CRC Press, p.279. ISBN 0-8493-0629-9
- ↑ 10.0 10.1 Template:Fr Jean-Louis Boursin, Les Structures du hasard, Seuil, coll. Les Rayons de la science, 1966, p.129.
- ↑ Paul Westbrook, Math Smart for Business: Cultivating a Six-Figure Vocabulary, Princeton Review, 1997, p. 70. ISBN 0679783911. Consulted 2007-11-19. View an extract at [1].