ArticleslgStudy

mathematics

Hypergraph

Hypergraph is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hypergraph rather than just read about it. In short: In mathematics, a hypergraph is a generalization of a graph in which an edge can join any number of vertices. In contrast, in an ordinary graph, an edge connects exactly two vertices.

Hypergraph — main illustration
Hypergraph — illustration

Key takeaways

  • Hypergraph belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hypergraph to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hypergraph from memory before moving on to harder problems.

Reference excerpt

In mathematics, a hypergraph is a generalization of a graph in which an edge can join any number of vertices. In contrast, in an ordinary graph, an edge connects exactly two vertices. Formally, a directed hypergraph is a pair (X,E), where X is a set of elements called nodes, vertices, points, or elements and E is a set of pairs of subsets of X. Each of these pairs (D,C)∈E is called an edge or hyperedge; the vertex subset D is known as its tail or domain, and C as its head or codomain. The order of a hypergraph (X,E) is the number of vertices in X. The size of the hypergraph is the number of edges in E. The order of an edge e=(D,C) in a directed hypergraph is |e|=(|D|,|C|): that is, the number of vertices in its tail followed by the number of vertices in its head. The definition above generalizes from a directed graph to a directed hypergraph by defining the head or tail of each edge as a set of vertices (C⊆X or D⊆X) rather than as a single vertex. A graph is then the special case where each of these sets contains only one element. Hence any standard graph theoretic concept that is independent of the edge orders |e| will generalize to hypergraph theory. Given a set X with its power set 𝒫(X), furthermore a set E with E⊆𝒫(X), the pair (X,E) shall be called an undirected hypergraph. Hypergraphs can be viewed as incidence structures. In particular, there is a bipartite "incidence graph" or "Levi graph" corresponding to every hypergraph, and conversely, every bipartite graph can be regarded as the incidence graph of a hypergraph when it is 2-colored and it is indicated which color class corresponds to hypergraph vertices and which to hypergraph edges. Hypergraphs have many other names. In computational geometry, an undirected hypergraph may sometimes be called a range space and then the hyperedges are called ranges. In cooperative game theory, hypergraphs are called simple games (voting games); this notion is applied to solve problems in social choice theory. In some literature edges are referred to as hyperlinks or connectors. The collection of hypergraphs is a category with hypergraph homomorphisms as morphisms.

Applications Undirected hypergraphs are useful in modelling such things as satisfiability problems, databases, machine learning, and Steiner tree problems. They have been extensively used in machine learning tasks as the data model and classifier regularization. The applications include recommender system (communities as hyperedges), image retrieval (correlations as hyperedges), and bioinformatics (biochemical interactions as hyperedges). Representative hypergraph learning techniques include hypergraph spectral clustering that extends the spectral graph theory with hypergraph Laplacian, and hypergraph semi-supervised learning that introduces extra hypergraph structural cost to restrict the learning results. For large scale hypergraphs, a distributed framework built using Apache Spark is also available. It can be desirable to study hypergraphs where all hyperedges have the same cardinality; a k-uniform hypergraph is a hypergraph such that all its hyperedges have size k. (In other words, one such hypergraph is a collection of sets, each such set a hyperedge connecting k nodes.) So a 2-uniform hypergraph is a graph, a 3-uniform hypergraph is a collection of unordered triples, and so on. Directed hypergraphs can be used to model things including telephony applications, detecting money laundering, operations research, and transportation planning. They can also be used to model Horn-satisfiability.

Generalizations of concepts from graphs Many theorems and concepts involving graphs also hold for hypergraphs, in particular:

Matching in hypergraphs; Vertex cover in hypergraphs (also known as: transversal); Line graph of a hypergraph; Hypergraph grammar - created by augmenting a class of hypergraphs with a set of replacement rules; Ramsey's theorem; Erdős–Ko–Rado theorem; Kruskal–Katona theorem on uniform hypergraphs; Hall-type theorems for hypergraphs. In directed hypergraphs: transitive closure, and shortest path problems.

Hypergraph drawing

Although hypergraphs are more difficult to draw on paper than graphs, several researchers have studied methods for the visualization of hypergraphs. In one possible visual representation for hypergraphs, similar to the standard graph drawing style in which curves in the plane are used to depict graph edges, a hypergraph's vertices are depicted as points, disks, or boxes, and its hyperedges are depicted as trees that have the vertices as their leaves. If the vertices are represented as points, the hyperedges may also be shown as smooth curves that connect sets of points, or as simple closed curves that enclose sets of points.

