14 - Paths and Cycles - 8.2, 8.3
ucla | MATH 61 | 2022-10-30T16:38
Table of Contents
- Definitions
- Big Ideas
- Resources
Definitions
- simple graph
- a graph with no parallel edges or loops
- isolated vertices
- a vertex which has no edges to/from it
Big Ideas
Connected graph
- graph
is connected if for any there exists a path starting at and ending at on - i.e. no vertex is isolated
e.g. non-connected graph
Subgraphs and Components
Subgraph
- let
be a graph, then is a subgraph of if and and- if
e.g. subgraph
Component
- The subgraph
of containing all the edges and vertices contained in paths beginning at is the component of containing is connected has only 1 componente.g. components of
Paths
Path
- let
- a path
of length is an alternating sequence of vertices and edges - beginning with
and ending with where each - for simple graphs, we list only vertices
e.g. path
Simple Path
- for
, a simple path is a path with no repeated vertices
Cycles
Cycle
- for
, a cycle at is a path of non-zero length w/ no repeated edges
Simple Cycle
- a simple cycle at
is a cycle in which there are no repeated vertices except (first/last vertex)
Eulerian cycles
Euler cycle
- a cycle in
that includes each edge and vertex in is an Eulerian cycle
Degree
- the degree of
(denoted ) is the number of edges incident to - a loop at
→ +2 to the degree of
Degree Sequence
- a sequence of degrees of vertices in a graph
- e.g. degree sequence for
Theorem (existence)
- graph
has an Euler cycle is connected and every vertex has even degree e.g.
has an Euler cycle
Theorem (degree)
- if
has edges and , then
Corollary (degree)
- for any graph
, there always exists an even number of vertices s.t. is odd
Theorem (path)
- graph
has a path with no repeated edges is connected and are the only vertices with odd degree
Theorem (simple cycle)
- if
contains a cycle has a simple cycle
Hamiltonian cycles
Hamiltonian Cycle
- a cycle in
that contains each vertex exactly once (except start/end) is a Hamiltonian cycle e.g. Hamiltonian cycle
Traveling salesman problem
- given a weighted graph
find a minimum length Hamiltonian cycle in
Proving non-existence
- typically very difficult → analyze the graph then logic a reason why no Hamiltonian cycle can exist
- note:
refers to a “contradiction” e.g. prove no Hamiltonian cycle in
e.g. prove non-existence
Resources
[!info]
undefined
http://epgp.inflibnet.ac.in/epgpdata/uploads/epgp_content/S000025MS/P001478/M015488/ET/1462360146E-textofChapter7Module2.pdf
📌
**SUMMARY
**