Next Article in Journal
Low-Complexity Relay Selection for Full-Duplex Random Relay Networks
Next Article in Special Issue
Brauer Analysis of Thompson’s Group F and Its Application to the Solutions of Some Yang–Baxter Equations
Previous Article in Journal
Vanishing Cycles and Analysis of Singularities of Feynman Diagrams
Previous Article in Special Issue
Entire Irregularity Indices: A Comparative Analysis and Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Strongly Regular Graphs and the Friendship Theorem

by
Igal Sason
1,2
1
Andrew & Erna Viterbi Faculty of Electrical and Computer Engineering, Technion—Israel Institute of Technology, Haifa 3200003, Israel
2
Faculty of Mathematics, Technion—Israel Institute of Technology, Haifa 3200003, Israel
Mathematics 2025, 13(6), 970; https://doi.org/10.3390/math13060970
Submission received: 19 February 2025 / Revised: 5 March 2025 / Accepted: 12 March 2025 / Published: 14 March 2025
(This article belongs to the Special Issue Advances in Combinatorics, Discrete Mathematics and Graph Theory)

Abstract

:
This paper presents an alternative proof of the celebrated friendship theorem, originally established by Erdős, Rényi, and Sós in 1966. The proof relies on a closed-form expression for the Lovász ϑ -function of strongly regular graphs, recently derived by the author. Additionally, this paper considers some known extensions of the theorem, offering discussions that provide insights into the friendship theorem, one of its extensions, and the proposed proof. Leveraging the closed-form expression for the Lovász ϑ -function of strongly regular graphs, this paper further establishes new necessary conditions for a strongly regular graph to be a spanning or induced subgraph of another strongly regular graph. In the case of induced subgraphs, the analysis also incorporates a property of graph energies. Some of these results are extended to regular graphs and their subgraphs.

1. Introduction

The friendship theorem in graph theory states that if a finite graph has the property that every pair of distinct vertices shares exactly one common neighbor, then the graph consists of edge-disjoint triangles sharing a single, central vertex. In other words, such a graph is necessarily a friendship graph (also called a windmill graph), where a central vertex is adjacent to all others, and additional edges form edge-disjoint triangles. The theorem’s name reflects its intuitive human interpretation, which asserts that if every two individuals in a (finite) group have exactly one mutual friend, then there must be someone who is everybody’s friend (often referred to as the “politician”).
This theorem was first proved by Erdős, Rényi, and Sós [1], and it found diverse applications in combinatorics and other disciplines. While the friendship theorem itself is a result in graph theory, its structural properties make it useful in designing graph-based codes, network coding, and cryptographic schemes. In network coding, graphs represent the information flow between nodes, and the friendship property ensures that all transmissions go through a single relay node, which models centralized communication structures, such as satellite communication, where every ground station interacts via a single hub. This property is also useful in wireless sensor networks, where multiple sensors communicate through a central processing node. Furthermore, friendship graphs can be linked to block designs and combinatorial structures used to construct error-correcting codes with good covering properties. Beyond these applications, the friendship theorem has a broad range of applications in computer science, biology, social sciences, and economics. The fact that every two vertices share exactly one mutual neighbor makes it a useful model for systems where a single hub controls multiple independent interactions, such as in social influence, network protocols, and centralized coordination problems.
The original proof of the theorem involves arguments based on graph connectivity, degree counting, and combinatorial reasoning. The reader is referred to a nice exposition of a proof of the friendship theorem in Chapter 44 of [2], which combines combinatorics and linear algebra (spectral graph theory). Due to its importance and simplicity, the theorem was proved in various ways. For historical insights into these proofs, as well as a novel combinatorial proof and an extension of the theorem, the reader is referred to [3].
The aim of this paper was twofold. First, it provides an alternative proof of this theorem that relies on a recent result by the author [4], in which a closed-form expression for the celebrated Lovász ϑ -function was derived for the structured family of strongly regular graphs. We believe this proof offers a new perspective on the existing collection of proofs of the friendship theorem. This paper further considers some known extensions of the theorem, offering discussions that provide insights into the friendship theorem, one of its extensions from [3], and the proposed proof. The second aim of this paper, building on the closed-form expression for the Lovász ϑ -function of all strongly regular graphs, is to establish new necessary conditions for a strongly regular graph to be a spanning or induced subgraph of another strongly regular graph. For induced subgraphs, the analysis also incorporates a property of graph energies. Some of these results are extended to regular graphs and their subgraphs. In general, determining whether a graph is a spanning or induced subgraph of another given graph is an important and broadly applicable problem across theoretical, algorithmic, and applied areas of graph theory.
This paper is structured as follows: Section 2 introduces the notation and essential background required for the analysis in this paper. Section 3 provides our alternative proof of the friendship theorem, followed by a variation of a known spectral-graph-theoretic proof, and a consideration of the friendship theorem and our alternative proof to gain further insights into the theorem, our proposed proof, and one of the theorem’s extensions in [3]. Based on the Lovász ϑ -function of strongly regular graphs, Section 4 and Section 5 establish new necessary conditions for one strongly regular graph to be a spanning or induced subgraph of another strongly regular graph. The proposed conditions can be easily checked, their utility is demonstrated, and they are extended to regular graphs and subgraphs, with a consideration of their computational complexity.

2. Preliminaries

This section presents the notation and necessary background, including the definitions and theorems essential for the analysis in this paper.
Let G be a graph with vertex set V ( G ) and edge set E ( G ) . A graph G is called simple if it has no self-loops and no multiple edges between any pair of vertices. Throughout this paper, unless explicitly mentioned, all graphs under consideration are simple, finite, and undirected. The following standard notation and definitions are used.
Definition 1 (Graph complement).
The complement of a graph G , denoted by G ¯ , is a graph whose vertex set is V ( G ) , and its edge set is the complement set E ( G ) ¯ . Every vertex in V ( G ) is nonadjacent to itself in G and G ¯ , so { i , j } E ( G ¯ ) if and only if { i , j } E ( G ) with i j .
Definition 2 (Integer-valued graph invariants).
  • Let k N . A proper k-coloring of a graph G is a function c : V ( G ) { 1 , 2 , , k } , where c ( v ) c ( u ) for every { u , v } E ( G ) . The chromatic number of G , denoted by χ ( G ) , is the smallest k for which there exists a proper k-coloring of G .
  • A clique in a graph G is a subset of vertices U V ( G ) , where { u , v } E ( G ) for every u , v U with u v . The clique number of G , denoted by ω ( G ) , is the largest size of a clique in G .
  • An independent set in a graph G is a subset of vertices U V ( G ) , where { u , v } E ( G ) for every u , v U . The independence number of G , denoted by α ( G ) , is the largest size of an independent set in G . Consequently, α ( G ) = ω ( G ¯ ) for every graph G .
These integer-valued functions of a graph are invariant under graph isomorphisms, so they are referred to as graph invariants.
We next introduce the Lovász ϑ -function of a graph G , and then consider some of its useful properties. To this end, orthonormal representations of graphs are introduced.
Definition 3 (Orthonormal representations of a graph).
Let G be a finite, simple, and undirected graph, and d N . An orthonormal representation of G in the d-dimensional Euclidean space R d assigns to each vertex i V ( G ) a unit vector u i R d such that for every two distinct and nonadjacent vertices in G , their assigned vectors are orthogonal.
Definition 4
(Lovász ϑ-function, [5]). Let G be a finite, undirected, and simple graph. The Lovász ϑ-function of G is defined as
ϑ ( G ) min { u i } , c max i V ( G ) 1 c T u i 2 ,
where the minimum is taken over all orthonormal representations { u i : i V ( G ) } of G and over all unit vectors c . The unit vector c is called the handle of the orthonormal representation. By the Cauchy–Schwarz inequality, c T u i c u i = 1 , so ϑ ( G ) 1 , with equality if and only if G is a complete graph.
The dimension d of the Euclidean space R d in the orthonormal representations of G , over which the minimization on the right-hand side of (1) is performed, can be set to the order of G , i.e., d = | V ( G ) | (see p. 183 of [6]). Let the following notation be used:
  • A is the n × n adjacency matrix of G ( n | V ( G ) | ), where A i , j = 1 if and only if { i , j } E ( G ) and A i , j = 0 otherwise.
  • J n is the all-ones n × n matrix.
  • S + n is the set of all n × n positive semidefinite matrices.
  • The eigenvalues of A are given in decreasing order by
    λ max ( G ) = λ 1 ( G ) λ 2 ( G ) λ n ( G ) = λ min ( G ) .
  • The adjacency spectrum of G is the multiset of the eigenvalues of A , counted with multiplicities.
