What is the role of the graph Laplacian in spectral clustering?

Last updated 11 November 2026

  • The graph Laplacian (L = D - W, from affinity matrix W and degree matrix D) turns a similarity graph into a matrix whose smallest eigenvectors encode cluster structure.

  • Its quadratic form f^T L f = ½ Σ w_ij (f_i - f_j)^2 is small when f is smooth over strongly connected nodes. So low eigenvectors are nearly constant within clusters, which is the relaxed graph-cut solution.

  • Embedding points with the k smallest eigenvectors and running k-means on the rows finds non-convex clusters (rings, moons) that raw k-means misses.

  • https://www.geeksforgeeks.org/machine-learning/spectral-clustering-using-r/
  • https://mcpanalytics.ai/articles/spectral-clustering-practical-guide-for-data-driven-decisions
  • https://pub.towardsai.net/the-mathematics-and-foundations-behind-spectral-clustering-4dacc40abea8
All Clustering interview questions