14 - Paths and Cycles - 8.2, 8.3

ucla | MATH 61 | 2022-10-30T16:38


Table of Contents

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 G is connected if for any v,wV there exists a path starting at v and ending at w on G
  • i.e. no vertex is isolated
  • e.g. non-connected graph

Subgraphs and Components

Subgraph

  • let G=(V,E) be a graph, then G=(V,E) is a subgraph of G if
    • V\subeV and E\subeE and
    • if e=(v,w)Ev,wV
  • e.g. subgraph

Component

  • The subgraph G of G containing all the edges and vertices contained in paths beginning at vV(G) is the component of G containing v
  • G is connected G has only 1 component
  • e.g. components of G

Paths

Path

  • let v0,vnV(G)
  • a path v0vn of length n is an alternating sequence of n+1 vertices and n edges
  • beginning with v0 and ending with vn
  • (v0,e1,v1,e2,,vn1,en,vn) where each ei=(vi1,vi)E
  • for simple graphs, we list only vertices
  • e.g. path

Simple Path

  • for v,wV(G), a simple path vw is a path vw with no repeated vertices

Cycles

Cycle

  • for vV(G), a cycle at v is a path vv of non-zero length w/ no repeated edges

Simple Cycle

  • a simple cycle at v is a cycle vv in which there are no repeated vertices except v (first/last vertex)

Eulerian cycles

Euler cycle

  • a cycle in G that includes each edge and vertex in G is an Eulerian cycle

Degree

  • the degree of vV (denoted δ(v)) is the number of edges incident to v
  • a loop at v → +2 to the degree of v

Degree Sequence

  • a sequence of degrees of vertices in a graph
  • e.g. degree sequence for G
    • V(G)=v1,,vndeg seq: δ(v1),,δ(vn)

Theorem (existence)

  • graph G has an Euler cycle G is connected and every vertex has even degree
  • e.g. G has an Euler cycle

Theorem (degree)

  • if G has m edges and V=v1,,vn, then
  • i=1nδ(vi)=2m

Corollary (degree)

  • for any graph G, there always exists an even number of vertices vV s.t. δ(v) is odd

Theorem (path)

  • graph G has a path vwv with no repeated edges G is connected and v,w are the only vertices with odd degree

Theorem (simple cycle)

  • if G contains a cycle vvG has a simple cycle vv

Hamiltonian cycles

Hamiltonian Cycle

  • a cycle in G that contains each vertex vV exactly once (except start/end) is a Hamiltonian cycle
  • e.g. Hamiltonian cycle

Traveling salesman problem

  • given a weighted graph G find a minimum length Hamiltonian cycle in G

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 G

  • 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
**