
In
graph theory
In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, a matching in a
hypergraph
In mathematics, a hypergraph is a generalization of a Graph (discrete mathematics), graph in which an graph theory, edge can join any number of vertex (graph theory), vertices. In contrast, in an ordinary graph, an edge connects exactly two vert ...
is a set of
hyperedges, in which every two hyperedges are
disjoint. It is an extension of the notion of
matching in a graph.
Definition
Recall that a
hypergraph
In mathematics, a hypergraph is a generalization of a Graph (discrete mathematics), graph in which an graph theory, edge can join any number of vertex (graph theory), vertices. In contrast, in an ordinary graph, an edge connects exactly two vert ...
is a pair , where is a
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of
vertices and is a set of
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s of called ''hyperedges''. Each hyperedge may contain one or more vertices.
A matching in is a subset of , such that every two hyperedges and in have an empty intersection (have no vertex in common).
The matching number of a hypergraph is the largest size of a matching in . It is often denoted by .
As an example, let be the set Consider a 3-uniform hypergraph on (a hypergraph in which each hyperedge contains exactly 3 vertices). Let be a 3-uniform hypergraph with 4 hyperedges:
:
Then admits several matchings of size 2, for example:
:
:
However, in any subset of 3 hyperedges, at least two of them intersect, so there is no matching of size 3. Hence, the matching number of is 2.
Intersecting hypergraph
A hypergraph is called ''intersecting'' if every two hyperedges in have a vertex in common. A hypergraph is intersecting
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
it has no matching with two or more hyperedges, if and only if .
Matching in a graph as a special case
A graph without
self-loops is just a 2-uniform hypergraph: each edge can be considered as a set of the two vertices that it connects. For example, this 2-uniform hypergraph represents a graph with 4 vertices and 3 edges:
:
By the above definition, a matching in a graph is a set of edges, such that each two edges in have an empty intersection. This is equivalent to saying that no two edges in are adjacent to the same vertex; this is exactly the definition of a
matching in a graph.
Fractional matching
A
fractional matching In graph theory, a fractional matching is a generalization of a matching in which, intuitively, each vertex may be broken into fractions that are matched to different neighbor vertices.
Definition
Given a graph G=(V,E), a fractional matching in ...
in a hypergraph is a function that assigns a fraction in to each hyperedge, such that for every vertex in , the sum of fractions of hyperedges containing is at most 1. A matching is a special case of a fractional matching in which all fractions are either 0 or 1. The ''size'' of a fractional matching is the sum of fractions of all hyperedges.
The fractional matching number of a hypergraph is the largest size of a fractional matching in . It is often denoted by .
Since a matching is a special case of a fractional matching, for every hypergraph :
Matching-number() ≤ fractional-matching-number()
Symbolically, this principle is written:
:
In general, the fractional matching number may be larger than the matching number. A theorem by
Zoltán Füredi provides upper bounds on the fractional-matching-number() ratio:
* If each hyperedge in contains at most vertices, then
In particular, in a simple graph:
** The inequality is sharp: Let be the -uniform
finite projective plane
In mathematics, a projective plane is a geometric structure that extends the concept of a plane (geometry), plane. In the ordinary Euclidean plane, two lines typically intersect at a single point, but there are some pairs of lines (namely, paral ...
. Then since every two hyperedges intersect, and by the fractional matching that assigns a weight of to each hyperedge (it is a matching since each vertex is contained in hyperedges, and its size is since there are hyperedges). Therefore the ratio is exactly .
* If is such that the -uniform
finite projective plane
In mathematics, a projective plane is a geometric structure that extends the concept of a plane (geometry), plane. In the ordinary Euclidean plane, two lines typically intersect at a single point, but there are some pairs of lines (namely, paral ...
does not exist (for example, ), then a stronger inequality holds:
* If is -partite (the vertices are partitioned into parts and each hyperedge contains a vertex from each part), then:
In particular, in a bipartite graph, . This was proved by
András Gyárfás
András Gyárfás (born 1945) is a Hungarian mathematician who specializes in the study of graph theory. He is famous for two conjectures:
* Together with Paul Erdős he conjectured what is now called the Erdős–Gyárfás conjecture which sta ...
.
** The inequality is sharp: Let be the
truncated projective plane of order . Then since every two hyperedges intersect, and by the fractional matching that assigns a weight of to each hyperedge (there are hyperedges).
Perfect matching
A matching is called perfect if every vertex in is contained in ''exactly'' one hyperedge of . This is the natural extension of the notion of
perfect matching in a graph.
A fractional matching is called perfect if for every vertex in , the sum of fractions of hyperedges in containing is ''exactly'' 1.
Consider a hypergraph in which each hyperedge contains at most vertices. If admits a perfect fractional matching, then its fractional matching number is at least . If each hyperedge in contains exactly vertices, then its fractional matching number is at exactly .
This is a generalization of the fact that, in a graph, the size of a perfect matching is .
Given a set of vertices, a collection of subsets of is called ''balanced'' if the hypergraph admits a perfect fractional matching.
For example, if and then is balanced, with the perfect fractional matching
There are various sufficient conditions for the existence of a perfect matching in a hypergraph:
*
Hall-type theorems for hypergraphs - presents sufficient conditions analogous to Hall's marriage theorem, based on sets of neighbors.
*
Perfect matching in high-degree hypergraphs
In graph theory, perfect matching in high-degree hypergraphs is a research avenue trying to find sufficient conditions for existence of a perfect matching in a hypergraph, based only on the degree of vertices or subsets of them.
Introduction
...
- presents sufficient conditions analogous to
Dirac's theorem on Hamiltonian cycles, based on degree of vertices.
*
Keevash and Mycroft developed a geometric theory for hypergraph matching.
Balanced set-family
A
set-family over a ground set is called ''balanced'' (with respect to ) if the hypergraph admits a perfect fractional matching.
For example, consider the vertex set and the edge set is balanced, since there is a perfect fractional matching with weights
Computing a maximum matching
The problem of finding a maximum-cardinality matching in a hypergraph, thus calculating
, is NP-hard even for 3-uniform hypergraphs (see
3-dimensional matching). This is in contrast to the case of simple (2-uniform) graphs in which computing a
maximum-cardinality matching can be done in polynomial time.
Matching and covering
A
''vertex-cover in a hypergraph'' is a subset of , such that every hyperedge in contains at least one vertex of (it is also called a
transversal or a
hitting set, and is equivalent to a
set cover
The set cover problem is a classical question in combinatorics, computer science, operations research, and Computational complexity theory, complexity theory.
Given a Set (mathematics), set of elements (henceforth referred to as the Universe ( ...
). It is a generalization of the notion of a
vertex cover in a graph.
The vertex-cover number of a hypergraph is the smallest size of a vertex cover in . It is often denoted by ,
for transversal.
A fractional vertex-cover is a function assigning a weight to each vertex in , such that for every hyperedge in , the sum of fractions of vertices in is at least 1. A vertex cover is a special case of a fractional vertex cover in which all weights are either 0 or 1. The ''size'' of a fractional vertex-cover is the sum of fractions of all vertices.
The fractional vertex-cover number of a hypergraph is the smallest size of a fractional vertex-cover in . It is often denoted by .
Since a vertex-cover is a special case of a fractional vertex-cover, for every hypergraph :
fractional-vertex-cover-number () ≤ vertex-cover-number ().
Linear programming duality implies that, for every hypergraph :
fractional-matching-number () = fractional-vertex-cover-number().
Hence, for every hypergraph :
:
If the size of each hyperedge in is at most then the union of all hyperedges in a maximum matching is a vertex-cover (if there was an uncovered hyperedge, we could have added it to the matching). Therefore:
:
This inequality is tight: equality holds, for example, when contains vertices and contains all subsets of vertices.
However, in general , since ; see
Fractional matching In graph theory, a fractional matching is a generalization of a matching in which, intuitively, each vertex may be broken into fractions that are matched to different neighbor vertices.
Definition
Given a graph G=(V,E), a fractional matching in ...
above.
''
Ryser's conjecture'' says that, in every -partite -uniform hypergraph:
:
Some special cases of the conjecture have been proved; see
Ryser's conjecture.
Kőnig's property
A hypergraph has the Kőnig property if its maximum matching number equals its minimum vertex-cover number, namely if . The
Kőnig-Egerváry theorem shows that every
bipartite graph
In the mathematics, mathematical field of graph theory, a bipartite graph (or bigraph) is a Graph (discrete mathematics), graph whose vertex (graph theory), vertices can be divided into two disjoint sets, disjoint and Independent set (graph theo ...
has the Kőnig property. To extend this theorem to hypergraphs, we need to extend the notion of bipartiteness to hypergraphs.
A natural generalization is as follows. A hypergraph is called 2-colorable if its vertices can be 2-colored so that every hyperedge (of size at least 2) contains at least one vertex of each color. An alternative term is
Property B
In mathematics, Property B is a certain set theory, set theoretic property. Formally, given a finite set ''X'', a collection ''C'' of subsets of ''X'' has Property B if we can partition ''X'' into two disjoint subsets ''Y'' and ''Z'' such that eve ...
. A simple graph is bipartite iff it is 2-colorable. However, there are 2-colorable hypergraphs without Kőnig's property. For example, consider the hypergraph with with all triplets It is 2-colorable, for example, we can color blue and white. However, its matching number is 1 and its vertex-cover number is 2.
A stronger generalization is as follows. Given a hypergraph and a subset of , the restriction of to is the hypergraph whose vertices are , and for every hyperedge in that intersects , it has a hyperedge that is the intersection of and . A hypergraph is called
balanced if all its restrictions are ''essentially 2-colorable'', meaning that we ignore singleton hyperedges in the restriction. A simple graph is bipartite iff it is balanced.
A simple graph is bipartite iff it has no odd-length cycles. Similarly, a hypergraph is balanced iff it has no odd-length ''circuits''. A circuit of length in a hypergraph is an alternating sequence , where the are distinct vertices and the are distinct hyperedges, and each hyperedge contains the vertex to its left and the vertex to its right. The circuit is called ''unbalanced'' if each hyperedge contains no other vertices in the circuit.
Claude Berge proved that a hypergraph is balanced if and only if it does not contain an unbalanced odd-length circuit. Every balanced hypergraph has Kőnig's property.
The following are equivalent:
* Every partial hypergraph of (i.e., a hypergraph derived from by deleting some hyperedges) has the Kőnig property.
* Every partial hypergraph of has the property that its maximum degree equals its minimum
edge coloring number.
* has the
Helly property, and the intersection graph of (the simple graph in which the vertices are and two elements of are linked if and only if they intersect) is a
perfect graph
In graph theory, a perfect graph is a Graph (discrete mathematics), graph in which the Graph coloring, chromatic number equals the size of the maximum clique, both in the graph itself and in every induced subgraph. In all graphs, the chromatic nu ...
.
Matching and packing
The problem of
set packing is equivalent to hypergraph matching.
A
vertex-packing in a (simple) graph is a subset of its vertices, such that no two vertices in are adjacent.
The problem of finding a maximum vertex-packing in a graph is equivalent to the problem of finding a maximum matching in a hypergraph:
* Given a hypergraph , define its ''intersection graph'' as the simple graph whose vertices are and whose edges are pairs such that , have a vertex in common. Then every matching in is a vertex-packing in and vice versa.
* Given a graph , define its ''star hypergraph'' as the hypergraph whose vertices are and whose hyperedges are the
stars
A star is a luminous spheroid of plasma held together by self-gravity. The nearest star to Earth is the Sun. Many other stars are visible to the naked eye at night; their immense distances from Earth make them appear as fixed points of ...
of the vertices of (i.e., for each vertex in , there is a hyperedge in that contains all edges in that are adjacent to ). Then every vertex-packing in is a matching in and vice versa.
* Alternatively, given a graph , define its ''clique hypergraph'' as the hypergraph whose vertices are the
cliques
A clique ( AusE, CanE, or ; ), in the social sciences, is a small group of individuals who interact with one another and share similar interests rather than include others. Interacting with cliques is part of normative social development regardle ...
of , and for each vertex in , there is a hyperedge in containing all cliques in that contain . Then again, every vertex-packing in is a matching in and vice versa. Note that cannot be constructed from {{mvar, G in
polynomial time
In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations p ...
, so it cannot be used as a reduction for proving NP-hardness. But it has some theoretical uses.
See also
*
3-dimensional matching – a special case of hypergraph matching to 3-uniform hypergraphs.
*
Vertex cover in hypergraphs
*
Bipartite hypergraph
*
Rainbow matching in hypergraphs
*
D-interval hypergraph - an infinite hypergraph in which there is some relation between the matching and the covering number.
*
Erdős–Ko–Rado theorem on pairwise non-disjoint edges in hypergraphs
References
Hypergraphs
Matching (graph theory)