Two intersecting families of two-element subsets of a four-element set. The sets in the left family all contain the bottom left element. The sets in the right family avoid this element.

In mathematics, the Erdős–Ko–Rado theorem limits the number of sets in a family of sets for which every two sets have at least one element in common. Paul Erdős, Chao Ko, and Richard Rado proved the theorem in 1938, but did not publish it until 1961. It is part of the field of combinatorics, and one of the central results of

The theorem applies to families of sets that all have the same size, ${\displaystyle r}$, and are all subsets of some larger set of size ${\displaystyle n}$. One way to construct a family of sets with these parameters, each two sharing an element, is to choose a single element to belong to all the subsets, and then form all of the subsets that contain the chosen element. The Erdős–Ko–Rado theorem states that when ${\displaystyle n}$ is large enough for the problem to be nontrivial (${\displaystyle n\geq 2r}$) this construction produces the largest possible intersecting families. When ${\displaystyle n=2r}$ there are other equally-large families, but for larger values of ${\displaystyle n}$ only the families constructed in this way can be largest.

The Erdős–Ko–Rado theorem can also be described in terms of hypergraphs or independent sets in Kneser graphs. Several analogous theorems apply to other kinds of mathematical object than sets, including linear subspaces, permutations, and strings. They again describe the largest possible intersecting families as being formed by choosing an element and forming the family of all objects that contain the chosen element.

## Statement

Suppose that ${\displaystyle {\mathcal {A}}}$ is a family of distinct ${\displaystyle r}$-element subsets of an ${\displaystyle n}$-element set with ${\displaystyle n\geq 2r}$, and that each two subsets share at least one element. Then the theorem states that the number of sets in ${\displaystyle {\mathcal {A}}}$ is at most the binomial coefficient

${\displaystyle {\binom {n-1}{r-1}}.}$
The requirement that ${\displaystyle n\geq 2r}$ is necessary for the problem to be nontrivial: when ${\displaystyle n<2r}$, all ${\displaystyle r}$-element sets intersect, and the largest intersecting family consists of all ${\displaystyle r}$-element sets, with size ${\displaystyle {\tbinom {n}{r}}}$. [2]

The same result can be formulated as part of the theory of hypergraphs. A family of sets may also be called a hypergraph, and when all the sets (which are called "hyperedges" in this context) are the same size ${\displaystyle r}$, it is called an ${\displaystyle r}$-uniform hypergraph. The theorem thus gives an upper bound for the number of pairwise overlapping hyperedges in an ${\displaystyle r}$-uniform hypergraph with ${\displaystyle n}$ vertices and ${\displaystyle n\geq 2r}$. [3]

The Kneser graph ${\displaystyle KG_{5,2}}$, with a vertex for each 2-element subset of the 5-element set {1,2,3,4,5} and an edge for each pair of disjoint subsets. According to the Erdős–Ko–Rado theorem, the independent sets in this graph have at most four vertices.

The theorem may also be formulated in terms of graph theory: the independence number of the Kneser graph ${\displaystyle KG_{n,r}}$ for ${\displaystyle n\geq 2r}$ is

${\displaystyle \alpha (KG_{n,r})={\binom {n-1}{r-1}}.}$
This is a graph with a vertex for each ${\displaystyle r}$-element subset of an ${\displaystyle n}$-element set, and an edge between every pair of disjoint sets. An independent set is a collection of vertices that has no edges between its pairs, and the independence number is the size of the largest independent set. [4] Because Kneser graphs have symmetries taking any vertex to any other vertex (they are vertex-transitive graphs), their fractional chromatic number equals the ratio of their number of vertices to their independence number, so another way of expressing the Erdős–Ko–Rado theorem is that these graphs have fractional chromatic number exactly ${\displaystyle n/k}$. [5]

## History

