In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, Pascal's triangle is a
triangular array
In mathematics and computing, a triangular array of numbers, polynomials, or the like, is a doubly indexed sequence in which each row is only as long as the row's own index. That is, the ''i''th row contains only ''i'' elements.
Examples
Notable ...
of the
binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
s that arises in probability theory, combinatorics, and algebra. In much of the
Western world
The Western world, also known as the West, primarily refers to the various nations and state (polity), states in the regions of Europe, North America, and Oceania. , it is named after the French mathematician
Blaise Pascal
Blaise Pascal ( , , ; ; 19 June 1623 – 19 August 1662) was a French mathematician, physicist, inventor, philosopher, and Catholic Church, Catholic writer.
He was a child prodigy who was educated by his father, a tax collector in Rouen. Pa ...
, although other
mathematician
A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems.
Mathematicians are concerned with numbers, data, quantity, structure, space, models, and change.
History
On ...
s studied it centuries before him in India, Persia,
China, Germany, and Italy.
The rows of Pascal's triangle are conventionally enumerated starting with row
at the top (the 0th row). The entries in each row are numbered from the left beginning with
and are usually staggered relative to the numbers in the adjacent rows. The triangle may be constructed in the following manner: In row 0 (the topmost row), there is a unique nonzero entry 1. Each entry of each subsequent row is constructed by adding the number above and to the left with the number above and to the right, treating blank entries as 0. For example, the initial number of row 1 (or any other row) is 1 (the sum of 0 and 1), whereas the numbers 1 and 3 in row 3 are added to produce the number 4 in row 4.
Formula
The entry in the
th row and
th column of Pascal's triangle is denoted
. For example, the unique nonzero entry in the topmost row is
. With this notation, the construction of the previous paragraph may be written as follows:
:
,
for any non-negative integer
and any integer
. This recurrence for the binomial coefficients is known as
Pascal's rule
In mathematics, Pascal's rule (or Pascal's formula) is a combinatorial identity about binomial coefficients. It states that for positive natural numbers ''n'' and ''k'',
+ = ,
where \tbinom is a binomial coefficient; one interpretation of the ...
.
History
The pattern of numbers that forms Pascal's triangle was known well before Pascal's time. Pascal innovated many previously unattested uses of the triangle's numbers, uses he described comprehensively in the earliest known mathematical
treatise
A treatise is a formal and systematic written discourse on some subject, generally longer and treating it in greater depth than an essay, and more concerned with investigating or exposing the principles of the subject and its conclusions."Treat ...
to be specially devoted to the triangle, his ''Traité du triangle arithmétique'' (1654; published 1665).
Centuries previously, discussion of the numbers had arisen in the context of
Indian
Indian or Indians may refer to:
Peoples South Asia
* Indian people, people of Indian nationality, or people who have an Indian ancestor
** Non-resident Indian, a citizen of India who has temporarily emigrated to another country
* South Asia ...
studies of
combinatorics
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many appl ...
and binomial numbers. It seems from later commentaries that the binomial coefficients and the additive formula for generating them,
, were known to
Pingala
Acharya Pingala ('; c. 3rd2nd century BCE) was an ancient Indian poet and mathematician, and the author of the ' (also called the ''Pingala-sutras''), the earliest known treatise on Sanskrit prosody.
The ' is a work of eight chapters in the late ...
during or before the 2nd century BC.
[A. W. F. Edwards. ''Pascal's arithmetical triangle: the story of a mathematical idea.'' JHU Press, 2002. Pages 30–31.][.] While Pingala's work only survives in fragments, the commentator
Varāhamihira
Varāhamihira ( 505 – 587), also called Varāha or Mihira, was an ancient Indian astrologer, astronomer, and polymath who lived in Ujjain (Madhya Pradesh, India). He was born at Kapitba in a Brahmin family, in the Avanti region, roughly co ...
, around 505, gave a clear description of the additive formula,
and a more detailed explanation of the same rule was given by
Halayudha
Halayudha (Sanskrit: हलायुध) was a 10th-century Indian mathematician who wrote the ',Maurice Winternitz, ''History of Indian Literature'', Vol. III a commentary on Pingala's ''Chandaḥśāstra''. The latter contains a clear descrip ...
, around 975. Halayudha also explained obscure references to ''Meru-prastaara'', the ''Staircase of
Mount Meru
Mount Meru (Sanskrit/Pali: मेरु), also known as Sumeru, Sineru or Mahāmeru, is the sacred five-peaked mountain of Hindu, Jain, and Buddhist cosmology and is considered to be the centre of all the physical, metaphysical and spiritu ...
'', giving the first surviving description of the arrangement of these numbers into a triangle.
In approximately 850, the
Jain
Jainism ( ), also known as Jain Dharma, is an Indian religion. Jainism traces its spiritual ideas and history through the succession of twenty-four tirthankaras (supreme preachers of ''Dharma''), with the first in the current time cycle being ...
mathematician
Mahāvīra
Mahavira (Sanskrit: महावीर) also known as Vardhaman, was the 24th ''tirthankara'' (supreme preacher) of Jainism. He was the spiritual successor of the 23rd ''tirthankara'' Parshvanatha. Mahavira was born in the early part of the 6 ...
gave a different formula for the binomial coefficients, using multiplication, equivalent to the modern formula
.
In 1068, four columns of the first sixteen rows were given by the mathematician
Bhattotpala
Utpala or (') is the name of a 10th-century Indian commentator of Vārāha Mihira's ''Brihat Samhitā''. ''Brihat Samhitā'' is a Samhitā text of (Indian astrology and astronomy) . Samhitā is one of three branches of (Samhitā has many other ...
, who was the first recorded mathematician to equate the additive and multiplicative formulas for these numbers.
At about the same time, the
Persian
Persian may refer to:
* People and things from Iran, historically called ''Persia'' in the English language
** Persians, the majority ethnic group in Iran, not to be conflated with the Iranic peoples
** Persian language, an Iranian language of the ...
mathematician
Al-Karaji
( fa, ابو بکر محمد بن الحسن الکرجی; c. 953 – c. 1029) was a 10th-century Persian people, Persian mathematician and engineer who flourished at Baghdad. He was born in Karaj, a city near Tehran. His three principal sur ...
(953–1029) wrote a now-lost book which contained the first description of Pascal's triangle. It was later repeated by the Persian poet-astronomer-mathematician
Omar Khayyám
Ghiyāth al-Dīn Abū al-Fatḥ ʿUmar ibn Ibrāhīm Nīsābūrī (18 May 1048 – 4 December 1131), commonly known as Omar Khayyam ( fa, عمر خیّام), was a polymath, known for his contributions to mathematics, astronomy, philosophy, an ...
(1048–1131); thus the triangle is also referred to as the Khayyam triangle in Iran. Several theorems related to the triangle were known, including the
binomial theorem
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
. Khayyam used a method of finding
''n''th roots based on the binomial expansion, and therefore on the binomial coefficients.
[.]
Pascal's triangle was known in China during the early 11th century as a result of the work of the Chinese mathematician
Jia Xian
Jia Xian (; ca. 1010–1070) was a Chinese mathematician from Kaifeng of the Song dynasty.
Biography
According to the history of the Song dynasty, Jia was a palace eunuch of the Left Duty Group. He studied under the mathematician Chu Yan, and ...
(1010–1070). During the 13th century,
Yang Hui
Yang Hui (, ca. 1238–1298), courtesy name Qianguang (), was a Chinese mathematician and writer during the Song dynasty. Originally, from Qiantang (modern Hangzhou, Zhejiang), Yang worked on magic squares, magic circles and the binomial theor ...
(1238–1298) presented the triangle and hence it is still known as Yang Hui's triangle ( zh, s=杨辉三角, t=楊輝三角, labels=no) in China.
In Europe, Pascal's triangle appeared for the first time in the ''Arithmetic'' of
Jordanus de Nemore
Jordanus de Nemore (fl. 13th century), also known as Jordanus Nemorarius and Giordano of Nemi, was a thirteenth-century European mathematician and scientist. The literal translation of Jordanus de Nemore (Giordano of Nemi) would indicate that he w ...
(13th century).
The binomial coefficients were calculated by
Gersonides
Levi ben Gershon (1288 – 20 April 1344), better known by his Graecized name as Gersonides, or by his Latinized name Magister Leo Hebraeus, or in Hebrew by the abbreviation of first letters as ''RaLBaG'', was a medieval French Jewish philosoph ...
during the early 14th century, using the multiplicative formula for them.
Petrus Apianus
Petrus Apianus (April 16, 1495 – April 21, 1552), also known as Peter Apian, Peter Bennewitz, and Peter Bienewitz, was a German humanist, known for his works in mathematics, astronomy and cartography. His work on "cosmography", the field that de ...
(1495–1552) published the full triangle on the
frontispiece of his book on business calculations in 1527.
Michael Stifel
Michael Stifel or Styfel (1487 – April 19, 1567) was a German monk, Protestant reformer and mathematician. He was an Augustinian who became an early supporter of Martin Luther. He was later appointed professor of mathematics at Jena Universit ...
published a portion of the triangle (from the second to the middle column in each row) in 1544, describing it as a table of
figurate number
The term figurate number is used by different writers for members of different sets of numbers, generalizing from triangular numbers to different shapes (polygonal numbers) and different dimensions (polyhedral numbers). The term can mean
* polygon ...
s.
In Italy, Pascal's triangle is referred to as Tartaglia's triangle, named for the Italian algebraist
Niccolò Fontana Tartaglia
Niccolò Fontana Tartaglia (; 1499/1500 – 13 December 1557) was an Italian mathematician, engineer (designing fortifications), a surveyor (of topography, seeking the best means of defense or offense) and a bookkeeper from the then Republi ...
(1500–1577), who published six rows of the triangle in 1556.
Gerolamo Cardano
Gerolamo Cardano (; also Girolamo or Geronimo; french: link=no, Jérôme Cardan; la, Hieronymus Cardanus; 24 September 1501– 21 September 1576) was an Italian polymath, whose interests and proficiencies ranged through those of mathematician, ...
, also, published the triangle as well as the additive and multiplicative rules for constructing it in 1570.
Pascal's ''Traité du triangle arithmétique'' (''Treatise on Arithmetical Triangle'') was published in 1655. In this, Pascal collected several results then known about the triangle, and employed them to solve problems in
probability theory
Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set o ...
. The triangle was later named for Pascal by
Pierre Raymond de Montmort
Pierre Remond de Montmort was a French mathematician. He was born in Paris on 27 October 1678 and died there on 7 October 1719. His name was originally just Pierre Remond. His father pressured him to study law, but he rebelled and travelled to E ...
(1708) who called it "Table de M. Pascal pour les combinaisons" (French: Table of Mr. Pascal for combinations) and
Abraham de Moivre
Abraham de Moivre FRS (; 26 May 166727 November 1754) was a French mathematician known for de Moivre's formula, a formula that links complex numbers and trigonometry, and for his work on the normal distribution and probability theory.
He moved ...
(1730) who called it "Triangulum Arithmeticum PASCALIANUM" (Latin: Pascal's Arithmetic Triangle), which became the basis of the modern Western name.
Binomial expansions
Pascal's triangle determines the coefficients which arise in
binomial expansion
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
s. For example, consider the expansion
.
The coefficients are the numbers in the second row of Pascal's triangle:
,
,
.
In general, when a
binomial
Binomial may refer to:
In mathematics
*Binomial (polynomial), a polynomial with two terms
* Binomial coefficient, numbers appearing in the expansions of powers of binomials
*Binomial QMF, a perfect-reconstruction orthogonal wavelet decomposition
...
like
is raised to a positive integer power of
, we have:
,
where the coefficients
in this expansion are precisely the numbers on row
of Pascal's triangle. In other words,
:
.
This is the
binomial theorem
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
.
The entire right diagonal of Pascal's triangle corresponds to the coefficient of
in these binomial expansions, while the next diagonal corresponds to the coefficient of
and so on.
To see how the binomial theorem relates to the simple construction of Pascal's triangle, consider the problem of calculating the coefficients of the expansion of
in terms of the corresponding coefficients of
(setting
for simplicity). Suppose then that
:
.
Now
:
The two summations can be reorganized as follows:
:
(because of how raising a polynomial to a power works,
).
We now have an expression for the polynomial
in terms of the coefficients of
(these are the
s), which is what we need if we want to express a line in terms of the line above it. Recall that all the terms in a diagonal going from the upper-left to the lower-right correspond to the same power of
, and that the
-terms are the coefficients of the polynomial
, and we are determining the coefficients of
. Now, for any given
, the coefficient of the
term in the polynomial
is equal to
. This is indeed the simple rule for constructing Pascal's triangle row-by-row.
It is not difficult to turn this argument into a
proof
Proof most often refers to:
* Proof (truth), argument or sufficient evidence for the truth of a proposition
* Alcohol proof, a measure of an alcoholic drink's strength
Proof may also refer to:
Mathematics and formal logic
* Formal proof, a con ...
(by
mathematical induction
Mathematical induction is a method for proving that a statement ''P''(''n'') is true for every natural number ''n'', that is, that the infinitely many cases ''P''(0), ''P''(1), ''P''(2), ''P''(3), ... all hold. Informal metaphors help ...
) of the binomial theorem.
Since
, the coefficients are identical in the expansion of the general case.
An interesting consequence of the binomial theorem is obtained by setting both variables
and
equal to one. In this case, we know that
, and so
:
In other words, the sum of the entries in the
th row of Pascal's triangle is the
th power of 2. This is equivalent to the statement that the number of subsets (the cardinality of the
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
) of an
-element set is
, as can be seen by observing that the number of subsets is the sum of the number of combinations of each of the possible lengths, which range from zero through to
.
Combinations
A second useful application of Pascal's triangle is in the calculation of
combination
In mathematics, a combination is a selection of items from a set that has distinct members, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are th ...
s. For example, the number of combinations of
items taken
at a time (pronounced ''
n choose k
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the te ...
'') can be found by the equation
:
.
But this is also the formula for a cell of Pascal's triangle. Rather than performing the calculation, one can simply look up the appropriate entry in the triangle. Provided we have the first row and the first entry in a row numbered 0, the answer will be located at entry
in row
. For example, suppose 8 jobs need to be filled but there are 10 candidates; the selection committee wants to know how many ways there are of selecting 8 from the 10. The answer is entry 8 in row 10, which is 45; that is, 10 choose 8 is 45.
Relation to binomial distribution and convolutions
When divided by
, the
th row of Pascal's triangle becomes the
binomial distribution
In probability theory and statistics, the binomial distribution with parameters ''n'' and ''p'' is the discrete probability distribution of the number of successes in a sequence of ''n'' independent experiments, each asking a yes–no quest ...
in the symmetric case where
. By the
central limit theorem
In probability theory, the central limit theorem (CLT) establishes that, in many situations, when independent random variables are summed up, their properly normalized sum tends toward a normal distribution even if the original variables themselv ...
, this distribution approaches the
normal distribution
In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
:
f(x) = \frac e^
The parameter \mu ...
as
increases. This can also be seen by applying
Stirling's formula
In mathematics, Stirling's approximation (or Stirling's formula) is an approximation for factorials. It is a good approximation, leading to accurate results even for small values of n. It is named after James Stirling, though a related but less ...
to the factorials involved in the formula for combinations.
This is related to the operation of discrete
convolution
In mathematics (in particular, functional analysis), convolution is a operation (mathematics), mathematical operation on two function (mathematics), functions ( and ) that produces a third function (f*g) that expresses how the shape of one is ...
in two ways. First, polynomial multiplication corresponds exactly to discrete convolution, so that repeatedly convolving the sequence
with itself corresponds to taking powers of
, and hence to generating the rows of the triangle. Second, repeatedly convolving the distribution function for a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
with itself corresponds to calculating the distribution function for a sum of ''n'' independent copies of that variable; this is exactly the situation to which the central limit theorem applies, and hence results in the normal distribution in the limit.
Patterns and properties
Pascal's triangle has many properties and contains many patterns of numbers.
Rows
* The sum of the elements of a single row is twice the sum of the row preceding it. For example, row 0 (the topmost row) has a value of 1, row 1 has a value of 2, row 2 has a value of 4, and so forth. This is because every item in a row produces two items in the next row: one left and one right. The sum of the elements of row
equals to
.
*Taking the product of the elements in each row, the sequence of products is related to the base of the natural logarithm, ''
e''. Specifically, define the sequence
for all
as follows:
Then, the ratio of successive row products is
and the ratio of these ratios is
The right-hand side of the above equation takes the form of the limit definition of
.
*
can be found in Pascal's triangle by use of the
Nilakantha The word Nilakantha may refer to:
* Shiva, one of the principal deities of Hinduism
* ''Nilakantha'' (spider), a genus of jumping spiders
* Neelakantha Chaturdhara (Nīlakaṇṭha Caturdhara), seventeenth-century commentator on the ''Mahābhārat ...
infinite series.
* ''The value of a row'', if each entry is considered a decimal place (and numbers larger than 9 carried over accordingly), is a power of 11 ( , for row ). Thus, in row 2, becomes 11
2, while in row five becomes (after carrying) 161,051, which is 11
5. This property is explained by setting in the binomial expansion of , and adjusting values to the decimal system. But the variable
term
Term may refer to:
* Terminology, or term, a noun or compound word used in a specific context, in particular:
**Technical term, part of the specialized vocabulary of a particular field, specifically:
***Scientific terminology, terms used by scient ...
can be chosen to allow rows to represent values in
''any'' base (more generally, if for , then the corresponding base is = , with odd values of yielding negative row values).
** In
base 3
A ternary numeral system (also called base 3 or trinary) has three as its base. Analogous to a bit, a ternary digit is a trit (trinary digit). One trit is equivalent to log2 3 (about 1.58496) bits of information.
Although ''ternary'' mo ...
:
**
** In
base 9
A ternary numeral system (also called base 3 or trinary) has three as its base. Analogous to a bit, a ternary digit is a trit (trinary digit). One trit is equivalent to log2 3 (about 1.58496) bits of information.
Although ''ternary'' mo ...
:
**
**
*: In particular (see previous property), for place value remains ''constant'' (1
''place''=1). Thus entries can simply be added in interpreting the value of a row.
* Some of the numbers in Pascal's triangle correlate to numbers in
Lozanić's triangle.
* The sum of the squares of the elements of row equals the middle element of row . For example, . In general form:
* On any row , where is even, the middle term minus the term two spots to the left equals a
Catalan number
In combinatorial mathematics, the Catalan numbers are a sequence of natural numbers that occur in various counting problems, often involving recursively defined objects. They are named after the French-Belgian mathematician Eugène Charles Cata ...
, specifically the th Catalan number. For example: on row 4, , which is the 3rd Catalan number, and .
* In a row where is a
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
, all the terms in that row except the 1s are
multiples of . This can be proven easily, since if
, then has no factors save for 1 and itself. Every entry in the triangle is an integer, so therefore by definition
and
are factors of
. However, there is no possible way itself can show up in the denominator, so therefore (or some multiple of it) must be left in the numerator, making the entire entry a multiple of .
* ''Parity'': To count
odd
Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric.
Odd may also refer to:
Acronym
* ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
terms in row , convert to
binary
Binary may refer to:
Science and technology Mathematics
* Binary number, a representation of numbers using only two digits (0 and 1)
* Binary function, a function that takes two arguments
* Binary operation, a mathematical operation that t ...
. Let be the number of 1s in the binary representation. Then the number of odd terms will be . These numbers are the values in
Gould's sequence
Gould's sequence is an integer sequence named after Henry W. Gould that counts how many odd numbers are in each row of Pascal's triangle. It consists only of power of two, powers of two, and begins:.
:1, 2, 2, 4, 2, 4, 4, 8, 2, 4, 4, 8, 4, 8, 8, ...
.
* Every entry in row 2
''n''−1, ''n'' ≥ 0, is odd.
*''Polarity'': When the elements of a row of Pascal's triangle are added and subtracted together sequentially, every row with a middle number, meaning rows that have an odd number of integers, gives 0 as the result. As examples, row 4 is 1 4 6 4 1, so the formula would be 6 – (4+4) + (1+1) = 0; and row 6 is 1 6 15 20 15 6 1, so the formula would be 20 – (15+15) + (6+6) – (1+1) = 0. So every even row of the Pascal triangle equals 0 when you take the middle number, then subtract the integers directly next to the center, then add the next integers, then subtract, so on and so forth until you reach the end of the row.
Diagonals
The diagonals of Pascal's triangle contain the
figurate numbers
The term figurate number is used by different writers for members of different sets of numbers, generalizing from triangular numbers to different shapes (polygonal numbers) and different dimensions (polyhedral numbers). The term can mean
* polygon ...
of simplices:
* The diagonals going along the left and right edges contain only 1's.
* The diagonals next to the edge diagonals contain the
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''Cardinal n ...
s in order.
* Moving inwards, the next pair of diagonals contain the
triangular number
A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots in ...
s in order.
* The next pair of diagonals contain the
tetrahedral number
A tetrahedral number, or triangular pyramidal number, is a figurate number that represents a pyramid with a triangular base and three sides, called a tetrahedron. The th tetrahedral number, , is the sum of the first triangular numbers, that is,
...
s in order, and the next pair give
pentatope number
A pentatope number is a number in the fifth cell of any row of Pascal's triangle starting with the 5-term row , either from left to right or from right to left.
The first few numbers of this kind are:
: 1, 5, 15, 35, 70, 126, 210, 330, 495 ...
s.
::
The symmetry of the triangle implies that the ''n''
th d-dimensional number is equal to the ''d''
th ''n''-dimensional number.
An alternative formula that does not involve recursion is
where ''n''
(''d'') is the
rising factorial
In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial
:\begin
(x)_n = x^\underline &= \overbrace^ \\
&= \prod_^n(x-k+1) = \prod_^(x-k) \,.
\e ...
.
The geometric meaning of a function P
''d'' is: P
''d''(1) = 1 for all ''d''. Construct a ''d''-
dimensional
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coordi ...
triangle
A triangle is a polygon with three Edge (geometry), edges and three Vertex (geometry), vertices. It is one of the basic shapes in geometry. A triangle with vertices ''A'', ''B'', and ''C'' is denoted \triangle ABC.
In Euclidean geometry, an ...
(a 3-dimensional triangle is a
tetrahedron
In geometry, a tetrahedron (plural: tetrahedra or tetrahedrons), also known as a triangular pyramid, is a polyhedron composed of four triangular faces, six straight edges, and four vertex corners. The tetrahedron is the simplest of all the o ...
) by placing additional dots below an initial dot, corresponding to P
''d''(1) = 1. Place these dots in a manner analogous to the placement of numbers in Pascal's triangle. To find P
''d''(''x''), have a total of ''x'' dots composing the target shape. P
''d''(''x'') then equals the total number of dots in the shape. A 0-dimensional triangle is a point and a 1-dimensional triangle is simply a line, and therefore P
0(''x'') = ''1'' and P
1(''x'') = ''x'', which is the sequence of natural numbers. The number of dots in each layer corresponds to P
''d'' − 1(''x'').
Calculating a row or diagonal by itself
There are simple algorithms to compute all the elements in a row or diagonal without computing other elements or factorials.
To compute row
with the elements
,
, ...,
, begin with
. For each subsequent element, the value is determined by multiplying the previous value by a fraction with slowly changing numerator and denominator:
:
For example, to calculate row 5, the fractions are
,
,
,
and
, and hence the elements are
,
,
, etc. (The remaining elements are most easily obtained by symmetry.)
To compute the diagonal containing the elements
,
,
, ..., we again begin with
and obtain subsequent elements by multiplication by certain fractions:
:
By symmetry, this same process can be used to compute the diagonal
,
,
... .
For example, to calculate the diagonal beginning at
, the fractions are
,
,
, ..., and the elements are
,
,
, etc. By symmetry, these elements are equal to
,
,
, etc.
Overall patterns and properties
* The pattern obtained by coloring only the odd numbers in Pascal's triangle closely resembles the
fractal
In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as illu ...
known as the
Sierpinski triangle. This resemblance becomes increasingly accurate as more rows are considered; in the limit, as the number of rows approaches infinity, the resulting pattern ''is'' the Sierpinski triangle, assuming a fixed perimeter. More generally, numbers could be colored differently according to whether or not they are multiples of 3, 4, etc.; this results in other similar patterns.
Pascal's triangle overlaid on a grid gives the number of distinct paths to each square, assuming only rightward and downward movements are considered.
* In a triangular portion of a grid (as in the images below), the number of shortest grid paths from a given node to the top node of the triangle is the corresponding entry in Pascal's triangle. On a
Plinko
__NOTOC__
Pricing games are featured on the current version of the American game show ''The Price Is Right''. The contestant from Contestants' Row who bids closest to the price of a prize without going over wins the prize and has the chance to w ...
game board shaped like a triangle, this distribution should give the probabilities of winning the various prizes.
* If the rows of Pascal's triangle are left-justified, the diagonal bands (colour-coded below) sum to the
Fibonacci number
In mathematics, the Fibonacci numbers, commonly denoted , form a sequence, the Fibonacci sequence, in which each number is the sum of the two preceding ones. The sequence commonly starts from 0 and 1, although some authors start the sequence from ...
s.
::
Construction as matrix exponential
Due to its simple construction by factorials, a very basic representation of Pascal's triangle in terms of the
matrix exponential
In mathematics, the matrix exponential is a matrix function on square matrices analogous to the ordinary exponential function. It is used to solve systems of linear differential equations. In the theory of Lie groups, the matrix exponential gives ...
can be given: Pascal's triangle is the exponential of the matrix which has the sequence 1, 2, 3, 4, ... on its subdiagonal and zero everywhere else.
Relation to geometry of polytopes
Pascal's triangle can be used as a
lookup table
In computer science, a lookup table (LUT) is an array that replaces runtime computation with a simpler array indexing operation. The process is termed as "direct addressing" and LUTs differ from hash tables in a way that, to retrieve a value v wi ...
for the number of elements (such as edges and corners) within a
polytope
In elementary geometry, a polytope is a geometric object with flat sides (''faces''). Polytopes are the generalization of three-dimensional polyhedra to any number of dimensions. Polytopes may exist in any general number of dimensions as an -d ...
(such as a triangle, a tetrahedron, a square, or a cube).
Number of elements of simplices
Let's begin by considering the 3rd line of Pascal's triangle, with values 1, 3, 3, 1. A 2-dimensional triangle has one 2-dimensional element (itself), three 1-dimensional elements (lines, or edges), and three 0-dimensional elements (
vertices, or corners). The meaning of the final number (1) is more difficult to explain (but see below). Continuing with our example, a
tetrahedron
In geometry, a tetrahedron (plural: tetrahedra or tetrahedrons), also known as a triangular pyramid, is a polyhedron composed of four triangular faces, six straight edges, and four vertex corners. The tetrahedron is the simplest of all the o ...
has one 3-dimensional element (itself), four 2-dimensional elements (faces), six 1-dimensional elements (edges), and four 0-dimensional elements (vertices). Adding the final 1 again, these values correspond to the 4th row of the triangle (1, 4, 6, 4, 1). Line 1 corresponds to a point, and Line 2 corresponds to a line segment (dyad). This pattern continues to arbitrarily high-dimensioned hyper-tetrahedrons (known as
simplices
In geometry, a simplex (plural: simplexes or simplices) is a generalization of the notion of a triangle or tetrahedron to arbitrary dimensions. The simplex is so-named because it represents the simplest possible polytope in any given dimension. ...
).
To understand why this pattern exists, one must first understand that the process of building an ''n''-simplex from an -simplex consists of simply adding a new vertex to the latter, positioned such that this new vertex lies outside of the space of the original simplex, and connecting it to all original vertices. As an example, consider the case of building a tetrahedron from a triangle, the latter of whose elements are enumerated by row 3 of Pascal's triangle: 1 face, 3 edges, and 3 vertices. To build a tetrahedron from a triangle, we position a new vertex above the plane of the triangle and connect this vertex to all three vertices of the original triangle.
The number of a given dimensional element in the tetrahedron is now the sum of two numbers: first the number of that element found in the original triangle, plus the number of new elements, ''each of which is built upon elements of one fewer dimension from the original triangle''. Thus, in the tetrahedron, the number of
cells
Cell most often refers to:
* Cell (biology), the functional basic unit of life
Cell may also refer to:
Locations
* Monastic cell, a small room, hut, or cave in which a religious recluse lives, alternatively the small precursor of a monastery w ...
(polyhedral elements) is ; the number of faces is the number of edges is the number of new vertices is . This process of summing the number of elements of a given dimension to those of one fewer dimension to arrive at the number of the former found in the next higher simplex is equivalent to the process of summing two adjacent numbers in a row of Pascal's triangle to yield the number below. Thus, the meaning of the final number (1) in a row of Pascal's triangle becomes understood as representing the new vertex that is to be added to the simplex represented by that row to yield the next higher simplex represented by the next row. This new vertex is joined to every element in the original simplex to yield a new element of one higher dimension in the new simplex, and this is the origin of the pattern found to be identical to that seen in Pascal's triangle.
Number of elements of hypercubes
A similar pattern is observed relating to
squares
In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90-degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length adj ...
, as opposed to triangles. To find the pattern, one must construct an analog to Pascal's triangle, whose entries are the coefficients of , instead of . There are a couple ways to do this. The simpler is to begin with Row 0 = 1 and Row 1 = 1, 2. Proceed to construct the analog triangles according to the following rule:
:
That is, choose a pair of numbers according to the rules of Pascal's triangle, but double the one on the left before adding. This results in:
:
The other way of producing this triangle is to start with Pascal's triangle and multiply each entry by 2
k, where k is the position in the row of the given number. For example, the 2nd value in row 4 of Pascal's triangle is 6 (the slope of 1s corresponds to the zeroth entry in each row). To get the value that resides in the corresponding position in the analog triangle, multiply 6 by . Now that the analog triangle has been constructed, the number of elements of any dimension that compose an arbitrarily dimensioned
cube
In geometry, a cube is a three-dimensional solid object bounded by six square faces, facets or sides, with three meeting at each vertex. Viewed from a corner it is a hexagon and its net is usually depicted as a cross.
The cube is the only r ...
(called a
hypercube
In geometry, a hypercube is an ''n''-dimensional analogue of a square () and a cube (). It is a closed, compact, convex figure whose 1- skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, ...
) can be read from the table in a way analogous to Pascal's triangle. For example, the number of 2-dimensional elements in a 2-dimensional cube (a square) is one, the number of 1-dimensional elements (sides, or lines) is 4, and the number of 0-dimensional elements (points, or vertices) is 4. This matches the 2nd row of the table (1, 4, 4). A cube has 1 cube, 6 faces, 12 edges, and 8 vertices, which corresponds to the next line of the analog triangle (1, 6, 12, 8). This pattern continues indefinitely.
To understand why this pattern exists, first recognize that the construction of an ''n''-cube from an -cube is done by simply duplicating the original figure and displacing it some distance (for a regular ''n''-cube, the edge length)
orthogonal
In mathematics, orthogonality is the generalization of the geometric notion of ''perpendicularity''.
By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
to the space of the original figure, then connecting each vertex of the new figure to its corresponding vertex of the original. This initial duplication process is the reason why, to enumerate the dimensional elements of an ''n''-cube, one must double the first of a pair of numbers in a row of this analog of Pascal's triangle before summing to yield the number below. The initial doubling thus yields the number of "original" elements to be found in the next higher ''n''-cube and, as before, new elements are built upon those of one fewer dimension (edges upon vertices, faces upon edges, etc.). Again, the last number of a row represents the number of new vertices to be added to generate the next higher ''n''-cube.
In this triangle, the sum of the elements of row ''m'' is equal to 3
''m''. Again, to use the elements of row 4 as an example: , which is equal to
.
Counting vertices in a cube by distance
Each row of Pascal's triangle gives the number of vertices at each distance from a fixed vertex in an ''n''-dimensional cube. For example, in three dimensions, the third row (1 3 3 1) corresponds to the usual three-dimensional
cube
In geometry, a cube is a three-dimensional solid object bounded by six square faces, facets or sides, with three meeting at each vertex. Viewed from a corner it is a hexagon and its net is usually depicted as a cross.
The cube is the only r ...
: fixing a vertex ''V'', there is one vertex at distance 0 from ''V'' (that is, ''V'' itself), three vertices at distance 1, three vertices at distance and one vertex at distance (the vertex opposite ''V''). The second row corresponds to a square, while larger-numbered rows correspond to
hypercube
In geometry, a hypercube is an ''n''-dimensional analogue of a square () and a cube (). It is a closed, compact, convex figure whose 1- skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, ...
s in each dimension.
Fourier transform of sin(''x'')''n''+1/''x''
As stated previously, the coefficients of (''x'' + 1)
''n'' are the nth row of the triangle. Now the coefficients of (''x'' − 1)
''n'' are the same, except that the sign alternates from +1 to −1 and back again. After suitable normalization, the same pattern of numbers occurs in the
Fourier transform
A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
of sin(''x'')
''n''+1/''x''. More precisely: if ''n'' is even, take the
real part
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form a ...
of the transform, and if ''n'' is odd, take the
imaginary part
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
. Then the result is a
step function, whose values (suitably normalized) are given by the ''n''th row of the triangle with alternating signs. For example, the values of the step function that results from:
:
compose the 4th row of the triangle, with alternating signs. This is a generalization of the following basic result (often used in
electrical engineering
Electrical engineering is an engineering discipline concerned with the study, design, and application of equipment, devices, and systems which use electricity, electronics, and electromagnetism. It emerged as an identifiable occupation in the l ...
):
:
is the
boxcar function
In mathematics, a boxcar function is any function which is zero over the entire
real line except for a single interval where it is equal to a constant, ''A''. The boxcar function can be expressed in terms of the uniform distribution as
\operatorn ...
.
[.] The corresponding row of the triangle is row 0, which consists of just the number 1.
If n is
congruent to 2 or to 3 mod 4, then the signs start with −1. In fact, the sequence of the (normalized) first terms corresponds to the powers of
i, which cycle around the intersection of the axes with the unit circle in the complex plane:
Extensions
To higher dimensions
Pascal's triangle has higher
dimension
In physics and mathematics, the dimension of a Space (mathematics), mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any Point (geometry), point within it. Thus, a Line (geometry), lin ...
al generalizations. The three-dimensional version is known as ''
Pascal's pyramid'' or ''Pascal's tetrahedron'', while the general versions are known as ''
Pascal's simplices''.
Negative-numbered rows
Pascal's triangle can be extended to negative row numbers.
First write the triangle in the following form:
Next, extend the column of 1s upwards:
Now the rule:
:
can be rearranged to:
:
which allows calculation of the other entries for negative rows:
This extension preserves the property that the values in the ''m''th column viewed as a function of ''n'' are fit by an order ''m'' polynomial, namely
:
.
This extension also preserves the property that the values in the ''n''th row correspond to the coefficients of (1 + ''x'')
''n'':
:
For example:
:
When viewed as a series, the rows of negative ''n'' diverge. However, they are still
Abel summable, which summation gives the standard values of 2
''n''. (In fact, the ''n'' = -1 row results in
Grandi's series which "sums" to 1/2, and the ''n'' = -2 row results in
another well-known series which has an Abel sum of 1/4.)
Another option for extending Pascal's triangle to negative rows comes from extending the ''other'' line of 1s:
Applying the same rule as before leads to
This extension also has the properties that just as
:
we have
:
Also, just as summing along the lower-left to upper-right diagonals of the Pascal matrix yields the
Fibonacci numbers, this second type of extension still sums to the Fibonacci numbers for negative index.
Either of these extensions can be reached if we define
:
and take certain limits of the
gamma function
In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
,
.
See also
*
Bean machine, Francis Galton's "quincunx"
*
Bell triangle
In mathematics, the Bell triangle is a triangle of numbers analogous to Pascal's triangle, whose values count partitions of a set in which a given element is the largest singleton. It is named for its close connection to the Bell numbers, which may ...
*
Bernoulli's triangle
*
Binomial expansion
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
*
Euler triangle
In combinatorics, the Eulerian number ''A''(''n'', ''m'') is the number of permutations of the numbers 1 to ''n'' in which exactly ''m'' elements are greater than the previous element (permutations with ''m'' "ascents"). They are the coefficien ...
*
Floyd's triangle
Floyd's triangle is a triangular array of natural numbers used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner:
T ...
*
Gaussian binomial coefficient
In mathematics, the Gaussian binomial coefficients (also called Gaussian coefficients, Gaussian polynomials, or ''q''-binomial coefficients) are ''q''-analogs of the binomial coefficients. The Gaussian binomial coefficient, written as \binom nk ...
*
Hockey-stick identity
In combinatorial mathematics, the identity
: \sum^n_= \qquad \text n,r\in\mathbb, \quad n\geq r
or equivalently, the mirror-image by the substitution j\to i-r:
: \sum^_=\sum^_= \qquad \text n,r\in\mathbb, \quad n\geq r
is known as the hockey ...
*
Leibniz harmonic triangle The Leibniz harmonic triangle is a triangular arrangement of unit fractions in which the outermost diagonals consist of the reciprocals of the row numbers and each inner cell is the cell diagonally above and to the left minus the cell to the left. T ...
*
Multiplicities of entries in Pascal's triangle
Singmaster's conjecture is a conjecture in combinatorial number theory, named after the British mathematician David Singmaster who proposed it in 1971. It says that there is a finite upper bound on the multiplicities of entries in Pascal's triangle ...
(Singmaster's conjecture)
*
Pascal matrix
In mathematics, particularly matrix theory and combinatorics, a Pascal matrix is a matrix (possibly infinite) containing the binomial coefficients as its elements. It is thus an encoding of Pascal's triangle in matrix form. There are three natural ...
*
Pascal's pyramid
*
Pascal's simplex
*
Proton NMR, one application of Pascal's triangle
*
Star of David theorem
The Star of David theorem is a mathematical result on arithmetic properties of binomial coefficients. It was discovered by Henry W. Gould in 1972.
Statement
The greatest common divisors of the binomial coefficients forming each of the two tr ...
*
Trinomial expansion
In mathematics, a trinomial expansion is the expansion of a power of a sum of three terms into monomials. The expansion is given by
:(a+b+c)^n = \sum_ \, a^i \, b^ \;\! c^k,
where is a nonnegative integer and the sum is taken over all combinat ...
*
Trinomial triangle The trinomial triangle is a variation of Pascal's triangle. The difference between the two is that an entry in the trinomial triangle is the sum of the ''three'' (rather than the ''two'' in Pascal's triangle) entries above it:
\begin
& & & & 1\ ...
*
References
External links
*
*
The Old Method Chart of the Seven Multiplying Squares''(from the Ssu Yuan Yü Chien of Chu Shi-Chieh, 1303, depicting the first nine rows of Pascal's triangle)''
Pascal's Treatise on the Arithmetic Triangle''(page images of Pascal's treatise, 1654
summary''
{{DEFAULTSORT:Pascal's triangle
Factorial and binomial topics
Blaise Pascal
Triangles of numbers