Post · 14 min read· pp. 1261–1267

CS294 Lecture 3: Cheeger Inequalities

In which we generalize the notion of normalized Laplacian to irregular graphs, we extend the basic spectral graph theory results from last lecture to irregular graphs, and we prove the easy direction of Cheeger’s inequalities.

1. Irregular Graphs

Let G=(V,E){G=(V,E)} be an undirected graph, not necessarily regular. We will assume that every vertex has non-zero degree. We would like to define a normalized Laplacian matrix associated to G{G} so that the properties we proved last time are true: that the multiplicity of 0 as an eigenvalue is equal to the number of connected components of G{G}, that the largest eigenvalue is at most 2, and that it is 2 if and only if (a connected component of) the graph is bipartite.

In order to have a matrix such that zero is the smallest eigenvalue, and such that multiplicity of zero is the number of connected component, we want a matrix such that the numerator of the Rayleigh quotient is (a multiple of)

∑{u,v}∈E(xu−xv)2\displaystyle \sum_{\{ u,v\} \in E} (x_u - x_v)^2

and the matrix M{M} such that xTMx{{\bf x}^T M {\bf x}} is the above expression is the matrix M=D−A{M = D-A}, where D{D} is the diagonal matrix such that Dv,v=dv{D_{v,v} = d_v}, the degree of v{v}. The matrix D−A{D-A} is called the Laplacian matrix of G{G}. Note that there is no fixed constant upper bound to the largest eigenvalue of D−A{D-A}; for example, if G{G} is a d{d}-regular bipartite graph, the largest eigenvalue is 2d{2d}, as proved in the last lecture.

Some calculations shows that the right analog of the normalization that we did in the regular case (in which we divided by the degree d{d}) would be to have a matrix whose Rayleigh quotient is

∑{u,v}∈E(xu−xv)2∑vdvxv2=2−∑{u,v}∈E(xu+xv)2∑vdvxv2     (1)\displaystyle \frac { \sum_{\{ u,v\} \in E} (x_u - x_v)^2 } { \sum_v d_v x^2_v } = 2 - \frac { \sum_{\{ u,v\} \in E} (x_u + x_v)^2 } { \sum_v d_v x^2_v } \ \ \ \ \ (1)

and it’s clear that the above expression is at most 2 for every x{{\bf x}}, and it is possible to find an x{{\bf x}} for which the above expression is 2 if and only if G{G} has a bipartite connected component.

Unfortunately, there is no matrix whose Rayleigh quotient equals (1), because the denominator of a Rayleigh quotient is, by definition, ∑vxv2{\sum_v x_v^2} regardless of the matrix.

One way to work around this problem would be to give a more general form of the variational characterization of eigenvalues, in which we have an arbitrary inner product ⟨⋅,⋅⟩{\langle \cdot, \cdot \rangle}, and the Rayleigh quotient is defined as ⟨x,Mx⟩⟨x,x⟩{\frac {\langle {\bf x}, M {\bf x} \rangle}{\langle {\bf x}, {\bf x}\rangle}}.

Here we will proceed in a way that is essentially equivalent, but without introducing this additional definitional framework.

The point is that, if we look at the Rayleigh quotient of the vector D1/2x{D^{1/2} {\bf x}}, where D1/2{D^{1/2}} is the diagonal matrix such that Dv,v1/2=dv{D^{1/2} _{v,v} = \sqrt{d_v}}, then the denominator will indeed be xTDx=∑vdvxv2{{\bf x}^T D {\bf x} = \sum_v d_v x_v^2}, and that we can find a matrix L{L} such that the numerator of the Rayleigh quotient of D1/2x{D^{1/2} {\bf x}} is xTD1/2LD1/2x=∑{u,v}∈E(xu−xv)2{{\bf x}^T D^{1/2} L D^{1/2} {\bf x} = \sum_{ \{ u,v \} \in E} (x_u - x_v)^2}, so that the Rayleigh quotient RL(D1/2x){R_L(D^{1/2} {\bf x})} is indeed the expression in (1).

This matrix L{L} is called the normalized Laplacian of G{G} and, by the above observation, it has to be L=D−1/2(D−A)D−1/2=I−D−1/2AD−1/2{L = D^{-1/2} (D - A) D^{-1/2} = I - D^{-1/2} A D^{-1/2}}. Note that, in a d{d}-regular graph, we get L=I−1dA{L = I - \frac 1d A}, consistent with our definition from the last lecture.

