Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quadratic Embedding Constant

Updated 8 July 2026
  • 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 QEC(G)\mathrm{QEC}(G), is a numerical invariant of a connected graph GG 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 QEC(G)\mathrm{QEC}(G) 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 G=(V,E)G=(V,E) be a connected graph with graph distance d(x,y)d(x,y). For finite VV, with distance matrix D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}, the quadratic embedding constant is

QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.

For infinite graphs it is defined as the supremum of

x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)

over finitely supported real functions ff satisfying GG0 and GG1 (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

GG2

and this is equivalent to GG3. Hence a connected graph belongs to the QE class precisely when there exists a map GG4 into a Hilbert space such that

GG5

or equivalently, precisely when GG6 (Młotkowski, 2022, Baskoro et al., 2019).

A complementary analytic characterization relates QEC to the kernel

GG7

The condition GG8 is equivalent to positivity of this matrix for all GG9 (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 QEC(G)\mathrm{QEC}(G)0 are the eigenvalues of the distance matrix, then

QEC(G)\mathrm{QEC}(G)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 QEC(G)\mathrm{QEC}(G)2.

When the graph is transmission regular, so that the distance matrix has constant row sum and QEC(G)\mathrm{QEC}(G)3 is a distance eigenvector, the variational problem reduces exactly to the second-largest distance eigenvalue: QEC(G)\mathrm{QEC}(G)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

QEC(G)\mathrm{QEC}(G)5

stationarity yields

QEC(G)\mathrm{QEC}(G)6

and the maximizing multiplier QEC(G)\mathrm{QEC}(G)7 is precisely QEC(G)\mathrm{QEC}(G)8 (Baskoro et al., 2019). This formulation underlies many exact computations.

For graphs of diameter at most QEC(G)\mathrm{QEC}(G)9, the distance matrix simplifies to

G=(V,E)G=(V,E)0

where G=(V,E)G=(V,E)1 is the adjacency matrix. In the regular case this gives

G=(V,E)G=(V,E)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

G=(V,E)G=(V,E)3

the distance matrix is G=(V,E)G=(V,E)4 (Młotkowski, 2022).

Earlier work established that the sequence G=(V,E)G=(V,E)5 is strictly increasing and converges to G=(V,E)G=(V,E)6, and used this path scale to formulate classification problems for finite connected graphs (Baskoro et al., 2019). A prior implicit description also expressed G=(V,E)G=(V,E)7 as the negative of the maximal G=(V,E)G=(V,E)8 for which a matrix built from G=(V,E)G=(V,E)9 is positive definite, and from this obtained

d(x,y)d(x,y)0

by passage to the limit (Młotkowski et al., 2018).

The decisive closed formula is

d(x,y)d(x,y)1

together with

d(x,y)d(x,y)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

d(x,y)d(x,y)3

For path graphs,

d(x,y)d(x,y)4

and determinant identities reduce this to a recurrence for polynomials d(x,y)d(x,y)5: d(x,y)d(x,y)6

d(x,y)d(x,y)7

A key factorization is

d(x,y)d(x,y)8

which isolates the positivity threshold and yields the explicit QEC formula (Młotkowski, 2022).

The relation with the distance spectrum is sharp. If d(x,y)d(x,y)9 denotes the second-largest distance eigenvalue, then

VV0

for even VV1, whereas

VV2

for odd VV3 (Młotkowski, 2022).

The maximizing vector can also be written explicitly: VV4 It satisfies

VV5

and

VV6

so its normalized version attains VV7 (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 VV8 VV9
Odd cycle D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}0 D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}1
Even cycle D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}2 D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}3
Complete bipartite graph D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}4 D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}5
Two-clique graph D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}6 D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}7
Star product D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}8 D=[d(x,y)]x,yVD=[d(x,y)]_{x,y\in V}9
Strongly regular graph QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.0, QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.1 QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.2 with QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.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-QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.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 QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.5 with QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.6, then

QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.7

and

QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.8

Moreover, among strongly regular graphs with QEC(G)=max{fDf:1f=0, f2=1}.\mathrm{QEC}(G)=\max\{f^\top Df:\mathbf{1}^\top f=0,\ \|f\|_2=1\}.9, one theorem states that

x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)0

except for

x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)1

(Obata, 2 Jan 2025).

For fan graphs x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)2, the QEC is expressed through the minimal zero of a polynomial built from Chebyshev polynomials: x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)3 where x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)4 is the minimal zero of a polynomial x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)5 related to Chebyshev polynomials of the second kind. For even x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)6,

x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)7

while for odd x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)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

x,yVd(x,y)f(x)f(y)\sum_{x,y\in V} d(x,y)f(x)f(y)9

if each factor has negative QEC, then

ff0

where ff1 (Młotkowski et al., 2018). If all factors are of QE class and one factor has QEC ff2, then the star product has QEC ff3 (Młotkowski et al., 2018).

For joins of regular graphs, if ff4 is ff5-regular on ff6 vertices, then

ff7

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

ff8

for non-QE graphs ff9, together with analogous formulas for GG00 (Choudhury et al., 14 Aug 2025).

The corona operation produces a more analytic transformation law. Under spectral assumptions on GG01,

GG02

where GG03 is built from the main eigenvalues of the adjacency matrix of GG04 (Ferdi et al., 19 Dec 2025). A later refinement gives

GG05

with GG06 and GG07 determined by singular spectral contributions of GG08 (Ferdi et al., 16 Mar 2026). When GG09 is GG10-regular on GG11 vertices,

GG12

and the same work proves

GG13

for regular GG14 (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 GG15. If a connected graph satisfies

GG16

then it cannot contain an induced diamond GG17 or an induced claw GG18, because both of those graphs have QEC exactly GG19. The same line of argument gives further forbidden induced subgraphs: GG20 since induced GG21 forces QEC at least GG22 and induced GG23 forces QEC at least GG24 (Baskoro et al., 2019).

A sharper clique-theoretic description is available. If GG25 denotes the clique graph whose vertices are the maximal cliques of GG26, then for graphs with GG27: GG28 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

GG29

If

GG30

then

GG31

(Baskoro et al., 2023). The intervals near the bottom of the scale are already classified: below GG32 only complete graphs occur, and between GG33 and GG34 the graphs are exactly GG35 with GG36 together with GG37 (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 GG38 (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 GG39 force stringent global geometry on the graph.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quadratic Embedding Constant (QEC).