# Faithfully embeddable graphs

Consider a weighted graph $G$ with weights $\omega_{ii}=0$, $\omega_{ij}=\omega_{ji}>0$, obeying the triangle inequality. One might want to ask into which metric spaces $X$ such a graph can be embedded faithfully, i.e. such that the (abstract) weight $\omega_{ij}$ between two vertices equals their (geometric) distance $d_{ij}$.

One trivial answer is: into the graph $G$ itself which is by definition a metric space. But this is not what one wants to get as an answer. Neither is - in the case of a graph with $n$ vertices - an answer like some distortion of $\mathbb{R}^{n-1}$.

So what would be - if any - a sensible family of metric spaces one could restrict this question to in order to get interesting answers?

To turn the problem around:

Given a metric space $X$ and the family of graphs that can be embedded faithfully into $X$. Can these graphs be characterized otherwise, eventually?

(Think of Kuratowski's characterization of planar graphs.)

• Are the weights $\omega_{ij}$ undefined when $ij$ is not an edge in $G$? – François G. Dorais Apr 26 '12 at 22:10
• – Gjergji Zaimi Apr 26 '12 at 22:21
• What do you mean with your comment about Kuratowski? Some otherwise planar graphs once given weights will NOT be embeddable faithfully in the plane (take the complete graph on 4 vertices with all weights 1). Or did you simply mean the type of characterisation you were looking for (by forbidden minor, etc...)? – verret Apr 26 '12 at 22:27
• @Francois. I hoped it would be clear from the context: the graph is supposed to be complete, there's supposed to be a - weighted - edge between any two nodes. – Hans-Peter Stricker Apr 26 '12 at 22:30
• @verret. My embeddability criterion is totally different from the one used in defining planarity. My comment about Kuratowski concerns only the two independant ways of characterization. – Hans-Peter Stricker Apr 26 '12 at 22:33

To see whether a complete graph (also known as a finite metric space) is isometrically embeddable in $\mathbb{E}^n,$ one needs to check the signs of various minors of the Cayley-Menger matrix, described here.link text This is equivalent to checking whether a certain symmetric matrix $M$ is positive-semi-definite, where, if your graph has $n+1$ vertices $v_0, \dots, v_n,$ the matrix is $n\times n,$ and the entries are given by: $M_{ii} = d_{0i}^2,$ while $M_{ij} = \frac12 (d_{0i}^2+ d_{0j}^2 - d_{ij}^2).$ The necessity of these conditions is easy, the sufficiency, and more than you ever wanted to know about the subject can be found in Blumenthal's Metric Geometry.
He gives necessary and sufficient conditions for a given $n \times n$ matrix to be the matrix of squared distances between Euclidean vectors in some $\mathbb{R}^{m}$. The references are also interesting. In particular, in an earlier paper (http://solon.cma.univie.ac.at/scan/16.pdf) he deals with other kinds of spaces too.