Now the point is that the mapping x→D1/2x{{\bf x} \rightarrow D^{1/2} {\bf x}} is linear and bijective, so it maps the set of all possible vectors to the set of all possible vectors, and it maps a k{k}-dimensional space to a (possibly different) k{k}-dimensional space.

If we let λ1≤⋯≤λn{\lambda_1 \leq \cdots \leq \lambda_n} be the eigenvalues of L=I−D−1/2AD−1/2{L = I - D^{-1/2} A D^{-1/2}}, counting repetitions, the variational characterization gives us

λ1=min⁡x≠0RL(x)=min⁡x≠0RL(D1/2x)=min⁡x≠0∑{u,v}∈E(xu−xv)2∑vdvxv2\displaystyle \lambda_1 = \min_{{\bf x} \neq {\bf 0}} R_L({\bf x}) = \min_{{\bf x} \neq {\bf 0}} R_L(D^{1/2} {\bf x}) = \min_{{\bf x} \neq {\bf 0}} \frac { \sum_{\{ u,v\} \in E} (x_u - x_v)^2 } { \sum_v d_v x^2_v }

and

λk=min⁡X k−dimensional  max⁡x∈X−{0}  RL(x)\displaystyle \lambda_k = \min_{X\ k-\rm dimensional} \ \ \max_{{\bf x} \in X - \{ {\bf 0} \}} \ \ R_L({\bf x})

=min⁡X k−dimensional  max⁡x∈X−{0}  RL(D1/2x)\displaystyle = \min_{X\ k-\rm dimensional} \ \ \max_{{\bf x} \in X - \{ {\bf 0} \}} \ \ R_L(D^{1/2} {\bf x})

=min⁡X k−dimensional  max⁡x∈X−{0}  ∑{u,v}∈E(xu−xv)2∑vdvxv2\displaystyle = \min_{X\ k-\rm dimensional} \ \ \max_{{\bf x} \in X - \{ {\bf 0} \}} \ \ \frac { \sum_{\{ u,v\} \in E} (x_u - x_v)^2 } { \sum_v d_v x^2_v }

from which we have that λ1=0{\lambda_1 = 0} and that the multiplicity of zero is equal to the number of connected components.

We also have

λn=max⁡x≠0RL(x)=max⁡x≠0RL(D1/2x)\displaystyle \lambda_n = \max_{{\bf x} \neq {\bf 0}} R_L({\bf x}) = \max_{{\bf x} \neq {\bf 0}} R_L(D^{1/2} {\bf x})

=2−min⁡x≠0∑{u,v}∈E(xu+xv)2∑vdvxv2\displaystyle = 2 - \min_{{\bf x} \neq {\bf 0}} \frac { \sum_{\{ u,v\} \in E} (x_u + x_v)^2 } { \sum_v d_v x^2_v }

from which we see that λn≤2{\lambda_n \leq 2} and that λn=2{\lambda_n = 2} if and only if one of the connected components of G{G} is bipartite.

2. Edge Expansion, Fiedler’s Algorithm and Cheeger’s Inequalities

We will now return, for simplicity, to the regular case.

If G=(V,E){G= (V,E)} is an undirected d{d}-regular graph, and S⊆V{S \subseteq V} is a set of vertices, we call the quantity

ϕ(S):=E(S,V−S)d∣S∣\displaystyle \phi(S) := \frac { E(S, V-S)}{d|S|}

the edge expansion of S{S}. The quantity ϕ(S){\phi(S)} is the average fraction of neighbors outside of S{S} for a random element of S{S}, and it compares the actual number of edges crossing the cut (S,V−S){(S,V-S)} with the trivial upper bound d∣S∣{d|S|}.

We define the expansion of a cut (S,V−S){(S,V-S)} as

ϕ(S,V−S):=max⁡{ϕ(S),ϕ(V−S)}=E(S,V−S)d⋅min⁡{∣S∣,∣V−S∣}\displaystyle \phi(S,V-S) := \max \left \{ \phi(S) , \phi(V-S) \right\} = \frac { E(S, V-S)}{d \cdot \min \{ |S| , |V-S| \} }

The edge expansion of the graph G{G} is defined as

ϕ(G):=min⁡Sϕ(S,V−S)=min⁡S:1≤∣S∣≤∣V∣2 ϕ(S)\displaystyle \phi(G) := \min_{S} \phi (S, V-S) = \min_{S: 1\leq |S| \leq \frac {|V|} 2} \ \phi (S)

