Remineralisation: Difference between revisions
en>Vsmith shift |
en>Bility |
||
Line 1: | Line 1: | ||
'''Enumerative combinatorics''' is an area of [[combinatorics]] that deals with the number of ways that certain patterns can be formed. Two examples of this type of problem are counting [[combinations]] and counting [[permutations]]. More generally, given an infinite collection of finite sets {''S''<sub>''i''</sub>} indexed by the [[natural number]]s, enumerative combinatorics seeks to describe a ''counting function'' which counts the number of objects in ''S''<sub>''n''</sub> for each ''n''. Although counting the number of elements in a set is a rather broad [[mathematical problem]], many of the problems that arise in applications have a relatively simple [[combinatorial]] description. The [[twelvefold way]] provides a unified framework for counting [[permutations]], [[combinations]] and [[Partition of a set|partitions]]. | |||
The simplest such functions are ''[[closed formula]]s'', which can be expressed as a composition of elementary functions such as [[factorial]]s, powers, and so on. For instance, as shown below, the number of different possible orderings of a deck of ''n'' cards is ''f''(''n'') = ''n''!. Often, no closed form is initially available. In these cases, we frequently first derive a [[recurrence relation]], then solve the recurrence to arrive at the desired closed form. | |||
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 1} f(n) x^n</math> | |||
or the [[exponential generating function]] | |||
:<math>\sum_{n \ge 1} f(n) \frac{x^n}{n!}.</math> | |||
Often, a complicated closed formula yields little insight into the behavior of the counting function as the number of counted objects grows. | |||
In these cases, a simple [[Asymptotic analysis|asymptotic]] approximation may be preferable. A function <math>g(n)</math> is an asymptotic approximation to <math>f(n)</math> if <math>f(n)/g(n)\rightarrow 1</math> as <math>n\rightarrow \infty</math>. In this case, we write <math>f(n) \sim g(n).\,</math> | |||
Once determined, the generating function yields 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. | |||
==Generating functions== | |||
Generating functions are used to describe families of combinatorial objects. Let <math>\mathcal{F}</math> denote the family of objects and let ''F''(''x'') be its generating function. Then: | |||
:<math>F(x) = \sum^{\infty}_{n=0}f_nx^n</math> | |||
Where <math>f_n</math> denotes the number of combinatorial objects of size ''n''. The number of combinatorial objects of size ''n'' is therefore given by the coefficient of <math>x^n</math>. Some common operation on families of combinatorial objects and its effect on the generating function will now be developed. | |||
The exponential generating function is also sometimes used. In this case it would have the form: | |||
:<math>F(x) = \sum^{\infty}_{n=0}\frac{f_n}{n!}x^n</math> | |||
===Union=== | |||
Given two combinatorial families, <math>\mathcal{F}</math> and <math>\mathcal{G}</math> with generating functions ''F''(''x'') and ''G''(''x'') respectively, the union of the two families (<math>\mathcal{F} \cup \mathcal{G}</math>) has generating function ''F''(''x'') + ''G''(''x''). | |||
===Pairs=== | |||
For two combinatorial families as above the Cartesian product (pair) of the two families (<math>\mathcal{F} \times \mathcal{G}</math>) has generating function ''F''(''x'')''G''(''x''). | |||
===Sequences=== | |||
A sequence generalizes the idea of the pair as defined above. Sequences are arbitrary Cartesian products of a combinatorial object with itself. Formally: | |||
:<math>\mbox{Seq}(\mathcal{F}) = \epsilon\ \cup\ \mathcal{F} \ \cup\ \mathcal{F} \times \mathcal{F} \ \cup\ \mathcal{F} \times \mathcal{F} \times \mathcal{F}\ \cup \cdots</math> | |||
To put the above in words: An empty sequence or a sequence of one element or a sequence of two elements or a sequence of three elements, etc. | |||
The generating function would be: | |||
:<math>1+F(x) + [F(x)]^2 + [F(x)]^3 + \cdots = \frac{1}{1-F(x)}</math> | |||
==Combinatorial structures== | |||
The above operations can now be used to enumerate common combinatorial objects including trees (binary and plane), [[Dyck path]]s and cycles. A combinatorial structure is composed of atoms. For example, with trees the atoms would be the nodes. The atoms which compose the object can either be labeled or unlabeled. Unlabeled atoms are indistinguishable from each other, while labelled atoms are distinct. Therefore, for a combinatorial object consisting of labeled atoms a new object can be formed by simply swapping two or more atoms. | |||
===Binary and plane trees=== | |||
Binary and plane [[tree (mathematics)|tree]]s are examples of an unlabeled combinatorial structure. Trees consist of nodes linked by edges in such a way that there are no cycles. There is generally a node called the root, which has no parent node. In Plane trees each node can have an arbitrary number of children. In binary trees, a special case of plane trees, each node can have either two or no children. Let <math>\mathcal{P}</math> denote the family of all plane trees. Then this family can be recursively defined as follows: | |||
:<math>\mathcal{P} = \{\bullet\} \times \mbox{Seq}(\mathcal{P})</math> | |||
In this case <math>\{\bullet\}</math> represents the family of objects consisting of one node. This has generating function ''x''. Let ''P''(''x'') denote the generating function <math>\mathcal{P}</math> | |||
Putting the above description in words: A plane tree consists of a node to which is attached an arbitrary number of subtrees, each of which is also a plane tree. Using the operation on families of combinatorial structures developed earlier this translates to a recursive generating function: | |||
:<math>P(x) = x\frac{1}{1-P(x)}</math> | |||
After solving for ''P''(''x''): | |||
:<math>P(x) = \frac{1-\sqrt{1-4x}}{2}</math> | |||
An explicit formula for the number of plane trees of size ''n'' can now be determined by extracting the coefficient of ''x''<sup>''n''</sup>. | |||
: <math> | |||
\begin{align} | |||
p_n & = [x^n] P(x) = [x^n] \frac{1-\sqrt{1-4x}}{2} \\[6pt] | |||
& = [x^n] \frac{1}{2} - [x^n] \frac{1}{2} \sqrt{1-4x} \\[6pt] | |||
& = -\frac{1}{2} [x^n] \sum^{\infty}_{k=0} {\frac{1}{2} \choose k} (-4x)^k \\[6pt] | |||
& = -\frac{1}{2} {\frac{1}{2} \choose n} (-4)^n \\[6pt] | |||
& = \frac{1}{n} {2n-2 \choose n-1} | |||
\end{align} | |||
</math> | |||
Note: The notation [''x''<sup>''n''</sup>] ''f''(''x'') refers to the coefficient of ''x''<sup>''n''</sup> in ''f''(''x''). | |||
The series expansion of the square root is based on Newton's generalization of the [[Binomial theorem#Newton's generalised binomial theorem|binomial theorem]]. To get from the fourth to fifth line manipulations using the [[Binomial coefficient#Generalization and connection to the binomial series|generalized binomial coefficient]] is needed. | |||
The expression on the last line is equal to the (''n'' − 1)<sup>th</sup> [[Catalan number]]. Therefore ''p''<sub>''n''</sub> = ''c''<sub>''n''−1</sub>. | |||
== See also == | |||
* [[Combinatorial principles]] | |||
* [[Algebraic combinatorics]] | |||
* [[Asymptotic combinatorics]] | |||
* [[Combinatorial explosion]] | |||
* [[Inclusion-exclusion principle]] | |||
* [[Method of distinguished element]] | |||
* [[Combinatorial species]] | |||
* [[Sieve theory]] | |||
* [[Pólya enumeration theorem]] | |||
==References== | |||
* [[Doron Zeilberger|Zeilberger, D.]], [http://www.math.rutgers.edu/~zeilberg/mamarim/mamarimPDF/enuPCM.pdf Enumerative and Algebraic Combinatorics] | |||
* Bjorner, A. and [[Richard P. Stanley|Stanley, R. P.]], [http://www-math.mit.edu/~rstan/papers/comb.pdf ''A Combinatorial Miscellany''] | |||
* Graham, R.L., Groetschel M., and Lovász L., eds. (1996). ''Handbook of Combinatorics'', Volumes 1 and 2. Elsevier (North-Holland), Amsterdam, and MIT Press, Cambridge, Mass. ISBN 0-262-07169-X. | |||
* {{cite book |last=Joseph |first=George Gheverghese |title=The Crest of the Peacock: Non-European Roots of Mathematics |edition=2nd Edition |publisher=[[Penguin Books]] |location=London |isbn=0-14-012529-9 |origyear=1991 |year=1994 }} | |||
* Loehr, Nicholas A. (2011). [http://www.math.vt.edu/people/nloehr/bijbook.html Bijective Combinatorics]. [http://www.crcpress.com CRC Press]. ISBN 143984884X, ISBN 978-1439848845. | |||
* [[Richard P. Stanley|Stanley, Richard P.]] (1997, 1999). [http://www-math.mit.edu/~rstan/ec/ ''Enumerative Combinatorics'', Volumes 1 and 2]. [[Cambridge University Press]]. ISBN 0-521-55309-1, ISBN 0-521-56069-1. | |||
* [http://encyclopedia.jrank.org/CLI_COM/COMBINATORIAL_ANALYSIS.html Combinatorial Analysis] – an article in [[Encyclopædia Britannica Eleventh Edition]] | |||
* [[John Riordan (mathematician)|Riordan, John]] (1958). ''An Introduction to Combinatorial Analysis'', Wiley & Sons, New York (republished). | |||
* Riordan, John (1968). ''Combinatorial identities'', Wiley & Sons, New York (republished). | |||
* {{cite book | last=Wilf | first=Herbert S. | authorlink=Herbert Wilf | title=Generatingfunctionology | edition=2nd | location=Boston, MA | publisher=Academic Press | year=1994 | isbn=0-12-751956-4 | zbl=0831.05001 | url=http://www.math.upenn.edu/%7Ewilf/DownldGF.html }} | |||
[[Category:Enumerative combinatorics|*]] |
Revision as of 08:21, 11 May 2013
Enumerative combinatorics is an area of combinatorics that deals with the number of ways that certain patterns can be formed. Two examples of this type of problem are counting combinations and counting permutations. More generally, given an infinite collection of finite sets {Si} indexed by the natural numbers, enumerative combinatorics seeks to describe a counting function which counts the number of objects in Sn for each n. Although counting the number of elements in a set is a rather broad mathematical problem, many of the problems that arise in applications have a relatively simple combinatorial description. The twelvefold way provides a unified framework for counting permutations, combinations and partitions.
The simplest such functions are closed formulas, which can be expressed as a composition of elementary functions such as factorials, powers, and so on. For instance, as shown below, the number of different possible orderings of a deck of n cards is f(n) = n!. Often, no closed form is initially available. In these cases, we frequently first derive a recurrence relation, then solve the recurrence to arrive at the desired closed form.
Finally, f(n) may be expressed by a formal power series, called its generating function, which is most commonly either the ordinary generating function
or the exponential generating function
Often, a complicated closed formula yields little insight into the behavior of the counting function as the number of counted objects grows. In these cases, a simple asymptotic approximation may be preferable. A function is an asymptotic approximation to if as . In this case, we write
Once determined, the generating function yields 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.
Generating functions
Generating functions are used to describe families of combinatorial objects. Let denote the family of objects and let F(x) be its generating function. Then:
Where denotes the number of combinatorial objects of size n. The number of combinatorial objects of size n is therefore given by the coefficient of . Some common operation on families of combinatorial objects and its effect on the generating function will now be developed. The exponential generating function is also sometimes used. In this case it would have the form:
Union
Given two combinatorial families, and with generating functions F(x) and G(x) respectively, the union of the two families () has generating function F(x) + G(x).
Pairs
For two combinatorial families as above the Cartesian product (pair) of the two families () has generating function F(x)G(x).
Sequences
A sequence generalizes the idea of the pair as defined above. Sequences are arbitrary Cartesian products of a combinatorial object with itself. Formally:
To put the above in words: An empty sequence or a sequence of one element or a sequence of two elements or a sequence of three elements, etc. The generating function would be:
Combinatorial structures
The above operations can now be used to enumerate common combinatorial objects including trees (binary and plane), Dyck paths and cycles. A combinatorial structure is composed of atoms. For example, with trees the atoms would be the nodes. The atoms which compose the object can either be labeled or unlabeled. Unlabeled atoms are indistinguishable from each other, while labelled atoms are distinct. Therefore, for a combinatorial object consisting of labeled atoms a new object can be formed by simply swapping two or more atoms.
Binary and plane trees
Binary and plane trees are examples of an unlabeled combinatorial structure. Trees consist of nodes linked by edges in such a way that there are no cycles. There is generally a node called the root, which has no parent node. In Plane trees each node can have an arbitrary number of children. In binary trees, a special case of plane trees, each node can have either two or no children. Let denote the family of all plane trees. Then this family can be recursively defined as follows:
In this case represents the family of objects consisting of one node. This has generating function x. Let P(x) denote the generating function Putting the above description in words: A plane tree consists of a node to which is attached an arbitrary number of subtrees, each of which is also a plane tree. Using the operation on families of combinatorial structures developed earlier this translates to a recursive generating function:
After solving for P(x):
An explicit formula for the number of plane trees of size n can now be determined by extracting the coefficient of xn.
Note: The notation [xn] f(x) refers to the coefficient of xn in f(x). The series expansion of the square root is based on Newton's generalization of the binomial theorem. To get from the fourth to fifth line manipulations using the generalized binomial coefficient is needed.
The expression on the last line is equal to the (n − 1)th Catalan number. Therefore pn = cn−1.
See also
- Combinatorial principles
- Algebraic combinatorics
- Asymptotic combinatorics
- Combinatorial explosion
- Inclusion-exclusion principle
- Method of distinguished element
- Combinatorial species
- Sieve theory
- Pólya enumeration theorem
References
- Zeilberger, D., Enumerative and Algebraic Combinatorics
- Bjorner, A. and Stanley, R. P., A Combinatorial Miscellany
- Graham, R.L., Groetschel M., and Lovász L., eds. (1996). Handbook of Combinatorics, Volumes 1 and 2. Elsevier (North-Holland), Amsterdam, and MIT Press, Cambridge, Mass. ISBN 0-262-07169-X.
- 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 - Loehr, Nicholas A. (2011). Bijective Combinatorics. CRC Press. ISBN 143984884X, ISBN 978-1439848845.
- Stanley, Richard P. (1997, 1999). Enumerative Combinatorics, Volumes 1 and 2. Cambridge University Press. ISBN 0-521-55309-1, ISBN 0-521-56069-1.
- Combinatorial Analysis – an article in Encyclopædia Britannica Eleventh Edition
- Riordan, John (1958). An Introduction to Combinatorial Analysis, Wiley & Sons, New York (republished).
- Riordan, John (1968). Combinatorial identities, Wiley & Sons, New York (republished).
- 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534