TU Wien:Diskrete Mathematik für Informatik UE (Gittenberger)/Übungen WS13/Beispiel 34

Aus VoWi
Zur Navigation springen Zur Suche springen
Reformulate the exercise as graph theoretical problem:

Given a set A with n elements and B={A1,A2,...,An}⊆2A. Prove that there exists an injective mapping f:B→A such that f(Ai)∈Ai for all i∈{1,2,...,n} if and only if for all I⊆{1,2,...,n} the cardinality of ⋃i∈IAi is at least equal to the cardinality of I.

We construct a bipartite graph by placing a node for every set Ai on the left side. Then we place a node for every element of A on the right side. We connect a node for a certain set Ai with every node which contains an element of Ai with an undirected edge. To get an injective mapping we need to select a complete matching. This is the same task as in the marriage theorem. The elements of the set A represent the men, while Ai represents the set that woman i is willing to marry. So to get to a complete matching all unions of the form ⋃i∈IAi must be greater or equal to the number of sets in the union I.

Comment: This has to be proven here, doesn't it? Selfanswering (for other people): No, it hasn't. The iff-part in the description of this exercise refers exactly to the marriage theorem, so this is correct.

To make things clearer we give a small example where we can construct an injective mapping:

A={1,2,3}

B={A1,A2,A3}⊆2Ae.g. B={{1},{1,2},{2,3},}

f(A1)∈A1f(A2)∈A2f(A3)∈A3

The Figure below shows the injective mapping for this example.

Siehe: https://math.stackexchange.com/questions/1506816/reformulating-a-problem-as-graph-theoretic-problem