(Note: it is common in the literature to use the notation ϕ(S){\phi(S)} to refer to the quantity that we call ϕ(S,V−S){\phi(S,V-S)}.)

Finding cuts of small expansion is a problem with several applications. It is an open question if there is a polynomial-time approximation with a constant-factor approximation ratio; a positive answer would refute the “small-set expansion conjecture” which is closely related to the unique games conjecture.

The following algorithm was proposed by Fiedler, and it works well in practice when x{{\bf x}} is the eigenvector of λ2{\lambda_2}.

  • Input: graph G=(V,E){G=(V,E)}, vector x∈RV{{\bf x} \in {\mathbb R}^V}
    • Sort the vertices according the values xv{x_v}, and let v1,…,vn{v_1,\ldots,v_n} be the sorted order
    • Find a k{k} that minimizes ϕ({v1,…,vk},{vk+1,…,vn}){\phi ( \{ v_1,\ldots, v_k \} , \{ v_{k+1}, \ldots, v_n \})}, and output such a cut

Note that Fiedler’s algorithm can be implemented in time O(∣E∣+∣V∣log⁡∣V∣){O( |E| + |V| \log |V| )}, because it takes time O(∣V∣log⁡∣V∣){O(|V| \log |V|)} to sort the vertices, and the cut of minimal expansion that respects the sorted order can be found in time O(E){O(E)}. (To see that this is the case, consider that, in order to find such a cut, we just need to compute the numbers ek:=E({v1,…,vk},{vk+1,…,vn}){e_k := E( \{ v_1,\ldots, v_k \} , \{ v_{k+1}, \ldots, v_n \})} for each k=1,…,n−1{k=1,\ldots,n-1}. We see that e1{e_1} is equal to the degree of v1{v_1}, and that, given ek−1{e_{k-1}}, the value of ek{e_k} can be computed by just adding to ek−1{e_{k-1}} the number of neighbors of vk{v_k} in {vk+1,…,vn}{\{ v_{k+1}, \ldots, v_n \}}, and subtracting the number of neighbors of vk{v_k} in {v1,…,vk}{\{ v_1,\ldots, v_k \}}, on operation that can be done in time O(dvk){O(d_{v_k})}. Thus the total running time is of the order of ∑vdv{\sum_v d_v}, that is, O(∣E∣){O(|E|)}.)

We will prove the following result

Theorem 1 (Cheeger’s Inequalities) Let G{G} be an undirected regular graph and λ1≤λ2≤⋯≤λn{\lambda_1 \leq \lambda_2 \leq \cdots \leq \lambda_n} be the eigenvalues of the normalized Laplacian, with repetitions, then

*

λ22≤ϕ(G)≤2λ2\displaystyle \frac {\lambda_2} 2 \leq \phi(G) \leq \sqrt{2\lambda_2}

Furthermore, if (S,V−S){(S,V-S)} is the cut found by Fiedler’s algorithm given the eigenvector of λ2{\lambda_2}, then

ϕ(S,V−S)≤2λ2\displaystyle \phi(S,V-S) \leq \sqrt{2 \lambda_2}
*

Note that, from the furthermore part of the Theorem, it follows that, if (S,V−S){(S,V-S)} is the cut found by Fiedler’s algorithm given an eigenvector of λ2{\lambda_2}, we have

ϕ(S,V−S)≤2ϕ(G)\displaystyle \phi(S,V-S) \leq 2 \sqrt { \phi(G)}

which is a worst-case guarantee of the quality of the solution found by the algorithm.

3. Proof that λ22≤ϕ(G){\frac{\lambda_2} 2 \leq \phi(G)}

Let S{S} be a set of vertices such that ϕ(S,V−S)=ϕ(G){\phi(S,V-S) = \phi(G)}. Recall that for every set S{S}, we have that expansion of S{S} is the same as the Rayleigh quotient of the indicator vector 1S{{\bf 1}_S}. (The indicator vector of a set S{S} is the 0/1 vector 1S{{\bf 1}_S} whose v{v}-th coordinate is 1 if and only if v∈S{v\in S}.) So we have

RL(1S)≤ϕ(G)\displaystyle R_L({\bf 1}_S) \leq \phi(G)

