The Laplacian matrix is a matrix representation of a graph built from degrees and adjacency. It is one of the central matrices of algebraic graph theory because it encodes connectivity, cuts, flows, spanning trees, and spectral structure.
Let
be a finite simple undirected graph with vertex set
Let be the adjacency matrix of , and let be the degree matrix, defined by
The Laplacian matrix of is
Equivalently,
This is the standard unnormalized graph Laplacian. It is also called the Kirchhoff matrix or discrete Laplacian in many contexts. Its basic definition as degree matrix minus adjacency matrix is standard in graph theory and spectral graph theory.
78.1 The Degree Matrix
The degree matrix is diagonal. Its purpose is to record the degree of each vertex:
The adjacency matrix records which vertices are joined. The degree matrix records how many edges meet each vertex. The Laplacian combines these two kinds of information.
For a simple graph, the diagonal of is zero. Therefore the diagonal of is exactly the degree sequence of the graph.
78.2 Example
Consider the graph with vertices
and edges
The adjacency matrix is
The degrees are
Hence
Thus
The diagonal entries are degrees. The off-diagonal entries are negative where edges exist and zero where edges do not exist.
78.3 Row Sums
Every row sum of the Laplacian matrix is zero.
For row , the diagonal entry is . The row also contains one entry for each neighbor of . Therefore
Since the graph is undirected, is symmetric, so every column sum is also zero.
This implies
where
Thus is always an eigenvalue of the Laplacian matrix. The all-ones vector is an eigenvector for this eigenvalue. The zero row-sum property is one of the standard elementary properties of the graph Laplacian.
78.4 Symmetry
If is undirected, then its adjacency matrix is symmetric:
The degree matrix is diagonal, hence symmetric. Therefore
So the Laplacian matrix of an undirected graph is symmetric.
Because is real and symmetric, it has real eigenvalues and an orthonormal basis of eigenvectors. This fact is the starting point of spectral graph theory.
78.5 The Quadratic Form
The Laplacian matrix has an important quadratic form.
For any vector
one has
This identity is fundamental. It says that the Laplacian measures variation across edges.
If adjacent vertices have similar values of , then is small. If adjacent vertices have very different values, then is large.
To derive the formula, write
The first term is
The second term is
For an undirected graph, each edge contributes both and . Thus
Also,
Therefore
This identity immediately implies that is positive semidefinite.
78.6 Positive Semidefiniteness
A symmetric matrix is positive semidefinite if
for every vector .
The Laplacian matrix is positive semidefinite because
Every term is a square. Therefore no vector can give a negative value.
It follows that every eigenvalue of is nonnegative. If the eigenvalues are written in increasing order,
then all are at least zero. The nonnegativity of Laplacian eigenvalues is a standard property of the graph Laplacian.
78.7 Null Space
The null space of consists of all vectors satisfying
Since is positive semidefinite,
is equivalent to
Using the quadratic form,
This sum is zero exactly when
for every edge .
Therefore is constant on each connected component of the graph.
If is connected, then every vertex can be reached from every other vertex by a path. Along that path, equality across edges forces all entries of to be equal. Hence
when is connected.
If has connected components, then has dimension . The number of connected components equals the multiplicity of the eigenvalue . This is one of the central spectral facts about the Laplacian matrix.
78.8 Connected Components
The previous result gives an algebraic test for connectivity.
A graph is connected if and only if the Laplacian matrix has nullity :
Equivalently, is a simple eigenvalue of .
If has connected components, then
Thus the Laplacian matrix does not merely store local adjacency. Its spectrum detects a global property: the number of connected components.
78.9 Algebraic Connectivity
The second smallest eigenvalue of is called the algebraic connectivity of . It is usually denoted
If
then is connected precisely when
The value of measures how strongly connected the graph is. Small values indicate the presence of a weak bottleneck. Larger values indicate stronger global connectivity.
An eigenvector corresponding to is called a Fiedler vector. It is used in graph partitioning and spectral clustering because its entries often separate the graph along a sparse cut. The connection between the second Laplacian eigenvalue, cuts, and the Fiedler vector is a standard theme in spectral graph theory.
78.10 Incidence Matrix Formula
Let be an oriented incidence matrix of an undirected graph . Then
This identity connects the Laplacian with flows and edge differences.
Each column of corresponds to one edge. If the edge is oriented from to , then the column contains in row , in row , and zeros elsewhere.
The product gives degree entries on the diagonal and in positions corresponding to adjacent vertices. Therefore it equals the Laplacian.
The identity is independent of the chosen orientation. Reversing an edge multiplies one column of by , and this does not change . The formula is a standard equivalent construction of the graph Laplacian.
78.11 Edge Differences
The incidence matrix also explains the quadratic form.
For a vertex vector , the vector
has one entry for each edge. If an edge is oriented from to , then the corresponding entry is
Therefore
This equals the sum of squared edge differences:
Thus the Laplacian measures how much a function on vertices changes across edges.
78.12 Cuts
The Laplacian matrix is closely related to cuts.
Let . Define the indicator vector
by
Then
equals the number of edges with one endpoint in and the other endpoint in .
Indeed, for an edge ,
is exactly when the edge crosses the cut, and otherwise.
Thus the Laplacian converts a cut-counting problem into a quadratic form.
78.13 Weighted Graphs
For a weighted undirected graph, let be the weight of the edge between and . The weighted adjacency matrix has entries
The weighted degree of is
The weighted Laplacian is still
where
Thus
The quadratic form becomes
Weights therefore scale the penalty for differences across edges. The weighted definition is the standard extension from simple graphs to weighted graphs.
78.14 Normalized Laplacians
The unnormalized Laplacian uses raw degrees. In some applications, especially when degrees vary greatly, normalized versions are useful.
The symmetric normalized Laplacian is
where isolated vertices require a convention because is not defined for degree zero.
The random-walk normalized Laplacian is
These matrices adjust adjacency by degree. They are common in spectral clustering, random walks, and graph-based data analysis. Normalized graph Laplacians are standard variants of the Laplacian matrix.
78.15 Random Walk Interpretation
Let be a graph with no isolated vertices. Define
The matrix is the transition matrix of the simple random walk on . From vertex , the walk moves uniformly to one of its neighbors.
Then
Thus the random-walk Laplacian measures the difference between a value at a vertex and the average value at its neighbors.
For a function on vertices,
This is a discrete analogue of a Laplace operator. It compares a value with a local average.
78.16 Complete Graphs
For the complete graph , every vertex has degree . Its adjacency matrix is
where is the all-ones matrix. The degree matrix is
Therefore
Thus
The vector is in the null space. Every vector orthogonal to is an eigenvector with eigenvalue . Hence the spectrum is
78.17 Path Graphs
For the path graph
the Laplacian matrix is tridiagonal:
The endpoints have degree . The interior vertices have degree . This matrix is a discrete second-difference operator on a finite line.
78.18 Cycle Graphs
For the cycle graph , every vertex has degree , and each vertex is adjacent to two neighbors. Its Laplacian has the form
This is a circulant matrix. It represents a discrete Laplace operator on a ring.
78.19 Trees
If is a tree with vertices, then has edges and is connected. Therefore the Laplacian matrix of has nullity and rank
The absence of cycles also appears through the incidence matrix. If is an oriented incidence matrix of a tree, then has full column rank. Since
the Laplacian has rank .
78.20 Matrix-Tree Theorem
The Laplacian matrix counts spanning trees through the matrix-tree theorem.
Let be a graph with Laplacian matrix . Delete any one row and the corresponding column from . The determinant of the resulting matrix equals the number of spanning trees of .
This number is independent of which row and column are deleted.
The theorem is one of the central results connecting graph theory and linear algebra. It shows that a purely combinatorial quantity, the number of spanning trees, can be computed as a determinant. The use of the Laplacian in Kirchhoff’s matrix-tree theorem is a standard application of graph Laplacians.
78.21 Dirichlet Energy
The quantity
is often called the Dirichlet energy of the function on the graph.
It measures roughness. A function is smooth on a graph when adjacent vertices receive similar values. It is rough when many adjacent vertices receive very different values.
This idea is used in graph signal processing, semi-supervised learning, spectral clustering, and numerical methods on networks.
78.22 Summary
The Laplacian matrix of a simple undirected graph is
Its diagonal entries are vertex degrees. Its off-diagonal entries are for adjacent vertices and otherwise.
The Laplacian matrix has several fundamental properties.
| Property | Statement |
|---|---|
| Symmetry | for undirected graphs |
| Row sums | |
| Positive semidefinite | |
| Quadratic form | |
| Incidence form | |
| Connectivity | equals the number of connected components |
| Algebraic connectivity | iff the graph is connected |
| Matrix-tree theorem | Cofactors of count spanning trees |
The Laplacian is important because it turns graph structure into linear algebraic structure. It connects adjacency, degree, connectivity, cuts, flows, random walks, spanning trees, and eigenvalues in one matrix.