The following semidefinite program (SDP) computes ϑ ( G ) (by Theorem 4 of [5]):
maximize Trace ( B J n ) subject to B S + n , Trace ( B ) = 1 , A i , j = 1 B i , j = 0 , i , j [ n ] .
This renders the computational complexity of ϑ ( G ) feasible. Specifically, there exist standard algorithms in convex optimization that numerically compute ϑ ( G ) for every graph G with a precision of r decimal digits and in polynomial-time in n and r (see Section 11.3 of [6]).
The Lovász ϑ -function of G and its complement graph G ¯ satisfy the following [5,6]:
(1)
Sandwich theorem:
α ( G ) ϑ ( G ) χ ( G ¯ ) ,
ω ( G ) ϑ ( G ¯ ) χ ( G ) .
(2)
Computational complexity: The graph invariants α ( G ) , ω ( G ) , and χ ( G ) are NP-hard problems. However, as mentioned above, the numerical computation of ϑ ( G ) is, in general, feasible, so it provides polynomial-time computable bounds on very useful graph invariants that are hard to compute.
(3)
Hoffman–Lovász inequality: Let G be d-regular of order n. Then,
ϑ ( G ) n λ n ( G ) d λ n ( G ) ,
with equality if G is edge-transitive.
Definition 5 (Strongly regular graphs).
Let G be a d-regular graph of order n. The graph G is a strongly regular graph (SRG) if there exist nonnegative integers λ and μ such that
  • Every pair of adjacent vertices has exactly λ common neighbors;
  • Every pair of distinct, nonadjacent vertices has exactly μ common neighbors.
Such a strongly regular graph is said to be a graph in the family srg ( n , d , λ , μ ) .
It is important to note that these four parameters are interrelated (see Proposition 2 for the known results). Consequently, for some parameter vectors ( n , d , λ , μ ) , the family srg ( n , d , λ , μ ) contains no graphs. Furthermore, for parameter vectors ( n , d , λ , μ ) such that the set srg ( n , d , λ , μ ) is nonempty, there may exist several nonisomorphic strongly regular graphs within it. For example, according to [7], there exist 167 nonisomorphic strongly regular graphs in the family srg ( 64 , 18 , 2 , 6 ) . The reader is referred to [7,8,9] for the enumeration of strongly regular graphs with given parameter vectors.
Proposition 1
([9]). A graph G is strongly regular if and only if its complement G ¯ is so. Furthermore, if G is a strongly regular graph in the family srg ( n , d , λ , μ ) , then G ¯ is a strongly regular graph in the family srg ( n , n d 1 , n 2 d + μ 2 , n 2 d + λ ) .
Theorem 1
(Bounds on the Lovász function of regular graphs, [4]). Let G be a d-regular graph of order n, which is a noncomplete and nonempty graph. Then, the following bounds hold for the Lovász ϑ-function of G and its complement G ¯ :
(1) 
n d + λ 2 ( G ) 1 + λ 2 ( G ) ϑ ( G ) n λ n ( G ) d λ n ( G ) .
  • Equality holds in the leftmost inequality of (7) if G ¯ is both vertex-transitive and edge-transitive, or if G is a strongly regular graph;
  • Equality holds in the rightmost inequality of (7) if G is edge-transitive, or if G is a strongly regular graph.
(2) 
1 d λ n ( G ) ϑ ( G ¯ ) n 1 + λ 2 ( G ) n d + λ 2 ( G ) .
  • Equality holds in the leftmost inequality of (8) if G is both vertex-transitive and edge-transitive, or if G is a strongly regular graph;
  • Equality holds in the rightmost inequality of (8) if G ¯ is edge-transitive, or if G is a strongly regular graph.
As a common sufficient condition, note that all the inequalities in (7) and (8) hold with equality if G is a strongly regular graph. The following result provides a closed-form expression of the Lovász ϑ -function of all strongly regular graphs.
Theorem 2
(The Lovász ϑ -function of strongly regular graphs, [4]). Let G be a strongly regular graph in the family srg ( n , d , λ , μ ) . Then,
ϑ ( G ) = n ( t + μ λ ) 2 d + t + μ λ ,
ϑ ( G ¯ ) = 1 + 2 d t + μ λ ,
where
t ( μ λ ) 2 + 4 ( d μ ) .
Remark 1.
In light of Theorem 2, all strongly regular graphs in a family srg ( n , d , λ , μ ) are not only cospectral [9], but they also share the same value of the Lovász ϑ-function.
Corollary 1
([4]). Let G be a strongly regular graph on n vertices. Then,
ϑ ( G ) ϑ ( G ¯ ) = n .
Remark 2.
Equality (12) is known to hold for all vertex-transitive graphs (see Theorem 8 of [5]). Corollary 1 shows that it also holds for all strongly regular graphs. It should be noted that strongly regular graphs may not necessarily be vertex-transitive (see, e.g., [10]).
The closed-form expression in Theorem 2 for the Lovász ϑ -function of strongly regular graphs eliminates the need for a numerical solution to the SDP in (3) while also providing an explicit analytical expression for this function. This facilitates the derivation of analytical bounds on key graph invariants, which are generally NP-hard to compute. These bounds are expressed in terms of the parameters ( n , d , λ , μ ) characterizing strongly regular graphs, as it is next shown in Corollary 2.
Corollary 2
(Bounds on graph invariants of strongly regular graphs, [4]). Let G be a strongly regular graph in the family srg ( n , d , λ , μ ) . Then,
α ( G ) n ( t + μ λ ) 2 d + t + μ λ
ω ( G ) 1 + 2 d t + μ λ ,
χ ( G ) 1 + 2 d t + μ λ ,
χ ( G ¯ ) n ( t + μ λ ) 2 d + t + μ λ ,
where t is given in (11).
Proof. 
The bounds in (13)–(16) follow from the combination of the sandwich theorem in (4) and (5) with Theorem 2. □
Example 1
(Bounds on graph invariants of strongly regular graphs). The tightness of the bounds in Corollary 2 is exemplified for four strongly regular graphs as follows:
(1) 
Petersen graph: Let G 1 be the Petersen graph, the unique strongly regular graph in the family srg ( 10 , 3 , 0 , 1 ) (see Section 10.3 of [9]). For G 1 , the upper bounds on its independence and clique numbers in (13) and (14), respectively, as well as the lower bound on its chromatic number in (15) are tight:
α ( G 1 ) = 4 , ω ( G 1 ) = 2 , χ ( G 1 ) = 3 .
(2) 
Schläfli, Shrikhande, and Hall–Janko graphs:
  • The Schläfli graph is (up to an isomorphism) the unique strongly regular graph in the family srg ( 27 , 16 , 10 , 8 ) (see Section 10.7 of [9]).
  • The Shrikhande graph is one of two nonisomorphic strongly regular graphs in the family srg ( 16 , 6 , 2 , 2 ) (see Section 10.6 of [9]).
  • The Hall–Janko graph is the unique strongly regular graph in the family srg ( 100 , 36 , 14 , 12 ) (see Section 10.32 of [9]).
Let G 2 , G 3 , and G 4 denote these graphs, respectively. The lower bounds on the chromatic numbers of these graphs, as given in (15), are all tight:
χ ( G 2 ) = 9 , χ ( G 3 ) = 4 , χ ( G 4 ) = 10 .
(3) 
Shrikhande graph ( G 3 ):
  • The upper bound on its independence number in (13) is tight: α ( G 3 ) = 4 .
  • The upper bound on its clique number in (14) is, however, not tight, as the upper bound is 4, while the actual clique number is ω ( G 3 ) = 3 .