RL(1V−S)≤ϕ(G)\displaystyle R_L({\bf 1} _{V-S}) \leq \phi(G)

also recall that, from the variational characterization of eigenvalues, we have

λ2=min⁡X 2−dimensional  max⁡x∈X−{0}  RL(x)\displaystyle \lambda_2 = \min_{X\ 2-\rm dimensional} \ \ \max_{{\bf x} \in X - \{ {\bf 0} \} } \ \ R_L({\bf x})

We will prove the inequality λ2≤2ϕ(G){\lambda_2 \leq 2\phi(G)} by showing that all the vectors in the 2-dimensional space X{X} of linear combinations of the orthogonal vectors 1S,1V−S{{\bf 1}_S, {\bf 1}_{V-S}} have Rayleigh quotient at most 2ϕ(G){2\phi(G)}. This is a consequence of the following useful fact.

Lemma 2 Let x{{\bf x}} and y{{\bf y}} be two orthogonal vectors, and let M{M} be a positive semidefinite matrix. Then

RM(x+y)≤2⋅max⁡{RM(x),RM(y)}\displaystyle R_M( {\bf x} + {\bf y} ) \leq 2 \cdot \max \{ R_M( {\bf x} ) , R_M({\bf y}) \}

Proof: Let 0≤λ1≤⋯λn{0 \leq \lambda_1 \leq \cdots \lambda_n} be the eigenvalues of M{M} and v1,…,vn{{\bf v}_1,\ldots,{\bf v}_n} be a corresponding basis of eigenvectors. Let us write x=∑iaivi{{\bf x} = \sum_i a_i {\bf v}_i} and y=∑ibivi{{\bf y} = \sum_i b_i {\bf v}_i}.

The Rayleigh quotient of x+y{{\bf x} + {\bf y}} is

∑iλi(ai+bi)2∣∣x+y∣∣2≤∑iλi2(ai2+bi2)∣∣x∣∣2+∣∣y∣∣2\displaystyle \frac { \sum_i \lambda_i (a_i + b_i)^2 }{ || {\bf x} + {\bf y}||^2} \leq \frac { \sum_i \lambda_i 2 ( a_i^2 + b_i^2) }{ || {\bf x} ||^2 + ||{\bf y}||^2}

=2RM(x)⋅∣∣x∣∣2+2RM(y)⋅∣∣y∣∣2∣∣x∣∣2+∣∣y∣∣2≤2max⁡{RM(x),RM(y)}\displaystyle = \frac { 2 R_M({\bf x}) \cdot ||{\bf x}||^2 + 2 R_M({\bf y}) \cdot ||{\bf y}||^2 }{ || {\bf x} ||^2 + ||{\bf y}||^2} \leq 2 \max \{ R_M({\bf x}), R_M({\bf y}) \}

In the first inequality, we used orthogonality of x{{\bf x}} and y{{\bf y}} to derive ∣∣x+y∣∣2=∣∣x∣∣2+∣∣y∣∣2{||{\bf x} + {\bf y}||^2 = ||{\bf x}||^2 + || {\bf y}||^2} and we used the Cauchy-Schwarz inequality (a+b)2≤2a2+2b2{(a +b)^2 \leq 2a^2 + 2b^2}. □\Box

4. First Part of the Analysis of Fiedler’s Algorithm

The vector 1=(1,…,1){{\bf 1} = (1,\ldots,1)} is an eigenvector for 0, which is the smallest eigenvalue of the normalized Laplacian of G{G}, and so, from the variational characterization of eigenvalues, we have that

λ2=min⁡x⊥1∑{u,v}∈E(xu−xv)2d∑vxv2\displaystyle \lambda_2 = \min_{{\bf x} \perp {\bf 1}} \frac{ \sum_{\{ u,v \} \in E} (x_u - x_v)^2}{d \sum_v x_v^2}

and that any eigenvector x{{\bf x}} of λ2{\lambda_2} is a minimizer of the above expression. We will prove that ϕ(G)≤2λ2{\phi(G) \leq \sqrt{2 \lambda_2}} and that the Furthermore part of Theorem 1 is true by showing the following stronger result:

Lemma 3 Let x{{\bf x}} be a vector orthogonal to 1{{\bf 1}} and let (S,V−S){(S,V-S)} be the cut found by Fiedler’s algorithm given x{{\bf x}}. Then

ϕ(S,V−S)≤2RL(x)\displaystyle \phi(S,V-S) \leq \sqrt { 2 R_L({\bf x}) }

