Walk
Let be a graph then
Walk is sequence
such that
where length of walk is denoted by number of steps
Note that the vertices don’t have to be necessarily distinct
walk Suppose and then
Walk from to is walk
Path
Let be a graph then
Path in is a walk where are distinct
Closed Walk
Let walk be of graph
Walk is closed if
Cycle
Let walk be of graph defined by
Then is a cycle in if and only if
- are distinct vertices of
- are edges of
Equivalency of Walks and Paths in Graphs lemma
Let be a graph
Let thencontains an walk contains a path
Proof
Any path is a walk so is trivial
Suppose contains walk so let
be shortest walk in
If for some then construct shorter walk
where if then use
Hence as all vertices in walk are now distinct then it is a path
Connected Vertices
Let be a graph
Letare connected in if
Euler Trail
Let be a graph then
Let in be a walk where each edge of is used exactly onceis an Euler Tour / Euler Circuit if