On the Paley graph of a quadratic character
Abstract.
Paley graphs form a nice link between the distribution of quadratic residues and graph theory. These graphs possess remarkable properties which make them useful in several branches of mathematics. Classically, for each prime number we can construct the corresponding Paley graph using quadratic and non-quadratic residues modulo . Therefore, Paley graphs are naturally associated with the Legendre symbol at which is a quadratic Dirichlet character of conductor . In this article, we introduce the generalized Paley graphs. These are graphs that are associated with a general quadratic Dirichlet character. We will then provide some of their basic properties. In particular, we describe their spectrum explicitly. We then use those generalized Paley graphs to construct some new families of Ramanujan graphs. Finally, using special values of -functions, we provide an effective upper bound for their Cheeger number. As a by-product of our approach, we settle a question raised in [8] about the size of this upper bound.
Key words and phrases:
Paley graphs, Ramanujan graphs, Cheeger number, Gauss sums, Special values of -functions.2020 Mathematics Subject Classification:
Primary 05C25, 05C50, 11M061. Introduction
Let be a prime power. The Paley graph is the graph with the following data
-
(1)
The vertex set of is ; here is the finite field with elements;
-
(2)
Two vertices are connected if and only a nonzero square in ; i.e., is an element of the set
Let us recall the definition of the Caley graph where is a group and a set is a subset of which has the property that . The vertices of are elements of and the edges of are given by
(See [6, 19]). We note that in [18, Definition 2.3.1], the author requires that is symmetric in the sense that if and only if (this symmetric condition guarantees that is an undirected graph). In the case as an additive group, we see that is exactly the Caley graph with . (Here we use the standard notation .) We remark that if and only if Therefore, is an undirected graph for
The origin of Paley graphs can be traced back to Paley’s 1933 paper [27] in which he implicitly used them to construct Hadamard matrices. These graphs were later rediscovered by Carlitz in [5], though this time in a different context. Gareth A. Jones had the following remark in [16] about Paley graphs
Anyone who seriously studies algebraic graph theory or finite permutation groups will, sooner or later, come across the Paley graphs and their automorphism groups.
Due to its arithmetic and representation theoretic nature, we have various tools to study Paley graphs. Consequently, they have interesting properties that make them useful for graph theory and related fields. For example, Paley graphs have found applications in coding and cryptography theory (see [12, 14]).
In this article, we define and study generalized Paley graphs which are associated with general quadratic characters (we refer the reader to Section 2 for the precise definition of these graphs). The terminology ”generalized Paley graphs” was used earlier in some papers of C.E. Praeger and her collaborators. Their generalization of Paley graphs, however, went in another direction from our generalization (see [21]). Therefore a possible confusion is unlikely. Using the theory of Gauss sums and circulant matrices, we describe explicitly the spectrum of these generalized Paley graphs. We then give a complete answer to the following question: which generalized Paley graphs are Ramanujan? In the final section, we provide an effective upper bound for the Cheeger number of these generalized Paley graphs using special values of -functions. As a by-product of our approach, we settle a question raised in [8, Section 2.2] about the size of this upper bound.
2. Quadratic characters and the associated generalized Paley graphs
2.1. Kronecker symbol
In this section, we recall the definition of the Kronecker symbol.
Let be integers. Suppose that and has the following factorization into the product of distinct prime numbers
Here is the sign of , which is if and otherwise. Then, the Kronecker symbol is defined as
Here
and for an odd prime , is the Legendre symbol which is defined as follows
Also, the Kronecker symbol is defined as
We note that, the Kronecker symbol is defined for all integers and .
2.2. Quadratic characters
We first recall the theory of Dirichlet characters (we refer the reader to [1, Chapter 1] for some further discussions).
Definition 2.1.
Let be a positive integer. A Dirichlet character mod is a group homomorphism
We say that is primitive if it does not factor through for some proper divisor of
We remark that we can extend a Dirichlet character to an arithmetic function by the following convention
In this article, we will focus on quadratic characters. These characters are closely related to the theory of quadratic fields and Kronecker symbols which we know recall. Let be a squarefree integer. Let be the discriminant of the quadratic extension , which is given by
From this definition, we can see that necessarily determines the quadratic extension We have the following theorem.
Theorem 2.2.
([25, Theorem 9.13]) Let be the function given by
where is the Kronecker symbol. Then is a primitive quadratic character of conductor Furthermore, every primitive quadratic character is given uniquely this way.
2.3. Generalized Paley graphs and their spectra
Let be the primitive quadratic character of conductor as explained in the previous section. We introduce the following definition (see also [4] for a similar approach).
Definition 2.3.
The generalized Paley graph is the graph with the following data
-
(1)
The vertices of are
-
(2)
Two vertices are connected iff
Example 2.4.


