Understanding the fundamental duality between linear algebra and graph theory
Adjacency matrices and graphs are two ways of representing the same information. A graph shows nodes and their connections visually, while an adjacency matrix encodes this information numerically.
Click on any cell in the matrix to toggle connections between nodes. Observe how changes in the matrix directly affect the graph structure.
An adjacency matrix is a square matrix where rows and columns represent nodes in a graph:
This duality enables us to:
Try creating different graph structures using the buttons above or by manually toggling connections in the matrix!
Citation: Linear Algebra - MIT OpenCourseWare