This stronger form is useful, because often one runs Fiedler’s algorithm on an approximate eigenvector, and Lemma 3 shows that one gets a guarantee on the quality of the resulting cut that does not require x{{\bf x}} to be an eigenvector, as long as its Rayleigh quotient is small.

We divide the proof of Lemma 3 into two parts: we analyze the performance of the algorithm given a vector x{{\bf x}} that, instead of being orthogonal to 1{{\bf 1}}, has the property of having non-negative entries and at most ∣V∣/2{|V|/2} non-zero entries, and we show that analyzing the performance of the algorithm on vectors of the former type reduces to analyzing the performance on vectors of the latter type.

Lemma 4 Let y∈R≥0V{{\bf y}\in {\mathbb R}^V_{\geq 0}} be a vector with non-negative entries. Then there is a 0<t≤max⁡v{yv}{0< t \leq \max_v \{ y_v \} } such that

ϕ({v:yv≥t})≤2RL(y)\displaystyle \phi ( \{ v : y_v \geq t \} ) \leq \sqrt {2 R_L({\bf y}) }

Lemma 5 Let x∈RV{{\bf x}\in R^V} be orthogonal to 1{{\bf 1}}. Then there is a vector y∈R≥0V{{\bf y} \in {\mathbb R}^V_{\geq 0}} with at most ∣V∣/2{|V|/2} non-zero entries such that

RL(y)≤RL(x)\displaystyle R_L({\bf y}) \leq R_L({\bf x})

Furthermore, for every 0<t≤max⁡v{yv}{0< t \leq \max_v \{ y_v \}}, the cut ({v:yv≥t},{v:yv<t}){(\{ v: y_v \geq t \}, \{ v : y_v < t \})} is one of the cuts considered by Fiedler’s algorithm on input x{{\bf x}}.

Let us quickly see how to prove Lemma 3 given Lemma 4 and Lemma 5. Let x{{\bf x}} be a vector orthogonal to 1{{\bf 1}}, and let (SF,V−SF){(S_F, V-S_F)} be the cut found by Fiedler’s algorithm given x{{\bf x}}. Let y{{\bf y}} be the non-negative vector with at most ∣V∣/2{|V|/2} positive entries and such that RL(y)≤RL(x){R_L({\bf y}) \leq R_L({\bf x})} as promised by Lemma 5. Let 0<t≤max⁡v{yv}{0< t \leq \max_v \{ y_v \}} be a threshold such that

ϕ({v:yv≥t})≤2RL(y)≤2RL(x)\displaystyle \phi (\{ v : y_v \geq t \} ) \leq \sqrt{ 2 R_L( {\bf y}) } \leq \sqrt { 2R_L({\bf x}) }

as promised by Lemma 5. The set St:=ϕ({v:yv≥t}){S_t := \phi (\{ v : y_v \geq t \} )} contains at most ∣V∣/2{|V|/2} vertices, and the cut (St,V−St){(S_t, V-S_t)} is one of the cuts considered by Fiedler’s algorithm on input x{{\bf x}}, and so

ϕ(SF,V−SF)≤ϕ(St,V−St)=ϕ(St)≤2RL(x)\displaystyle \phi(S_F,V-S_F) \leq \phi (S_t, V-S_t) = \phi(S_t) \leq \sqrt { 2R_L({\bf x}) }

We will prove Lemma 4 next time. We conclude this lecture with a proof of Lemma~5.

Proof: (Of Lemma 5) First we observe that, for every constant c{c},

RL(x+c1)≤RL(x)\displaystyle R_L ( {\bf x} + c {\bf 1}) \leq R_L ( {\bf x} )

because the numerator of RL(x+c1){R_L({\bf x} + c {\bf 1})} and the numerator of RL(x){R_L({\bf x})} are the same, and the denominator of RL(x+c1){R_L({\bf x}+c {\bf 1})} is ∣∣x+c1∣∣2=∣∣x∣∣2+∣∣c1∣∣2≥∣∣x2∣∣{|| {\bf x} + c {\bf 1} ||^2 = || {\bf x}||^2 + || c{\bf 1}||^2 \geq || {\bf x}^2||}.

