Degree matrix
In the mathematical field of algebraic graph theory, the degree matrix of an undirected graph is a diagonal matrix which contains information about the degree of each vertex—that is, the number of edges attached to each vertex.[src] It is used together with the adjacency matrix to construct the Laplacian matrix of a graph: the Laplacian matrix is the difference of the degree matrix and the adjacency matrix.[src]
In the mathematical field of algebraic graph theory, the degree matrix of an undirected graph is a diagonal matrix which contains information about the degree of each vertex—that is, the number of edges attached to each vertex.[src] It is used together with the adjacency matrix to construct the Laplacian matrix of a graph: the Laplacian matrix is the difference of the degree matrix and the adjacency matrix.[src] ==Definition== Given a graph G=(V,E) with |V|=n , the degree matrix D for G is a n \times n diagonal matrix defined as D_{i,j}:=\left\{ \begin{matrix} \deg(v_i) & \mbox{if}\ i = j \\ 0 & \mbox{otherwise} \end{matrix} \right.[src] where the degree \deg(v_i) of a vertex counts the number of times an edge terminates at that vertex.[src] In an undirected graph, this means that each loop increases the degree of a vertex by two.[src] In a directed graph, the term degree may refer either to indegree (the number of incoming edges at each vertex) or outdegree (the number of outgoing edges at each vertex).[src] ==Example== The following undirected graph has a 6x6 degree matrix with values: Note that in the case of undirected graphs, an edge that starts and ends in the same node increases the corresponding degree value by 2 (i.e.[src] it is counted twice).[src] ==Properties== The degree matrix of a k-regular graph has a constant diagonal of k .[src] According to the degree sum formula, the trace of the degree matrix is twice the number of edges of the considered graph.[src] ==References==[src]
13 sentences · 13 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Degree matrix." encyclopegia.org, 2026, https://encyclopegia.org/wiki/degree-matrix. Accessed 03 December 2026.
Chicago
"Degree matrix." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/degree-matrix.
APA
encyclopegia.org. (2026). Degree matrix. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/degree-matrix
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON