1 Introduction

A regular graph is called edge-regular if any two adjacent vertices have the same number of common neighbours. A regular clique in a regular graph is a clique C having the property that every vertex outside C is adjacent to the same positive number of vertices of C. In the early 1980s, Neumaier [13] studied regular cliques in edge-regular graphs, and a certain class of designs whose point graphs are strongly regular and contain regular cliques. He then posed the problem of whether there exists a non-complete, edge-regular, non-strongly regular graph containing a regular clique, [13, p. 248].

We define a Neumaier graph as a non-complete edge-regular graph containing a regular clique. A Neumaier graph that is not a strongly regular graph is called a strictly Neumaier graph.

Neumaier graphs have received quite a lot of attention recently. Greaves and Koolen [11] provided the first infinite family of Neumaier graphs, using cyclotomic numbers, showing that strictly Neumaier graphs exist. Goryainov and Shalaginov [10] classified the Cayley-Deza graphs with fewer than 60 vertices, and it turned out that there are four strictly Neumaier graphs with 24 vertices among them. Greaves and Koolen [12] found a new infinite family of strictly Neumaier graphs containing some of the examples found by Goryainov and Shalaginov. Evans, Goryainov and Panasenko [8] obtained some new infinite families of strictly Neumaier graphs by switching in affine polar graphs \(VO^+(2e,2)\) defined over the binary field. They also showed some general results on Neumaier graphs and their feasible parameter tuples, and presented an application of such results to determine the smallest non-strongly regular Neumaier graph, answering some questions posted by Greaves and Koolen in [11].

We continue the study of Neumaier graphs by studying some of their spectral properties. In particular, in this paper we take a closer look at Neumaier graphs with few distinct eigenvalues. In Sect. 2 we present several combinatorial and spectral conditions under which a Neumaier graph is a strongly regular graph. We also determine the Neumaier graphs with smallest eigenvalue \(-2\). In Sect. 3 we show some feasibility conditions of Neumaier graphs with four distinct eigenvalues and we use them to prove that there does not exist strictly Neumaier graphs with exactly four distinct eigenvalues.

2 Strongly regular Neumaier graphs

In this section we study under which conditions Neumaier graphs have exactly three distinct eigenvalues, that is, we provide several new characterizations of strongly regular Neumaier graphs. A result in this direction was already obtained by Neumaier in Corollary 2.4 of [13]. Recall that not all Neumaier graphs are strongly regular graphs, as it was shown with the constructions by Greaves and Koolen [11, 12], and Evans, Goryainov and Panasenko [8].

2.1 A combinatorial characterization

Let \(\Gamma =(V,E)\) be a non-complete edge-regular graph on \(v > 0\) vertices having valency \(k \ge 1\). We denote by \(\lambda \) the constant number of triangles through a given edge. If \(\Gamma \) is a complete multipartite graph, then we denote the total number of its multipartite parts by \(s+1\). If \(\Gamma \) is not a complete multipartite graph, then we show in Lemma 2.2 that \(v + \lambda -2k \not = 0\). In this case, we define s to be the following number:

$$\begin{aligned} s := \frac{-(k^2-k+\lambda -v \lambda ) + \sqrt{(k^2-k+\lambda -v\lambda )^2 + 4k(v-k-1)(v+\lambda -2k)}}{2(v+\lambda -2k)}. \end{aligned}$$

In Propositions 2.3 and 2.4 below, we show the following.

  • Every clique C of \(\Gamma \) has order at most \(s+1\), with equality if and only if C is a regular clique.

  • If \(\Gamma \) has a regular clique (of order \(s+1\)), then \(v \not = s+1\) (as \(\Gamma \) is not complete) and every vertex outside C is adjacent to precisely \(e:=\frac{(s+1)(k-s)}{v-(s+1)}\) vertices of C.

Note that if \(\Gamma \) is a Neumaier graph, then there are (regular) cliques of order \(s+1\). The main goal of this subsection is to prove the following characterization of a particular family of strongly regular Neumaier graphs.

Theorem 2.1

If \(\Gamma \) is a Neumaier graph with the property that every clique of order \(e+1\) is contained in a clique of order \(s+1\), then \(\Gamma \) is strongly regular.

We note that there exist infinite families of Neumaier graphs that have the property mentioned in Theorem 2.1. These include the Neumaier graphs that are complete multipartite graphs and the collinearity graphs of finite generalized quadrangles or finite polar spaces.

We will denote the neighbourhood of a vertex v of \(\Gamma \) by \(v^\perp = \Gamma (v)\). If v is a vertex, then \(\Gamma _i(v)\) with \(i \in {{\mathbb {N}}}\) denotes the set of vertices at distance i from v. If v and w are two vertices of \(\Gamma \), then we write \(v \sim w\) or \(v \not \sim w\) depending on whether v and w are adjacent or not. We denote the edge through two adjacent vertices v and w by vw. For any set X of vertices of \(\Gamma \), we denote by \({\overline{X}} := V \setminus X\) its complement in V.

If \(\Gamma \) is a complete multipartite graph, then the fact that \(k \ge 1\) implies that the number \((s+1)\) of multipartite parts is at least 2, and the fact that \(\Gamma \) is regular and non-complete implies that all multipartite parts have the same order \(m \ge 2\). In this case, we have \(v = (s+1)m\), \(k = sm\), \(\lambda = (s-1)m\) and hence \(v+\lambda -2k=0\). The latter property is sufficient to characterize complete multipartite graphs as the following lemma shows.

Lemma 2.2

We have \(v+\lambda -2k \ge 0\), with equality if and only if \(\Gamma \) is a complete multipartite graph.

Proof

If xy is an edge of \(\Gamma \), then \(v \ge |x^\perp \cup y^\perp | = 2k-\lambda \), implying that \(v+\lambda - 2k \ge 0\). Suppose now that equality holds. Then for every three distinct vertices x, y and z for which \(x \sim y\), we have that z is adjacent to at least one of x, y. If \(u_1\) and \(u_2\) are two non-adjacent vertices and \(u_1w\) is an edge, then the fact that \(u_1 \not \sim u_2\) implies that \(w \sim u_2\). So, the neighbourhoods of two vertices of \(\Gamma \) are equal if and only if these vertices are non-adjacent. The non-adjacency relation on the vertex set is thus an equivalence relation and \(\Gamma \) is a complete multipartite graph. \(\square \)

Neumaier already observed that if an edge-regular graph has a regular clique, say of order c, then any regular clique has order c and any clique with order c is regular [13, Theorem 1.1]. The following is implicitly shown in [13], but we add its proof for completeness.

Proposition 2.3

Suppose \(\Gamma \) is not a complete multipartite graph. Every clique C of \(\Gamma \) then has order at most \(s+1\), and equality occurs if and only if C is a regular clique. In this case, every vertex outside C is adjacent to precisely e vertices of C.

Proof

Suppose C is a clique of order \(\sigma +1 \ge 1\). For every \(x \in {\overline{C}}\), let \(e_x\) denote the number of vertices in C adjacent to x. Then

$$\begin{aligned} \sum _{x \in {\overline{C}}} 1 = v-(\sigma +1). \end{aligned}$$
(1)

Counting in two different ways the pairs \((y,x) \in C \times {\overline{C}}\) with \(y \sim x\) gives

$$\begin{aligned} \sum _{x \in {\overline{C}}} e_x = (\sigma +1)(k-\sigma ). \end{aligned}$$
(2)

Counting in two different ways the pairs \((y_1,y_2,x) \in C \times C \times {\overline{C}}\) with \(y_1 \not = y_2\) and \(y_1 \sim x \sim y_2\) gives

$$\begin{aligned} \sum _{x \in {\overline{C}}} e_x(e_x-1) = (\sigma +1)\sigma (\lambda -(\sigma -1)). \end{aligned}$$
(3)

From (2) and (3), we find

$$\begin{aligned} \sum _{x \in {\overline{C}}} e_x^2 = (\sigma +1)(\sigma \lambda - \sigma ^2 +k). \end{aligned}$$
(4)

From the Cauchy-Schwartz inequality, we know that

$$\begin{aligned} \Big ( \sum e_x \Big )^2 \le \Big ( \sum 1 \Big ) \cdot \Big ( \sum e_x^2 \Big ), \end{aligned}$$

with equality if and only if all \(e_x\)’s are equal, i.e., if and only if \(\{ C,{\overline{C}} \}\) is an equitable partition. We thus find

$$\begin{aligned}&(\sigma +1)^2(k-\sigma )^2 \le (v-(\sigma +1))(\sigma +1)(k+\sigma \lambda -\sigma ^2), \\&(\sigma +1)(k^2-2\sigma k+\sigma ^2) \le (v-\sigma -1)(k+\sigma \lambda -\sigma ^2), \\&k^2\sigma -2\sigma ^2k+\sigma ^3+k^2-2\sigma k+\sigma ^2 \le vk+v\lambda \sigma -v\sigma ^2 - \sigma k {-} \sigma ^2\lambda {+}\sigma ^3 -k{-}\sigma \lambda +\sigma ^2, \end{aligned}$$

