Explore graph structure through algebraic connectivity quickly. Paste an adjacency matrix and compute spectral partitions. See the Fiedler vector, eigenvalues, and suggested cuts instantly.
| Sample adjacency matrix (4 nodes, unweighted) | ||||
|---|---|---|---|---|
| Node | 1 | 2 | 3 | 4 |
| 1 | 0 | 1 | 1 | 0 |
| 2 | 1 | 0 | 1 | 1 |
| 3 | 1 | 1 | 0 | 1 |
| 4 | 0 | 1 | 1 | 0 |
Adjacency matrix: W, where Wij is the edge weight between nodes i and j.
Degree matrix: D is diagonal with Dii = Σj Wij.
Unnormalized Laplacian: L = D − W.
Symmetric normalized Laplacian: L = I − D−1/2 W D−1/2.
Fiedler vector: the eigenvector of L associated with the second-smallest eigenvalue (λ₂).
The calculator treats your adjacency matrix as a weighted network and builds a Laplacian that encodes how strongly each node connects to the rest. The smallest eigenvalue is typically near zero, and the next one, λ2, summarizes how easily the network can be separated.
λ2 is called algebraic connectivity. Larger values usually indicate a more tightly connected structure, while values close to zero can reveal bottlenecks or weak links. For many systems, a low λ2 suggests that a small number of edges carry most of the connectivity.
The Fiedler vector is the eigenvector associated with λ2. Its sign pattern often splits nodes into two groups that minimize the “cut” cost while keeping groups balanced. This is a core idea behind spectral partitioning and is widely used before refined clustering steps.
For graphs with similar node degrees, the unnormalized Laplacian L = D − W works well. When degrees vary widely, the symmetric normalized form reduces degree bias by scaling with D−1/2. This often yields cleaner partitions in heterogeneous networks and makes results more comparable across datasets.
In physics, Laplacians appear in diffusion, synchronization, resistor networks, and vibrational models on graphs. λ2 relates to relaxation rates and mixing speed in diffusion-like processes. The Fiedler vector can highlight communities in interaction networks or regions separated by weak coupling.
Sign gives a natural two-way grouping, but magnitude also carries meaning. Large absolute values indicate nodes strongly aligned with a side of the partition, while values near zero often sit on the boundary. If all values share one sign, the tool falls back to a median split for a practical cut.
Real matrices can be slightly asymmetric due to measurement noise, rounding, or directed interactions. The optional symmetrization step averages W and Wᵀ to enforce an undirected interpretation. Self-loops are ignored by setting the diagonal to zero, keeping the Laplacian aligned with standard practice.
For transparent reporting, export the computed vector, suggested groups, and the full eigenvalue list. The CSV output is ideal for spreadsheets and scripts, while the PDF is useful for quick sharing. Record the Laplacian choice and tolerance so others can reproduce the same λ2 selection.
Provide a square adjacency matrix where each entry is the edge weight between two nodes. Use spaces or commas. Keep diagonal entries at zero for standard graph modeling.
It is commonly used for spectral partitioning and clustering. The sign pattern often separates nodes into two coherent groups, revealing bottlenecks or weakly connected regions.
A graph with disconnected components typically has more than one near-zero eigenvalue. The count of near-zero eigenvalues is a practical indicator of how many components may be present.
Choose it when node degrees vary a lot. Normalization reduces degree dominance and often produces partitions that reflect structure rather than raw connectivity differences.
It helps decide which eigenvalues are considered “near zero” and which eigenvalue should be treated as λ2. This is important when numerical noise creates tiny nonzero values.
Undirected graphs require a symmetric adjacency matrix. If your data has small asymmetries, symmetrizing averages both directions and makes the Laplacian mathematically consistent.
The groups are derived from the Fiedler vector. “Positive/Negative” uses sign splitting; if signs are not informative, a median split creates two balanced groups for practical analysis.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.