On this page
Spectral graph theory reads a network's shape from the eigenvalues of its Laplacian matrix. Our running example: two triangles joined by a bridge.
What is the graph Laplacian L = D − A?
The adjacency matrix A has a 1 where two vertices share an edge and 0 elsewhere. The degree matrix D is diagonal, holding each vertex's number of edges.
The unnormalised graph Laplacian is L = D − A, as defined in Ulrike von Luxburg's tutorial on spectral clustering in Statistics and Computing (2007).
In our graph, vertices 1, 2, 3 form one triangle, 4, 5, 6 another, and edge 3–4 joins them. The rows of L are:
Row 1: (2, −1, −1, 0, 0, 0)
Row 2: (−1, 2, −1, 0, 0, 0)
Row 3: (−1, −1, 3, −1, 0, 0)
Row 4: (0, 0, −1, 3, −1, −1)
Row 5: (0, 0, 0, −1, 2, −1)
Row 6: (0, 0, 0, −1, −1, 2)
Every row adds up to zero. Comparing each vertex with its neighbours is the same idea as the Laplacian operator from calculus, on a network instead of a grid.
Why is the smallest eigenvalue of the Laplacian always 0?
Because the rows sum to zero, L times the all-ones vector is the zero vector, so 0 is an eigenvalue. Nothing can be smaller: von Luxburg's Proposition 1 shows that for any vector x, xᵀLx is the sum over edges of (xᵢ − xⱼ)², which is never negative, so L is symmetric and positive semi-definite with eigenvalues 0 = λ₁ ≤ λ₂ ≤ … ≤ λₙ.
The same tutorial's Proposition 2 states that the multiplicity of the eigenvalue 0 equals the number of connected components. The reason: xᵀLx = 0 forces xᵢ = xⱼ across every edge, so x is constant on each piece, and each piece gives one independent zero-eigenvector.
Test it: delete the bridge 3–4 and L splits into two triangle blocks, each with eigenvalues 0, 3, 3. The spectrum is 0, 0, 3, 3, 3, 3: two zeros, two components.
What does the second eigenvalue say about how connected a graph is?
Miroslav Fiedler's 1973 paper Algebraic connectivity of graphs named the second-smallest eigenvalue a(G) = λ₂ the algebraic connectivity and noted that it is zero if and only if the graph is not connected. He proved that for a graph that is not complete, a(G) is at most the vertex connectivity (the fewest vertices whose removal disconnects it), and gave a(Kₙ) = n for the complete graph and 2(1 − cos(π/n)) for a path.
Now put the bridge back. The graph is symmetric end to end, so try x = (a, a, b, −b, −a, −a). Row 1 gives 2a − a − b = λa, so b = (1 − λ)a. Row 3 gives 4b − 2a = λb. Substituting, λ² − 5λ + 2 = 0, and the smaller root is λ₂ = (5 − √17)/2 ≈ 0.438.
The full spectrum is 0, 0.438, 3, 3, 3, 4.562, summing to 14, the trace of L.
For scale, Fiedler's formulas give 2 − √3 ≈ 0.268 for a six-vertex path and 6 for the complete graph K₆. Our triangles sit near the path end because one edge holds them together, and 0.438 respects Fiedler's bound of 1, since removing vertex 3 disconnects the graph. For the combinatorial view, see our worked example of Menger's theorem and connectivity.
How does spectral clustering use the Fiedler vector?
The eigenvector for λ₂ is called the Fiedler vector. With a = 1 our example gives b = 1 − 0.438, so the vector is (1, 1, 0.56, −0.56, −1, −1). Positive entries mark vertices 1, 2, 3; negative ones mark 4, 5, 6. The sign split cuts exactly the bridge.
Why? The Fiedler vector minimises xᵀLx, the sum of (xᵢ − xⱼ)² over edges, among unit vectors perpendicular to the all-ones vector. Neighbours are pushed towards similar values, so the vector changes sign where edges are few. The spectral theorem for symmetric matrices guarantees L has real eigenvalues and orthonormal eigenvectors to work with.
For k groups, von Luxburg's unnormalised spectral clustering algorithm puts the first k eigenvectors of L in columns, treats each row as a point, and runs k-means. Shi and Malik took a normalised version to images in Normalized cuts and image segmentation (2000).
How do you find the Fiedler vector of a small graph by hand?
Write L = D − A and check every row sums to 0.
Count components: that many zero eigenvalues.
Use a symmetry to guess the eigenvector's shape.
Turn two rows into a quadratic in λ; its smallest positive root is your candidate λ₂.
Check the eigenvalues sum to the degree total, then split by sign.
If eigenvectors still feel shaky, the Fermi Concept Library covers every concept in mathematics and computing, each with its own lesson and its place in the map, so you can go back to the exact idea you are missing. To practise, run the same five steps on a 3 by 3 grid graph.



