![Pascal pyramid 3d](https://upload.wikimedia.org/wikipedia/commons/2/22/Pascal_pyramid_3d.svg)
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 pyramid is a three-dimensional arrangement of the trinomial numbers, which are the coefficients of the
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 ...
and the
trinomial distribution
In mathematics, Pascal's pyramid is a three-dimensional arrangement of the trinomial numbers, which are the coefficients of the trinomial expansion and the trinomial distribution. Pascal's pyramid is the three-dimensional analog of the two-dime ...
.
Pascal's pyramid is the three-dimensional analog of the two-dimensional
Pascal's triangle
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Blaise Pascal, although ot ...
, which contains the binomial numbers and relates to the
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 ...
and 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 ...
. The binomial and trinomial numbers, coefficients, expansions, and distributions are subsets of the multinomial constructs with the same names.
Structure of the tetrahedron
Because the
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 ...
is a three-dimensional object, displaying it on a piece of paper, a computer screen or other two-dimensional medium is difficult. Assume the tetrahedron is divided into a number of levels, or floors, or slices, or layers. The top layer (the apex) is labelled "Layer 0". Other layers can be thought of as overhead views of the tetrahedron with the previous layers removed. The first six layers are as follows:
![Pascal pyramid trinomial](https://upload.wikimedia.org/wikipedia/commons/0/09/Pascal_pyramid_trinomial.svg)
The layers of the tetrahedron have been deliberately displayed with the point down so that they are not individually confused with Pascal's triangle.
Overview of the tetrahedron
* There is three-way symmetry of the numbers in each layer.
* The number of terms in the ''n''
th layer is the (''n''+1)
th 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 ...
: .
* The sum of the values of the numbers in the ''n''
th layer is 3
''n''.
* Each number in any layer is the sum of the three adjacent numbers in the layer above.
* Each number in any layer is a simple whole number ratio of the adjacent numbers in the same layer.
* Each number in any layer is a coefficient of the trinomial distribution and the trinomial expansion. This non-linear arrangement makes it easier to:
** display the trinomial expansion in a coherent way;
** compute the coefficients of the trinomial distribution;
** calculate the numbers of any tetrahedron layer.
* The numbers along the three edges of the ''n''
th layer are the numbers of the ''n''
th line of Pascal's triangle. And almost all the properties listed above have parallels with Pascal's triangle and multinomial coefficients.
Trinomial expansion connection
The numbers of the tetrahedron are derived from the
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 ...
. The ''n''
th layer is the detached coefficient matrix (no variables or exponents) of a trinomial expression (e.g.: ''A + B + C'') raised to the ''n''
th power. The nth power of the trinomial is expanded by repeatedly multiplying the trinomial by itself:
Each term in the first expression is multiplied by each term in the second expression; and then the coefficients of like terms (same variables and exponents) are added together. Here is the expansion of (''A + B + C'')
4:
Writing the expansion in this non-linear way shows the expansion in a more understandable way. It also makes the connection with the tetrahedron obvious−the coefficients here match those of layer 4. All the implicit coefficients, variables, and exponents, which are normally not written, are also shown to illustrate another relationship with the tetrahedron. (Usually, "1''A''" is "''A''"; "''B''
1" is "''B''"; and "''C''
0" is "1"; etc.) The exponents of each term sum to the layer number (''n''), or 4, in this case. More significantly, the value of the coefficients of each term can be computed directly from the exponents. The formula is: , where ''x, y, z'' are the exponents of ''A, B, C,'' respectively, and "!" means factorial (e.g.: ). The exponent formulas for the 4th layer are:
The exponents of each expansion term can be clearly seen and these formulae simplify to the expansion coefficients and the tetrahedron coefficients of layer 4.
Trinomial distribution connection
The numbers of the tetrahedron can also be found in the trinomial distribution. This is a discrete probability distribution used to determine the chance some combination of events occurs given three possible outcomes−the number of ways the events could occur is multiplied by the probabilities that they would occur. The formula for the trinomial distribution is:
where ''x, y, z'' are the number of times each of the three outcomes does occur; ''n'' is the number of trials and equals the sum of ''x+y+z''; and ''P''
A, ''P''
B, ''P''
C are the probabilities that each of the three events could occur.
For example, in a three-way election, the candidates got these votes: A, 16%; B, 30%; C, 54%. What is the chance that a randomly selected four-person focus group would contain the following voters: 1 for A, 1 for B, 2 for C? The answer is:
The number 12 is the coefficient of this probability and it is number of combinations that can fill this "112" focus group. There are 15 different arrangements of four-person focus groups that can be selected. Expressions for all 15 of these coefficients are:
The numerator of these fractions (above the line) is the same for all expressions. It is the sample size−a four-person group−and indicates that the coefficients of these arrangements can be found on layer 4 of the tetrahedron. The three numbers of the denominator (below the line) are the number of the focus group members that voted for A, B, C, respectively.
Shorthand is normally used to express combinatorial functions in the following "choose" format (which is read as "4 choose 4, 0, 0", etc.).
But the value of these expression is still equal to the coefficients of the 4th layer of the tetrahedron. And they can be generalized to any layer by changing the sample size (''n'').
This notation makes an easy way to express the sum of all the coefficients of layer ''n'':
.
Addition of coefficients between layers
The numbers on every layer (''n'') of the tetrahedron are the sum of the three adjacent numbers in the layer (''n''−1) "above" it. This relationship is rather difficult to see without intermingling the layers. Below are ''italic'' layer 3 numbers interleaved among bold layer 4 numbers:
The relationship is illustrated by the lower, central number 12 of the 4th layer. It is "surrounded" by three numbers of the 3rd layer: 6 to the "north", 3 to the "southwest", 3 to the "southeast". (The numbers along the edge have only two adjacent numbers in the layer "above" and the three corner numbers have only one adjacent number in the layer above, which is why they are always "1". The missing numbers can be assumed as "0", so there is no loss of generality.) This relationship between adjacent layers comes about through the two-step trinomial expansion process.
Continuing with this example, in Step 1, each term of (''A'' + ''B'' + ''C'')
3 is multiplied by each term of (''A'' + ''B'' + ''C'')
1. Only three of these multiplications are of interest in this example:
(The multiplication of like variables causes the addition of exponents; e.g.: ''D''
1 × ''D''
2 = ''D''
3.)
Then, in Step 2, the summation of like terms (same variables and exponents) results in: 12''A''
1''B''
2''C''
1, which is the term of (''A'' + ''B'' + ''C'')
4; while 12 is the coefficient of the 4th layer of the tetrahedron.
Symbolically, the additive relation can be expressed as:
:
where C(''x,y,z'') is the coefficient of the term with exponents ''x, y, z'' and is the layer of the tetrahedron.
This relationship will work only if the trinomial expansion is laid out in the non-linear fashion as it is portrayed in the section on the "trinomial expansion connection".
Ratio between coefficients of same layer
On each layer of the tetrahedron, the numbers are simple whole number ratios of the adjacent numbers. This relationship is illustrated for horizontally adjacent pairs on the 4th layer by the following:
Because the tetrahedron has three-way symmetry, the ratio relation also holds for diagonal pairs (in both directions), as well as for the horizontal pairs shown.
The ratios are controlled by the exponents of the corresponding adjacent terms of the trinomial expansion. For example, one ratio in the illustration above is:
4 12
The corresponding terms of the trinomial expansion are:
The following rules apply to the coefficients of all adjacent pairs of terms of the trinomial expansion:
* The exponent of one of the variables remains unchanged (''B'' in this case) and can be ignored.
* For the other two variables, one exponent increases by 1 and one exponent decreases by 1.
** The exponents of ''A'' are 3 and 2 (the larger being in the left term).
** The exponents of ''C'' are 0 and 1 (the larger being in the right term).
* The coefficients and larger exponents are related:
** 4 × 3 = 12 × 1
** 4 / 12 = 1 / 3
* These equations yield the ratio: "1:3".
The rules are the same for all horizontal and diagonal pairs. The variables ''A, B, C'' will change.
This ratio relationship provides another (somewhat cumbersome) way to calculate tetrahedron coefficients:
:The coefficient of the adjacent term equals the coefficient of the current term multiplied by the current-term exponent of the decreasing variable divided by the adjacent-term exponent of the increasing variable.
The ratio of the adjacent coefficients may be a little clearer when expressed symbolically. Each term can have up to six adjacent terms:
:For ''x'' = 0:
:For ''y'' = 0: ''
''
:For ''z'' = 0: ''
''
where C(''x,y,z'') is the coefficient and ''x, y, z'' are the exponents. In the days before pocket calculators and personal computers, this approach was used as a school-boy short-cut to write out binomial expansions without tedious algebraic expansions or clumsy factorial computations.
This relationship will work only if the trinomial expansion is laid out in the non-linear fashion as it is portrayed in the section on the "trinomial expansion connection".
Relationship with Pascal's triangle
It is well known that the numbers along the three outside edges of the ''n''
th layer of the tetrahedron are the same numbers as the ''n''
th line of Pascal's triangle. However, the connection is actually much more extensive than just one row of numbers. This relationship is best illustrated by comparing Pascal's triangle down to line 4 with layer 4 of the tetrahedron.
Multiplying the numbers of each line of Pascal's triangle down to the ''n''
th line by the numbers of the ''n''
th line generates the ''n''
th layer of the tetrahedron. In the following example, the lines of Pascal's triangle are in ''italic'' font and the rows of the tetrahedron are in bold font.
The multipliers (1 4 6 4 1) compose line 4 of Pascal's triangle.
This relationship demonstrates the fastest and easiest way to compute the numbers for any layer of the tetrahedron without computing factorials, which quickly become huge numbers. (Extended precision calculators become very slow beyond tetrahedron layer 200.)
If the coefficients of Pascal's triangle are labeled C(''i,j'') and the coefficients of the tetrahedron are labeled C(''n,i,j''), where ''n'' is the layer of the tetrahedron, ''i'' is the row, and ''j'' is the column, then the relation can be expressed symbolically as:
:
t is important to understand that ''i, j, n'' are not exponents here, just sequential labeling indexes.
Parallels to Pascal's triangle and multinomial coefficients
This table summarizes the properties of the trinomial expansion and the trinomial distribution, and it compares them to the binomial and multinomial expansions and distributions:
* A simplex is the simplest linear geometric form that exists in any dimension. Tetrahedra and triangles are examples in 3 and 2 dimensions, respectively.
* The formula for the binomial coefficient is usually expressed as: ''n''! / (''x''! × (''n''−''x'')!); where ''n''−''x'' = ''y''.
Other properties
Exponentional construction
Arbitrary layer ''n'' can be obtained in a single step using the following formula:
:
where ''b'' is the radix and ''d'' is the number of digits of any of the
central multinomial coefficients, that is
:
then wrapping the digits of its result by ''d''(''n''+1), spacing by ''d'' and removing leading zeros.
This method generalised to arbitrary dimension can be used to obtain slices of any
Pascal's simplex
In mathematics, Pascal's simplex is a generalisation of Pascal's triangle into arbitrary number of dimensions, based on the multinomial theorem.
Generic Pascal's ''m''-simplex
Let ''m'' (''m'' > 0) be a number of terms of a polynomial and ''n'' ...
.
Examples
For radix ''b'' = 10, ''n'' = 5, ''d'' = 2:
:
= 1000000000101
5
= 1000000000505000000102010000010303010000520302005010510100501
1 1 1
000000000505 00 00 00 00 05 05 .. .. .. .. .5 .5
000000102010 00 00 00 10 20 10 .. .. .. 10 20 10
~ 000010303010 ~ 00 00 10 30 30 10 ~ .. .. 10 30 30 10
000520302005 00 05 20 30 20 05 .. .5 20 30 20 .5
010510100501 01 05 10 10 05 01 .1 .5 10 10 .5 .1
wrapped by d(n+1) spaced by d leading zeros removed
For radix ''b'' = 10, ''n'' = 20, ''d'' = 9:
:
Sum of coefficients of a layer by rows
Summing the numbers in each row of a layer ''n'' of Pascal's pyramid gives
:
where ''b'' is the
radix
In a positional numeral system, the radix or base is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is t ...
and ''d'' is the number of digits of the sum of the 'central' row (the one with the greatest sum).
For radix ''b'' = 10:
1 ~ 1 \ 1 ~ 1 \ 1 ~ 1 \ 1 ~ 1 \ 1 ~ 1
--- 1 \ 1 ~ 02 \ 2 \ 2 ~ 04 \ 3 \ 3 ~ 06 \ 4 \ 4 ~ 08
1 ----- 1 \ 2 \ 1 ~ 04 \ 3 \ 6 \ 3 ~ 12 \ 6 \12 \ 6 ~ 24
1 02 --------- 1 \ 3 \ 3 \ 1 ~ 08 \ 4 \12 \12 \ 4 ~ 32
1 04 04 ------------- 1 \ 4 \ 6 \ 4 \ 1 ~ 16
1 06 12 08 ------------------
1 08 24 32 16
102
0 102
1 102
2 102
3 102
4
Sum of coefficients of a layer by columns
Summing the numbers in each column of a layer ''n'' of Pascal's pyramid gives
:
where ''b'' is the
radix
In a positional numeral system, the radix or base is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is t ...
and ''d'' is the number of digits of the sum of the 'central' column (the one with the greatest sum).
For radix ''b'' = 10:
1 , 1, , 1, , 1, , 1, , 1,
--- 1, , 1 , 2, , 2, , 3, , 3, , 4, , 4, , 5, , 5,
1 ----- 1, , 2, , 1 , 3, , 6, , 3, , 6, , 12, , 6, , 10, , 20, , 10,
1 1 1 --------- 1, , 3, , 3, , 1 , 4, , 12, , 12, , 4, , 10, , 30, , 30, , 10,
1 2 3 2 1 ------------- 1, , 4, , 6, , 4, , 1 , 5, , 20, , 30, , 20, , 5,
1 3 6 7 6 3 1 -------------------------- 1, , 5, , 10, , 10, , 5, , 1
1 04 10 16 19 16 10 04 01 --------------------------------
1 05 15 30 45 51 45 30 15 05 01
111
0 111
1 111
2 111
3 10101
4 10101
5
Usage
In genetics, it is common to use Pascal's pyramid to find out the proportion between different
genotypes
The genotype of an organism is its complete set of genetic material. Genotype can also be used to refer to the alleles or variants an individual carries in a particular gene or genetic location. The number of alleles an individual can have in a ...
on the same crossing. This is done by checking the line that is equivalent to the number of
phenotype
In genetics, the phenotype () is the set of observable characteristics or traits of an organism. The term covers the organism's morphology or physical form and structure, its developmental processes, its biochemical and physiological proper ...
s (genotypes + 1). That line will be the proportion.
See also
*
Multinomial theorem
In mathematics, the multinomial theorem describes how to expand a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem from binomials to multinomials.
Theorem
For any positive integer an ...
*
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 ...
*
Pascal's triangle
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Blaise Pascal, although ot ...
*
Pascal's simplex
In mathematics, Pascal's simplex is a generalisation of Pascal's triangle into arbitrary number of dimensions, based on the multinomial theorem.
Generic Pascal's ''m''-simplex
Let ''m'' (''m'' > 0) be a number of terms of a polynomial and ''n'' ...
References
{{Reflist
External links
Beyond Flatland: Geometry for the 21st century. PART I: Pascal's Tetrahedron
Factorial and binomial topics
Triangles of numbers
Blaise Pascal