PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: No information on entry rating
enumerative combinatorics (Topic)

Enumerative combinatorics deals with the question: if we know that a set $S$ is finite, how can we determine the exact number of elements that $S$ contains?

Basic principles and techniques of enumerative combinatorics include:

The principles listed above are disarmingly simple and seemingly obvious. Nonetheless, when used properly they are powerful tools for producing bijective proofs of combinatorial identities. On the other hand, while generating functions can frequently be used to give quick proofs of identities, it is sometimes difficult to extract combinatorial proofs from such proofs.

The most fundamental principle of enumerative combinatorics and the basis of all counting is the addition principle. It says that if $S$ is a finite set, then $$ |S| = \sum_{x\in S} 1. $$ More generally, if $S=A\sqcup B$ , then $$ |S| = \sum_{x\in A\sqcup B} 1= \sum_{x\in A} 1 + \sum_{x\in B} 1 = |A| + |B|. $$ By induction on $n$ , we also get $$ \biggl|\bigsqcup_{i\in[n]} S_i\biggr| = \sum_{i\in[n]} |S_i|. $$ As an application of the addition principle, we prove the multiplication principle.

Proposition 1   Multiplication principle. If $S$ and $T$ are finite sets, then $$ |S\times T| = |S|\cdot |T|. $$
Proof. By the addition principle, $$ |S\times T| = \sum_{(x,y)\in S\times T} 1. $$ But we can write $S\times T$ as the disjoint union $$ S\times T = \bigsqcup_{y\in T} S\times\{y\}. $$ The projection map $S\times\{y\}\to S$ is a bijection, so $|S\times\{y\}|=|S|$ . Hence it follows that
$\displaystyle \vert S\times T\vert$ $\displaystyle = \sum_{y\in T} \vert S\times\{y\}\vert$    
  $\displaystyle = \sum_{y\in T} \vert S\vert$    
  $\displaystyle = \vert S\vert\cdot\sum_{y\in T} 1$    
  $\displaystyle = \vert S\vert\cdot \vert T\vert,$    

which completes the proof. $ \qedsymbol$

The involution principle says that if $\varphi\colon S\to S$ is an involution, then for any $X\subset S$ , $|X|=|\varphi(X)|$ . The following example illustrates the involution principle.

Proposition 2   Enumerating elements of the powerset. Let $[n]=\{1,2,\dots,n\}$ and let $2^{[n]}$ be the powerset of $[n]$ . Then the cardinality of $2^{[n]}$ is $2^n$ .
Proof. Define a function $\varphi\colon 2^{[n]}\to 2^{[n]}$ by the formula $$ \varphi(S) = S\Delta\{n\}. $$

In other words, $\varphi(S)$ is the symmetric difference of $S$ and $\{n\}$ -- if $n$ is an element of $S$ , we remove it, and if $n$ is not an element of $S$ , we insert it. The function $\varphi$ is an involution, hence a bijection. Now notice that $2^{[n-1]}\subset 2^{[n]}$ and $\varphi(2^{[n-1]}) = 2^{[n]}\setminus 2^{[n-1]}$ . In other words, $$ 2^{[n]} = 2^{[n-1]} \sqcup \varphi(2^{[n-1]}). $$ Since $\varphi$ is a bijection, this implies that $$ |2^{[n]}| = 2\cdot |2^{[n-1]}|. $$ By induction on $n$ we obtain $$ |2^{[n]}| = 2^n\cdot |2^{[0]}|. $$ Now $[0] = \emptyset$ , so $2^{[0]} = \{\emptyset\}$ . Thus $|2^{[0]}|=1$ , implying that $$ |2^{[n]}| = 2^n, $$ which is what we wanted to show. $ \qedsymbol$

As we have seen above, it is possible to use the addition principle to count the number of elements in the disjoint union of finite sets. But what if we want to count the number of elements in a non-disjoint union of finite sets? The inclusion-exclusion principle gives us a way to do this. A common way of stating the inclusion-exclusion principle is as the following proposition.

Proposition 3   Inclusion-exclusion principle. Let $S_1,\dots, S_n$ be finite sets. Then $$ \biggl|\bigcup_{i\in[n]} S_i\biggr| = \sum_{T\in 2^{[n]}} (-1)^{|T|}\biggl|\bigcap_{i\in T} S_i\biggr|. $$

The formula in this proposition uses negative numbers. But the core of the inclusion-exclusion principle is a statement about natural numbers.

Proposition 4   Let $S$ and $T$ be finite sets. Then $$ |S|+|T| = |S\cup T| + |S\cap T|. $$ Thus the lattice of finite subsets of $\mathbb{N}$ is a modular lattice.
Proof. By the addition principle,
$\displaystyle \vert S\vert+\vert T\vert$ $\displaystyle = \vert(S\setminus T)\sqcup(S\cap T)\vert+\vert(T\setminus S)\sqcup(S\cap T)\vert$    
  $\displaystyle = \vert S\setminus T\vert + \vert S\cap T\vert + \vert T\setminus S\vert + \vert S\cap T\vert.$    

Now observe that $S\cup T=(S\setminus T)\sqcup (S\cap T)\sqcup (T\setminus S)$ . So by a second application of the addition principle, $$ |S\cup T|+|S\cap T| = |S\setminus T| + |S\cap T| + |T\setminus S| + |S\cap T|. $$ Hence $|S|+|T|=|S\cup T| + |S\cap T|$ . $ \qedsymbol$




Anyone with an account can edit this entry. Please help improve it!

"enumerative combinatorics" is owned by mps.
(view preamble | get metadata)

View style:

See Also: Dijkstra's algorithm


Attachments:
counting compositions of an integer (Result) by rm50
Log in to rate this entry.
(view current ratings)

Cross-references: modular lattice, subsets, lattice, natural numbers, negative numbers, union, implies, symmetric difference, formula, function, cardinality, powerset, bijection, projection map, disjoint union, application, induction, finite set, proofs, bijective, obvious, simple, generating functions, inclusion-exclusion principle, involution, multiplication, addition, contains, elements, number, finite
There is 1 reference to this entry.

This is version 11 of enumerative combinatorics, born on 2007-02-26, modified 2007-02-28.
Object id is 8993, canonical name is Combinatorics.
Accessed 1651 times total.

Classification:
AMS MSC05-00 (Combinatorics :: General reference works )

Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)