Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Adjacency matrix
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Square matrix used to represent a graph or network}} In [[graph theory]] and [[computer science]], an '''adjacency matrix''' is a [[square matrix]] used to represent a finite [[graph (discrete mathematics)|graph]]. The elements of the [[matrix (mathematics)|matrix]] indicate whether pairs of [[Vertex (graph theory)|vertices]] are [[Neighbourhood (graph theory)|adjacent]] or not in the graph. In the special case of a finite [[simple graph]], the adjacency matrix is a [[(0,1)-matrix]] with zeros on its diagonal. If the graph is [[Glossary of graph theory terms#undirected|undirected]] (i.e. all of its [[Glossary of graph theory terms#edge|edges]] are bidirectional), the adjacency matrix is [[symmetric matrix|symmetric]]. The relationship between a graph and the [[eigenvalue]]s and [[eigenvector]]s of its adjacency matrix is studied in [[spectral graph theory]]. The adjacency matrix of a graph should be distinguished from its [[incidence matrix]], a different matrix representation whose elements indicate whether vertex–edge pairs are [[Incidence (graph)|incident]] or not, and its [[degree matrix]], which contains information about the [[degree (graph theory)|degree]] of each vertex.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)