The Graph Laplacian and Connected Components
The Laplacian of an undirected graph measures squared differences along edges. Its kernel consists of functions constant on each component.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 1
- Reading time
- 1 min
Let \(D\) be the degree diagonal matrix and \(A\) the adjacency matrix. Then \(L=D-A\). After choosing an orientation for each edge, form the incidence matrix with a \(+1\) and \(-1\) in that edge’s column. Its product with its transpose is \(L\) because the orientation signs cancel.
\[x^{\mathsf T}Lx=\sum_{\{u,v\}\in E}(x_u-x_v)^2.\]
Reading connectivity from rank
The quadratic form vanishes precisely when every edge connects equal values. Such functions are constant on each component, yielding nullity equal to the number of components. Deleting one row and column in a connected graph produces the determinant in the matrix–tree theorem.[1]