Paul Erdős, Chao Ko, and Richard Rado proved this theorem in 1938 after working together on it in England. Rado had moved from Berlin to the University of Cambridge and Erdős from Hungary to the University of Manchester, both escaping the influence of Nazi Germany; Ko was a student of Louis J. Mordell at Manchester. [6] However, they did not publish the result until 1961, [7] with the long delay occurring in part because of a lack of interest in combinatorial set theory in the 1930s, and increased interest in the topic in the 1960s. [6] The 1961 paper stated the result in an apparently more general form, in which the subsets were only required to be size at most ${\displaystyle r}$, and to satisfy the additional requirement that no subset be contained in any other. [7] A family of subsets meeting these conditions can be enlarged to subsets of size exactly ${\displaystyle r}$ either by an application of or by choosing each enlarged subset from the same chain in a symmetric chain decomposition of sets. [9]

## Maximum and maximal families

### Families of maximum size

The Johnson graph ${\displaystyle J(4,2)}$, with a vertex for each two-element subset of {1,2,3,4} and an edge connecting intersecting pairs of subsets, arranged geometrically as an octahedron with disjoint sets at opposite vertices. The largest intersecting families for ${\displaystyle r=2}$ and ${\displaystyle n=2r=4}$ come from the triangular faces of this octahedron. Replacing a set in one of these families by its complement corresponds to moving from a triangle to one of its three neighboring triangles.

A simple way to construct an intersecting family of ${\displaystyle r}$-element sets whose size exactly matches the Erdős–Ko–Rado bound is to choose any fixed element ${\displaystyle x}$, and let ${\displaystyle {\mathcal {A}}}$ consist of all ${\displaystyle r}$-element subsets that include ${\displaystyle x}$. For instance, for 2-element subsets of the 4-element set ${\displaystyle \{1,2,3,4\}}$, with ${\displaystyle x=1}$, this produces the family

${\displaystyle \{1,2\}}$, ${\displaystyle \{1,3\}}$, and ${\displaystyle \{1,4\}}$.

Any two sets in this family intersect, because they both include ${\displaystyle 1}$. The number of sets is ${\displaystyle {\tbinom {n-1}{r-1}}}$, because after the fixed element is chosen there remain ${\displaystyle n-1}$ other elements to choose, and each set chooses ${\displaystyle r-1}$ of these remaining elements. [10]

When ${\displaystyle n>2r}$ this is the only intersecting family of this size. However, when ${\displaystyle n=2r}$, there is a more general construction. Each ${\displaystyle r}$-element set can be matched up to its complement, the only ${\displaystyle r}$-element set from which it is disjoint. Then, choose one set from each of these complementary pairs. For instance, for the same parameters above, this more general construction can be used to form the family

${\displaystyle \{3,4\}}$, ${\displaystyle \{2,4\}}$, and ${\displaystyle \{2,3\}}$,

where every two sets intersect despite no element belonging to all three sets. In this example, all of the sets have been complemented from the ones in the first example, but it is also possible to complement only some of the sets. [10]

When ${\displaystyle n>2r}$, families of the first type (variously known as stars, [1] dictatorships, [11] juntas, [11] centered families, [12] or principal families [13]) are the unique maximum families. In this case, a family of nearly-maximum size has an element which is common to almost all of its sets. [14] This property has been called stability, [13] although the same term has also been used for a different property, the fact that (for a wide range of parameters) deleting randomly-chosen edges from the Kneser graph does not increase the size of its independent sets. [15]

### Maximal intersecting families

The seven points and seven lines (one drawn as a circle) of the Fano plane form a maximal intersecting family.

An intersecting family of ${\displaystyle r}$-element sets may be maximal, in that no further set can be added (even by extending the ground set) without destroying the intersection property, but not of maximum size. An example with ${\displaystyle n=7}$ and ${\displaystyle r=3}$ is the set of seven lines of the Fano plane, much less than the Erdős–Ko–Rado bound of 15. [16] More generally, the lines of any finite projective plane of order ${\displaystyle q}$ form a maximal intersecting family that includes only ${\displaystyle n}$ sets, for the parameters ${\displaystyle r=q+1}$ and ${\displaystyle n=q^{2}+q+1}$. The Fano plane is the case ${\displaystyle q=2}$ of this construction. [17]