We remark that if , then In this case, is a directed graph. Otherwise, if then and therefore, is an undirected graph.
Since the connection in is determined by , we conclude that is a circulant graph with respect to the cyclic group (see [7, 9]). In fact, its adjacency matrix is generated by the following vector
This follows from the fact that
We first observe the following.
Proposition 2.5.
is a regular graph of degree
Proof.
We have
Here we use the fact that
We conclude that ∎
Corollary 2.6.
Suppose that . Then is a cycle graph if and only if or or
Proof.
Suppose that is a cycle graph. Then the degree of is . By Proposition 2.5, we must have Therefore Conversely, if , then if and if Consequently, an edge in must have the form or for In other words, is a cycle graph. ∎
3. The spectrum of
In this section, we compute the spectrum of . By the Circulant Diagonalization Theorem (see [9]), the spectrum of is given by
where runs over the set of all th roots of unity. Note that for each , there exists a unique positive integer such that is a primitive th root of unity. We first recall the definition of the Möbius function
Definition 3.1.
The Möbius function is defined as follow
We also recall Ramanujan’s sum (see [13, Section 5.6]). Let be two positive integers. The Ramanujan sum is defined as follow
If and then by [13, Theorem 272], we have
In particular, when and , we have (see [13, Equation 16.4.4])
Lemma 3.2.
Let be a positive integer. Let be a primitive th root of unity. Then
In other words, the sum of all primitive th roots of unity is equal to
We recall the theory of Gauss sum. Let be a primitive th root of unity.
Definition 3.3.
([1, Chapter V]) The Gauss sum is defined as follow
We recall the following fundamental property [1, Theorem 4.12, page 312]
Furthermore, by [1, Theorem 4.17], we have . Consequently . In particular, if is not a primitive th root of unity then
On the other hand, if is a primitive th root of unity, namely with then
In summary, we have the following lemma.
Lemma 3.4.
Let be a th root of unity.
-
(1)
If is not a primitive th root of unity then
-
(2)
If with then
We can now simplify In fact
We consider two cases.
Case 1. is a primitive th root of unity with In this case
and
Therefore
Case 2. is a primitive th root of unity; namely with . In this case, we have
and
Consequently
Let us write for the multiset . By the above calculations, we have the following conclusion.
Theorem 3.5.
The spectrum of the generalized Paley graph is the union of the following multisets
and
and
We discuss a corollary of this theorem. First, we recall that an undirected graph is called a bipartite graph if can be decomposed into two disjoint sets such that no two vertices within the same set are adjacent. As explained in [26], if is regular of degree then is a bipartite graph if and only if is an eigenvalue of
Corollary 3.6.
Suppose that . Then, the generalized Paley graph is a bipartite graph if and only if is even.
Proof.
If is even then we can decompose into the following two sets
and
If both belong to either or then is even. Therefore, By definition, and are not adjacent. We conclude that is a bipartite graph.
Conversely, let us assume that is a bipartite graph. By the above remark and the fact that is regular of degree , we conclude that one of its eigenvalues must be Clearly this eigenvalue cannot be either or because these values are not integers. Consequently, by Theorem 4.3, there must exists and such that
Equivalently, we must have We conclude that and hence is even. ∎
4. Ramanujan Paley graphs
In this section, we investigate the following question: which is a Ramanujan graph? For this question to make sense, we need to assume that is an undirected graph. This requires is an even character; or equivalently We first recall the definition of a Ramanujan graph (see [22, 26]).
Definition 4.1.
Let be a connected -regular graph with vertices, and let be the eigenvalues of the adjacency matrix of . Since is connected and -regular, its eigenvalues satisfy Let
The graph is a Ramanujan graph if
It is well-known that is a Ramanujan graph if , where is a prime number, which is congruent to 1 modulo 4. In fact, by Proposition 2.5, is a regular graph of degree . By Theorem 3.5, the eigenvalues of the adjacency matrix of which are smaller than are . Because we see that and . When is not a prime number, we have the following.
Lemma 4.2.
Suppose is not a prime number. The graph is a Ramanujan graph if and only if
where is the smallest odd prime divisor of , and
Proof.
Let be an arbitrary divisor of such that and if . One has
Clearly if has an odd prime divisor then , where is the smallest odd prime divisor of .
Theorem 4.3.
The graph is a Ramanujan graph if and only if
-
(1)
either ,
-
(2)
or , where is a prime number, ,
-
(3)
or , where is an odd prime number,
-
(4)
or where and are primes, and .
-
(5)
or where and are primes and ,
-
(6)
or is a prime number with ,
-
(7)
or where and are primes, and .
Proof.
a) We first consider the case that is even. It is easy to check that is a Ramanujan graph. So we suppose that and is a Ramanujan graph. Let be the prime factorization of with . One has , , and . By Lemma 4.2,
This inequality forces . In fact, if then
Case 1: . In this case , . One has
The last inequality is true because
Subcase 1.1: (). In this case , where and . By Lemma 4.2, the graph is a Ramanujan graph if and only if
In the case that , the latter condition is equivalent to
which is equivalent to
Subcase 1.2: (). In this case , where . By Lemma 4.2, the graph is a Ramanujan graph if and only if
The latter condition is equivalent to
which is equivalent to
Case 2: . In this case , . One has
The last inequality is true because
Note also that
b) Now we consider the case is odd. It is well known that if is a prime number then is a Ramanujan graph.(For example, see the discussion after Definition 4.1.)
Suppose that is not a prime number and that is a Ramanujan graph. Let be the prime factorization of with . Since is square-free, , and . By Lemma 4.2,
This inequality forces . In fact, if then
Case 1: . Since , we conclude that . Hence . However, in this case, one has , a contradiction.
Case 2: . In this case , where and . One has
The last inequality is true because
By Lemma 4.2, the graph is a Ramanujan graph if and only if
In the case that , the latter condition is clearly equivalent to
which is equivalent to
All pairs of primes satisfying that and are , , and . One can check directly that for such a pair we always have
Remark 4.4.
There are infinitely pairs of primes satisfying the conditions in part (4) of Theorem 4.3. In fact, let us first recall the prime number theorem for arithmetic progressions. Let , be two positive integers with . Let
Then as . (See for example [20, page 257].) Hence for any fixed number ,
In particular for big enough, there exists a prime such that
Now let be a prime number congruent to 1 modulo 4 which is big enough so that there exists a prime such that
Then and . Hence the pair satisfies the conditions in part (4) of Theorem 4.3.
Similarly, there are infinitely pairs of primes satisfying the conditions in part (5), or in part (7), of Theorem 4.3.
5. Cheeger number of generalized Paley graphs
Let be an even quadratic character (in other words, ) and the corresponding generalized Paley graph. In this section, we provide an upper bound for the Cheeger number of (also known by other names such as isoperimetric number or edge expansion ratio). Our estimation gives a natural generalization of the results in [8]. We also answer the authors’ suspicion about the relationship between the upper bounds that they used in this paper, namely the -bound and the -bound (see [8, Section 2.2].) While our result is more general and explicit, we remark that our approach is inspired by the method in [8].
First, let us recall the definition of the Cheeger number of a graph. Let be an undirected graph. Let be a subset of . For a subset , the boundary of , denoted by , is the set of all edges going from a vertex in to a vertex outside of . The Cheeger number of is defined as
Cheeger number is of great importance in various scientific fields. For example, it has found applications in graph clustering, analysis of Markov chain, and image segmentation (see [15, 17, 28, 29].)
Let be the set of all elements on the interval such that Note that since is even, . Therefore, we can conclude that
is the set of such that In particular, we see that
The following proposition is a direct analog of [8, Proposition 6].
Proposition 5.1.
Let . Then and
Proof.
By definition, an element of will have the form where , , and In particular, we know that
Let us fix an index where The number of edges of the form is equal to the number of such that
(1) |
Because , we conclude that the number of satisfying the inequality 1 is exactly Similarly, the number of edges of the form is equal to the number of such that
(2) |
Again, the number of satisfying the inequality 2 is exactly . Summing up over all , we have
By definition, we conclude that
We can further simplify the right-hand side of the above estimate using zeta values. In order to do so, we first recall the definition of the -function attached to
This -function is convergent for such that and it is absolutely convergent if Furthermore, there is an Euler product formula
where runs over the set of all prime numbers. This Euler product formula shows that if and We are now ready to state the following theorem.
Theorem 5.2.
Proof.
One has
By [3, Theorem 13.1],
By [2, Theorem],
where if is odd and if is even; and . Note that in the case that is odd, is then square-free, hence . Also if is even then is divisible by , hence . Thus
Therefore
∎
Remark 5.3.
Let the notation be as above. If is even, then
If is odd, then
Corollary 5.4.
Let the notation be as above. Then .
Proof.
If is even then the statement follows from the previous corollary and the fact that . So we suppose that is odd. One can check that for or then the statement is true. So we suppose further that .
Case 1: . In this case,
Hence
Thus .
Case 2: . In this case,
Hence
Thus . ∎
In the particular case when is a prime of the form , Corollary 5.4 shows that the -bound discussed in [8] is better than the -bound.
Remark 5.5.
It is interesting to see whether the -bound provides the optimal value for ; namely This is true in the case is a cycle graph (by Corollary 2.6, this happens if ). The reason is that in this case if and if which is precisely the Cheeger number of (by the result in [19], it is known that for a cycle graph of order its Cheeger number is if is even and if is odd.)
Data Availability Statement
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
Acknowledgements
The third named author is very grateful to Professor Moshe Rosenfeld who kindled his interest in using number theory to attack problems in graph theory and combinatorics.
References
- [1] R. Ayoub. An introduction to the analytic theory of numbers. Mathematical Surveys. American Mathematical Society, Providence, R.I., 1963.
- [2] J. Baum. A number-theoretic sum. Math. Mag., 55(2):111–113, 1982.
- [3] B. C. Berndt. Classical theorems on quadratic residues. Enseign. Math.(2), 22(3–4):261–304, 1976.
- [4] M. Budden, N. Calkins, W. Hack, J. Lambert, and K. Thompson. Dirichlet character difference graphs. Acta Math. Univ. Comen., 82(1):21–28, 2017.
- [5] L. Carlitz. A theorem on permutations in a finite field. Proc. Amer. Math. Soc., 11(3):456–459, 1960.
- [6] P. Cayley. Desiderata and suggestions: No. 2. the theory of groups: graphical representation. Amer. J. Math., 1(2):174–176, 1878.
- [7] S. K. Chebolu, J. L. Merzel, J. Mináč, L. Muller, T. T. Nguyen, F. W. Pasini, and N. D. Tân. On the joins of group rings. arXiv preprint arXiv:2208.07413, 2022.
- [8] K. Cramer, M. Krebs, N. Shabazi, A. Shaheen, and E. Voskanian. The isoperimetric and Kazhdan constants associated to a Paley graph. Involve, 9(2):293–306, 2016.
- [9] P. J. Davis. Circulant matrices. American Mathematical Society, 2013.
- [10] J. Doan, J. Mináč, L. Muller, T. T. Nguyen, and F. W. Pasini. Joins of circulant matrices. Linear Algebra Appl., 650:190–209, 2022.
- [11] J. Doan, J. Mináč, L. Muller, T. T. Nguyen, and F. W. Pasini. On the spectrum of the joins of normal matrices and applications. arXiv preprint arXiv:2207.04181, 2022.
- [12] D. Ghinelli and J. D. Key. Codes from incidence matrices and line graphs of Paley graphs. Adv. Math. Commun., 5(1):93–108, 2011.
- [13] G. H. Hardy and E. M. Wright. An introduction to the theory of numbers. Oxford university press, 1979.
- [14] J. Javelle. Cryptographie Quantique: Protocoles et Graphes. PhD thesis, Université de Grenoble, 2014.
- [15] M. Jerrum, A. Sinclair, and E. Vigoda. A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries. J.ACM, 51(4):671–697, 2004.
- [16] G. A. Jones. Paley and the Paley graphs. In International workshop on Isomorphisms, Symmetry and Computations in Algebraic Graph Theory, pages 155–183. Springer, 2020.
- [17] R. Kannan, S. Vempala, and A. Vetta. On clusterings: Good, bad and spectral. J. ACM, 51(3):497–515, 2004.
- [18] E. Kowalski. An introduction to expander graphs. Société mathématique de France, 2019.
- [19] M. Krebs and A. Shaheen. Expander families and Cayley graphs: a beginner’s guide. Oxford University Press, 2011.
- [20] W. J. LeVeque. Topics in number theory. Vol. I, II. Dover Publications, Inc., Mineola, NY, 2002.
- [21] T. K. Lim and C. E. Praeger. On generalized Paley graphs and their automorphism groups. Michigan Math. J., 58(1):293–308, 2009.
- [22] A. Lubotzky, R. Phillips, and P. Sarnak. Ramanujan graphs. Combinatorica, 8(3):261–277, 1988.
- [23] J. Mináč, T. T. Nguyen, and N. D. Tân. On the arithmetic of generalized Fekete polynomials. arXiv preprint arXiv:2206.11778, 2022.
- [24] J. Mináč, T. T. Nguyen, and N. D. Tân. Fekete polynomials, quadratic residues, and arithmetic. J. Number Theory, 242:532–575, 2023.
- [25] H. L. Montgomery and R. C. Vaughan. Multiplicative number theory I: Classical theory. Cambridge Studies in Advanced Mathematics, 97. Cambridge University Press, Cambridge, 2007.
- [26] M. R. Murty. Ramanujan graphs. J. Ramanujan Math. Soc., 18(1):1–20, 2003.
- [27] R. E. Paley. On orthogonal matrices. J. Math. Phys., 12(1-4):311–320, 1933.
- [28] A. Sinclair and M. Jerrum. Approximate counting, uniform generation and rapidly mixing markov chains. Inform. and Comput., 82(1):93–133, 1989.
- [29] D. A. Spielman and S.-H. Teng. Spectral partitioning works: Planar graphs and finite element meshes. In Proceedings of 37th conference on foundations of computer science, pages 96–105. IEEE, 1996.