study guides for every class

that actually explain what's on your next test

Adjacent

from class:

Math for Non-Math Majors

Definition

In graph theory, two vertices are adjacent if they are connected by an edge. Adjacent vertices can also be referred to as neighboring vertices.

congrats on reading the definition of adjacent. now let's actually learn it.

ok, let's learn stuff

5 Must Know Facts For Your Next Test

  1. Two vertices are considered adjacent if there is a direct edge connecting them.
  2. In an adjacency matrix, a '1' indicates that two vertices are adjacent, while a '0' means they are not.
  3. The degree of a vertex is the number of edges connected to it, which includes all adjacent vertices.
  4. An adjacency list for a graph represents each vertex and lists its adjacent vertices.
  5. Adjacency is fundamental in algorithms like Depth-First Search (DFS) and Breadth-First Search (BFS).

Review Questions

  • What does it mean for two vertices to be adjacent in a graph?
  • How is adjacency represented in an adjacency matrix?
  • Why is understanding adjacency important for graph traversal algorithms?

"Adjacent" also found in:

ยฉ 2024 Fiveable Inc. All rights reserved.
APยฎ and SATยฎ are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.