Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Dots and lines
Draw some dots and join some of them with lines. That’s a graph. The dots (vertices) can be cities, robots or atoms; the lines (edges) are roads, radio links or bonds. A graph can be written as a table: put a 1 where two dots are joined and a 0 where they aren’t. That table, the adjacency matrix, lets a computer answer questions like “is everyone connected?” or “how fast does news spread?” with matrix maths.
Drone swarms and satellite constellations share information over a communication graph, and its structure decides whether they can agree and how fast. SLAM back-ends, power grids, and graph neural networks for molecules or point clouds are all built on adjacency and Laplacian matrices.
- 1. In a graph, vertices are connected by…
- 2. An adjacency matrix entry of 1 means…
- 3. If a swarm's communication graph splits into two pieces, the two groups…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Definitions
A graph has vertices and edges. It can be undirected or directed, unweighted or weighted.
- Adjacency: (or weight ) if . For undirected graphs, .
- Degree: , and (handshake lemma).
- Laplacian: with .
- Incidence: , with +1 and −1 at the two ends of each edge. Then .
Counting with powers
is the number of walks of length k from i to j, and is the number of triangles.
- 1. Sum of degrees in a graph with 10 edges:
- 2. Laplacian row sums are…
- 3. (A²)ᵢᵢ equals…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.The Laplacian quadratic form
So L is positive semidefinite, and . measures how much a signal on the vertices varies across edges: its smoothness on the graph.
Components and connectivity
The eigenvalue 0 has multiplicity equal to the number of connected components (the indicator vector of each component is in the null space). The second-smallest eigenvalue is the algebraic connectivity (Fiedler, 1973). It’s positive iff the graph is connected, and larger means better connected.
Laplacian dynamics
- Diffusion or heat on graphs: .
- Consensus: each agent moves toward its neighbours’ values: . The sum is conserved, so on a connected graph every converges to the average. The error decays like .
- Normalized Laplacian: (used in GNNs and spectral clustering).
- 1. xᵀLx equals…
- 2. A graph with 3 connected components has how many zero Laplacian eigenvalues?
- 3. Consensus on a connected graph converges to…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.L = BBᵀ and the quadratic form
for edge e = (i, j). So . And , for each edge. ∎
Zero eigenvalues count components
across every edge, i.e. x is constant on each component. The null space is spanned by the component indicators. ∎
Consensus convergence
Decompose in Laplacian eigenvectors. Then , so . ∎
Exercise 3.1: λ₂ for a ring of n nodes
The ring Laplacian is circulant with eigenvalues . So : rings get slow quickly as n grows.
- 1. The null space of L on a connected graph is spanned by…
- 2. Consensus error decays like…
- 3. λ₂ for a 10-node ring:
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Distributed agreement in a drone swarm
Ten drones must agree on a shared value (a rendezvous altitude, a clock offset, an averaged sensor reading), exchanging data only with radio neighbours. Each runs . The swarm converges to the exact average for any connected topology. The speed is set by λ₂:
| Topology | λ₂ | Time to 1% spread |
|---|---|---|
| line | 0.098 | ≈ 34 |
| ring | 0.382 | ≈ 7.4 |
| complete | 10 | ≈ 0.27 |
Settling time scales like . That’s why formation and communication planners maximize algebraic connectivity (Olfati-Saber and Murray, 2004).
Graph matrices in AI, robotics and aerospace
- Multi-agent systems: consensus, formation control, distributed Kalman filtering and time synchronization over communication graphs.
- Constellations: inter-satellite link topologies; connectivity under occlusion and link outages.
- SLAM: the pose-graph information matrix has the sparsity of the graph Laplacian; its connectivity bounds estimation accuracy (Khosoussi et al., 2019).
- Graph neural networks: message passing with normalized adjacency (GCN; Kipf and Welling, 2017).
References
- F. Chung (1997). Spectral Graph Theory. AMS.
- M. Fiedler (1973). “Algebraic connectivity of graphs.” Czechoslovak Mathematical Journal, 23(2).
- R. Olfati-Saber, R. Murray (2004). “Consensus problems in networks of agents with switching topology and time-delays.” IEEE TAC, 49(9).
- M. Mesbahi, M. Egerstedt (2010). Graph Theoretic Methods in Multiagent Networks. Princeton.
- T. Kipf, M. Welling (2017). “Semi-supervised classification with graph convolutional networks.” ICLR.
- K. Khosoussi, M. Giamou, G. Sukhatme, S. Huang, G. Dissanayake, J. How (2019). “Reliable graphs for SLAM.” IJRR, 38(2–3).
- D. Spielman (2019). Spectral and Algebraic Graph Theory (lecture notes, Yale).