Quadratic Embedding Constant
- Quadratic Embedding Constant (QEC) is a numerical invariant defined by a constrained quadratic maximization on a graph’s distance matrix, indicating whether a graph’s metric admits a quadratic embedding.
- It connects variational definitions and spectral formulations, linking eigenvalue bounds and explicit formulas for families like path graphs, cycles, and strongly regular graphs.
- QEC offers practical insights through transformation laws under graph operations, enabling classification of graphs and identification of structural obstructions using clear algebraic and geometric criteria.
The Quadratic Embedding Constant (QEC), usually denoted , is a numerical invariant of a connected graph defined from its distance matrix by a constrained quadratic maximization. It occupies a central position in the study of graph metrics of negative type, quadratic embeddings into Hilbert space, and distance spectra. In finite settings it is the maximal value of the distance quadratic form on unit vectors orthogonal to the all-ones vector; in general it is formulated on finitely supported mean-zero unit functions. The sign of determines whether the graph metric admits a quadratic embedding, while explicit formulas and transformation laws are now known for paths, strongly regular graphs, joins, star products, fan graphs, and corona graphs (Młotkowski, 2022, Obata, 2 Jan 2025).
1. Variational definition and geometric meaning
Let be a connected graph with graph distance . For finite , with distance matrix , the quadratic embedding constant is
For infinite graphs it is defined as the supremum of
over finitely supported real functions satisfying 0 and 1 (Młotkowski, 2022).
This variational formulation identifies QEC as the extremal value of the distance quadratic form on the codimension-two constraint set given by unit norm and orthogonality to constants. In the finite case, compactness guarantees that the maximum is attained (Baskoro et al., 2019).
The geometric significance is given by Schoenberg’s criterion. The distance matrix is conditionally negative definite if and only if
2
and this is equivalent to 3. Hence a connected graph belongs to the QE class precisely when there exists a map 4 into a Hilbert space such that
5
or equivalently, precisely when 6 (Młotkowski, 2022, Baskoro et al., 2019).
A complementary analytic characterization relates QEC to the kernel
7
The condition 8 is equivalent to positivity of this matrix for all 9 (Baskoro et al., 2019). This places QEC simultaneously in Euclidean distance geometry, kernel positivity, and graph metric theory.
2. Spectral formulations and matrix characterizations
Because the distance matrix is real symmetric, QEC admits a spectral interpretation. If 0 are the eigenvalues of the distance matrix, then
1
for finite connected graphs (Młotkowski, 2022, Baskoro et al., 2019). The strict upper bound reflects Perron–Frobenius positivity of the top distance eigenvector, which is not orthogonal to 2.
When the graph is transmission regular, so that the distance matrix has constant row sum and 3 is a distance eigenvector, the variational problem reduces exactly to the second-largest distance eigenvalue: 4 This identity is used explicitly for strongly regular graphs and other transmission-regular families (Obata, 2 Jan 2025).
A Lagrange multiplier formulation converts the constrained optimization into a stationary system. Writing
5
stationarity yields
6
and the maximizing multiplier 7 is precisely 8 (Baskoro et al., 2019). This formulation underlies many exact computations.
For graphs of diameter at most 9, the distance matrix simplifies to
0
where 1 is the adjacency matrix. In the regular case this gives
2
so QEC is controlled directly by the smallest adjacency eigenvalue (Lou et al., 2020). This reduction is fundamental in the strongly regular case.
3. Path graphs as the foundational explicit case
Path graphs provide the canonical model for the theory. For
3
the distance matrix is 4 (Młotkowski, 2022).
Earlier work established that the sequence 5 is strictly increasing and converges to 6, and used this path scale to formulate classification problems for finite connected graphs (Baskoro et al., 2019). A prior implicit description also expressed 7 as the negative of the maximal 8 for which a matrix built from 9 is positive definite, and from this obtained
0
by passage to the limit (Młotkowski et al., 2018).
The decisive closed formula is
1
together with
2
for the infinite one-sided and two-sided paths (Młotkowski, 2022). Since these values are negative, all finite and infinite path graphs are of QE class.
The derivation proceeds through a positive-definiteness threshold for the matrix family
3
For path graphs,
4
and determinant identities reduce this to a recurrence for polynomials 5: 6
7
A key factorization is
8
which isolates the positivity threshold and yields the explicit QEC formula (Młotkowski, 2022).
The relation with the distance spectrum is sharp. If 9 denotes the second-largest distance eigenvalue, then
0
for even 1, whereas
2
for odd 3 (Młotkowski, 2022).
The maximizing vector can also be written explicitly: 4 It satisfies
5
and
6
so its normalized version attains 7 (Młotkowski, 2022).
4. Exact formulas for representative graph families
A substantial part of the modern theory consists of closed QEC formulas for concrete graph classes. Representative examples are as follows.
| Graph family | QEC formula or criterion |
|---|---|
| Complete graph 8 | 9 |
| Odd cycle 0 | 1 |
| Even cycle 2 | 3 |
| Complete bipartite graph 4 | 5 |
| Two-clique graph 6 | 7 |
| Star product 8 | 9 |
| Strongly regular graph 0, 1 | 2 with 3 |
These formulas come from several strands of the literature: complete graphs and cycles from early classification work, complete bipartite and join formulas from the study of graph joins, two-clique and star-product formulas from clique-graph methods, and the strongly regular formula from the distance-spectral analysis of diameter-4 regular graphs (Baskoro et al., 2019, Lou et al., 2020, Baskoro et al., 2023, Obata, 2 Jan 2025).
For strongly regular graphs the result is especially rigid. If 5 with 6, then
7
and
8
Moreover, among strongly regular graphs with 9, one theorem states that
0
except for
1
For fan graphs 2, the QEC is expressed through the minimal zero of a polynomial built from Chebyshev polynomials: 3 where 4 is the minimal zero of a polynomial 5 related to Chebyshev polynomials of the second kind. For even 6,
7
while for odd 8 explicit two-sided bounds are available (Młotkowski et al., 2024, Młotkowski et al., 2024).
5. Behavior under graph operations
QEC interacts in a controlled way with several graph operations. For finite star products
9
if each factor has negative QEC, then
0
where 1 (Młotkowski et al., 2018). If all factors are of QE class and one factor has QEC 2, then the star product has QEC 3 (Młotkowski et al., 2018).
For joins of regular graphs, if 4 is 5-regular on 6 vertices, then
7
which yields explicit values for complete bipartite graphs, wheel graphs, friendship graphs, complete split graphs, and joins involving strongly regular graphs (Lou et al., 2020). More recent work extends join formulas to joins with arbitrary regular graphs and complete multipartite graphs, and derives Cartesian-product formulas such as
8
for non-QE graphs 9, together with analogous formulas for 00 (Choudhury et al., 14 Aug 2025).
The corona operation produces a more analytic transformation law. Under spectral assumptions on 01,
02
where 03 is built from the main eigenvalues of the adjacency matrix of 04 (Ferdi et al., 19 Dec 2025). A later refinement gives
05
with 06 and 07 determined by singular spectral contributions of 08 (Ferdi et al., 16 Mar 2026). When 09 is 10-regular on 11 vertices,
12
and the same work proves
13
for regular 14 (Ferdi et al., 16 Mar 2026).
These formulas show that QEC is not merely an isolated invariant; it is functorial enough to support exact transfer laws under several nontrivial graph constructions.
6. Structural obstructions, clique geometry, and classification
A major structural threshold is 15. If a connected graph satisfies
16
then it cannot contain an induced diamond 17 or an induced claw 18, because both of those graphs have QEC exactly 19. The same line of argument gives further forbidden induced subgraphs: 20 since induced 21 forces QEC at least 22 and induced 23 forces QEC at least 24 (Baskoro et al., 2019).
A sharper clique-theoretic description is available. If 25 denotes the clique graph whose vertices are the maximal cliques of 26, then for graphs with 27: 28 adjacent maximal cliques intersect in exactly one vertex, and no three distinct maximal cliques have nonempty triple intersection (Baskoro et al., 2023). In that precise sense, such graphs admit a cactus-like decomposition into maximal cliques glued along cut vertices.
This structure supports classification along the increasing path scale
29
If
30
then
31
(Baskoro et al., 2023). The intervals near the bottom of the scale are already classified: below 32 only complete graphs occur, and between 33 and 34 the graphs are exactly 35 with 36 together with 37 (Baskoro et al., 2019).
Beyond clique obstructions, theta graphs provide a different source of non-QE behavior. For bipartite graphs, Tanaka’s criterion links quadratic embeddability to the absence of Tanaka quintuples; for theta graphs the existence of Tanaka quintuples and modified Tanaka quintuples yields large families of non-QE examples. In particular, non-QE theta graphs are primary non-QE graphs, and there exists a non-QE theta graph on each number of vertices 38 (Młotkowski et al., 2024).
Taken together, these results present QEC as both a spectral invariant and a structural classifier. Its sign governs quadratic embeddability, its exact values encode delicate spectral data of the distance matrix, and threshold ranges such as 39 force stringent global geometry on the graph.