A graph on four nodes has edge weights , , and no other edges. Write the unnormalised Laplacian and find its second-smallest eigenvalue and eigenvector. What clustering does the sign of that eigenvector give, and how does the eigenvalue compare with the RatioCut of that split?
Unsupervised learning, Spectral clustering
Level L3 Intermediate. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can build , use its symmetry to find the Fiedler vector, and link it to a graph cut.
Key idea
The eigenvector for the second-smallest eigenvalue of (the Fiedler vector) minimises over , and . Its signs split the graph where few edge weights are cut.
Steps
- Degrees: . So .
- The smallest eigenvalue is 0 with eigenvector (the graph is connected). The graph is symmetric under reversing the node order, so try an antisymmetric vector .
- Row 1 of gives , so . Row 2 gives , that is .
- Substitute : , which simplifies to . The roots are , that is and . So .
- Then , so . The signs give clusters and , the split that cuts only the weak edge.
- Compare: the cut weight is 0.1, so . The eigenvalue , as the relaxation lower-bounds the discrete problem.
Common mistakes
- Using the largest eigenvalue, or the smallest (which is 0 and gives only ). We need the second smallest.
- Forgetting the degrees in the diagonal of .
- Treating the real-valued eigenvector as the final answer. In practice one thresholds it, or runs k-means on the rows of several eigenvectors.
How long your answer should be
One page; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: In EM for a Gaussian mixture with weights , means and covariances , how do you derive the M-step updates for , and from the expected complete-data log-likelihood?
Next in Unsupervised learning: BIRCH summarises a sub-cluster by a clustering feature . Why are these three numbers enough, and what are the CFs and radius when is merged with ? If the threshold is , is the merge allowed?