The smallest possible size of a maximal intersecting family of ${\displaystyle r}$-element sets, in terms of ${\displaystyle r}$, is unknown but at least ${\displaystyle 3r}$ for ${\displaystyle r\geq 4}$. [18] Projective planes produce maximal intersecting families whose number of sets is ${\displaystyle r^{2}-r+1}$, but for infinitely many choices of ${\displaystyle r}$ there exist smaller maximal intersecting families of size ${\displaystyle {\tfrac {3}{4}}r^{2}}$. [17]

The largest intersecting families of ${\displaystyle r}$-element sets that are maximal but not maximum have size

${\displaystyle {\binom {n-1}{r-1}}-{\binom {n-r-1}{r-1}}+1.}$
They are formed from an element ${\displaystyle x}$ and an ${\displaystyle r}$-element set ${\displaystyle Y}$ not containing ${\displaystyle x}$, by adding ${\displaystyle Y}$ to the family of ${\displaystyle r}$-element sets that include both ${\displaystyle x}$ and at least one element of ${\displaystyle Y}$. This result is called the Hilton–Milner theorem, after its proof by Anthony Hilton and Eric Charles Milner in 1967. [19]

## Proofs

The original proof of the Erdős–Ko–Rado theorem used induction on ${\displaystyle n}$. The base case, for ${\displaystyle n=2r}$, follows easily from the facts that an intersecting family cannot include both a set and its complement, and that in this case the bound of the Erdős–Ko–Rado theorem is exactly half the number of all ${\displaystyle r}$-element sets. The induction step for larger ${\displaystyle n}$ uses a method called shifting, of substituting elements in intersecting families to make the family smaller in lexicographic order and reduce it to a canonical form that is easier to analyze. [20]

In 1972, Gyula O. H. Katona gave the following short proof using

Let ${\displaystyle {\mathcal {A}}}$ be any intersecting family of ${\displaystyle r}$-element subsets of an ${\displaystyle n}$-element set. Arrange all ${\displaystyle n}$ elements into any cyclic order, and consider the sets from ${\displaystyle {\mathcal {A}}}$ that form intervals of length ${\displaystyle r}$ within this chosen cyclic order. For example if ${\displaystyle n=8}$ and ${\displaystyle r=3}$, one possible cyclic order for the numbers ${\displaystyle \{1,2,...,8\}}$ is the order ${\displaystyle (3,1,5,4,2,7,6,8)}$, which has eight 3-element intervals (including the ones that wrap around):
${\displaystyle (3,1,5)}$, ${\displaystyle (1,5,4)}$, ${\displaystyle (5,4,2)}$, ${\displaystyle (4,2,7)}$, ${\displaystyle (2,7,6)}$, ${\displaystyle (7,6,8)}$, ${\displaystyle (6,8,3)}$, and ${\displaystyle (8,3,1)}$.

However, only some of these intervals can belong to ${\displaystyle {\mathcal {A}}}$, because they do not all intersect. Katona's key observation is that at most ${\displaystyle r}$ intervals from a single cyclic order may belong to ${\displaystyle {\mathcal {A}}}$. This is because, if ${\displaystyle (a_{1},a_{2},\dots ,a_{r})}$ is one of these intervals, then every other interval of the same cyclic order that belongs to ${\displaystyle {\mathcal {A}}}$ separates ${\displaystyle a_{i}}$ from ${\displaystyle a_{i+1}}$, for some ${\displaystyle i}$, by containing precisely one of these two elements. The two intervals that separate these elements are disjoint, so at most one of them can belong to ${\displaystyle {\mathcal {A}}}$. Thus, the number of intervals in ${\displaystyle {\mathcal {A}}}$ is at most one plus the number ${\displaystyle r-1}$ of pairs that can be separated. [21]

