Question from paper "Graph Sparsification by Effective Resistances" by Daniel A. Spielman and Nikhil Srivastava again. I was trying to find some notes/lectures on this topic and for instance I found this: The link for some notes regarding Laplacian
Could someone please explain me:
- In the equation $x^{T}Lx = \sum_{(u,v)\in E} w_{uv}(x(u)-x(v))^2$, what $x_u,x_v$ stands for? and how did we get this equality $x^TLx = \sum_{(u,v)\in E} w_{uv}(x_u-x_v)^2$? on page N5 in paper
First definitions $$x = \begin{bmatrix}x_{u}&x_{v}\end{bmatrix}^T ,L = \begin{bmatrix}w_{uv}&-w_{uv}\\-w_{uv}&w_{uv}\end{bmatrix}$$ So we expand:
$$\begin{bmatrix}x_{u}&x_{v}\end{bmatrix}\begin{bmatrix}w_{uv}&-w_{uv}\\-w_{uv}&w_{uv}\end{bmatrix} \begin{bmatrix}x_{u}\\x_{v}\end{bmatrix} = \begin{bmatrix}x_{u}&x_{v}\end{bmatrix}\begin{bmatrix}w_{uv}(x_{u}-x_v)\\w_{uv}(-x_{u}+x_v)\end{bmatrix} =$$$$ w_{uv}(x_u^2 -x_ux_v -x_vx_u +x_v^2)=w_{uv}(x^2_u-2x_ux_v + x^2_v) = w_{uv}(x_u- x_v)^2$$
The last one uses the square-law $$(a-b)^2 = a^2-2ab+b^2$$ if we set $a=x_u, b=x_v$