Degree matrix
Definition
The degree matrix of a graph is a diagonal matrix where the rows and columns are indexed by the set of vertices (in the same order), and each diagonal entry gives the degree of the corresponding vertex.
In words:
Suppose is a finite undirected graph. Let be the size of the vertex set . Fix a bijective correspondence . The degree matrix of is a diagonal matrix such that:
- For with , the entry of the matrix is 0.
- For the (diagonal) entry of the matrix is the degree of the vertex .
Note that the degree matrix is sensitive to the ordering of the vertices chosen. Permuting the ordering of the vertices affects the degree matrix through conjugation by that permutation matrix. In particular, the characteristic polynomial as well as the multiset of eigenvalues for the degree matrix does not depend on the ordering of vertices chosen.
Related notions
- The degree sequence of a graph is informationally equivalent to the degree matrix. The former stores the degrees as a non-increasing sequence of degrees, while the latter uses a matrix structure for storing the information.