A graph on four nodes has edge weights w12=1, w34=1, w23=0.1 and no other edges. Write the unnormalised Laplacian L=D−W 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 L, 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 L (the Fiedler vector) minimises f⊤Lf/f⊤f over f⊥1, and f⊤Lf=12∑ijwij(fi−fj)2. Its signs split the graph where few edge weights are cut.

Steps

  1. Degrees: d=(1, 1.1, 1.1, 1). So L=(1−100−11.1−0.100−0.11.1−100−11).
  2. The smallest eigenvalue is 0 with eigenvector 1 (the graph is connected). The graph is symmetric under reversing the node order, so try an antisymmetric vector v=(a,b,−b,−a).
  3. Row 1 of Lv=λv gives a−b=λa, so b=(1−λ)a. Row 2 gives −a+1.1b+0.1b=λb, that is −a+1.2b=λb.
  4. Substitute b: −1+1.2(1−λ)=λ(1−λ), which simplifies to λ2−2.2λ+0.2=0. The roots are λ=1.1±1.01, that is 0.0950 and 2.105. So λ2≈0.0950.
  5. Then b=0.905a, so v∝(1, 0.905, −0.905, −1). The signs give clusters {1,2} and {3,4}, the split that cuts only the weak edge.
  6. Compare: the cut weight is 0.1, so RatioCut=cut (1∣A∣+1∣B∣)=0.1 (12+12)=0.1. The eigenvalue 0.095≤0.1, as the relaxation lower-bounds the discrete problem.

Common mistakes

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 πk, means μk and covariances Σk, how do you derive the M-step updates for πk, μk and Σk from the expected complete-data log-likelihood?
Next in Unsupervised learning: BIRCH summarises a sub-cluster by a clustering feature CF=(N,LS,SS). Why are these three numbers enough, and what are the CFs and radius when {1,2,3} is merged with {7,9}? If the threshold is T=3, is the merge allowed?