Based on this idea, it is possible to count the pairs ${\displaystyle (S,C)}$, where ${\displaystyle S}$ is a set in ${\displaystyle {\mathcal {A}}}$ and ${\displaystyle C}$ is a cyclic order for which ${\displaystyle S}$ is an interval, in two ways. First, for each set ${\displaystyle S}$ one may generate ${\displaystyle C}$ by choosing one of ${\displaystyle r!}$ permutations of ${\displaystyle S}$ and ${\displaystyle (n-r)!}$ permutations of the remaining elements, showing that the number of pairs is ${\displaystyle |{\mathcal {A}}|r!(n-r)!}$. And second, there are ${\displaystyle (n-1)!}$ cyclic orders, each of which has at most ${\displaystyle r}$ intervals of ${\displaystyle {\mathcal {A}}}$, so the number of pairs is at most ${\displaystyle r(n-1)!}$. Comparing these two counts gives the inequality

${\displaystyle |{\mathcal {A}}|r!(n-r)!\leq r(n-1)!}$
and dividing both sides by ${\displaystyle r!(n-r)!}$ gives the result [21]

${\displaystyle |{\mathcal {A}}|\leq {\frac {r(n-1)!}{r!(n-r)!}}={n-1 \choose r-1}.}$

It is also possible to derive the Erdős–Ko–Rado theorem as a special case of the Kruskal–Katona theorem, another important result in Many other proofs are known. [23]

## Related results

### Generalizations

A generalization of the theorem applies to subsets that are required to have large intersections. This version of the theorem has three parameters: ${\displaystyle n}$, the number of elements the subsets are drawn from, ${\displaystyle r}$, the size of the subsets, as before, and ${\displaystyle t}$, the minimum size of the intersection of any two subsets. For the original form of the Erdős–Ko–Rado theorem, ${\displaystyle t=1}$. In general, for ${\displaystyle n}$ large enough with respect to the other two parameters, the generalized theorem states that the size of a ${\displaystyle t}$-intersecting family of subsets is at most [24]

${\displaystyle {\binom {n-t}{k-t}}.}$
More precisely, this bound holds when ${\displaystyle n\geq (t+1)(k-t+1)}$, and does not hold for smaller values of ${\displaystyle n}$. When ${\displaystyle n>(t+1)(k-t+1)}$, the only ${\displaystyle t}$-intersecting families of this size are obtained by designating ${\displaystyle t}$ elements as the common intersection of all the subsets, and constructing the family of all ${\displaystyle r}$-element subsets that include these ${\displaystyle t}$ designated elements. [25]

The corresponding graph-theoretic formulation of this generalization involves Johnson graphs in place of Kneser graphs. [26] For large enough values of ${\displaystyle n}$ and in particular for ${\displaystyle n>{\tfrac {1}{2}}k^{2}}$, both the Erdős–Ko–Rado theorem and its generalization can be strengthened from the independence number to the Shannon capacity of a graph: the Johnson graph corresponding to the ${\displaystyle t}$-intersecting ${\displaystyle r}$-element subsets has Shannon capacity ${\displaystyle {\tbinom {n-t}{k-t}}}$. [27]

The theorem can also be generalized to families in which every ${\displaystyle h}$ subsets have a common intersection. Because this strengthens the condition that every pair intersects (for which ${\displaystyle h=2}$), these families have the same bound on their maximum size, ${\displaystyle {\tbinom {n-1}{r-1}}}$ when ${\displaystyle n}$ is sufficiently large. However, in this case the meaning of "sufficiently large" can be relaxed from ${\displaystyle n\geq 2r}$ to ${\displaystyle n\geq {\tfrac {h}{h-1}}r}$. [28]

### Analogs

Many results analogous to the Erdős–Ko–Rado theorem, but for other classes of objects than finite sets, are known. These generally involve a statement that the largest families of intersecting objects, for some definition of intersection, are obtained by choosing an element and constructing the family of all objects that include that chosen element. Examples include the following:

There is a q-analog of the Erdős–Ko–Rado theorem for intersecting families of linear subspaces over finite fields. If ${\displaystyle {\mathcal {S}}}$ is an intersecting family of ${\displaystyle k}$-dimensional subspaces of an ${\displaystyle n}$-dimensional vector space over a finite field of order ${\displaystyle q}$, and ${\displaystyle n\geq 2k}$, then