3. The Friendship Theorem: An Alternative Proof and Further Extensions

This section is structured as follows: It presents the renowned friendship theorem, originally established in [1] (see Section 3.1), and it provides a new alternative proof that relies on the Lovász ϑ -function of strongly regular graphs (see Theorem 2 and Section 3.2). This section further provides a variation of a proof from Chapter 44 of [2] that relies on the spectral properties of strongly regular graphs (see Section 3.3). It finally considers further generalizations, providing discussions in order to obtain further insights into the theorem, our proposed proof, and one of the theorem’s extensions in [3], which are also supported by numerical results for (small and large) strongly regular graphs (see Section 3.4).

3.1. The Friendship Theorem

Theorem 3
(Friendship Theorem, [1]). Let G be a finite graph in which any two distinct vertices have a single common neighbor. Then, G consists of edge-disjoint triangles sharing a single vertex that is adjacent to every other vertex.
A human interpretation of Theorem 3 is well known. Assume that there is a party with n people, where every pair of individuals has precisely one common friend at the party. Theorem 3 asserts that one of these people is a friend of everyone. Indeed, construct a graph whose vertices represent the n people, and every two vertices are adjacent if and only if they represent two friends. The claim then follows from Theorem 3.
Remark 3
(On Theorem 3). The windmill graph (see Figure 1) has the desired property of the friendship theorem and it turns out to be the only graph with that property. Notably, the friendship theorem does not hold for infinite graphs. Indeed, for an inductive construction of a counterexample, one may start with a five-cycle C 5 and repeatedly add a common neighbor for every pair of vertices that does not yet have one. This process results in a countably infinite friendship graph without a vertex adjacent to all other vertices.

3.2. A New Alternative Proof of the Friendship Theorem Relying on the Lovász ϑ -Function

This subsection presents an alternative proof of Theorem 3 by utilizing the Lovász ϑ -function of strongly regular graphs (and their complements) in Theorem 2. Recall that by Proposition 1, the complements of strongly regular graphs are strongly regular as well.
Proof. 
Suppose the assertion is false and let G be a counterexample—a finite graph in which any two distinct vertices have a single common neighbor, yet no vertex in G is adjacent to all other vertices. A contradiction is obtained as follows:
The first step shows that the graph G is regular, as proved in Chapter 44 of [2]. We provide a variation of this regularity proof, and then take a different approach that relies on graph invariants, such as ω ( G ) , χ ( G ) , and ϑ ( G ¯ ) .
  • To assert the regularity of G , it is first proved that nonadjacent vertices in G have equal degrees, i.e., d ( u ) = d ( v ) if { u , v } E ( G ) .
  • The given hypothesis yields that G is a connected graph (having a diameter of at most 2). Let { u , v } E ( G ) , and let N ( u ) and N ( v ) denote, respectively, the sets of neighbors of the nonadjacent vertices u and v.
  • Let f : N ( u ) N ( v ) be the injective function where every x N ( u ) is mapped to the unique y N ( x ) N ( v ) . Indeed, if z N ( u ) { x } satisfies f ( z ) = y , then x and z share two common neighbors (namely, y and u), which contradicts the assumption of the theorem.
  • Since f : N ( u ) N ( v ) is injective, it follows that | N ( u ) | | N ( v ) | .
  • By symmetry, swapping u and v (as nonadjacent vertices of the undirected graph G ) also yields | N ( v ) | | N ( v ) | , so we obtain d ( u ) = | N ( u ) | = | N ( v ) | = d ( v ) for all vertices u , v V ( G ) such that { u , v } E ( G ) .
  • To complete the proof that G is regular, let u and v be fixed, nonadjacent vertices in G . Consequently, d ( u ) = d ( v ) . By the assumption of the theorem, except for one vertex, all other vertices are either nonadjacent to u or v. Hence, except for this vertex, all these vertices must have identical degrees by what we already proved.
  • Finally, by our further assumption (later leading to a contradiction), since there is no vertex in G that is adjacent to all other vertices, the single vertex that is adjacent to u and v also has a nonneighbor in G , so it also should have an identical degree to all the degrees of the other vertices (by what is proved in the previous item). Consequently, G is a regular graph.
From this point, our proof proceeds differently.
  • Let G be a k-regular graph on n vertices. By the theorem’s assumption, every two distinct vertices have exactly one common neighbor, so G is either a connected, strongly regular graph in the family srg ( n , k , 1 , 1 ) if k 3 , or G = K 3 if k = 2 , or G = K 1 if k = 0 (recall that complete graphs are excluded from the family of strongly regular graphs).
  • First, k = 0 and k = 2 are excluded since complete graphs do not contradict our assumption of having a vertex not adjacent to all other vertices. Hence, let k 3 .
  • Every two adjacent vertices in G share a common neighbor, so G contains a triangle. Moreover, G is C 4 -free since every two vertices have exactly one common neighbor, so it must also be K 4 -free. Hence, ω ( G ) = 3 .
  • We next show that χ ( G ) = 3 . First, χ ( G ) ω ( G ) = 3 . We also need to show that χ ( G ) 3 , which means that three colors suffice to color all the vertices of G in a way that no two adjacent vertices are assigned the same color. This can be performed recursively by observing that each edge belongs to exactly one triangle (otherwise, the endpoints of that edge would have more than one common neighbor, which is not allowed). Moreover, each newly colored vertex always completes a properly colored triangle, ensuring that the coloring remains valid at every step of the recursion without requiring a fourth color.
  • By the sandwich theorem, ω ( G ) ϑ ( G ¯ ) χ ( G ) , so ω ( G ) = χ ( G ) = 3 implies that ϑ ( G ¯ ) = 3 .
  • By Theorem 2, where G is a strongly regular graph in the family srg ( n , k , 1 , 1 ) , we also obtain
    ϑ ( G ¯ ) = 1 + k k 1 .
    This leads to a contradiction since for all k 3 ,
    ( k 2 ) 2 > 0 , k 2 > 4 ( k 1 ) , 1 + k k 1 > 3 ,
    which completes the proof of the theorem by contradiction. Note that every edge in G lies on a triangle (by the theorem’s assumption), and G consists of edge-disjoint triangles since it is C 4 -free.

3.3. Another Proof of the Friendship Theorem Relying on the Spectral Properties of Strongly Regular Graphs

This subsection presents an alternative proof of the friendship theorem that relies on the adjacency spectrum of strongly regular graphs. This second proof forms a variation of the proof provided in Chapter 44 of [2].
From the point in Section 3.2 where we obtain, by contradiction, that G is a strongly regular graph in the family srg ( n , k , 1 , 1 ) with k 3 , it is possible to obtain a contradiction in an alternative way that relies on the following known result for strongly regular graphs.
Proposition 2 (Feasible parameters of strongly regular graphs).
Let G be a strongly regular graph in the family srg ( n , d , λ , μ ) . Then, the following holds:
(1) 
( n d 1 ) μ = d ( d λ 1 ) .
(2) 
n 1 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) is a nonnegative even integer.
(3) 
6 | ( n d λ ) .
Proof. 
This holds by relying on some basic properties of strongly regular graphs (see Chapter 21 of [11]) as follows.
  • Item 1 is a combinatorial equality for strongly regular graphs. It is obtained by letting the vertices in G lie in three levels, where an arbitrarily selected vertex is at the root in Level 0, its d neighbors lie in Level 1, and all the others lie in Level 2. The equality in Condition 1 then follows from a double-counting argument of the number of edges between Levels 1 and 2.
  • Item 2 holds by the integrality and nonnegativity of the multiplicities m 1 , 2 of the second-largest and least eigenvalues of the adjacency matrix, respectively, which satisfy
    0 2 m 1 , 2 = n 1 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) .
  • Item 3 holds since the number of triangles in G is given by 1 6 n d λ . Indeed, every vertex has d neighbors, every pair of adjacent vertices shares exactly λ common neighbors (forming a triangle), and each triangle is counted six times due to the six possible permutations of its three vertices.
  • By applying Item 1 in Proposition 2 to G with the parameters d = k and λ = μ = 1 , we obtain n = k 2 k + 1 . This does not lead to a contradiction yet since summing over all the degrees of the neighbors of an arbitrary vertex u in G gives k 2 . Then, by the assumption of the theorem that every two vertices have exactly one common neighbor, it follows that the above summation counts each vertex in G exactly once, except for vertex u, which is counted k times. Hence, indeed n = k 2 k + 1 .
  • By Item 2 in Proposition 2 with d = k and λ = μ = 1 , it follows that k k 1 N . Consequently, ( k 1 ) | k 2 . Since k 2 = ( k 1 ) ( k + 1 ) + 1 , it follows that ( k 1 ) | 1 , so k = 2 . If k = 2 , the only graph that satisfies the condition of Theorem 3 is G = K 3 , which also satisfies the assertion of the theorem. Hence, this argument contradicts the assumption in the proof since it leads to the conclusion that G is a strongly regular graph in the family srg ( n , k , 1 , 1 ) with k 3 , which is subsequently rejected (as ( k 1 ) | 1 ).

