Math 2.0

Combinatorics Spectral and algebraic graph theory Theorem

Friendship theorem

Builds on GraphNeighbourhoodAdjacency matrix

Statement

Let GG be a finite nonempty graph in which every two distinct vertices have exactly one common neighbour. Then GG has a vertex adjacent to all other vertices. Consequently, for some integer k≥0k \ge 0, the graph GG consists of kk triangles that share one common vertex and are otherwise disjoint.

Remarks

The second sentence follows from the first. If ww is adjacent to all other vertices, each other vertex uu has exactly one common neighbour with ww. So the vertices other than ww fall into pairs of adjacent vertices. For the first sentence, suppose that no vertex is adjacent to all others. A counting argument shows that two non-adjacent vertices have the same degree, and from this that GG is kk-regular for some kk. Then the adjacency matrix AA satisfies A2=(k−1)I+JA^2 = (k - 1) I + J, where JJ is the all-ones matrix, so the eigenvalues of AA are kk and ±k−1\pm \sqrt{k - 1}. Since the trace of AA is 00, the number k−1\sqrt{k - 1} must be rational, and the multiplicities force k=2k = 2. Then GG is a triangle, which has a vertex adjacent to all others, a contradiction. The finiteness hypothesis is needed: there are infinite graphs in which every two vertices have exactly one common neighbour but no vertex is adjacent to all others. Paul Erdős, Alfréd Rényi and Vera Sós proved the theorem in 1966.

Going deeper

For a student

The usual proof is a short application of linear algebra to a combinatorial condition: the hypothesis says exactly that A2=(diagonal of degrees)−I+JA^2 = (\text{diagonal of degrees}) - I + J. It is a typical use of eigenvalues in spectral graph theory, where integrality of eigenvalue multiplicities rules out most cases. The graphs it describes, kk triangles glued at a vertex, are called friendship graphs or windmill graphs.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Graph definition
  2. Adjacency matrix definition
  3. Neighbourhood definition
  4. Friendship theorem statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Friendship_graph
About this page
TagTN4GDFWGAR
URIm2://TN4GDFWGAR
Kindstatement, theorem
WritingW0 stub
MSC05C75, 05C50
StatusThis copy of the site has no build data. Run m2 status TN4GDFWGAR.
AboutGraph
UsesGraph, Neighbourhood, Adjacency matrix
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.