|
|
|
|
adjacency matrix
|
(Definition)
|
|
|
Let be a graph with vertex set
and edge set . The adjacency matrix
of is defined as follows: is an matrix such that
In other words, start with the zero matrix, put a in cell if there is an edge whose endpoints are and .
Remarks. Let be a graph and be its adjacency matrix.
The above definition of an adjacency matrix can be extended to multigraphs (multiple edges between pairs of vertices allowed), pseudographs (loops allowed), and even directed pseudographs (edges are directional). There are two cases in which we can generalize the definition, depending on whether edges are directional.
- (Edges are not directional).
Since a multigraph is just a special case of a pseudograph, we will define for a pseudograph . Let be a pseudograph with
The adjacency matrix
of is an matrix such that is the number of edges whose endpoints are and . Again, is symmetric, but the main diagonal may contain non-zero entries, in case there are loops.
- (Edges are directional).
Since a digraph is a special case of a directed pseudograph, we again define in the most general setting. Let be a directed pseudograph with
and
. The adjacency matrix of is an matrix such that
In other words, is the number of directed edges from to .
Remarks
|
"adjacency matrix" is owned by CWoo. [ full author list (2) ]
|
|
(view preamble)
Cross-references: category, forgetful functor, operation, category theory, language, ordered pairs, types, addition, square matrix, section, digraph, contain, even, loops, pseudographs, vertices, multiple, multigraphs, order, symmetric matrix, identity matrix, complete graph, iff, number, degree, row, column, cells, sum, diagonal, symmetric, endpoints, zero matrix, matrix, edge, vertex, graph
There are 5 references to this entry.
This is version 3 of adjacency matrix, born on 2007-07-06, modified 2007-07-07.
Object id is 9744, canonical name is AdjacencyMatrix.
Accessed 1157 times total.
Classification:
| AMS MSC: | 05C50 (Combinatorics :: Graph theory :: Graphs and matrices) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|