3.4. Further Discussions and Insights on Extensions of the Friendship Theorem

This subsection considers further generalizations and provides discussions on the friendship theorem and its proofs. The following discussions are presented in Remarks 4–6 and are supplemented by examples that examine strongly regular graphs of different orders, both small and large. In particular, Remark 6 builds on our proof technique, which is based on the Lovász ϑ -function of strongly regular graphs, to offer insights into the extended friendship theorem studied in [3]. It also establishes additional results, which are further illustrated through Examples 2–4.
Remark 4.
By the friendship theorem (Theorem 3), every finite graph in which each pair of distinct vertices shares exactly one common neighbor must be isomorphic to a windmill graph (see Figure 1). Consequently, its order n must be an odd integer, and the size of the graph is given by | E ( G ) | = 3 2 ( n 1 ) . By definition, a graph G satisfying the assumption of Theorem 3 is C 4 -free. A combinatorial proof, based on double counting, asserts that the size of a C 4 -free graph G on n vertices satisfies (see pp. 200–201 in [2])
| E ( G ) | 1 4 n ( 1 + 4 n 3 ) .
Furthermore, it was shown that this upper bound on the size of G is nearly tight in the sense that if p is a prime number, and n = p 2 + p + 1 , then a specific construction of a C 4 -free graph on n vertices has a size that is given by (see pp. 201–202 in [2])
| E ( G ) | = 1 4 ( n 1 ) ( 1 + 4 n 3 ) .
The significant difference between the size of a windmill graph on n vertices, scaling linearly as 3 2 n , and the largest size of a general C 4 -free graph on n vertices, scaling super-linearly as 1 2 n 3 2 , stems from an additional structural constraint on G . Specifically, beyond being a C 4 -free graph, G must satisfy a stronger condition that uniquely determines it (up to an isomorphism) as a windmill graph.
Remark 5.
The friendship theorem was recently generalized in [12] to directed graphs (digraphs), allowing for asymmetry in liking relationships. The digraph version of the friendship theorem (see Theorem 1.1 of [12]) states that if a finite, simple, directed graph has the property that every pair of vertices has exactly one common out-neighbor, then it must be either of the following:
(1) 
A k-regular digraph—where each vertex has out-degree k and in-degree k—on n = k 2 k + 1 vertices with k 2 ;
(2) 
A so-called “fancy wheel digraph,” which consists of a disjoint union of directed cycles with an additional vertex that has arcs to and from every vertex on these cycles.
Notably, the order n of the k-diregular digraph matches that of the undirected graph G in the second proof (Section 3.3), in which it was established—prior to reaching the contradiction—that G is a k-regular graph of order n = k 2 k + 2 .
Remark 6.
As a possible extension of the friendship theorem, Proposition 1 of [3] states that if G is a finite, simple, and undirected graph such that every pair of vertices has exactly ℓ common neighbors for some fixed 2 , then G is a regular graph. Consequently, G is a strongly regular graph in the family srg ( n , d , , ) . Furthermore, by Item 1 of Proposition 2 (here), it follows by substituting λ = μ = that the parameters n, d, and ℓ are related by the equation ( n 1 ) = d ( d 1 ) . As an easy generalization of (19) in our proof of the friendship theorem, it follows from Theorem 2 that
ϑ ( G ¯ ) = 1 + d d .
Similar to our proof of the friendship theorem, which is based on the sandwich theorem stating that ω ( G ) ϑ ( G ¯ ) χ ( G ) , it follows that the clique and chromatic numbers of G satisfy, respectively,
ω ( G ) 1 + d d ,
χ ( G ) 1 + d d .
Furthermore, by Corollary 1, it follows from (24) that
ϑ ( G ) = n d d + d .
Similarly, by the sandwich theorem, the independence number of G and the chromatic number of its complement G ¯ satisfy the following bounds:
α ( G ) n d d + d ,
χ ( G ¯ ) n d d + d .
Hence, our proposed proof of the friendship theorem that relies on the Lovász ϑ-function of strongly regular graphs, combined with Theorem 2 and Corollary 1 (here), and Proposition 1 of [3], lead to bounds on graph invariants of G and G ¯ with respect to the extended version of the friendship theorem of [3] for an arbitrary 2 .
The next three examples, preceded by definitions and notation, refer to Remark 6.
Definition 6 (Cartesian product of graphs).
Let G and H be graphs. The Cartesian product, denoted by G H , is a graph with a vertex set that is given by V ( G H ) = V ( G ) × V ( H ) (i.e., it is equal to the Cartesian product of the vertex sets of G and H ), and its edge set is characterized by the property that distinct vertices ( g , h ) and ( g , h ) , where g , g V ( G ) and h , h V ( H ) , are adjacent in G H if and only if one of the following conditions holds:
  • (1) g = g and { h , h } E ( H ) , or (2) { g , g } E ( G ) and h = h .