Let m{m} be the median value of the entries of x{{\bf x}}, and call x′:=x−m1{{\bf x}' := {\bf x} - m {\bf 1}}. Then we have RL(x′)≤RL(x){R_L({\bf x}' ) \leq R_L({\bf x})}, and the median of the entries of x′{{\bf x}'} is zero, meaning that x′{{\bf x}'} has at most ∣V∣/2{|V|/2} positive entries and at most ∣V∣/2{|V|/2} negative entries. We will refer to the vertices v{v} such that xv′>0{x'_v > 0} as the positive vertices, and the vertices v{v} such that xv′<0{x'_v < 0} as the negative vertices.

We write

x′=x+−x−\displaystyle {\bf x}' = {\bf x}^+ - {\bf x}^-

where xv+=xv′{x^+_v = x'_v} if v{v} is positive and xv+=0{x^+_v = 0} otherwise; similarly, xv−=−xv′{x^-_v = -x'_v} if v{v} is negative, and xv−=0{x^-_v = 0} otherwise. Note that x+{{\bf x}^+} and x−{{\bf x}^-} are orthogonal, non-negative, and each of them has at most ∣V∣/2{|V|/2} nonzero entries. Note also that, for every t{t}, the cut defined by the set {v:xv+≥t}{\{ v : x^+ _v \geq t \}} is one of the cuts considered by Fiedler’s algorithm on input x{{\bf x}}, because it is the cut

({v:xv<t+m},{v:xv≥t+m})\displaystyle ( \{ v : x_v < t + m \} , \{ v : x_v \geq t + m \} )

Similarly, for every t{t}, the cut defined by the set {v:xv−≥t}{\{ v : x^- _v \geq t \}} is one of the cuts considered by Fiedler’s algorithm on input x{{\bf x}}, because it is the cut

({v:xv≤m−t},{v:xv>m−t})\displaystyle ( \{ v : x_v \leq m-t \} , \{ v : x_v > m-t \} )

It remains to show that at least one of x+{{\bf x}^+} or x−{{\bf x}^-} has Rayleigh quotient smaller than or equal to the Rayleigh quotient of x′{{\bf x}'} (and, hence, of x{{\bf x}}). We claim that

RL(x′)=∑{u,v}(xu−xv)2∣∣x′∣∣2=∑{u,v}((xu+−xv+)−(xu−−xv−))2∣∣x+∣∣2+∣∣x−∣∣2\displaystyle R_L({\bf x}') = \frac {\sum_{\{ u, v \} }( x_u - x_v)^2 }{||{\bf x}'||^2} = \frac {\sum_{\{ u, v \}} (( x^+_u - x^+_v)- ( x^-_u - x^-_v))^2 }{|| {\bf x}^+||^2 + ||{\bf x}^-||^2}

≥∑{u,v}(xu+−xv+)2+(xu−−xv−)2∣∣x+∣∣2+∣∣x−∣∣2\displaystyle \geq \frac {\sum_{\{ u, v \}} ( x^+_u - x^+_v)^2 + ( x^-_u - x^-_v)^2 }{|| {\bf x}^+||^2 + ||{\bf x}^-||^2}

=RL(x+)⋅∣∣x+∣∣2+RL(x−)⋅∣∣x−∣∣2∣∣x+∣∣2+∣∣x−∣∣2≥min⁡{RL(x+),RL(x−)}\displaystyle = \frac { R_L({\bf x}^+ ) \cdot ||{\bf x}^+||^2 + R_L({\bf x}^-) \cdot ||{\bf x}^- ||^2 }{ || {\bf x}^+||^2 + ||{\bf x}^-||^2} \geq \min \{ R_L({\bf x}^+ ) , R_L ( {\bf x}^-) \}

The only step that we need to justify is that for every edge {u,v}{\{ u,v \}} we have

((xu+−xv+)−(xu−−xv−))2≥(xu+−xv+)2+(xu−−xv−)2\displaystyle (( x^+_u - x^+_v)- ( x^-_u - x^-_v))^2 \geq ( x^+_u - x^+_v)^2 + ( x^-_u - x^-_v)^2

If {u,v}{\{ u,v \}} is an edge between two non-positive vertices, or between two non-negative vertices, then the left-hand side and the right-hand side are clearly equal. If it is an edge between a positive vertex u{u} and a negative vertex v{v}, then the left-hand side is equal to (xu++xv−)2{(x^+_u + x^-_v)^2}, and the right-hand side is equal to (xu+)2+(xv−)2{(x^+_u)^2 + (x^-_v)^2}. □\Box