Combinatorics

From Free net encyclopedia

(Redirected from Combinatorial)

Combinatorics is a branch of mathematics that studies collections (usually finite) of objects that satisfy specified criteria. In particular, it is concerned with "counting" the objects in those collections (enumerative combinatorics), with deciding when the criteria can be met, with constructing and analyzing objects meeting the criteria (as in combinatorial designs and matroid theory), with finding "largest", "smallest", or "optimal" objects (extremal combinatorics and combinatorial optimization), and with finding algebraic structures these objects may have (algebraic combinatorics).

Contents

Overview and history

Combinatorics is as much about problem solving as theory building, though it has developed powerful theoretical methods, especially since the later twentieth century. One of the oldest and most accessible part of combinatorics is graph theory which is now connected to other areas.

An example of a combinatorial question is the following: What is the number of possible orderings of a deck of 52 playing cards? That number equals 52! (fifty-two factorial). It may seem surprising that this number, about 8.065817517094 × 1067, is so large — more than 8 followed by 67 zeros. Comparing that number to some other large numbers, it is greater than the square of Avogadro's number, 6.022 × 1023.

An example of another kind is this problem: Given a certain number n of people, is it possible to assign them to sets so that each person is in at least one set, each pair of people are in exactly one set together, every two sets have exactly one person in common, and no set contains all or all but one of the people? The answer depends on n and is only partially known to this day. See "Design theory" below for a partial answer.

The earliest recorded statements of combinatorical rules appear in India. The medical treatise Sushruta Samhita written by Sushruta in the 6th century BC states that 63 combinations can be made out of six different tastes – bitter, sour, salty, sweet, astringent, and hot – by taking them one at a time, two at a time, three at a time, etc. In other words, there are 6 single tastes, 15 combinations of two, 20 combinations of three, etc. The Bhagabati Sutra, written by a Jaina mathematician circa 300 BC, contains rules on combinations and permutations corresponding to

<math>\ C(n,1) = n</math>, <math>C(n,2) = \frac{n(n - 1)}{1\cdot 2}</math>, <math>C(n,3) = \frac{n(n - 1)(n - 2)}{1\cdot 2\cdot 3}</math>

<math>\ P(n,1) = n</math>, <math>\ P(n,2) = n(n - 1)</math>, <math>\ P(n,3) = n(n - 1)(n - 2)</math>