Definition 7 (Line graph).
Let G = ( V , E ) be a graph. The line graph of G , denoted by L ( G ) , is a graph whose vertices are the edges of G , and two vertices are adjacent in the line graph L ( G ) if the corresponding edges are incident in G .
Example 2.
The Shrikhande graph and the Cartesian product of two complete graphs on four vertices, K 4 K 4 , are the two nonisomorphic strongly regular graphs in the family srg ( 16 , 6 , 2 , 2 ) , where each pair of distinct vertices has exactly two common neighbors. Note that the parameters n = 16 , d = 6 , and = 2 indeed satisfy the equality ( n 1 ) = d ( d 1 ) . Let G 1 and G 2 denote, respectively, these two graphs. By (25), (26), (28), and (29), we obtain
α ( G ) 4 , ω ( G ) 4 , χ ( G ) 4 , χ ( G ¯ ) 4 ,
which hold for G 1 and G 2 . A comparison with their exact values (computed by [13]) gives
α ( G 1 ) = 4 , ω ( G 1 ) = 3 , χ ( G 1 ) = 4 , χ ( G ¯ 1 ) = 6 ,
α ( G 2 ) = 4 , ω ( G 2 ) = 4 , χ ( G 2 ) = 4 , χ ( G ¯ 2 ) = 4 ,
so the four bounds on the graph invariants in (30) are tight for G = G 2 .
Example 3.
For n 4 , the line graph of the complete graph on n vertices, G = L ( K n ) , is a strongly regular graph in the family srg ( 1 2 n ( n 1 ) , 2 ( n 2 ) , n 2 , 4 ) . Consequently, the line graph L ( K 6 ) is in the family srg ( 15 , 8 , 4 , 4 ) , so every pair of distinct vertices in this graph has exactly four common neighbors. Using the SageMath software [13] gives α ( G ) = 3 , ω ( G ) = 5 , χ ( G ) = 5 , and χ ( G ¯ ) = 4 . Substituting the graph parameters n = 15 , d = 8 , and = 4 into (25)–(29) shows that the three bounds in (25), (26), and (28) are tight. However, the bound in (29) is not tight, as it gives χ ( G ¯ ) 3 , whereas its exact value is 4.
Example 4
(Complements of symplectic polar graphs). The symplectic polar graphs are strongly regular graphs belonging to the families srg ( v , k , λ , μ ) , where
v = q 2 n 1 q 1 , k = q ( q 2 n 2 1 ) q 1 , λ = q 2 n 2 1 q 1 2 , μ = q 2 n 2 1 q 1 ,
for all n N and q 2 that is a prime power. Consequently, λ = μ 2 and μ = k q . This symplectic polar graph is denoted by G = Sp ( 2 n , q ) (see Section 2.5 in [9]). The complement graph of a strongly regular graph in the family srg ( ν , k , λ , μ ) is a strongly regular graph in the family srg ( v , v k 1 , v 2 k + μ 2 , v 2 k + λ ) (see Proposition 1). Substituting v, k, λ, and μ in (33) gives that H = G ¯ is a strongly regular graph in the family
srg q 2 n 1 q 1 , q 2 n 1 , q 2 n 2 ( q 1 ) , q 2 n 2 ( q 1 ) .
Consequently, the family of the complements of the symplectic polar graphs, H = Sp ( 2 n , q ) ¯ , where n N and q 2 is a prime power, forms an infinite family of strongly regular graphs that are characterized by the property that every pair of vertices in such a graph has an identical number of common neighbors, whose value is given by = q 2 n 2 ( q 1 ) .
In regard to their graph invariants (as illustrated in Table 1), by Section 2.5.4 of [9],
α ( H ) = ω ( G ) = q n 1 q 1 ,
and, by Theorem 3.29 of [14],
ϑ ( H ) = α ( H ) = q n 1 q 1 ,
ϑ ( H ¯ ) = χ ( H ) = q n + 1 .
Consequently, it follows that the bounds in (28) and (29), applied to H for its independence and chromatic numbers, are tight. Numerical results are presented in Table 1.

4. Spanning Subgraphs of Strongly Regular Graphs

A spanning subgraph is obtained by removing some edges from the original graph while preserving all its vertices. Let G and H be graphs of the same order and belonging to the strongly regular graph families srg ( n , d , λ , μ ) and srg ( n , d , λ , μ ) , respectively. The specific structure of these graphs may not necessarily be specified, as multiple nonisomorphic strongly regular graphs can exist within a given family [7,9]. We next derive a necessary condition for one of these graphs to be a spanning subgraph of the other that relies on the Lovász ϑ -functions of these graphs and their complements.
We rely on the following simple lemma, which relates the Lovász ϑ -functions of two graphs (not necessarily strongly regular), where one is a spanning subgraph of the other.
Lemma 1.
Let G and H be undirected and simple graphs with an identical vertex set. If H is a spanning subgraph of G , then
ϑ ( G ¯ ) ϑ ( H ¯ ) ,
ϑ ( G ) ϑ ( H ) .
Proof. 
Inequality (38) follows from (1) since every orthonormal representation of G ¯ is also an orthonormal representation of H ¯ . This holds since if { i , j } E ( H ¯ ) and i j , then { i , j } E ( H ) E ( G ) , and therefore { i , j } E ( G ¯ ) ; hence, if u i T u j = 0 for all { i , j } E ( G ¯ ) , then the same also holds for all { i , j } E ( H ¯ ) . Inequality (38) also follows alternatively from the SDP problem in (3) since every feasible solution that corresponds to ϑ ( H ¯ ) is also a feasible solution that corresponds to ϑ ( G ¯ ) . Inequality (39) follows from (38) since, by definition, H is a spanning subgraph of G if and only if G ¯ is a spanning subgraph of H ¯ . □
Remark 7.
Let G and H be two undirected and simple graphs on n vertices, and suppose that we do not know yet whether H is a spanning subgraph of G . In light of Corollary 1, it follows that if G and H are either strongly regular or vertex-transitive graphs, then each of the two inequalities (38) and (39) hold if and only if the other inequality holds. In general, by Corollary 2 of [5], we have ϑ ( G ) ϑ ( G ¯ ) n and ϑ ( H ) ϑ ( H ¯ ) n , so, if H is not necessarily a spanning subgraph of G , then the satisfiability of one of the inequalities in (38) and (39) does not necessarily imply the satisfiability of the other inequality.
Before proceeding with the application of Lemma 1 to strongly regular graphs, let us consider the problem by only relying on Definition 5 of strongly regular graphs. Let G and H be strongly regular graphs on n vertices and belonging to the families srg ( n , d , λ , μ ) and srg ( n , d , λ , μ ) , respectively. If H is a spanning subgraph of G , then the following three inequalities hold:
d > d , λ λ , min { λ , μ } μ .
This follows from the fact that deleting edges can only decrease the fixed degree of the vertices in a regular graph. Moreover, since every pair of adjacent vertices in H are also adjacent in G , the fixed number of common neighbors of any two adjacent vertices in H must be smaller than or equal to the fixed number of common neighbors of the corresponding vertices in G . Furthermore, the fixed number of common neighbors of any two nonadjacent vertices in H , which are either adjacent or nonadjacent vertices in G , cannot be larger than the minimum between the fixed numbers of common neighbors of adjacent or nonadjacent vertices in G .
We obtain a further necessary condition that specifies Lemma 1 for strongly regular graphs.
Corollary 3.
Let G and H be strongly regular graphs on n vertices and belong to the families srg ( n , d , λ , μ ) and srg ( n , d , λ , μ ) , respectively. Then, a necessary condition for H to be a spanning subgraph of G is that their parameters satisfy the inequality
d d μ λ + ( μ λ ) 2 + 4 ( d μ ) μ λ + ( μ λ ) 2 + 4 ( d μ ) 1 .
Proof. 
The result is obtained by combining Theorem 2 (see (10) and (11)) and Lemma 1 (see (38)), followed by straightforward algebra. □
Example 5.
Let G and H be strongly regular graphs belonging to the families srg ( 45 , 28 , 15 , 21 ) and srg ( 45 , 22 , 10 , 11 ) , respectively (by [7], there exist strongly regular graphs with these parameters). The inequalities in (40) are satisfied, so the question of whether H can be a spanning subgraph of G is left open according to these inequalities. However, by Corollary 3, H (or any graph isomorphic to H ) cannot be a spanning subgraph of G since the left-hand side of (41) is equal to 3 5 + 1 11 = 0.7007 < 1 , so the necessary condition in (41) is violated.
The following result extends Corollary 3 to a more general setting, allowing for regular spanning subgraphs of a strongly regular graph and, even more broadly, regular spanning subgraphs of regular graphs. This extension relaxes the strong regularity requirement in Corollary 3, replacing it with the milder condition of regularity. This generalization comes, however, at a certain cost: it necessitates knowledge of the second-largest and least eigenvalues of their adjacency spectra, whereas Corollary 3 requires knowing only the parameter vectors that characterize the strongly regular graphs G and H . This distinction arises because nonisomorphic strongly regular graphs in the same family srg ( n , d , λ , μ ) , for any feasible parameters ( n , d , λ , μ ) , are cospectral, with their adjacency spectra uniquely determined by these parameters. In contrast, nonisomorphic d-regular graphs on n vertices are not necessarily cospectral.
Corollary 4.
Let G and H be noncomplete and nonempty d-regular and d -regular graphs on n vertices, with d d . Then, H is a spanning subgraph of G if the following inequality is satisfied:
n 1 + λ 2 ( G ) n d + λ 2 ( G ) + d λ n ( H ) 1 ,
where λ 2 ( G ) is the second-largest eigenvalue of the adjacency matrix of G , and λ n ( H ) is the smallest eigenvalue of the adjacency matrix of H .
Proof. 
The necessary condition in (42) holds by combining inequality (39) with the lower bound on ϑ ( G ) and the upper bound on ϑ ( H ) in the leftmost and rightmost inequalities in (7), respectively. □
Remark 8.
Combining inequality (38) with the lower bound on ϑ ( H ¯ ) and the upper bound on ϑ ( G ¯ ) in the leftmost and rightmost inequalities in (8), respectively, gives
n d + λ 2 ( G ) 1 + λ 2 ( G ) n λ n ( H ) d λ n ( H ) ,
which is equivalent to (42) (note that for a noncomplete regular graph G , its second-largest eigenvalue satisfies λ 2 ( G ) > 1 , and λ n ( H ) < 0 for a nonempty graph H ). Corollary 4 consequently contains a single inequality since the two inequalities in Lemma 1, combined with (7) and (8), yield an identical inequality.

