# Graph Laplacians

Laplacian is a useful representation of graphs. The unnormalized Laplacian is

$$ \mathbf L = \mathbf D - \mathbf A, $$

where $\mathbf A$ is the [[adjacency matrix]] Graph Adjacency Matrix A graph $\mathcal G$ can be represented with an adjacency matrix $\mathbf A$. There are some nice and clear examples on wikipedia1, for example, $$ \begin{pmatrix} 2 & 1 & 0 & 0 & 1 & 0\\ 1 & 0 & 1 & 0 & 1 & 0\\ 0 & 1 & 0 & 1 & 0 & 0\\ 0 & 0 & 1 & 0 & 1 & 1\\ 1 & 1 & 0 & 1 & 0 & 0\\ 0 & 0 & 0 & 1 & 0 & 0 \end{pmatrix} $$ for the graph Public Domain, Link and $\mathbf D$ is the degree matrix, i.e., a diagonalized matrix with the diagonal elements being the degrees.

## Normalized Laplacian

The symmetric normalized Laplacian is

$$ \mathbf L_{\text{sym}} = \mathbf D^{-1/2} \mathbf A \mathbf D^{-1/2}. $$

The eigenvalues of normalized Laplacian is bounded ($[0,2]$)^{1}.

The random walk Laplacian is

$$ \mathbf L_{\text{RW}} = \mathbf D^{-1} \mathbf A. $$

## Diagonalizing Graph Laplacian

The eigenvectors of Graph Laplacian can be used to diagonalize the graph Laplacian $\mathbf L$,

$$ \begin{equation} \mathbf U \mathbf L_D \mathbf U^{\mathrm T} = \mathbf L.\label{eq-laplacian-diag} \end{equation} $$

## Laplacians and Fourier Transform

The eigenvectors of the graph Laplacian (Eq. $\eqref{eq-laplacian-diag}$) can be used to perform Fourier transforms on graph^{2}. We apply the matrix $\mathbf U^{\mathrm T}$ in $\eqref{eq-laplacian-diag}$ onto a vector of node attributes,

$$ \mathbf U^{\mathrm T} \mathbf f. $$

The above is the Fourier transform of the node attributes on the graph.

For a given graph $\mathcal G$, we have an attribute on each node, denoted as $f_v$. All the node attributes put together can be written as a list $\mathbf f\to (f_{v_1}, f_{v_2}, \cdots, f_{v_N})$.

Convolution on graph is combining attributes on nodes with their neighbors’. The $\mathbf A$ applied on all node attributes $\mathbf f$ is such an operation, i.e,

\mathbf A \mathbf f,

as it combines all the neighbors of each node. To include the node attribute itself, we can perform

(\mathbf I …

`cards/graph/graph-laplacians`

:`cards/graph/graph-laplacians`

Links to:L Ma (2021). 'Graph Laplacians', Datumorphism, 09 April. Available at: https://datumorphism.leima.is/cards/graph/graph-laplacians/.