Graph theory is the study of graphs, which can be used to model relationships, routes, etc. People understands a lot about graphs. However, there is a generalisation of graph theory that we can talk about – the hypergraphs!
Like graph theory, hypergraphs contains vertices, denoted by , and edges which we call hyperedges, denoting . Instead of connecting two vertices , a hyperedge connects any subset of , i.e. is an element of the power set of the vertices.
Intuitively, hypergraphs are just a set of vertices, and hyperedges are lines that connects some vertices together. For instance, the grid is a hyper graph, with vertices and hyperedges. In the grid, each pair of hyperedges, intersects at a vertex uniquely. Another example of a hypergraph is the Fano plane, which is the hypergraph below
As we can see, there are seven vertices in total in the hypergraph above. There are also seven hyperedges in the hypergraph above, each hyperedge is represented by a unique colour itself.
We can also talk about the properties of a hypergraph just as we do in normal graphs. Recall that in a graph, we say that a graph is -regular if each vertex has exactly degree . Similarly, a hypergraph is -regular if for each vertex in the hypergraph, the degree of the vertex (number of lines that pass through a vertex) is exactly degree . So a -grid is 2-regular, and the Fano plane is 3-regular.
Another interesting property that we want to inherit from graph theory is the dual. Amazingly, basic properties of duality that we learn from normal graph theory is also true for hypergraphs. Perhaps the most important such property is that for any hypergraph , where denotes the dual graph of the graph . This is another post for another time.
There are many other types of hypergraphs, and they are used in many ways. Hopefully this post helps you with some intuition in hypergraphs.