5. Induced Subgraphs of Strongly Regular Graphs

An induced subgraph is obtained by deleting vertices from the original graph, along with all their incident edges. In analogy with Section 4, which is focused on spanning subgraphs of strongly regular graphs, and an extension of that analysis to regular graphs and spanning subgraphs, this section examines induced subgraphs in a similar manner. Specifically, we first derive the necessary conditions for a graph to be an induced subgraph of a strongly regular graph in the family srg ( n , d , λ , μ ) . This analysis relies not only on the Lovász ϑ -function for strongly regular graphs but also on their energy.
The graph energy is a graph invariant originally introduced in [15] while exploring its application in chemistry. A comprehensive treatment of graph energy can be found in [16].
Definition 8
(Energy of a graph, [16]). The energy of a graph G on n vertices, denoted by ( G ) , is given by
( G ) i = 1 n | λ i ( G ) | .
The following lemma relates the energy and the Lovász ϑ -function of an induced subgraph to those of the original graph. It is general, and it is then applied to strongly regular graphs and extended to regular graphs. It partially relies on the Cauchy interlacing theorem, which is cited as follows:
Theorem 4
(Cauchy interlacing theorem, [17]). Let λ 1 λ n be the eigenvalues of a symmetric matrix M and let μ 1 μ m be the eigenvalues of a principal m × m submatrix of M (i.e., a submatrix that is obtained by deleting the same set of rows and columns from M). Then, λ i μ i λ n m + i for i = 1 , , m .
Lemma 2.
Let G and H be finite, undirected, and simple graphs. If H is an induced subgraph of G , then
ϑ ( H ) ϑ ( G ) ,
( H ) ( G ) .
Proof. 
Inequality (45) holds since the vertex set of an induced subgraph H is a subset of the vertex set of the original graph G , and the adjacency and nonadjacency relations of the unremoved vertices in H are preserved as compared with those in G . The result then follows from (1) since every orthonormal representation of G yields an orthonormal representation of H by taking the subset of the orthonormal vectors { u i } that correspond to the remaining vertices in H .
Inequality (46) follows from the Cauchy interlacing theorem (Theorem 4) applied to the adjacency matrix of the graph G . Note that the adjacency matrix of the induced subgraph H is obtained from the adjacency matrix of G by deleting the rows and columns that correspond to the deleted vertices from G . □
Remark 9.
Inequality (46) states that the energy of an induced subgraph is at most the energy of the original graph. However, this result does not generally extend to spanning subgraphs (see p. 64 of [16]). A simple counterexample demonstrating that the energy of a spanning subgraph can exceed that of the original graph is given by considering G = C 4 and removing an edge to obtain the path graph H = P 4 (on four vertices) as a spanning subgraph of G . The adjacency spectra of G and H are, respectively, given by { 2 , 0 , 0 , 2 } and 1 2 ( 5 + 1 ) , 1 2 ( 5 1 ) , 1 2 ( 5 1 ) , 1 2 ( 5 + 1 ) , so it follows that ( G ) = 4 < 2 5 = ( H ) . On the other hand, a sufficient condition where the energy of a spanning subgraph does not exceed that of the original graph is given in Theorem 4.20 of [16]. This highlights that the energy of a spanning subgraph can be either greater or smaller than that of the original graph, which is why such a condition is not included in Section 4.
We next utilize the spectral properties of strongly regular graphs listed in Theorem 5 to derive a closed-form expression for their energy.
Theorem 5
(The adjacency spectra of strongly regular graphs, Chapter 21 of [11]). The following spectral properties of strongly regular graphs hold:
(1) 
A strongly regular graph has at most three distinct eigenvalues.
(2) 
Let G be a connected strongly regular graph in the family srg ( n , d , λ , μ ) (i.e., μ > 0 ). Then, its adjacency spectrum consists of three distinct eigenvalues, where the largest eigenvalue is given by λ 1 ( G ) = d with multiplicity 1, and the other two distinct eigenvalues of its adjacency matrix are given by
p 1 , 2 = 1 2 λ μ ± ( λ μ ) 2 + 4 ( d μ ) ,
with the respective multiplicities
m 1 , 2 = 1 2 n 1 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) .
(3) 
A connected regular graph with exactly three distinct eigenvalues is strongly regular.
(4) 
Connected strongly regular graphs, for which 2 d + ( n 1 ) ( λ μ ) 0 , have integral eigenvalues and their respective multiplicities are distinct.
(5) 
A connected regular graph is strongly regular if and only if it has three distinct eigenvalues, where the largest eigenvalue is of multiplicity 1.
(6) 
A disconnected strongly regular graph is a disjoint union of m identical complete graphs K r , where m 2 and r N . It belongs to the family srg ( m r , r 1 , r 2 , 0 ) , and its adjacency spectrum is { ( r 1 ) [ m ] , ( 1 ) [ m ( r 1 ) ] } , where superscripts indicate the multiplicities of the eigenvalues, thus having two distinct eigenvalues.
A closed-form expression for the energy of strongly regular graphs as a function of a general parameter vector ( n , d , λ , μ ) does not appear to be explicitly available in the literature (see, e.g., [9,16,18,19]). Such an expression is next introduced for further analysis.
Lemma 3
(The energy of strongly regular graphs). The energy of a strongly regular graph G in the family srg ( n , d , λ , μ ) is given by
( G ) = d 1 + 2 ( n d ) + λ μ ( λ μ ) 2 + 4 ( d μ ) .
Proof. 
A connected strongly regular graph G has an adjacency spectrum consisting of exactly three distinct eigenvalues, as determined in Item 2 of Theorem 5. The largest eigenvalue of G is d with multiplicity 1, the second-largest eigenvalue is λ 2 ( G ) = p 1 with multiplicity m 1 , and the smallest eigenvalue is λ min ( G ) = p 2 with multiplicity m 2 (see (47) and (48)). Consequently, by (44), the energy of G is given by
( G ) = d + m 1 | p 1 | + m 2 | p 2 | .
Substituting (47) and (48) into (50) gives
( G ) = d + 1 2 λ μ + ( λ μ ) 2 + 4 ( d μ ) · 1 2 n 1 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) + 1 2 μ λ + ( λ μ ) 2 + 4 ( d μ ) · 1 2 n 1 + 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) = d + 1 2 ( n 1 ) ( λ μ ) 2 + 4 ( d μ ) + 2 d + ( n 1 ) ( λ μ ) ( λ μ ) 2 + 4 ( d μ ) · 1 2 ( μ λ ) = d + 2 ( n 1 ) ( d μ ) + d ( μ λ ) ( λ μ ) 2 + 4 ( d μ ) = d + 2 ( n 1 ) + μ λ d 2 ( n 1 ) μ ( λ μ ) 2 + 4 ( d μ ) = d 1 + 2 ( n d ) + λ μ ( λ μ ) 2 + 4 ( d μ ) ,
where the last equality in (51) can be verified by relying on the connection between the four parameters of a strongly regular graph, as given in Item 1 of Proposition 2, followed by straightforward algebra. This establishes (49) for all connected strongly regular graphs.
If G is a disconnected strongly regular graph, then, by Item 6 of Theorem 5, it is a disjoint union of m identical complete graphs K r , where m 2 and r N . The adjacency spectrum of G is then given by { ( r 1 ) [ m ] , ( 1 ) [ m ( r 1 ) ] } , so the graph energy is ( G ) = 2 m ( r 1 ) . This strongly regular graph G belongs to the family srg ( m r , r 1 , r 2 , 0 ) , and substituting the parameters n = m r , d = r 1 , λ = r 2 , and μ = 0 into (49) verifies that the latter equality extends to disconnected strongly regular graphs. □
In the context of Lemma 3, it is worth noting the following result on maximal energy graphs, which combines Theorems 5.9 and 5.10 of [16].
Theorem 6
(Maximal energy graphs, [18,19]). Let G be a graph on n vertices. Then,
( G ) 1 2 n ( n + 1 ) ,
with equality if G is a strongly regular graph in the family
srg n , 1 2 ( n + n ) , 1 4 ( n + 2 n ) , 1 4 ( n + 2 n ) .
Furthermore, such strongly regular graphs exist if one of the following conditions hold:
(1) 
n = 4 p q 4 with p , q N ;
(2) 
n = 4 p + 1 q 2 with p N and 4 q 1 is a prime power, or 2 q 1 is a prime power, or q is a square of an integer, or q < 167 .
Corollary 5.
Let H be an induced subgraph of a strongly regular graph G belonging to the family srg ( n , d , λ , μ ) . Then, the following inequalities hold:
(1) 
ϑ ( H ) n ( t + μ λ ) 2 d + t + μ λ ,
( H ) d 1 + 2 ( n d ) + λ μ t ,
where t ( λ μ ) 2 + 4 ( d μ ) , as given in (11).
(2) 
Specifically, if H is in the family srg ( n , d , λ , μ ) , where n n , d d , λ λ , and ν ν , then
n n · t + μ λ t + μ λ · 2 d + t + μ λ 2 d + t + μ λ 1 ,
t d t d · t + 2 ( n d ) + λ μ t + 2 ( n d ) + λ μ 1 ,
where t ( λ μ ) 2 + 4 ( d μ ) .
Proof. 
Inequalities (54)–(57) follow from Lemma 2, combined with its specialization to strongly regular graphs according to Theorem 2 and Lemma 3. □
Remark 10.
The computational complexity of the Lovász ϑ-function for a graph G on n vertices, as obtained by numerically solving the SDP problem in (3), is polynomial in n and log 1 , where ε denotes the computation precision (see Theorem 11.11 of [6]). The constrained convex optimization problem in (3) involves 1 2 n ( n + 1 ) optimization variables—specifically, the entries of the n × n positive semidefinite matrix B —and at most quadratically many equality constraints in n (scaling linearly in n for sparse graphs). Consequently, while the Lovász ϑ-function remains computationally feasible for graphs with up to several hundred vertices, it becomes impractical for significantly larger instances. Checking the satisfiability of the necessary conditions for spanning or induced subgraphs in Lemmata 1 and 2 is thus infeasible for large n. However, computing only the second-largest or smallest eigenvalue of the adjacency matrix can be efficiently performed using iterative methods, which avoid computing the entire spectrum. These methods are particularly well-suited for large graphs, enabling the verification of the necessary conditions for spanning or induced subgraphs of regular graphs in Corollary 4 and Item 1 of Corollary 5, even for large instances. Furthermore, verifying the necessary conditions in Corollary 3 and Item 2 of Corollary 5 for spanning or induced strongly regular subgraphs of strongly regular graphs is computationally straightforward and imposes no practical limitations, even for exceedingly large strongly regular graphs.
Example 6
(Cycles as induced subgraphs of the Shrikhande graph). The Shrikhande graph, denoted by G , is a strongly regular graph in the family srg ( 16 , 6 , 2 , 2 ) (there are two such nonisomorphic strongly regular graphs, see Section 10.6 of [9]). The graph G is thus a strongly regular graph in which every pair of vertices has exactly two common neighbors (by the friendship theorem, it stays in contrast to the non-existence of a regular graph, except for a triangle, in which every pair of vertices has exactly one common neighbor). It can be verified that G contains induced cycles of lengths 3, 4, 5, 6, and 8, but no induced cycles of length 7 or greater than 8. Figure 2 illustrates two such induced cycles, with a cycle of length 6 shown on the left plot and a cycle of length 8 on the right plot, with both generated using the SageMath software [13].
Let H = C denote a cycle of length 3 . The necessary conditions in (54) and (55) for a graph isomorphic to C to be an induced subgraph of G are given by ϑ ( C ) 4 and ( C ) 36 , respectively. These follow from the equalities ϑ ( G ) = 4 by Theorem 2 and ( G ) = 36 by Lemma 3. It can be verified that the former condition on the Lovász ϑ-function is more restrictive in the studied case than the latter condition on the graph energy, so we focus on the necessary condition ϑ ( C ) 4 . By [5], for all integers 3 ,
ϑ ( C ) = { 1 + sec π , { 3 , 5 , 7 , } , 2 , { 4 , 6 , 8 , } .
Consequently, by (58), for all > 8 , we obtain ϑ ( C ) ϑ ( C 9 ) = 4.361 > 4 = ϑ ( G ) , verifying that G does not contain any induced cycle of length > 8 . Furthermore, ϑ ( C 8 ) = 4 = ϑ ( G ) and G contains a cycle of length 8 as an induced subgraph (see the right plot of Figure 2). This provides an example where the necessary condition holds with equality, coinciding with the existence of the longest possible induced cycle. However, since G does not contain an induced cycle of length 7, despite ϑ ( C 7 ) = 3.31766 < 4 = ϑ ( G ) , this serves as a counterexample where the necessary conditions in Item 1 of Corollary 5 fail to exclude the existence of an induced cycle of length 7 in G .
Another counterexample where the necessary conditions in Item 1 of Corollary 5 fail to exclude the existence of an induced cycle of a given length is a connected, triangle-free graph G with energy of at least 4 (noting that ( C 3 ) = 4 ). By definition, such a graph does not contain any triangle as a subgraph, yet the considered necessary conditions do not rule out the absence of an induced triangle in G . Among the connected strongly regular graphs, there are seven currently known triangle-free graphs, and all of them are determined by their adjacency spectrum (see, e.g., Section 4.7 of [20]).
Example 7
(Induced subgraphs of triangular graphs). The family of triangular graphs consists of regular graphs obtained as the line graphs of complete graphs on at least three vertices. Let T denote the line graph of the complete graph K for all 3 . This results in a strongly regular graph in the family srg ( 1 2 ( 1 ) , 2 4 , 2 , 4 ) for all 4 (see Section 1.1.7 of [9]). For 4 with 8 , these connected, strongly regular graphs are unique for their respective parameters. Their uniqueness further implies that they are determined by their spectra (following from Theorem 34 of [20]).
Now, let H be a strongly regular graph in the family srg ( n , d , λ , μ ) for some specified (feasible) parameters. We consider whether H can appear as an induced subgraph of the triangular graph T as a function of 4 . Applying Item 2 of Corollary 5, if either inequality (56) or (57) is violated, then no strongly regular graph in the family srg ( n , d , λ , μ ) (including H ) can be an induced subgraph of T . This leads to a general conclusion for those values of ℓ where either inequality fails. Applying Item 2 of Corollary 5 to T with the following parameters:
n = 1 2 ( 1 ) , d = 2 ( 2 ) , λ = 2 , μ = 4 ,
yields, by (11),
t = 2 , 4 .
With straightforward algebra, the inequalities (56) and (57) simplify to
{ 2 n ( t + μ λ ) 2 d + t + μ λ , d ( t + 2 ( n d ) + λ μ ) t 2 ( 3 ) ,
where t ( λ μ ) 2 + 4 ( d μ ) . If, for given parameters ( n , d , λ , μ ) , at least one of these inequalities is violated for a specific 4 , then H cannot be an induced subgraph of T .
Example 8
(Continuation of Example 7: the Gewirtz graph). Consider the Gewirtz graph, denoted by H , which is a connected, triangle-free, strongly regular graph in the family srg ( 56 , 10 , 0 , 2 ) (see Section 10.20 of [9]). To clarify, since μ = 2 > 0 , the graph H is connected, and λ = 0 confirms that it is triangle-free. Uniqueness in this parameter family ensures it is determined by its spectrum [20]. Specializing (61) for H , the first inequality is violated if and only if 31 (it dominates the second, energy-based inequality in (61)). Hence, H cannot be an induced subgraph of T for all 31 . For 11 , this result is trivial since 1 2 ( 1 ) < 56 , meaning that the order of T is too small to contain H as a subgraph. However, for 32 , this question remains open, as both inequalities in (61) hold.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in this article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The author wishes to acknowledge the two anonymous reviewers for helpful and timely reports.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Erdős, P.; Rényi, A.; Sós, V. A problem in graph theory. Stud. Scieutiaruni Mathernaticarum Huugarica 1966, 1, 215–235. Available online: https://static.renyi.hu/renyi_cikkek/1966_on_a_problem_of_graph_theory.pdf (accessed on 28 February 2025).
  2. Aigner, M.; Ziegler, G.M. Proofs from the Book, 6th ed.; Springer: Berlin/Heidelberg, Germany, 2018; Available online: https://link.springer.com/book/10.1007/978-3-662-57265-8 (accessed on 28 February 2025).
  3. Mertzio, G.B.; Unger, W. The friendship problem on graphs. J. Mult.-Valued Log. Soft Comput. 2016, 27, 275–285. Available online: https://mertzios.net/papers/Jour/Jour_Friendship-Problem.pdf (accessed on 28 February 2025).
  4. Sason, I. Observations on the Lovász ϑ-function, graph capacity, eigenvalues, and strong products. Entropy 2023, 25, 104. [Google Scholar] [CrossRef] [PubMed]
  5. Lovász, L. On the Shannon capacity of a graph. IEEE Trans. Inf. Theory 1979, 25, 1–7. [Google Scholar] [CrossRef]
  6. Lovász, L. Graphs and Geometry; American Mathematical Society: Providence, RI, USA, 2019; Volume 65. [Google Scholar] [CrossRef]
  7. Brouwer, A.E. Tables of Paramters of Strongly Regular Graphs. Available online: https://aeb.win.tue.nl/graphs/srg/ (accessed on 28 February 2025).
  8. Maksimović, M. Enumeration of strongly regular graphs on up to 50 vertices having S3 as an automorphism group. Symmetry 2018, 10, 212. [Google Scholar] [CrossRef]
  9. Brouwer, A.E.; van Maldeghem, H. Strongly Regular Graphs; Encyclopedia of Mathematics and its Applications, Series Number 182; Cambridge University Press: Cambridge, UK, 2022. [Google Scholar] [CrossRef]
  10. Gritsenko, O. On strongly regular graph with parameters (65, 32, 15, 16). arXiv 2021, arXiv:2102.05432. [Google Scholar]
  11. van Lint, J.H.; Wilson, R.M. A Course in Combinatorics, 2nd ed.; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar] [CrossRef]
  12. Choi, M.; Chu, H.; Kim, S.R. A digraph version of the friendship theorem. Discret. Math. 2025, 348, 114238. [Google Scholar] [CrossRef]
  13. SageMath. The Sage Developers, the Sage Mathematics Software System, Version 9.3. 2021. Available online: https://www.sagemath.org/ (accessed on 28 February 2025).
  14. Sason, I. Observations on graph invariants with the Lovász ϑ-function. AIMS Math. 2024, 9, 15385–15468. [Google Scholar] [CrossRef]
  15. Gutman, I. The Energy of a Graph; Steiermärkisches Mathematisches Symposium: Stift Rein: Graz, Austria, 1978; pp. 1–22. [Google Scholar]
  16. Li, X.; Shi, Y.; Gutman, I. Graph Energy; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar] [CrossRef]
  17. Brouwer, A.E.; Haemers, W.H. Spectra of Graphs; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar] [CrossRef]
  18. Haemers, W.H. Strongly regular graphs with maximal energy. Linear Algebra Its Appl. 2008, 429, 2719–2723. [Google Scholar] [CrossRef]
  19. Koolen, J.H.; Moulton, V. Maximal energy graphs. Adv. Appl. Math. 2001, 26, 47–52. [Google Scholar] [CrossRef]
  20. Sason, I.; Krupnik, N.; Hamud, S.; Berman, A. On spectral graph determination. Mathematics 2025, 13, 549. [Google Scholar] [CrossRef]