i.e.,

$$\begin{aligned} (v+\lambda -2k)\sigma ^2 + (k^2-k+\lambda -v\lambda )\sigma +(k^2+k-vk) \le 0. \end{aligned}$$
(5)

By Lemma 2.2, we know that \(v+\lambda -2k > 0\). As \(k \ge 1\) and \(\Gamma \) is not complete, we also have \(k^2+k-vk=-k(v-(k+1)) < 0\). So, the quadratic equation (5) in the variable \(\sigma \) has two real roots \(s_1\) and \(s_2\) with \(s_1 < 0\) and \(s_2>0\). A straightforward computation shows that \(s_2=s\). So, (5) implies that \(\sigma \le s\). By the above we also know that \(\sigma =s\) if and only if all \(e_x\)’s are equal, i.e., if and only if C is a regular clique. If all \(e_x\)’s are equal, then they are equal to their average value \((\sum e_x) \cdot (\sum 1)^{-1} = \frac{(\sigma +1)(k-\sigma )}{v-\sigma -1}=\frac{(s+1)(k-s)}{v-s-1}=e\). \(\square \)

A similar property as in Proposition 2.3 holds in case \(\Gamma \) is a complete multipartite graph. Note that if \(\Gamma \) is a complete multipartite graph having \(s+1 \ge 2\) parts of size \(m \ge 2\), then \(e = \frac{(s+1)(k-s)}{v-(s+1)} = \frac{(s+1)(ms-s)}{(s+1)m-(s+1)}=s\).

Proposition 2.4

Suppose \(\Gamma \) is a complete multipartite graph. Every clique C of \(\Gamma \) then has order at most \(s+1\), and equality occurs if and only if C is a regular clique. In this case, every vertex outside C is adjacent to precisely \(e=s\) vertices of C.

Proof

Recall that \(\Gamma \) has exactly \(s+1\) multipartite parts. The obvious bound for |C| is therefore \(s+1\). If \(|C|=s+1\), then C contains exactly one point of each of the \(s+1\) multipartite parts. In this case, every point outside C is adjacent to exactly s vertices of C. If \(0< |C| < s+1\), then there is a point outside C that is adjacent to all |C| vertices of C and a point outside C that is adjacent to exactly \(|C|-1\) vertices of C, proving that C cannot be a regular clique. \(\square \)

Our next aim is to prove Theorem 2.1. So, from now on, we assume that \(\Gamma \) is a Neumaier graph with the property that every clique of order \(e+1\) is contained in a clique of order \(s+1\). Our intention is thus to prove that \(\Gamma \) is strongly regular. In the sequel, a clique of order l will shortly be called an l-clique. By Propositions 2.3 and 2.4, we have:

Lemma 2.5

Every \((s+1)\)-clique is a maximum clique. Hence, \(e < s+1\).

Lemma 2.6

Every \((e+1)\)-clique H is contained in a unique \((s+1)\)-clique.

Proof

This immediately follows from Lemma 1.5(i) in [13]. If \(C_1\) and \(C_2\) were two distinct \((s+1)\)-cliques containing H, then every vertex of \(C_2 \setminus C_1\) is adjacent to all \(|C_1 \cap C_2| \ge e+1\) vertices of \(C_1 \cap C_2\), an obvious contradiction. \(\square \)

Lemma 2.7

Every clique H is contained in an \((s+1)\)-clique.

Proof