In another style of hypergraph visualization, the subdivision model of hypergraph drawing, the plane is subdivided into regions, each of which represents a single vertex of the hypergraph. The hyperedges of the hypergraph are represented by contiguous subsets of these regions, which may be indicated by coloring, by drawing outlines around them, or both. An order-n Venn diagram, for instance, may be viewed as a subdivision drawing of a hypergraph with n hyperedges (the curves defining the diagram) and 2n − 1 vertices (represented by the regions into which these curves subdivide the plane). In contrast with the polynomial-time recognition of planar graphs, it is NP-complete to determine whether a hypergraph has a planar subdivision drawing, but the existence of a drawing of this type may be tested efficiently when the adjacency pattern of the regions is constrained to be a path, cycle, or tree. An alternative representation of the hypergraph called PAOH is shown in the figure on top of this article. Edges are vertical lines connecting vertices. Vertices are aligned on the left. The legend on the right shows the names of the edges. It has been designed for dynamic hypergraphs but can be used for simple hypergraphs as well.

… excerpt ends here. Continue reading the full article.

Illustrations

Hypergraph: An example of an undirected hypergraph, with
X={v1,v2,v3,v4,v5,v6,v7} and
E={e1,e2,e3,e4}=
{{v1,v2,v3},
{v2,v3},
{v3,v5,v6},
{v4}}.
This hypergraph has order 7 and size 4. Here, edges do not just connect two vertices but several, and are represented by colors.
An example of an undirected hypergraph, with X={v1,v2,v3,v4,v5,v6,v7} and E={e1,e2,e3,e4}= {{v1,v2,v3}, {v2,v3}, {v3,v5,v6}, {v4}}. This hypergraph has order 7 and size 4. Here, edges do not just connect two vertices but several, and are represented by colors.
Hypergraph: Alternative representation of the hypergraph reported in the figure above, called PAOH.[1] Edges are vertical lines connecting vertices. V7 is an isolated vertex. Vertices are aligned to the left. The legend on the right shows the names of the edges.
Alternative representation of the hypergraph reported in the figure above, called PAOH.[1] Edges are vertical lines connecting vertices. V7 is an isolated vertex. Vertices are aligned to the left. The legend on the right shows the names of the edges.
Hypergraph: Given
a1:=({1},{2}) and
a2:=({2},{3}) and
a3:=({3},{1}) and
a4:=({2,3},{4,5}) and
a5:=({3,5},{6}) and
E:={a1,a2,a3,a4,a5} and
X:={1,2,3,4,5,6} finally,
the pair
(X,E)
shall describe a directed hypergraph.
Given a1:=({1},{2}) and a2:=({2},{3}) and a3:=({3},{1}) and a4:=({2,3},{4,5}) and a5:=({3,5},{6}) and E:={a1,a2,a3,a4,a5} and X:={1,2,3,4,5,6} finally, the pair (X,E) shall describe a directed hypergraph.
Hypergraph: This circuit diagram can be interpreted as a drawing of a hypergraph in which four vertices (depicted as white rectangles and disks) are connected by three hyperedges drawn as trees.
This circuit diagram can be interpreted as a drawing of a hypergraph in which four vertices (depicted as white rectangles and disks) are connected by three hyperedges drawn as trees.
Hypergraph: An order-4 Venn diagram, which can be interpreted as a subdivision drawing of a hypergraph with 15 vertices (the 15 colored regions) and 4 hyperedges (the 4 ellipses)
An order-4 Venn diagram, which can be interpreted as a subdivision drawing of a hypergraph with 15 vertices (the 15 colored regions) and 4 hyperedges (the 4 ellipses)

Worked examples

Example 1 — a first encounter with Hypergraph

Start with the simplest possible case. Write down what Hypergraph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hypergraph before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hypergraph ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hypergraph

In research
Hypergraph appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hypergraph in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hypergraph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Extensions and generalizations of graphs, Families of sets, Hypergraphs, so understanding it makes those chapters shorter.
In everyday life
Look for Hypergraph outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hypergraph” →

How to study Hypergraph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hypergraph means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hypergraph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hypergraph in simple terms?

In mathematics, a hypergraph is a generalization of a graph in which an edge can join any number of vertices. In contrast, in an ordinary graph, an edge connects exactly two vertices.

Why does Hypergraph matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hypergraph?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hypergraph.

Tags

  • Extensions and generalizations of graphs
  • Families of sets
  • Hypergraphs
  • Mathematical structures

Keep exploring