${\displaystyle |{\mathcal {S}}|\leq {\binom {n-1}{k-1}}_{q},}$
where the subscript q marks the notation for the Gaussian binomial coefficient, the number of subspaces of a given dimension within a vector space of a larger dimension over a finite field of order q. In this case, a largest intersecting family of subspaces may be obtained by choosing any nonzero vector and constructing the family of subspaces of the given dimension that all contain the chosen vector. [29]

Two permutations on the same set of elements are defined to be intersecting if there is some element that has the same image under both permutations. On an ${\displaystyle n}$-element set, there is an obvious family of ${\displaystyle (n-1)!}$ intersecting permutations, the permutations that fix one of the elements (the stabilizer subgroup of this element). The analogous theorem is that no intersecting family of permutations can be larger, and that the only intersecting families of size ${\displaystyle (n-1)!}$ are the cosets of one-element stabilizers. These can be described more directly as the families of permutations that map some fixed element to another fixed element. More generally, for any ${\displaystyle t}$ and sufficiently large ${\displaystyle n}$, a family of permutations each pair of which has ${\displaystyle t}$ elements in common has maximum size ${\displaystyle (n-t)!}$, and the only families of this size are cosets of pointwise stabilizers. [30] Alternatively, in graph theoretic terms, the ${\displaystyle n}$-element permutations correspond to the perfect matchings of a complete bipartite graph ${\displaystyle K_{n,n}}$ and the theorem states that, among families of perfect matchings each pair of which share ${\displaystyle t}$ edges, the largest families are formed by the matchings that all contain ${\displaystyle t}$ chosen edges. [31] Another analog of the theorem, for partitions of a set, includes as a special case the perfect matchings of a complete graph ${\displaystyle K_{n}}$ (with ${\displaystyle n}$ even). There are ${\displaystyle (n-1)!!}$ matchings, where ${\displaystyle !!}$ denotes the double factorial. The largest family of matchings that pairwise intersect (meaning that they have an edge in common) has size ${\displaystyle (n-3)!!}$ and is obtained by fixing one edge and choosing all ways of matching the remaining ${\displaystyle n-2}$ vertices. [32]

A partial geometry is a system of finitely many abstract points and lines, satisfying certain axioms including the requirement that all lines contain the same number of points and all points belong to the same number of lines. In a partial geometry, a largest system of pairwise-intersecting lines can be obtained from the set of lines through any single point. [33]

A signed set consists of a set together with sign function that maps each element to ${\displaystyle \{1,-1\}}$. Two signed sets may be said to intersect when they have a common element that has the same sign in each of them. Then an intersecting family of ${\displaystyle r}$-element signed sets, drawn from an ${\displaystyle n}$-element universe, consists of at most

${\displaystyle 2^{r-1}{\binom {n-1}{r-1}}}$
signed sets. This number of signed sets may be obtained by fixing one element and its sign and letting the remaining ${\displaystyle r-1}$ elements and signs vary. [34]

For strings of length ${\displaystyle n}$ over an alphabet of size ${\displaystyle q}$, two strings can be defined to intersect if they have a position where both share the same symbol. The largest intersecting families are obtained by choosing one position and a fixed symbol for that position, and letting the rest of the positions vary arbitrarily. These families consist of ${\textstyle q^{n-1}}$ strings, and are the only pairwise intersecting families of this size. More generally, the largest families of strings in which every two have ${\displaystyle t}$ positions with equal symbols are obtained by choosing ${\displaystyle t+2i}$ positions and symbols for those positions, for a number ${\displaystyle i}$ that depends on ${\displaystyle n}$, ${\displaystyle q}$, and ${\displaystyle t}$, and constructing the family of strings that each have at least ${\displaystyle t+i}$ of the chosen symbols. These results can be interpreted graph-theoretically in terms of the

Unsolved problem in mathematics:

Is the largest family of intersecting triangulations of a convex polygon obtained by cutting off one vertex and choosing all triangulations of the remaining polygon?

