Edge weight matrix of a graph

A symmetric matrix is a way to describe a weighted, undirected graph: each edge in the graph is assigned a weight W_{ij}. Since the graph is undirected, the edge weight is independent of the direction (from i to j or vice-versa). Hence, W is symmetric.

 

To the graph in the figure, we can associate the corresponding undirected graph, obtained by ignoring the direction of the arrows. Assuming that all the edges have the same weight, the undirected graph has the edge weight matrix given by

W=\left[\begin{array}{cccccccc} 1 & 1 & 0 & 0 & 0 & 0 & 0 & -1 \\ -1 & 0 & 1 & 0 & 0 & 0 & 0 & 1 \\ 0 & -1 & -1 & -1 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & -1 & 0 \\ 0 & 0 & 0 & 0 & 0 & -1 & 1 & 0 \\ 0 & 0 & 0 & 0 & -1 & 0 & 0 & 0 \end{array}\right]

See also: Arc-node incidence matrix of a graph.

License

Icon for the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License

Linear Algebra and Applications Copyright © 2023 by VinUiversity is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, except where otherwise noted.

Share This Book