Figure 1. Windmill graph (also known as a friendship graph) consisting of multiple triangles sharing a common central vertex u.
Figure 1. Windmill graph (also known as a friendship graph) consisting of multiple triangles sharing a common central vertex u.
Mathematics 13 00970 g001
Figure 2. The Shrikhande graph G and two induced cycles of lengths 6 (left plot) and 8 (right plot), with their edges highlighted in red.
Figure 2. The Shrikhande graph G and two induced cycles of lengths 6 (left plot) and 8 (right plot), with their edges highlighted in red.
Mathematics 13 00970 g002
Table 1. (Example 4) Complements of symplectic polar graphs, the families of strongly regular graphs to which they belong (see (34)), the fixed number () of common neighbors for each pair of distinct vertices, the values of the Lovász ϑ -function for these graphs and their complements, and their exact matchings with the independence and chromatic numbers of these graphs.
Table 1. (Example 4) Complements of symplectic polar graphs, the families of strongly regular graphs to which they belong (see (34)), the fixed number () of common neighbors for each pair of distinct vertices, the values of the Lovász ϑ -function for these graphs and their complements, and their exact matchings with the independence and chromatic numbers of these graphs.
nq H = Sp ( 2 n , q ) ¯ ϑ ( H ) α ( H ) ϑ ( H ¯ ) χ ( H )
32 srg ( 63 , 32 , 16 , 16 ) 167799
33 srg ( 364 , 243 , 162 , 162 ) 16213132828
34 srg ( 1365 , 1024 , 768 , 768 ) 76821216565
35 srg ( 3906 , 3125 , 2500 , 2500 ) 25003131126126
37 srg ( 19608 , 16807 , 14406 , 14406 ) 144065757344344
42 srg ( 255 , 128 , 64 , 64 ) 6415151717
43 srg ( 3280 , 2187 , 1458 , 1458 ) 145840408282
44 srg ( 21845 , 16384 , 12288 , 12288 ) 122888585257257
52 srg ( 1023 , 512 , 256 , 256 ) 25631313333
53 srg ( 29524 , 19683 , 13122 , 13122 ) 13122121121244244
54 srg ( 349525 , 262144 , 196608 , 196608 ) 19660834134110251025
62 srg ( 4095 , 2048 , 1024 , 1024 ) 102463636565
63 srg ( 265720 , 177147 , 118098 , 118098 ) 118098364364730730
72 srg ( 16383 , 8192 , 4096 , 4096 ) 4096127127129129
82 srg ( 65535 , 32768 , 16384 , 16384 ) 16384255255257257
92 srg ( 262143 , 131072 , 65536 , 65536 ) 65536511511513513
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sason, I. On Strongly Regular Graphs and the Friendship Theorem. Mathematics 2025, 13, 970. https://doi.org/10.3390/math13060970

AMA Style

Sason I. On Strongly Regular Graphs and the Friendship Theorem. Mathematics. 2025; 13(6):970. https://doi.org/10.3390/math13060970

Chicago/Turabian Style

Sason, Igal. 2025. "On Strongly Regular Graphs and the Friendship Theorem" Mathematics 13, no. 6: 970. https://doi.org/10.3390/math13060970

APA Style

Sason, I. (2025). On Strongly Regular Graphs and the Friendship Theorem. Mathematics, 13(6), 970. https://doi.org/10.3390/math13060970

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop