1. Walks, Trails & Paths
Definitions
-
Walk
An alternating sequence of vertices and edges $\langle v_0, e_1, v_1, ..., v_n \rangle$.
Length: Number of edges (steps).
Closed: Starts and ends at same vertex.
Trivial: Length 0 (single vertex). - Trail A walk with no repeated edges.
- Path A trail with no repeated vertices (except start/end).
Interactive Analysis
Yes. It is an alternating sequence of adjacent vertices. Length = 3.
Yes. The graph contains cycles (loops on u, v) which can be traversed infinitely.
$\infty$. Vertices x and y are in different components (disconnected).
2. Connectivity
Connected Graph
For every pair of vertices $u, v$, there exists a walk between them. Disconnected graphs are made of components.
Distance $d(u,v)$
The length of the shortest path between $u$ and $v$. If no path exists, distance is $\infty$.
Reachability
Vertex $v$ is reachable from $u$ if a walk exists from $u$ to $v$.
3. Traversals: Euler & Hamilton
Eulerian
Focus: Edges- Trail: Visit every edge exactly once.
- Tour: Closed trail (start = end).
- Graph: Has an Eulerian Tour.
- Condition: Connected + All vertices even degree.
Hamiltonian
Focus: Vertices- Cycle: Visit every vertex exactly once.
- Graph: Has a Hamiltonian cycle.
- Condition: Hard to determine (NP-Complete).
4. Graph Measures
Definitions
Eccentricity $ecc(v)$: Max dist from $v$.
Diameter: Max eccentricity (Longest shortest path).
Radius: Min eccentricity.
Central Vertex: Vertex where $ecc(v) = Radius$.
5. Graph Isomorphism
Two graphs are isomorphic if they are structurally identical—only the labels differ. There exists a bijection $V_G \to V_H$ preserving adjacency.
Graph G
Graph H
2 $\to$ t
3 $\to$ u
4 $\to$ v
(Neighborhoods map bijectively)
Final Quiz đź§
Test your connectivity knowledge.