Numbers are calculated in the cases where n = 2, 3 and 4. The author then says that one can compute the numbers in the same way for larger n: "In this way, 5, 6, 7, ..., 10, etc. or an enumerable, unenumerable or infinite number of things may be specified. Taking one at a time, two at a time, ... ten at a time, as the number of combinations are formed they must all be worked out." This suggests that the arithmetic can be extended to various infinite numbers. The relation of the number of combinations to the coefficients occurring in the binomial expansion was noted by Pingala in the 3rd century BC in a musical composition. He gave the different combinations of guru and laghu sounds as a meru-prastara (Pascal's triangle) and gave a rule simpler than that of Pascal, based on the simple formula

<math>\ C(n + 1, r) = C(n, r) + C(n,r - 1)</math>

Varahamihira in the 6th century CE states that "if a quantity of 16 substances is varied in four different ways, the result will be 1820." He found this result using rules related to Pascal's triangle. In the 9th century, Mahavira gave an explicit algorithm for calculating the number of combinations and provided the well-known general formula

<math>C(n,r) = \frac{n(n - 1)(n - 2)\cdots (n - r + 1)}{r!}</math>

Muslim mathematicians later studied combinatorial analysis from at least the 13th century. Ibn Mun'im, in the Maghreb of North Africa in the early 13th century, dealt with combinatory problems. He stated the rule for determining all possible combinations of n coulours p times and established, inductively, the resutling arithmetic triangle of the relationship as

<math>\ C(n,p) = C(n-1, p-1) + C(n-2,p-2) + \dots + C(p-1,p-1)</math>

He applied similar formulae for permutations with and without repititions using the Arabic alphabet for illustrative purposes. He also does some work on combinatorial reasoning.

Persian mathematician Al-Farisi, in the late 13th century, introduced ideas concerning factorisation and combinatorial methods. Al-Farisi's approach is based on the unique factorisation of an integer into powers of prime numbers. He states and proves this fundamental theorem of arithmetic. Al-Farisi saw the relation between polygonal numbers and the binomial coefficients and he presented arguments, using an early form of mathematical induction, which showed a relation between triangular numbers, the sums of triangular numbers, the sums of the sums of triangular number, etc., and the combinations of n objects taken k at a time.

Enumerative combinatorics came to prominence in Europe after counting configurations became essential to elementary probability, starting with the work of Pascal and others from the 17th century. Modern combinatorics began developing in the late 19th century and became a distinguishable field of study in the 20th century, partly through the publication of the systematic enumerative treatise Combinatory Analysis by Percy Alexander MacMahon in 1915 and the work of R.A. Fisher in design of experiments in the 1920s. Two of the most prominent combinatorialists of recent times were the prolific problem-raiser and problem-solver Paul Erdős, who worked mainly on extremal questions, and Gian-Carlo Rota, who helped to formalize the subject beginning in the 1960s, mostly in enumeration and algebraization. The study of how to count objects is sometimes thought of separately as the field of enumeration.

Permutations and combinations

Permutation with repetition


When order matters and an object can be chosen more than once then the number of permutations is:

<math> n^r \,</math>


Where n is the number of objects from which you can choose and r is the number to be chosen.

For example, if you have the letters A, B, C, and D and you wish to discover the number of ways to arrange them in three letter patterns (trigrams) you find that there are 43 or 64 ways. This is because for the first slot you can choose any of the four values, for the second slot you can choose any of the four, and for the final slot you can choose any of the four letters. Multiplying them together gives the total.

Permutation without repetition


When the order matters and each object can be chosen only once, then the number of permutations is:

<math> \frac{n!}{(n-r)!} </math>


Where n is the number of objects from which you can choose, r is the number to be chosen and ! is the standard symbol meaning factorial.

For example, if you have five people and are going to choose three out of these, you will have 5!/(5-3)! = 60 permutations.


Note that if n = r (meaning number of chosen elements is equal to number of elements to choose from) then the formula becomes

<math> \frac{n!}{(n-n)!} = \frac{n!}{0!} = n!</math> when 0! = 1! = 1


For example, if you have three people and you want to find out how many ways you may arrange them it would be 3! or 3 × 2 × 1 = 6 ways. The reason for this is because you can choose from 3 for the initial slot, then you are left with only two to choose from for the second slot, and that leaves only one for the final slot. Multiplying them together gives the total.

Combination without repetition


When the order does not matter, but each object can be chosen only once, the number of combinations is:

<math>{{n!} \over {r!(n - r)!}} = {n \choose r}</math>


Where n is the number of objects from which you can choose and r is the number to be chosen.

For example, if you have ten numbers and wish to choose 5 you would have 10!/5!(10 − 5)! = 252 ways to choose.

Combination with repetition


When the order does not matter and an object can be chosen more than once, then the number of combinations is:

<math>{{(n + r - 1)!} \over {r!(n - 1)!}} = {{n + r - 1} \choose {r}} = {{n + r - 1} \choose {n - 1}}</math>


Where n is the number of objects from which you can choose and r is the number to be chosen.

For example, if you have ten types of donuts to choose from and you want three donuts there are (10 + 3 − 1)! / 3!(10 − 1)! = 220 ways to choose (see also multiset).

Enumerative combinatorics

Calculating the number of ways that certain patterns can be formed is the beginning of combinatorics. Let S be a set with n objects. Combinations of k objects from this set S are subsets of S having k elements each (where the order of listing the elements does not distinguish two subsets). Permutations of k objects from this set S refer to sequences of k different elements of S (where two sequences are considered different if they contain the same elements but in a different order, or if they have a different length). Formulas for the number of permutations and combinations are readily available and important throughout combinatorics.

More generally, given an infinite collection of finite sets {Si} typically indexed by the natural numbers, enumerative combinatorics seeks a variety of ways of describing a counting function, f(n), which counts the number of objects in Sn for any n. Although the activity of counting the number of elements in a set is a rather broad mathematical problem, in a combinatorial problem the elements Si will usually have a relatively simple combinatorial description, and little additional structure.

The simplest such functions are closed formulas, which can be expressed as a composition of simple functions like factorials, powers, and so on. For instance, and as noted above, the number of possible different orderings of a deck of n cards is f(n) = n!.

This approach may not always be entirely satisfactory (or practical). For example, let f(n) be the number of distinct subsets of the integers in the interval [1,n] that do not contain two consecutive integers; e.g., with n = 4, we have the sets {}, {1}, {2}, {3}, {4}, {1,3}, {1,4}, {2,4}, so f(4) = 8. It turns out that f(n) is the n+2nd Fibonacci number, F(n+2), so it can be expressed in closed form as

<math>f(n) = \frac{\phi^{n+2}-(1-\phi)^{n+2}}{\sqrt{5}}</math>

where <math>\phi = (1 + \sqrt 5) / 2</math>, the golden ratio. However, given that we are looking at a counting function, the presence of the <math>\sqrt 5</math> in the result may be considered unaesthetic. As an alternative that shows more clearly why f(n) is a positive integer, f(n) may be expressed by the recurrence relation

<math>f(n) = f(n-1) + f(n-2)</math>

with the initial conditions <math>f(1)=1</math> and <math>f(2)=1</math>.

Another approach is to find an asymptotic formula

<math>f(n) \sim g(n)</math>

where g(n) is a "familiar" function, and where f(n) approaches g(n) as n approaches infinity. In some cases, a simple asymptotic function may be preferable to a horribly complicated closed formula that yields no insight to the behaviour of the counted objects. In the above example, an asymptotic formula would be

<math>f(n) \sim \frac{\phi^{n+2}}{\sqrt{5}}</math>

as n becomes large.

Finally, f(n) may be expressed by a formal power series, called its generating function, which is most commonly either the ordinary generating function

<math>\sum_{n\ge 0} f(n) x^n</math>

or the exponential generating function

<math>\sum_{n \ge 0} f(n) \frac{x^n}{n!}</math>.

Once determined, the generating function may allow one to extract all the information given by the previous approaches. In addition, the various natural operations on generating functions such as addition, multiplication, differentiation, etc., have a combinatorial significance; this allows one to extend results from one combinatorial problem in order to solve others.

Structural combinatorics

There are many combinatorial patterns and theorems related to the structure of combinatoric sets. These often focus on a partition or ordered partition of a set. See the List of partition topics for an expanded list of related topics or the List of combinatorics topics for a more general listing. Some of the more notable results are highlighted below.

Design theory

A simple result in this area of combinatorics is that the problem of forming sets, described in the introduction, has a solution only if n has the form q2 + q + 1. It is less simple to prove that a solution exists if q is a prime power, may exist if q is a sum of two square numbers, but cannot exist for any other positive integer q. This last result, the Bruck-Ryser theorem, is proved by a combination of constructive methods based on finite fields and an application of quadratic forms.

When such a structure does exist, it is called a finite projective plane; thus showing how finite geometry and combinatorics intersect.

Ramsey theory

Frank P. Ramsey proved that, given any group of six people, it is always the case that one can find three people out of this group that either all know each other, or all do not know each other.

The proof is a short proof by contradiction: suppose the claim is false. This means that we can have a group of six people such that whenever we look at any three of the six, there are at least two people among these three that know each other and at least two who do not know each other. Consider now one person among the six; call this person "A." Now, among the remaining five people, there must be at least three who either all know A or all do not know A--this is clear since the negation of one condition immediately implies the other condition. Assume first former condition: that at least three of the remaining five know A. Among those three people, at least two of them must know each other, since otherwise we would have three people who all don't know each other, contrary to our hypothesis. But then we have two people who know each other, and know A, and so these two people, along with A, constitute a group of three people among the six who all know each other. This contradicts our initial hypothesis. Assuming that other condition--that three of the remaining five do not know A--results in a similar contradiction.

This is a special case of Ramsey's theorem.

The idea of finding order in random configurations gives rise to Ramsey theory. Essentially this theory says that any sufficiently large configuration will contain at least one instance of some other type of configuration.

Matroid theory

This part of combinatorics abstracts part of geometry. It studies the properties of sets (usually, finite sets) of vectors in a vector space that do not depend on the particular coefficients in a linear dependence relation. Not only the structure but also enumerative properties belong to matroid theory.

For instance, given a set of n vectors in Euclidean space, what is the largest number of planes they can generate? (Answer: the binomial coefficient C(n,3).) Is there a set that generates exactly one less plane? (No, in almost all cases.) These are extremal questions in geometry.

Extremal combinatorics

Many extremal questions deal with set systems. A simple example is the following: what is the largest number of subsets of an n-element set one can have, if no two of the subsets are disjoint? Answer: half the total number of subsets. Proof: Call the n-element set S. Between any subset T and its complement ST, at most one can be chosen. This proves the maximum number of chosen subsets is not greater than half the number of subsets. To show one can attain half the number, pick one element x of S and choose all the subsets that contain x.

A more difficult problem is to characterize the extremal solutions; in this case, to show that no other choice of subsets can attain the maximum number while satisfying the requirement.

Often it is too hard even to find the extremal answer f(n) exactly and one can only give an asymptotic estimate.

See also

Template:Commons

References

Template:Mathematics-footerda:Kombinatorik de:Kombinatorik et:Kombinatoorika es:Combinatoria eo:Kombinatoriko fr:Combinatoire gl:Combinatoria io:Kombinatoriko is:Talningarfræði it:Calcolo combinatorio he:קומבינטוריקה lt:Kombinatorika hu:Kombinatorika nl:Combinatoriek pl:Kombinatoryka pt:Combinatória ru:Комбинаторика sk:Kombinatorika sv:Kombinatorik th:คณิตศาสตร์เชิงการจัด vi:Toán học tổ hợp zh:组合数学