An unproven conjecture, posed by Gil Kalai and Karen Meagher, concerns another analog for the family of triangulations of a convex polygon with ${\displaystyle n}$ vertices. The number of all triangulations is a Catalan number ${\displaystyle C_{n-2}}$, and the conjecture states that a family of triangulations every pair of which shares an edge has maximum size ${\displaystyle C_{n-3}}$. An intersecting family of size exactly ${\displaystyle C_{n-3}}$ may be obtained by cutting off a single vertex of the polygon by a triangle, and choosing all ways of triangulating the remaining ${\displaystyle (n-1)}$-vertex polygon. [36]

## Applications

The Erdős–Ko–Rado theorem can be used to prove the following result in probability theory. Let ${\displaystyle x_{i}}$ be independent 0–1 random variables with probability ${\displaystyle p\geq {\tfrac {1}{2}}}$ of being one, and let ${\displaystyle c({\vec {x}})}$ be any fixed convex combination of these variables. Then

${\displaystyle \Pr \left[c({\vec {x}})\geq {\tfrac {1}{2}}\right]\geq p.}$
The proof involves observing that subsets of variables whose indicator vectors have large convex combinations must be non-disjoint and using the Erdős–Ko–Rado theorem to bound the number of these subsets. [37]

The stability properties of the Erdős–Ko–Rado theorem play a key role in an efficient algorithm for finding monochromatic edges in improper colorings of Kneser graphs. [38] The Erdős–Ko–Rado theorem has also been used to characterize the symmetries of the space of phylogenetic trees. [39]

• Helly's theorem, on conditions ensuring that intersecting families of convex sets have a common intersection
• Sperner's theorem, an upper bound on families of pairwise non-nested sets
• Steiner system, maximum-sized uniform set families in which no pair (rather than every pair) has a large intersection
• Sunflower (mathematics), a family of sets where (unlike the maximum intersecting families here) all pairs have equal intersections
• Thrackle, an unsolved problem on the size of families of intersecting curves

## References

### Notes

1. ^ a b
2. ^
3. ^
4. ^
5. ^ Godsil & Meagher (2015), p. 43.
6. ^ a b
7. ^ a b
8. ^
9. ^
10. ^ a b
11. ^ a b
12. ^
13. ^ a b
14. ^
15. ^
16. ^
17. ^ a b
18. ^
19. ^ Hilton & Milner (1967); Frankl & Füredi (1986); Godsil & Meagher (2015), Section 1.6: The Hilton–Milner theorem, pp. 15–17.
20. ^ Erdős, Ko & Rado (1961); Godsil & Meagher (2015), Section 1.1: The original proof, pp. 2–6.
21. ^ a b c
22. ^ Godsil & Meagher (2015), Section 1.5: The Kruskal–Katona theorem, pp. 11–15.
23. ^
24. ^ Erdős, Ko & Rado (1961); Godsil & Meagher (2015), Theorem 0.0.2, p. xiv.
25. ^
26. ^ Godsil & Meagher (2015), p. xiv.
27. ^
28. ^
29. ^ Frankl & Wilson (1986); Godsil & Meagher (2015), Chapter 9: The Grassmann scheme, pp. 161–183.
30. ^ Frankl & Deza (1977); Cameron & Ku (2003); Larose & Malvenuto (2004); Godsil & Meagher (2009); Ellis, Friedgut & Pilpel (2011); Godsil & Meagher (2015), Chapter 14: Permutations, pp. 260–278.
31. ^ Godsil & Meagher (2015), Section 7.5: Perfect matchings in complete bipartite graphs.
32. ^ Godsil & Meagher (2015), Section 15.2: Perfect matchings, pp. 282–284.
33. ^ Godsil & Meagher (2015), Section 5.6: Partial geometries, pp. 100–103.
34. ^
35. ^ Ahlswede & Khachatrian (1998); Godsil & Meagher (2015), Chapter 10: The Hamming scheme, pp. 184–209.
36. ^
37. ^
38. ^
39. ^