Let \(C'\) denote an \((s+1)\)-clique for which \(|H \cap C'|\) is maximal. We show that \(H \subseteq C'\). If this were not the case, then there exists a vertex \(x \in H \setminus C'\). The set \(x^\perp \cap C'\) then contains \(H \cap C'\) and so the unique \((s+1)\)-clique \(C''\) containing the \((e+1)\)-clique \(\{ x \} \cup (x^\perp \cap C')\) would have a larger intersection with H than \(C'\). \(\square \)

Lemma 2.8

The graph \(\Gamma \) has diameter 2.

Proof

Since \(\Gamma \) is not a complete graph, it suffices to prove that any two distinct non-adjacent vertices x and y have distance 2. By Lemma 2.7, there exists an \((s+1)\)-clique C through x. Then \(y \not \in C\) and y is adjacent to \(e \ge 1\) vertices of C. So, x and y lie at distance 2 from each other. \(\square \)

Lemma 2.9

If \(E_1\) and \(E_2\) are two edges for which \(|E_1 \cap E_2|=1\) and \(E_1 \cup E_2\) is not a clique, then they are contained in the same number of \((s+1)\)-cliques.

Proof

Put \(E_1 = xy_1\), \(E_2 = xy_2\) and let \(i \in \{ 1,2 \}\). For every \((s+1)\)-clique \(C_i\) through \(E_i\), there exists a unique \((s+1)\)-clique \(C_{3-i}\) through \(E_{3-i}\) intersecting \(C_i\) in exactly e vertices. Indeed, this clique necessarily coincides with the unique \((s+1)\)-clique containing the \((e+1)\)-clique \(\{ y_{3-i} \} \cup (y_{3-i}^\perp \cap C_i)\). The lemma then follows by counting in two ways the pairs \((C_1,C_2)\), where each \(C_i\), \(i \in \{ 1,2 \}\), is an \((s+1)\)-clique through \(E_i\) and \(|C_1 \cap C_2| = e\). \(\square \)

Lemma 2.10

If \(E_1\) and \(E_2\) are two edges for which \(|E_1 \cap E_2|=1\) and \(E_1 \cup E_2\) is a clique, then they are contained in the same number of \((s+1)\)-cliques.

Proof

For any two adjacent vertices u and v, let \(N_{uv}\) denote the number of \(s+1\)-cliques containing \(\{ u,v \}\). Put \(E_1 = xy_1\) and \(E_2 = xy_2\). Let \(\eta \) denote the number of vertices adjacent to x, \(y_1\) and \(y_2\). Then for every \(i \in \{ 1,2 \}\), the set \(A_i\) of vertices distinct from \(y_{3-i}\) adjacent to x and \(y_i\) but not to \(y_{3-i}\) has order \(\lambda - \eta - 1\).

Every \((s+1)\)-clique through \(E_i\) not containing \(y_{3-i}\) contains \(s+1-e > 0\) elements of \(A_i\), namely the \(s+1-e\) vertices of \(S_i \setminus y_{3-i}^\perp \). So, if \(\lambda -\eta -1=0\), then both \(N_{xy_1}\) and \(N_{xy_2}\) are equal to the number of \((s+1)\)-cliques through \(\{ x,y_1,y_2 \}\). In the sequel, we may therefore assume that \(|A_1|=|A_2|=\lambda -\eta -1>0\).

For every \(z_1 \in A_1\), we show that the number of \((s+1)\)-cliques containing \(\{ x,y_1,z_1 \}\) equals the number of \((s+1)\)-cliques containing \(\{ x,y_1,y_2 \}\). Put \(T_1 = \{ x,y_1,z_1 \}\), \(T_2 = \{ x,y_1,y_2 \}\), \(u_1 = z_1\) and \(u_2=y_2\). Note that \(u_1 \not \sim u_2\). For every \(i \in \{ 1,2 \}\) and every clique \(C_i\) of order \(s+1\) through \(T_i\), there then exists a unique clique \(C_{3-i}\) of order \(s+1\) through \(T_{3-i}\) intersecting \(C_i\) in a set of order e. This clique \(C_{3-i}\) is precisely the unique \((s+1)\)-clique containing the \((e+1)\)-clique \(u_{3-i} \cup (u_{3-i}^\perp \cap C_i)\). The claim that the numbers of \((s+1)\)-cliques coincide then follows from counting in two ways all pairs \((C_1,C_2)\) satisfying \(T_1 \subseteq C_1\), \(T_2 \subseteq C_2\) and \(|C_1 \cap C_2| = e\).

In a completely similar way, one proves that if \(z_2 \in A_2\), then the number of \((s+1)\)-cliques containing \(\{ x,y_2,z_2 \}\) equals the number of \((s+1)\)-cliques containing \(\{ x,y_1,y_2 \}\). If \(z_1 \in A_1\) and \(z_2 \in A_2\), we thus see that the number of \((s+1)\)-cliques containing \(\{ x,y_1,z_1 \}\) coincides with the number of \((s+1)\)-cliques containing \(\{ x,y_2,z_2 \}\). We call this number \(\Omega \).

We count the number of \((s+1)\)-cliques containing \(E_1\), but not \(E_2\). If C is such a clique, then C contains \(s+1-e > 0\) vertices of \(A_1\). As every vertex of \(A_1\) is contained in \(\Omega \) \((s+1)\)-cliques together with \(E_1\), and no such \((s+1)\)-clique contains \(E_2\), we see that the number of \((s+1)\)-cliques containing \(E_1\) but not \(E_2\) is equal to

$$\begin{aligned} \frac{|A_1| \cdot \Omega }{s+1-e} = \frac{(\lambda - \eta - 1) \Omega }{s+1-e}. \end{aligned}$$

In a similar way one proves that the total number of \((s+1)\)-cliques containing \(E_2\) but not \(E_1\) equals \(\frac{(\lambda - \eta -1) \Omega }{s+1-e}\). To find the total number of \((s+1)\)-cliques through \(E_i\), \(i \in \{ 1,2 \}\), we should still add to this number the total number of \((s+1)\)-cliques containing \(\{ x,y_1,y_2 \}\). But this extra contribution is constant for both \(E_1\) and \(E_2\). \(\square \)

By Lemmas 2.9, 2.10 and the fact that \(\Gamma \) is connected, we have:

Corollary 2.11

The number of \((s+1)\)-cliques through an edge is constant.

As \(\Gamma \) is regular of valency \(k \ge 1\), this immediately implies the following via a double counting.

Corollary 2.12

The number of \((s+1)\)-cliques through a vertex is constant.

By Lemma 2.8, Corollaries 2.11, 2.12 and Proposition A2 of [6], we obtain the desired result which proves Theorem 2.1:

Corollary 2.13

The graph \(\Gamma \) is strongly regular.

2.2 Characterizations of strongly regular graphs using eigenvalues

In this section we present some new eigenvalue conditions under which a connected and regular graph is strongly regular. We thus relax the conditions of requiring edge-regularity and a regular clique (i.e., a Neumaier graph) from Sect. 2.1.

First we need to introduce some definitions. Let \(\Gamma = (V,E)\) be a graph on \(v \ge 3\) vertices that is not a complete multipartite graph, in particular, \(\Gamma \) is not a complete graph nor a graph without edges.

We denote by \({\bar{k}} = \frac{2 \cdot |E|}{v} > 0\) the average degree of the vertices of \(\Gamma \). We put \({\bar{\lambda }} := \frac{6N}{v{\bar{k}}}\), where N is the total number of triangles of \(\Gamma \). If we define \(\lambda _{xy} := |\Gamma _1(x) \cap \Gamma _1(y)|\) for every edge xy of \(\Gamma \), then as \(\sum _{xy \in E} \lambda _{xy} = 3N\) and \(|E| = \frac{v{\bar{k}}}{2}\), we see that \({\bar{\lambda }}\) is the average of the \(\lambda _{xy}\)’s with \(xy \in E\).

In Lemmas 2.17 and 2.18 below, we show that \(v > {\bar{k}}+1\) and \(v + {\bar{\lambda }} - 2{\bar{k}} > 0\). This implies that the quadratic polynomial

$$\begin{aligned} (v+{\bar{\lambda }}-2{\bar{k}}) X^2 + ({\bar{k}}^2-{\bar{k}}+{\bar{\lambda }}-{\bar{\lambda }} v) X - {\bar{k}}(v-{\bar{k}}-1) \in {{\mathbb {R}}}[X] \end{aligned}$$

has two real roots, a negative one and a positive one which we denote by \({\bar{s}}\). We thus have

$$\begin{aligned} {\bar{s}} = \frac{-({\bar{k}}^2-{\bar{k}}+{\bar{\lambda }}-{\bar{\lambda }} v) + \sqrt{({\bar{k}}^2-{\bar{k}}+{\bar{\lambda }}-{\bar{\lambda }} v)^2+4 {\bar{k}}(v-{\bar{k}}-1)(v+{\bar{\lambda }}-2{\bar{k}})}}{2(v+{\bar{\lambda }}-2{\bar{k}})} > 0. \end{aligned}$$

We also define

$$\begin{aligned} {\bar{\mu }} := \frac{{\bar{k}}({\bar{k}}-{\bar{\lambda }}-1)}{v-{\bar{k}}-1},\qquad \qquad \theta _m := -\frac{{{\bar{k}}}}{{{\bar{s}}}}, \qquad \qquad \theta _M :=\frac{{{\bar{k}}}-{{\bar{\mu }}}}{{{\bar{k}}}}{{\bar{s}}}. \end{aligned}$$

Note that \({\bar{\mu }}\) is not \(\mu \) average. If one replaces \({\bar{k}}^2\) by \(\bar{k^{2}}\), then one obtains \(\mu \) average, so by Cauchy the latter is at least the former. If \(\Gamma \) is a strongly regular graph with parameters \((v,k,\lambda ,\mu )\), then \(({\bar{k}},{\bar{\lambda }},{\bar{\mu }})=(k,\lambda ,\mu )\) and we will see that k, \(\theta _M\) and \(\theta _m\) are the eigenvalues of \(\Gamma \) (see Lemma 2.21 and its ensuing remark). If \(\Gamma \) is a general graph, then we can interpret \(\theta _M\) and \(\theta _m\) by their algebraic definitions, depending on \({{\bar{k}}}\), \({{\bar{s}}}\) and \({{\bar{\mu }}}\).

Our main result in this section is as follows.

Theorem 2.14

Suppose \(\Gamma \) is a connected regular graph that is not a complete multipartite graph. If \(\theta _{Max2}\) is the second largest eigenvalue and \(\theta _{min}\) the smallest eigenvalue of \(\Gamma \), then

  1. (a)

    \(\theta _{min} \le \theta _m\) with equality if and only if \(\Gamma \) is strongly regular, and

  2. (b)

    \(\theta _{Max2} \ge \theta _M\), and equality holds if and only if \(\Gamma \) is strongly regular.

We observe that the above result resembles a bit the first lemma in the work by Van Dam and Haemers on spectral characterization of distance regular graphs with diameter 3 [15]. In [15] the authors characterize strongly regular graphs, as we do in the above result, by using eigenvalues of the quotient matrix of local distance partition. In this regard, our Theorem 2.14 looks more global.

In what follows we prove Theorem 2.14 as a special case of a more general result on arbitrary (not necessarily regular) graphs. First we recall some known facts about the spectrum of a graph.

Lemma 2.15

  1. (a)

    If \(\Gamma '\) is a graph having precisely one eigenvalue, then this eigenvalue is 0 and \(\Gamma '\) has no edges.

  2. (b)

    If \(\Gamma '\) is a graph having precisely two eigenvalues, then the connected components of \(\Gamma '\) are complete graphs of the same order \(t \ge 2\).

  3. (c)

    Every connected regular graph having precisely three eigenvalues is strongly regular.

We denote by \(\Omega \) the multiset of order v whose elements are the eigenvalues of \(\Gamma \) (taking into account their multiplicities). For every \(\theta \in \Omega \), we denote by \(\Omega _\theta \) the multiset of order \(v-1\) obtained from \(\Omega \) by removing one copy of \(\theta \).

Lemma 2.16

We have

$$\begin{aligned} \sum _{\theta \in \Omega } \theta = 0,\qquad \sum _{\theta \in \Omega } \theta ^2 = v{\bar{k}},\qquad \sum _{\theta \in \Omega } \theta ^3 = v{\bar{k}}{\bar{\lambda }}. \end{aligned}$$

Proof

Put \(S_1 := \sum _{\theta \in \Omega } \theta \), \(S_2 := \sum _2 \theta \theta '\) and \(S_3 := \sum _3 \theta \theta ' \theta ''\), with \(\Sigma _2\) the summation over all \(\{ \theta ,\theta ' \} \in {\Omega \atopwithdelims ()2}\) and \(\Sigma _3\) the summation over all \(\{ \theta ,\theta ',\theta '' \} \in {\Omega \atopwithdelims ()3 }\). If \(x^n + c_1 x^{n-1} + c_2 x^{n-2} + \cdots + c_n = \prod _{\theta \in \Omega } (x-\theta )\) is the characteristic polynomial of \(\Gamma \), then \(S_1 = -c_1 =0\), \(S_2=c_2\) and \(S_3=-c_3\). As the number of edges is \(\frac{v{\bar{k}}}{2}\) and the number of triangles is \(\frac{v{\bar{k}}{\bar{\lambda }}}{6}\), we have \(c_2=-\frac{v{\bar{k}}}{2}\) and \(c_3=-\frac{v{\bar{k}}{\bar{\lambda }}}{3}\). So, \(S_2 = -\frac{v{\bar{k}}}{2}\), \(S_3 = \frac{v{\bar{k}}{\bar{\lambda }}}{3}\) and \(\sum _{\theta \in \Omega } \theta ^2 = S_1^2 -2S_2=v{\bar{k}}\) and \(\sum _{\theta \in \Omega } \theta ^3 =S_1^3 -3S_1S_2+3S_3 = v{\bar{k}}{\bar{\lambda }}\). \(\square \)

Alternatively, the previous Lemma 2.16 follows easier from the traces of powers of A.

The following lemma is a straight-forward result.

Lemma 2.17

We have \(v > {\bar{k}}+1\).

Proof

For every vertex x of \(\Gamma \), we have \(1 + |\Gamma _1(x)| = | \{ x \} \cup \Gamma _1(x) | \le |V| = v\). Summing over all vertices x of \(\Gamma \), we find \(v + v \cdot {\bar{k}} \le v^2\), i.e. \(v \ge {\bar{k}}+1\). If equality occurs, then \(\{ x \} \cup \Gamma _1(x) = V\) for every vertex x. This is only possible when \(\Gamma \) is a complete graph, contrary to our assumption. So, \(v > {\bar{k}}+1\). \(\square \)

The following lemma concerns the complementary \(\mu \) somehow averaged.

Lemma 2.18

We have \(v + {\bar{\lambda }} - 2{\bar{k}} > 0\).

Proof

Put \(k_x := |\Gamma _1(x)|\) for every vertex x of \(\Gamma \). For every edge xy of \(\Gamma \), we have \(v = |V| \ge |\Gamma _1(x) \cup \Gamma _1(y)| = k_x + k_y - \lambda _{xy}\). Summing over all edges xy of \(\Gamma \), we find \(\sum _{x \in V} k_x^2 - |E| \cdot {\bar{\lambda }} \le v \cdot |E|\), i.e.

$$\begin{aligned} \frac{2}{v{\bar{k}}} \sum _{x \in V} k_x^2 - {\bar{\lambda }} \le v. \end{aligned}$$
(6)

Now, by the Cauchy-Schwartz inequality, we have

$$\begin{aligned} v^2 {\bar{k}}^2 = \Big ( \sum _{x \in V} k_x \Big )^2 \le \Big ( \sum _{x \in V} 1 \Big ) \cdot \Big ( \sum _{x \in V} k_x^2 \Big ) = v \cdot \sum _{x \in V} k_x^2, \end{aligned}$$
(7)

i.e.

$$\begin{aligned} v {\bar{k}}^2 \le \sum _{x \in V} k_x^2. \end{aligned}$$
(8)

By (6) and (8), we thus have \(2{\bar{k}} - {\bar{\lambda }} \le v\), i.e. \(v + {\bar{\lambda }} - 2{\bar{k}} \ge 0\). In case of equality, so if \(v + {\bar{\lambda }} - 2{\bar{k}}=0\), we know by the above that

  1. (a)

    \(\Gamma _1(x) \cup \Gamma _1(y) = V\) for every edge xy of \(\Gamma \);

  2. (b)

    all \(k_x\)’s are equal, necessarily to \(k:={\bar{k}}\) (as equality holds in (7)).

Condition (a) implies that \(k_x + k_y - \lambda _{xy} = v\) for every edge xy. As \(k_x = k_y = k\) and \(v+{\bar{\lambda }}- 2k=0\), we thus have that \(\lambda _{xy}={\bar{\lambda }}\) for every edge xy of \(\Gamma \). The graph \(\Gamma \) is thus an edge-regular graph. As in Lemma 2.2, we can then deduce that \(\Gamma \) is a complete multipartite graph, contrary to our assumption. So, we have \(v + {\bar{\lambda }} - 2{\bar{k}} > 0\). \(\square \)

Lemma 2.19

We have \(({\bar{s}}v-{\bar{k}}({\bar{s}}+1))(v-{\bar{k}}-1)=(v-{\bar{s}}-1)(v+{\bar{\lambda }}-2{\bar{k}}){\bar{s}}\).

Proof

This is equivalent with \((v+{\bar{\lambda }}-2{\bar{k}}) {\bar{s}}^2 + ({\bar{k}}^2-{\bar{k}}+{\bar{\lambda }}-{\bar{\lambda }} v) {\bar{s}}-{\bar{k}} (v-{\bar{k}}-1)=0\). \(\square \)

Lemma 2.20

We have \(v \not = {\bar{s}}+1\).

Proof

If \(v={\bar{s}}+1\), then Lemmas 2.17 and 2.19 imply that \({\bar{k}}={\bar{s}}\). So, \(v={\bar{k}}+1\), which is in contradiction with Lemma 2.17. \(\square \)

In view of Lemma 2.20, we can define the following number:

$$\begin{aligned} {{\bar{e}}} :=\frac{({{\bar{s}}}+1)({{\bar{k}}}-{{\bar{s}}})}{v-{{\bar{s}}}-1}. \end{aligned}$$

Lemma 2.21

We have \(X^2+({\bar{\mu }}-{\bar{\lambda }})X+({\bar{\mu }}-{\bar{k}}) = (X-\theta _m)(X-\theta _M)\).

Proof

As \(\theta _m \theta _M = {\bar{\mu }}-{\bar{k}}\), it suffices to prove that \(\theta _m=-\frac{{\bar{k}}}{{\bar{s}}}\) is a root of \(X^2+({\bar{\mu }}-{\bar{\lambda }})X+({\bar{\mu }}-{\bar{k}})\), or equivalently that

$$\begin{aligned} {\bar{k}}^2-({\bar{\mu }}-{\bar{\lambda }}){\bar{k}}{\bar{s}} + ({\bar{\mu }}-{\bar{k}}){\bar{s}}^2=0. \end{aligned}$$

As \({\bar{\mu }} = \frac{{\bar{k}}({\bar{k}}-{\bar{\lambda }}-1)}{v-{\bar{k}}-1}\), we thus need to verify that

$$\begin{aligned} {\bar{k}}^2(v-{\bar{k}}-1)-({\bar{k}}({\bar{k}}-{\bar{\lambda }}-1)-{\bar{\lambda }}(v-{\bar{k}}-1)){\bar{k}}{\bar{s}}+({\bar{k}}({\bar{k}}-{\bar{\lambda }}-1)-{\bar{k}}(v-{\bar{k}}-1)){\bar{s}}^2=0. \end{aligned}$$

After division by \(-{\bar{k}}\), the latter equation is equivalent with \((v+{\bar{\lambda }}-2{\bar{k}}){\bar{s}}^2+({\bar{k}}^2-{\bar{k}}+{\bar{\lambda }}-{\bar{\lambda }} v){\bar{s}} -{\bar{k}}(v-{\bar{k}}-1)=0\), from which we indeed know that that this is correct. \(\square \)

If \(\Gamma \) is a strongly regular graph with parameters \((v,k,\lambda ,\mu )\), then we know that the eigenvalues of \(\Gamma \) distinct from k are the roots of \(X^2+(\mu -\lambda )X+(\mu -k) \in {{\mathbb {R}}}[X]\), i.e. they are equal to \(\theta _m\) and \(\theta _M\).

Lemma 2.22

We have \(\theta _m< 0 < \theta _M\).

Proof

Obviously, \(\theta _m = -\frac{{\bar{k}}}{{\bar{s}}} < 0\) and \(\theta _M = \frac{{\bar{k}}-{\bar{\mu }}}{{\bar{k}}} {\bar{s}} = \frac{{\bar{s}}(v+{\bar{\lambda }}-2{\bar{k}})}{v-{\bar{k}}-1} > 0\) by Lemmas 2.17 and 2.18. \(\square \)

Lemma 2.23

We have \(\theta _M={{\bar{s}}}-{{\bar{e}}}\).

Proof

We compute that \({{\bar{s}}}-{{\bar{e}}} = {{\bar{s}}} - \frac{({{\bar{s}}}+1)({{\bar{k}}}-{{\bar{s}}})}{v-{{\bar{s}}}-1} = \frac{{{\bar{s}}} v-{{\bar{k}}}({{\bar{s}}}+1)}{v-{{\bar{s}}}-1}\). In order for this to be equal to \(\theta _M = \frac{{{\bar{k}}}-{{\bar{\mu }}}}{{{\bar{k}}}}{{\bar{s}}} = \frac{(v+{{\bar{\lambda }}}-2{{\bar{k}}}){{\bar{s}}}}{v-{{\bar{k}}}-1}\), we must have that \(({{\bar{s}}} v-{{\bar{k}}}({{\bar{s}}}+1))(v-{{\bar{k}}}-1)=(v-{{\bar{s}}}-1)(v+{{\bar{\lambda }}}-2{{\bar{k}}}){{\bar{s}}}\). By that is precisely Lemma 2.19. \(\square \)

Lemma 2.24

We have \({{\bar{k}}} > \theta _M\), \({{\bar{k}}}=\theta _M\) or \({{\bar{k}}} < \theta _M\), depending on whether \({{\bar{k}}} > {{\bar{\lambda }}}+1\), \({{\bar{k}}}={{\bar{\lambda }}}+1\) or \({{\bar{k}}} < {{\bar{\lambda }}} +1\), or equivalently, depending on whether \({{\bar{\mu }}} > 0\), \({{\bar{\mu }}}=0\) or \({{\bar{\mu }}} < 0\).

Proof

Taking into account Lemma 2.21 and the definition of \({{\bar{\mu }}}\), we see that \(({{\bar{k}}}-\theta _m)({{\bar{k}}}-\theta _M)={{\bar{k}}}^2+({{\bar{\mu }}}-{{\bar{\lambda }}}){{\bar{k}}}+({{\bar{\mu }}}-{{\bar{k}}})= {{\bar{\mu }}} v\). As \(\theta _m < 0\), we have \({{\bar{k}}}-\theta _m > 0\) and so \({{\bar{k}}}-\theta _M\) and \({{\bar{\mu }}} = \frac{{{\bar{k}}}({{\bar{k}}}-{{\bar{\lambda }}}-1)}{v-{{\bar{k}}}-1}\) are either both 0, both negative or both positive. \(\square \)

The following lemma will be useful in our discussion. It is precisely Theorem 3.2.1 of [4] applied to the graph \(\Gamma \).

Lemma 2.25

The largest eigenvalue of \(\Gamma \) is at least \({{\bar{k}}}\) with equality if and only if \(\Gamma \) is regular.

Lemma 2.26

If \(\Gamma \) is regular, then \({{\bar{k}}} \ge {{\bar{\lambda }}} +1\).

Proof

For a regular graph \(\Gamma \) of degree \(k:={{\bar{k}}}\), we have \(\lambda _{xy} + 1 = |\{ y \} \cup (\Gamma _1(x) \cap \Gamma _1(y))| \le |\Gamma _1(x)|=k\) for every edge xy of \(\Gamma \), implying that \({{\bar{\lambda }}} +1 \le k\). \(\square \)

If \(\Gamma \) is a strongly regular graph, we thus know that \({{\bar{k}}} \ge {{\bar{\lambda }}} +1\) and that \(\theta _m\) is the smallest eigenvalue. In fact, we can prove the following.

Lemma 2.27

Suppose \({{\bar{k}}} \ge {{\bar{\lambda }}} +1\) and let \(\theta _{min}\) denote the smallest eigenvalue of \(\Gamma \). Then \(\theta _{min} \le \theta _m\) and equality holds if and only if \(\Gamma \) is a strongly regular graph.

Proof

Let \(\theta ^*\) be the largest eigenvalue of \(\Gamma \), and put \(\Omega ' := \Omega _{\theta ^*}\). By Lemmas 2.24 and 2.25, we have \(\theta ^*\ge {{\bar{k}}} \ge \theta _M\). By relying on Lemmas 2.16 and 2.21, we compute

$$\begin{aligned}&\sum _{\omega \in \Omega } (\omega -\theta _M)^2(\omega -\theta _m) \\&\quad = \sum _{\omega \in \Omega } (\omega ^2 + ({{\bar{\mu }}}-{{\bar{\lambda }}}) \omega + ({{\bar{\mu }}}-{{\bar{k}}}))(\omega - \theta _M) \\&\quad = \sum _{\omega \in \Omega } \Big ( \omega ^3 + ({{\bar{\mu }}}-{{\bar{\lambda }}}-\theta _M)\omega ^2 + ({{\bar{\mu }}}-{{\bar{k}}}-\theta _M({{\bar{\mu }}}-{{\bar{\lambda }}})) \omega - \theta _M({{\bar{\mu }}}-{{\bar{k}}}) \Big ) \\&\quad = v{{\bar{k}}}{{\bar{\lambda }}} + ({{\bar{\mu }}} - {{\bar{\lambda }}} - \frac{{{\bar{k}}}-{{\bar{\mu }}}}{{{\bar{k}}}}{{\bar{s}}})v{{\bar{k}}} - \frac{{{\bar{k}}}-{{\bar{\mu }}}}{{{\bar{k}}}}{{\bar{s}}}({{\bar{\mu }}}-{{\bar{k}}})v \\&\quad = {{\bar{\mu }}} v{{\bar{k}}} - \frac{{{\bar{\mu }}}({{\bar{k}}}-{{\bar{\mu }}}){{\bar{s}}} v}{{{\bar{k}}}}. \end{aligned}$$

This number is equal to

$$\begin{aligned} ({{\bar{k}}}-\theta _M)^2({{\bar{k}}}-\theta _m) = ({{\bar{k}}}^2+({{\bar{\mu }}}-{{\bar{\lambda }}}) {{\bar{k}}}+({{\bar{\mu }}}-{{\bar{k}}}))({{\bar{k}}}-\theta _M) = {{\bar{\mu }}} v({{\bar{k}}}-\theta _M) = {{\bar{\mu }}} v\bigg ({{\bar{k}}} - \frac{{{\bar{k}}}-{{\bar{\mu }}}}{{{\bar{k}}}}{{\bar{s}}}\bigg ). \end{aligned}$$

As the map \({{\mathbb {R}}}\rightarrow {{\mathbb {R}}}; x \mapsto (x-\theta _M)^2(x-\theta _m)\) attains a local maximum for \(x=\frac{2\theta _m+\theta _M}{3} < \theta _M\) and a local minimum for \(x=\theta _M \le {{\bar{k}}} \le \theta ^*\), we have that

$$\begin{aligned} (\theta ^*-\theta _M)^2(\theta ^*-\theta _m) \ge ({{\bar{k}}}-\theta _M)^2({{\bar{k}}}-\theta _m) = \sum _{\omega \in \Omega } (\omega -\theta _M)^2(\omega -\theta _m), \end{aligned}$$
(9)

i.e.

$$\begin{aligned} \sum _{\omega \in \Omega '} (\omega -\theta _M)^2(\omega -\theta _m) \le 0. \end{aligned}$$
(10)

By Lemma 2.15(a)+(b) and the fact that \(\Gamma \) is not complete nor a graph without edges, we know that the multiset \(\Omega ' = \Omega _{\theta ^*}\) contains at least two distinct elements. Equation (10) then implies that there exists an \(\omega \in \Omega '\) with \(\omega \le \theta _m\), i.e. \(\theta _{min} \le \theta _m\).

Suppose now that \(\theta _{min}=\theta _m\). Then \(\omega \ge \theta _m\) for every \(\omega \in \Omega '\) and so \(\sum _{\omega \in \Omega '} (\omega -\theta _M)^2(\omega -\theta _m) \ge 0\). In combination with (10), this implies that \(\omega \in \{ \theta _M,\theta _m \}\) for every \(\omega \in \Omega '\). If \(\theta ^*\not = {{\bar{k}}}\), then the inequalities in (9) and (10) would be strict, which is impossible. So, \(\theta ^*={{\bar{k}}}\), and every eigenvalue of \(\Gamma \) is equal to \({{\bar{k}}}\), \(\theta _m\) or \(\theta _M\). The fact that \(\theta ^*={{\bar{k}}}\) implies by Lemma 2.25 that \(\Gamma \) is regular with valency \(k := {{\bar{k}}}\).

If \(\Gamma \) is connected, then \(\Gamma \) is strongly regular by Lemma 2.15. If \(\Gamma \) is not connected, then each connected component of \(\Gamma \) is regular of degree k and as each \(\omega \in \Omega _{\theta ^*}=\Omega _k\) belongs to \(\{ \theta _M,\theta _m \}\) we then know that \(\Gamma \) has at most two eigenvalues, implying by Lemma 2.15(a)+(b) that \(\Gamma \) is a disjoint union of at least two complete graphs of the same order. In this case, \(\Gamma \) is thus also a strongly regular graph. \(\square \)

The following is now a consequence of Lemmas 2.26 and 2.27.

Corollary 2.28

If \(\Gamma \) is regular with smallest eigenvalue \(\theta _{min}\), then \(\theta _{min} \le \theta _m\) with equality if and only if \(\Gamma \) is strongly regular.

If \(\Gamma \) is a strongly regular graph with valency k, then we know that \(\theta _M\) is the largest eigenvalue in \(\Omega _k\). In fact, the following can be proved.

Lemma 2.29

Suppose \(\Gamma \) is regular with valency \(k := {{\bar{k}}}\) and let \(\theta _{Max}\) denote the largest eigenvalue of \(\Gamma \) in \(\Omega ' := \Omega _k\). Then \(\theta _{Max} \ge \theta _M\) with equality if and only if \(\Gamma \) is strongly regular.

Proof

By relying on Lemmas 2.16 and 2.21, we compute

$$\begin{aligned}&\sum _{\omega \in \Omega } (\omega -\theta _M)(\omega -\theta _m)^2 \\&\quad = \sum _{\omega \in \Omega } (\omega ^2 + ({{\bar{\mu }}}-{{\bar{\lambda }}}) \omega + ({{\bar{\mu }}}-{{\bar{k}}}))(\omega - \theta _m) \\&\quad = \sum _{\omega \in \Omega } \Big ( \omega ^3 + ({{\bar{\mu }}}-{{\bar{\lambda }}}-\theta _m)\omega ^2 + ({{\bar{\mu }}}-{{\bar{k}}}-\theta _m({{\bar{\mu }}}-{{\bar{\lambda }}}))\omega -\theta _m({{\bar{\mu }}}-{{\bar{k}}}) \Big ) \\&\quad = v{{\bar{k}}}{{\bar{\lambda }}} + ({{\bar{\mu }}} - {{\bar{\lambda }}} +\frac{{{\bar{k}}}}{{{\bar{s}}}})v{{\bar{k}}} +\frac{{{\bar{k}}}}{{{\bar{s}}}}({{\bar{\mu }}}-{{\bar{k}}})v \\&\quad = {{\bar{\mu }}} v{{\bar{k}}} + \frac{{{\bar{\mu }}} v{{\bar{k}}}}{{{\bar{s}}}}. \end{aligned}$$

This number is equal to

$$\begin{aligned} ({{\bar{k}}}-\theta _M)({{\bar{k}}}-\theta _m)^2 = ({{\bar{k}}}^2+({{\bar{\mu }}}-{{\bar{\lambda }}}) {{\bar{k}}}+({{\bar{\mu }}}-{{\bar{k}}}))({{\bar{k}}}-\theta _m) = {{\bar{\mu }}} v({{\bar{k}}}-\theta _m) = {{\bar{\mu }}} v\big ({{\bar{k}}}+\frac{{{\bar{k}}}}{{{\bar{s}}}}\big ). \end{aligned}$$

We thus have

$$\begin{aligned} \sum _{\omega \in \Omega '} (\omega -\theta _M)(\omega -\theta _m)^2 = 0. \end{aligned}$$
(11)

By Lemma 2.15(a) + (b) and the fact that \(\Gamma \) is not complete nor a graph without edges, we know that the multiset \(\Omega ' = \Omega _k\) contains at least two distinct elements. Equation (11) then implies that there exists an \(\omega \in \Omega '\) with \(\omega \ge \theta _M\), i.e. \(\theta _{Max} \ge \theta _M\).

Suppose now that \(\theta _{Max} = \theta _M\). Then \(\omega \le \theta _M\) for every \(\omega \in \Omega '\). In combination with (11), this implies that \(\omega \in \{ \theta _M,\theta _m \}\) for every \(\omega \in \Omega '\).

If \(\Gamma \) is connected, then \(\Gamma \) is strongly regular by Lemma 2.15. If \(\Gamma \) is not connected, then each connected component of \(\Gamma \) is regular of degree k and as each \(\omega \in \Omega ' = \Omega _k\) belongs to \(\{ \theta _M,\theta _m \}\), we then know that \(\Gamma \) has at most two eigenvalues, implying by Lemma 2.15(a) + (b) that \(\Gamma \) is a disjoint union of at least two complete graphs of the same order. In this case, \(\Gamma \) is thus also a strongly regular graph. \(\square \)

Theorem 2.14 is now implied by Corollary 2.28 and Lemma 2.29.

2.3 Characterizations using the Hoffman’s ratio bound

Delsarte [7, p. 31] showed that if C is a clique in a strongly regular graph \(\Gamma \) with parameters \((v,k,\lambda ,\mu )\), then

$$\begin{aligned} |C| \le 1 - \frac{k}{\theta _{\min }}, \end{aligned}$$
(12)

with \(\theta _{\min }\) the smallest eigenvalue of \(\Gamma \). A coclique \(C'\) in \(\Gamma \) can be regarded as a clique in the complementary graph \({\overline{\Gamma }}\) of \(\Gamma \) and so we have

$$\begin{aligned} |C'| \le 1 - \frac{v-k-1}{\theta _{Cmin}} = \frac{v}{1-\frac{k}{\theta _{\min }}}, \end{aligned}$$
(13)

with \(\theta _{Cmin}\) the smallest eigenvalue of \({\overline{\Gamma }}\). We call a (co)clique that meets the Delsarte bound in (12) or (13) a Delsarte-(co)clique. Note that many people call them Hoffman-(co)cliques. The bound for strongly regular graphs, however, was first given by Delsarte. Hoffman later generalized it to arbitrary regular graphs, and the bound is often called the ratio bound. Specifically, Hoffman showed that

$$\begin{aligned} |C'| \le v \Big ( 1-\frac{k}{\theta _{\min }} \Big )^{-1} \end{aligned}$$
(14)

for any coclique \(C'\) in a regular graph with valency \(k \ge 1\) on v vertices having smallest eigenvalue \(\theta _{\min }\), with equality if and only if every vertex outside C has the same number of neighbours in C. A similar characterization for the equality case holds for the inequality (12). For proofs and more background information on these bounds, see [1, Propositions 1.3.2 and 4.4.6].

Theorem 2.30

Let \(\Gamma = (V,E)\) be a connected, non-complete edge-regular graph. Then the following statements are equivalent:

  1. (1)

    \(\Gamma \) is a strongly regular Neumaier graph;

  2. (2)

    there exists a clique C in \(\Gamma \) such that |C| attains the Hoffman coclique bound in the complementary graph \({\overline{\Gamma }}\).

Proof

Let v, k and \(\lambda \) be the parameters of \(\Gamma \) as an edge-regular graph, and define s as in the beginning of Sect. 2.1.

\((2) \Rightarrow (1).\) In case \(\Gamma \) is a complete multipartite graph, it must be a strongly regular Neumaier graph, see e.g. Sect. 2.1. So, for this part of the proof, we may assume that \(\Gamma \) is not a complete multipartite graph. Suppose there exists a clique C in \(\Gamma \) such that |C| attains the Hoffman coclique bound in \({\bar{\Gamma }}\). Then

$$\begin{aligned} |C| = \frac{v}{1 + \frac{v-k-1}{-\theta _{Cmin}}} = \frac{v}{1 + \frac{v-k-1}{\theta _{Max2}+1}}, \end{aligned}$$

where \(\theta _{Cmin}\) is the smallest eigenvalue of \({\overline{\Gamma }}\). Note that \(-\theta _{Cmin}=\theta _{Max2}+1\), where \(\theta _{Max2}\) is the second largest eigenvalue of \(\Gamma \), see e.g. Theorem 2.6 of [3]. We also know that every vertex of \(V \setminus C\) is \({\overline{\Gamma }}\)-adjacent to a constant number of vertices of C, or equivalently, \(\Gamma \)-adjacent to a constant number e of vertices of C. As \(\Gamma \) is connected and non-complete, \(e > 0\) and so C is a regular clique. By Proposition 2.3, we then know that \(|C|=s+1\) and \(e=\frac{(s+1)(k-s)}{v-(s+1)}\). The quotient matrix \(\begin{bmatrix} s &{} k-s \\ e &{} k-e\end{bmatrix}\) of the equitable partition \(\{ C,V \setminus C \}\) has then k and \(s-e\) as eigenvalues. So, k and \(s-e\) are also eigenvalues of \(\Gamma \) and \(\theta _{Max2} \ge s-e\). As \(s-e+1 = \frac{(s+1)(v-(k+1))}{v-(s+1)}\), we have

$$\begin{aligned} s+1 = |C| = \frac{v}{1+\frac{v-k-1}{\theta _{Max2}+1}} \ge \frac{v}{1+\frac{v-k-1}{s-e+1}} {=} \frac{v}{1+\frac{v-(s+1)}{s+1}} {=} \frac{v(s+1)}{s+1+v-(s+1)}=s+1, \end{aligned}$$

implying that \(\theta _{Max2}=s-e\). So, the second largest eigenvalue of \(\Gamma \) is \(s-e\), implying by Theorem 2.14(2) and Lemma 2.23 that \(\Gamma \) is strongly regular. As \(\Gamma \) has a regular clique, it is a Neumaier graph.

\((1) \Rightarrow (2).\) Suppose \(\Gamma \) is a strongly regular Neumaier graph. If \(\Gamma \) is not a complete multipartite graph, then by Lemmas 2.21 and 2.23, the eigenvalues of \(\Gamma \) are k, \(s-e\) and \(-\frac{k}{s}\). In fact, by direct verification one can see that this remains true for complete multipartite graphs. So, \(\theta _{Max2}=s-e\). The upper bound in the Hoffman coclique bound is then equal to

$$\begin{aligned} \frac{v}{1+\frac{v-k-1}{\theta _{Max2}+1}}=\frac{v}{1+\frac{v-k-1}{s-e+1}}=\frac{v}{1+\frac{v-(s+1)}{s+1}}=\frac{v(s+1)}{s+1+v-(s+1)}=s+1. \end{aligned}$$

Every regular clique in \(\Gamma \) has order \(s+1\), and so there exists a coclique in \({\overline{\Gamma }}\) attaining the Hoffman coclique bound. \(\square \)

Theorem 2.31

The following are equivalent for a Neumaier graph \(\Gamma \).

  1. (1)

    \(\Gamma \) is strongly regular.

  2. (2)

    The Delsarte clique bound holds for \(\Gamma \), i.e. \(|C| \le 1 - \frac{k}{\theta _{min}}\) for every clique C, with k the valency of \(\Gamma \) and \(\theta _{min}\) the smallest eigenvalue of \(\Gamma \).

Proof

Let v, k and \(\lambda \) be the parameters of \(\Gamma \) as an edge-regular graph, and define s and e as in the beginning of Sect. 2.1. If C is a clique of \(\Gamma \), then by Propositions 2.3 and 2.4 we know that \(|C| \le s+1\), with equality if and only if C is a regular clique.

\((1) \Rightarrow (2).\) Suppose \(\Gamma \) is strongly regular. Similarly as in Theorem 2.30, we then know that k, \(s-e\) and \(-\frac{k}{s}\) are the eigenvalues of \(\Gamma \). So, \(1-\frac{k}{\theta _{min}}=s+1\). As \(|C| \le s+1\) for every clique C, we indeed see that the Delsarte clique bound holds in \(\Gamma \).

\((2) \Rightarrow (1).\) Suppose the Delsarte clique bound holds in \(\Gamma \). If C is a regular clique in \(\Gamma \), then \(s+1 = |C| \le 1 - \frac{k}{\theta _{min}}\), implying that \(\theta _{min} \ge -\frac{k}{s}\). Then by Theorem 2.14 (a) Corollary 2.28 it follows that \(\Gamma \) is strongly regular. \(\square \)

2.4 A characterization using t-walk regularity

Recall that a t-walk-regular graph is a graph \(\Gamma \) for which the number of walks of a given length between two vertices depends only on the distance between these two vertices, as long as this distance is at most t. Such graphs generalize distance-regular graphs and t-arc-transitive graphs. Every t-walk-regular graph is also regular.

Let \(\Gamma \) be a connected regular graph with distinct eigenvalues \(k= \theta _0,\theta _1,\ldots ,\theta _d\) and adjacency matrix A. Let \(R_i := \frac{\prod _{j: j \ne i} (A-\theta _j I)}{\prod _{j:j \ne i} \theta _i-\theta _j}\) with \(i \in \{ 0,1,\ldots ,d \}\) be the primitive idempotent of \(\Gamma \) corresponding to the eigenvalue \(\theta _i\). We have \(AR_i = \theta _i R_i\). Let \(A_i\) be the i-adjacency matrix, i.e. \((A_i)_{xy} = 1\) if \(d(x, y)=i\) and 0 otherwise.

By Theorem 3.1 of [5], we know that \(\Gamma \) is t-walk-regular if and only if for every \(i \in \{ 0,1,\ldots ,t \}\) and every \(j \in \{ 0,1,\ldots ,d \}\), there exists an \(\alpha _{ij} \in {{\mathbb {R}}}\) such that \(A_i\circ R_j = \alpha _{ij} A_i\), where \(\circ \) denotes the entrywise product. From now on we assume that \(\Gamma \) is 1-walk-regular. For every \(i \in \{ 0,1,\ldots ,d \}\), we define \(\epsilon _i := (R_i)_{xx}\) where x is any vertex of \(\Gamma \), and put \(\tilde{R_i} := \frac{1}{\epsilon _i} R_i\). It is easy to see that \((\tilde{R_i})_{xy} = \theta _i/k\) for adjacent vertices x and y.

Neumaier [13, Corollary 2.4] showed that a vertex- and edge-transitive graph that has a regular clique must be strongly regular. Since vertex- and edge-regularity implies 1-walk-regularity, the next theorem provides an analogous of Neumaier’s result, but it requires a weaker assumption. For more properties of 1-walk-regular graphs we refer the reader to [2].

Theorem 2.32

Let \(\Gamma = (V,E)\) be a 1-walk-regular graph with a regular clique. Then \(\Gamma \) is a strongly regular graph.

Proof

Let k be the valency of \(\Gamma \). Let C be a regular clique of size \(s+1\) and suppose every vertex outside C has e neighbours in C. As \(e \ge 1\), the graph \(\Gamma \) is connected. Consider the partition \({{\mathcal {P}}}=\{C,V\setminus C\}\), which has quotient matrix \(B=\begin{bmatrix} s &{} k-s \\ e &{} k-e \end{bmatrix}\). The eigenvalues k and \(s-e < k\) of B are also eigenvalues of the adjacency matrix A of \(\Gamma \). If \([v_1 \, v_2]^T\) is an eigenvector of B corresponding to \(s-e\), then \(v_1 \not = v_2\) and the column matrix \(\omega \) of size |V| with \(\omega _x = v_1\) if \(x \in C\) and \(\omega _x=v_2\) otherwise is an eigenvector of A corresponding to the eigenvector \(s-e\). Note that \(j = [1\, 1 \, \cdots \, 1]^T\) is an eigenvector of A corresponding to k. The characteristic vector \(\chi _C\) of C is a linear combination of \(\omega \) and j.

Assume now that \(\theta _i \not \in \{ k,s-e \}\) is another eigenvalue, with idempotent \(R_i\), and consider the matrix \(\tilde{R_i}\) as defined above. Any column of \(\tilde{R_i}\) is orthogonal to \(\omega \) and j and hence also to \(\chi _C\). Considering a column of \(\tilde{R_i}\) corresponding to a vertex of C, we then find that \(1+su=0\), where \(u=\frac{\theta _i}{k}\). The eigenvalue \(\theta _i\) of \(\Gamma \) is thus uniquely determined. It follows that \(\Gamma \) has at most three distinct eigenvalues. As \(\Gamma \) is also connected and regular, it must be a strongly regular graph. \(\square \)

Theorem 2.32 has the following immediate corollary.

Corollary 2.33

It is not possible to construct a Neumaier graph as a relation graph of a symmetric association scheme that does not come from a strongly regular graph.

It is worth noting that there are vertex-transitive Neumaier graphs that are not strongly regular graphs, see for instance the construction provided by Greaves and Koolen [11] which uses Cayley graphs. Note that vertex-transitivity implies 0-walk-regular.

It is also important to note that a vertex-transitive Neumaier graph has diameter 2, and it is not known whether this is still true under the weaker condition of walk-regularity. Examples of Neumaier graphs with diameter 3 are known [9].

2.5 A characterization using the smallest eigenvalue being \(-2\)

In [1, Theorem 3.12.4] it is shown that if a connected graph is edge-regular with smallest eigenvalue \(-2\), then it is strongly regular or the line graph of a triangle-free regular graph.

Proposition 2.34

Suppose the line graph \(L(\Gamma )\) of a graph \(\Gamma \) is a Neumaier graph. Then \(L(\Gamma ) \) is one of the following:

  1. (1)

    an \((s+1) \times (s+1)\) rook graph for some \(s \in {{\mathbb {N}}}\setminus \{ 0 \}\);

  2. (2)

    a Johnson graph \(J(s+2,2)\) for some \(s \in {{\mathbb {N}}}\setminus \{ 0,1 \}\);

  3. (3)

    the octahedral graph.

In particular, \(L(\Gamma )\) is a strongly regular graph.

Proof

As adding isolated vertices to a graph does not alter its line graph, we may without loss of generality assume that \(\Gamma \) does not contain isolated vertices. As \(L(\Gamma )\) is connected, the graph \(\Gamma \) must therefore be connected as well. We denote by k the valency of \(L(\Gamma )\) and by \(\lambda \) the constant number of triangles through a given edge of \(L(\Gamma )\). We also assume that C is a regular clique of size \(s+1\) of \(L(\Gamma )\) and that every vertex of \(L(\Gamma )\) not in C is adjacent to exactly \(e > 0\) vertices of C. As C is a maximal clique, it consists either of all the edges in \(\Gamma \) containing a given vertex or of all three edges in a triangle of \(\Gamma \).

Suppose first that C consists of all the edges in \(\Gamma \) through a vertex v. Every edge of \(\Gamma \) not incident with v is adjacent to at most two edges in C, implying that \(e \in \{ 1,2 \}\).

Assume \(e=1\). Then \(\Gamma (v)\) cannot contain edges. If \(v'\) is a vertex not belonging to \(\{ v \} \cup \Gamma (v)\), then the condition \(e=1\) implies that every edge through \(v'\) is of the form \(v'w\) with w one of the \(s+1\) vertices of \(\Gamma (v)\). The degree k of the edges vw and \(v'w\) in \(L(\Gamma )\) is equal to \(\deg (v)+\deg (w)-2=\deg (v')+\deg (w)-2\), implying that \(\deg (v')=\deg (v)=s+1\). This implies that \(\Gamma \cong K_{s+1,n}\) for some \(n \in {{\mathbb {N}}}\setminus \{ 0,1 \}\). Edge-regularity in \(L(\Gamma )\) implies that \(n=s+1\) and that \(L(\Gamma )\) is the \((s+1) \times (s+1)\) rook graph.

Assume \(e=2\). Then all edges not incident with v are contained in \(\Gamma (v)\), and so \(\{ v \} \cup \Gamma (v)\) is the whole vertex set of \(\Gamma \). If \(b=w_1w_2\) is an edge not incident with v, then the edge-regularity condition applied to respectively \(\{ vw_1,vw_2 \}\) and \(\{ vw_1,w_1w_2 \}\) gives \(\lambda = \deg (v) - 2 + 1 = \deg (w_1)-2+1\), implying that \(\deg (w_1)=\deg (v)=s+1\). Repeating this argument for other edges not incident with v, we see that all vertices of \(\Gamma \) have degree \(s+1\). So, \(\Gamma \cong K_{s+2}\) and \(L(\Gamma ) \cong J(s+2,2)\). As \(L(\Gamma )\) is not complete, we have \(s \ge 2\).

Suppose next that \(C = \{ v_1v_2,v_1v_3,v_2v_3 \}\) where \(\Delta = \{ v_1,v_2,v_3 \}\) is a triangle of \(\Gamma \). The valency k of \(L(\Gamma )\) is equal to \(\deg (v_1)+\deg (v_2)-2=\deg (v_1)+\deg (v_3)-2=\deg (v_2)+\deg (v_3)-2\), implying that \(\deg (v_1)\), \(\deg (v_2)\) and \(\deg (v_3)\) are equal, say to l, and that \(k=2l-2\). Since \(\Gamma \) is connected and has edges outside C, we have \(l \ge 3\). Note that the set of \(l \ge 3\) edges through \(v_1\) is a clique of \(L(\Gamma )\). As the maximal size of a clique of \(L(\Gamma )\) is equal to \(|C|=3\), we have \(l=3\) and \(k=4\). Every vertex \(v_i \in \{ v_1,v_2,v_3 \}\) is therefore incident with a unique edge \(e_i\) not contained in \(\Delta \). We see that \(e_i\) and hence all vertices \(b \not \in C\) are adjacent with precisely \(e=2\) edges of C. So, \(e_1\), \(e_2\) and \(e_3\) are the only edges not in C. As the degree of \(e_1\) in \(L(\Gamma )\) equals \(k=4\), the edges \(e_1\), \(e_2\) and \(e_3\) are mutually adjacent, implying that \(\Gamma \) is the tetrahedral graph and \(L(\Gamma )\) is the octahedral graph. \(\square \)

Proposition 2.34 and [1], Theorem 3.12.4] imply the following straightforward consequence.

Corollary 2.35

Every Neumaier graph with smallest eigenvalue \(-2\) is strongly regular.

3 Neumaier graphs with four eigenvalues

Regular graphs with precisely four eigenvalues have already been studied in the literature, see e.g. [14]. In this section, we prove that no such graph can be a Neumaier graph.

Theorem 3.1

There are no Neumaier graphs with exactly four distinct eigenvalues.

Proof

Suppose to the contrary that \(\Gamma \) is a Neumaier graph with exactly four eigenvalues k, \(\theta _1\), \(\theta \) and \(\theta _2\), with k the valency of \(\Gamma \) and \(k> \theta _1> \theta > \theta _2\). Suppose C is a regular clique of size \(s+1\) and every vertex outside C is adjacent to precisely \(e > 0\) vertices of C. Above, we have already seen that \(e = \frac{(s+1)(k-s)}{v-s-1}\) with v the number of vertices of \(\Gamma \), i.e.

$$\begin{aligned} v=\frac{(s+1)(k-s+e)}{e}. \end{aligned}$$
(15)

Counting triangles having exactly one of its edges in C, we find

$$\begin{aligned} {s+1\atopwithdelims ()2}(\lambda -(s-1))=(v-s-1){e\atopwithdelims ()2}, \end{aligned}$$
(16)

with \(\lambda \) denoting the constant number of triangles containing a given edge.

The equitable partition \(\{ C,V\setminus C \}\) has quotient matrix \( \begin{bmatrix} s &{} k-s \\ e &{} k-e \end{bmatrix}, \) whose eigenvalues are k and \(s-e\). As these are also eigenvalues of \(\Gamma \), we have \(s-e \in \{ \theta ,\theta _1,\theta _2 \}\). In fact, we can prove that \(s-e=\theta \). As C cannot be properly contained in another clique, we have \(e \le s\). So, \(s-e \ge 0\) is distinct from the smallest eigenvalue \(\theta _2\) of \(\Gamma \) which is negative. As \(\Gamma \) has exactly four eigenvalues, it is not a strongly regular graph, implying by Theorem 2.14 and Lemma 2.23 that \(\theta _1 > s-e\). Summarizing we thus have

$$\begin{aligned} k> \theta _1> \theta =s-e \ge 0 > \theta _2. \end{aligned}$$

As \(s=\theta +e\), equations (15) and (16) become

$$\begin{aligned} v=\frac{(\theta +e+1)(k-\theta )}{e},\qquad \lambda = \theta +e-1+\frac{(k-\theta -e)(e-1)}{\theta +e}. \end{aligned}$$

As \(|C|=s+1=\theta +e+1\) and \(\Gamma \) is not strongly regular, Theorem 2.31 implies that \(\theta _2 < - \frac{k}{\theta +e}\), or equivalently

$$\begin{aligned} k+e\theta _2+\theta _2 \theta < 0. \end{aligned}$$

The eigenvalues of the adjacency matrix A of \(\Gamma \) distinct from k are \(\theta \), \(\theta _1\) and \(\theta _2\). As \(\Gamma \) is connected and regular with valency k, we thus have

$$\begin{aligned} (A-\theta I)(A-\theta _1 I)(A-\theta _2 I)=\alpha J \end{aligned}$$
(17)

for some \(\alpha \in {{\mathbb {R}}}\), where J denotes the \(v \times v\) matrix with all entries equal to 1. Equation (17) can be rewritten as

$$\begin{aligned} A^3+\beta _2A^2+\beta _1 A +\beta _0 I =\alpha J, \end{aligned}$$
(18)

where \(\beta _2=-(\theta +\theta _1+\theta _2)\), \(\beta _1 = \theta \theta _1 + \theta \theta _2 + \theta _1 \theta _2\) and \(\beta _0=-\theta \theta _1\theta _2\). If we calculate the diagonal entries of the matrices occurring at both sides of (18), we find that

$$\begin{aligned} \alpha = k\lambda +\beta _2k+\beta _0=k\lambda +(-\theta -\theta _1-\theta _2)k-\theta \theta _1\theta _2, \end{aligned}$$

as there are k and \(k \lambda \) closed walks of respective lengths 2 and 3 starting and ending in a given vertex of \(\Gamma \). On the other hand, after multiplying both sides of (17) by \(j = [1 \, 1\, \cdots \, 1]^T\), we find

$$\begin{aligned} (k-\theta )(k-\theta _1)(k-\theta _2) = \alpha v = (k\lambda +(-\theta -\theta _1-\theta _2)k-\theta \theta _1\theta _2) \frac{(\theta +e+1)(k-\theta )}{e}, \end{aligned}$$

i.e.

$$\begin{aligned} (k-\theta _1)(k-\theta _2)=(k\lambda +(-\theta -\theta _1-\theta _2)k-\theta \theta _1\theta _2)\frac{(\theta +e+1)}{e}. \end{aligned}$$

The latter equation implies that

$$\begin{aligned} \Big ( \theta _2 e+k\theta +k+\theta _2 \theta ^2+e\theta _2\theta +\theta _2\theta \Big ) \theta _1 = -k^2e+k\theta _2 e+k (\theta +e+1)(\lambda -\theta -\theta _2). \end{aligned}$$

As \(\theta _2 e+k\theta +k+\theta _2 \theta ^2+e\theta _2\theta +\theta _2\theta = (\theta +1)(k+e\theta _2+\theta _2\theta ) \not = 0\), we thus obtain

$$\begin{aligned} \theta _1&=\frac{-k^2e+k\theta _2 e+k (\theta +e+1)(e-1+\frac{(k-\theta -e)(e-1)}{\theta +e}-\theta _2)}{(\theta +1)(k+e\theta _2+\theta _2\theta )}\\&=\frac{-k(k\theta +k+\theta _2\theta +\theta _2\theta ^2+e\theta _2+e\theta _2\theta )}{(\theta +1)(k+e\theta _2+\theta _2\theta )(e+\theta )}\\&=\frac{-k}{e+\theta }. \end{aligned}$$

This is impossible as \(\theta _1> 0 > -\frac{k}{e+\theta }\). \(\square \)