LOADING

進度條正在跑跑中

圖論整理第一部分

寫一些課本、課堂、網路上的扣扣、圖待增。持續更新中…


1. Graphs

Define a graph

A pair of sets G=(V,E)G=(V, E) such that E{{u,v}u,vV}E \subseteq \{\{u, v\} | u, v \in V\}

Some notations

  • V(G)V(G): vertix set
    elements of VV are called vertices / nodes / points
    e.g. V(G)={a,b,c,d}V(G) = \{a, b, c, d\}
  • E(G)E(G): edge set
    elements of EE are called edges / arcs / lines
    e.g. E(G)={ab,ac,ad,bc,bd}E(G) = \{ab, ac, ad, bc, bd\}
  • Incident: vv is incident with ee if vev \in e
    The set of all edges incident with a vertex vv is denoted by E(v)E(v)
  • Adjacent / Neighbouring: u,vu, v are adjacent if {u,v}E\{u, v\} \in E
  • Indepedent / Stable set: u,vu, v are independent if {u,v}E\{u, v\} \notin E

Types of graphs

  • ϕ\phi: empty graph
  • Trivial graph: graph of order 0 or 1

Subgraphs

  • Induced subgraph: subgraph of GG with some vertices removed, and all edges between them removed as well.
  • Spanning subgraph: subgraph of GG with all vertices of GG
  • Line graph: subgraph of GG with all edges of GG
  • Improper subgraph: subgraph of GG with all edges of GG, otherwise proper subgraph.

Properties of graphs

  • Complete: every pair of distinct vertices are adjacent, denoted by KnK_n

Homorphisms

Let G=(V,E),G=(V,E)G=(V,E), G'=(V',E') be graphs.
A homomorphism from GG to GG' is a function ψ:VV\psi: V\to V' such that xyEψ(x)ψ(y)Exy \in E \Rightarrow \psi(x)\psi(y) \in E'

Isomorphic

If ψ\psi is a bijection and its inverse image is a homomorphism, then ψ\psi is an isomorphism and GG is isomorphic to GG', written as GGG \cong G'


Degree of a vertex

Let G=(V,E)G=(V,E) be a non-empty graph.

  • N(v)N(v): The set of neighbours of a vertex vv
  • d(v)d(v) or dG(v)d_{G}(v): The degree or valency of a vertex vv
    • isolated vertex: A vertex of degree 0 is called an
    • Δ(G)\Delta(G): The maximum degree of GG
    • δ(G)\delta(G): The minimum degree of GG
    • k-regular / regular: All vertices of GG have the same degree

Some Formula

  • Average degree of GG: d(G):=1VvVd(v)\displaystyle d(G) := \frac{1}{|V|}\sum_{v\in V}d(v)
  • E=12vVd(v)=12vVd(v)V\displaystyle |E| = \frac{1}{2}\sum_{v\in V}d(v)=\frac{1}{2}\sum_{v\in V}d_(v) \cdot |V|

Prop. 2.1
As E=12vVd(v)\displaystyle |E| = \frac{1}{2}\sum_{v\in V}d(v) is an integer, vVd(v)\displaystyle \sum_{v\in V}d(v) is even

Prop. 2.2
Every graph GG with at least one edge has a subgraph HH with δ(H)ε(H)ε(G)\delta(H)\geq \varepsilon (H)\geq \varepsilon (G)


Paths and cycles

Paths

Non-empty graph G=(V,E)G=(V,E)
A sequence of vertices v0,v1,,vnv_0, v_1, \cdots, v_n such that vivi+1Ev_iv_{i+1}\in E for 0in10\leq i\leq n-1

  • walk: A sequence of vertices v0,v1,,vnv_0, v_1, \cdots, v_n such that vivi+1Ev_iv_{i+1}\in E for 0in10\leq i\leq n-1
  • trail: A walk with no repeated edges
  • circuit: A walk with no repeated vertices except thefirst and last

Cycles

A circuit with no repeated edges except the first and last

  • Girth: The minimum length of a cycle
  • Circumference: The maximum length of a cycle
  • Chord: An edge joining two vertices of a cycle but not part of the cycle
  • Distance: The length of the shortest path between two vertices
  • Diameter: The maximum distance between two vertices

Prop. 1.3
Every graph GG contains a path of length δ(G)\delta(G) and a cycle of length at least δ(G)+1\delta(G)+1

Prop. 1.4
A graph GG of radius at most kk and maximum degree at most d3d\geq 3 has fewer than d(d1)kd2\displaystyle \frac{d(d-1)^k}{d-2} vertices

Thm. 1.5
Let GG be a graph.
If d(G)d2d(G)\geq d\geq 2 and g(G)gNg(G)\geq g\in \mathbb{N}, then Gn0(d,g)|G|\geq n_0(d,g)

Cor. 1.6
If δ(G)3\delta(G)\geq 3 then G<2logG|G|<2\log|G|


Connectivity

  • Connected: A graph is connected if there is a path between every pair of vertices
  • Component: A maximal connected subgraph, it is also a induced subgraph

Thm. 1.7
Let 0kN0\neq k\in \mathbb{N}.
Every graph GG with d(G)4kd(G)\geq 4k has a (k+1)(k+1)-connected subgraph HH with ϵ(H)ϵ(G)k\epsilon(H)\geq \epsilon(G)-k


1.5 Trees and forests

forest / tree / leaves

A acyclic graph is a forest. A connected forest is a tree. A vertex of degree 1 is a leaf

root / tree-order

  • root is the least element in its tree-order
  • Define a partial ordering on the vertices of a tree TT, where xyx\leq y for xrTyx\in rTy.
    As an expression of height: x:={yyx}\lfloor x \rfloor := \{y|y\geq x\}(down-closure of y) and y:={xyx}\lceil y \rceil := \{x|y\geq x\}(up-closure of x)

    背法:y\lceil y \rceil的話,yy是最高的,所以xx是包含yy的所有點;x\lfloor x \rfloor的話,xx是最低的,所以是包含yy的所有點

height / level / normal tree

  • chain: the down-closure of every vertex is a chain
  • height: the vertices at distance kk from the root have height kk and form the kk-th level of TT
  • normal tree: a rooted tree TT contained in a graph GG is called normal if the ends of every TT-path are comparable in the tree-order of TT

Thm.
The following assertions are equivalent for a graph TT:

  1. TT is a tree
  2. Any two vertices of TT are linked by a unique path in TT
  3. TT is minimally connected, i.e. TT is connected but TeT-e is disconnected for any eE(T)e\in E(T)
  4. TT is maximally acyclic, i.e. TT contains no cycle but T+xyT+xy does for any two non-adjacent vertices x,yTx, y\in T

Bipartite graphs

A graph G=(V,E)G=(V,E) is r-bipartite : VV admits a partition into r classes such that every edge has its end in different classes

Complete bipartite graph

An r-bipartite graph with every two vertices from different partitions are adjacent, denoted by Km,nK_{m,n}

  • star: K1,nK_{1,n}
  • centre: The vertex in the singleton partition class of a star

Prop.
A graph is bipartite if and only if it contains no odd cycle

Proof:

  • \Rightarrow: Suppose GG is bipartite with partitions V1,V2V_1, V_2, let C=(v1,v2,,vn,v1)C=(v_1, v_2, \cdots, v_n, v_1) be a odd cycle in GG, where viV1v_i\in V_1 if ii is odd, viV2v_i\in V_2 if ii is even. we know from our assumption that CC is an odd cycle, so v1v_1 and vnv_n are in the same partition, however, by the definition of bipartite graph, v1v_1 and vnv_n are in different partitions, a contradiction.
  • \Leftarrow: Let GG be a graph with no odd cycles, we can partition VV into V1,V2V_1, V_2 by the parity of the distance from a fixed vertex v0v_0.
    Suppose v0V1v_0\in V_1, then vV1v\in V_1 if the distance from v0v_0 to vv is even, otherwise vV2v\in V_2.
    1. First, we need to prove that abca\neq b\neq c, wlog, let a,bV1a, b\in V_1 or V2V_2, then a,ba, b are in the same partition, so abab is not an edge, which is a contradiction. Wlog, suppose there exist a,b,cV1a, b, c\in V_1 or V2V_2 such that abE(G)ab\in E(G).
      Let a=ca=c, then d(a,c)=0d(a, c)=0. d(a,b)d(a, b) and d(b,c)d(b, c) are even.
      However d(a,b)=1d(a, b)=1, which is a contradiction. So abca\neq b\neq c.
    2. Second, let PP be the shortest path between aa and cc, QQ be the shortest path between bb and cc, that PP and QQ have the same parity, they start at cc but can also have another common vertex, label it as dd.
      The path PP is separated by dd into two parts, P1P_1 and P2P_2, P1P_1 is the part from cc to dd, P2P_2 is the part from dd to aa.
      The path QQ is separated by dd into two parts, Q1Q_1 and Q2Q_2, Q1Q_1 is the part from cc to dd, Q2Q_2 is the part from dd to bb.
      To have the shortest path, the length of P1P_1 and Q1Q_1 are the same, P=P1+P2,Q=Q1+Q2|P|=|P_1|+|P_2|, |Q|=|Q_1|+|Q_2|, so P2=Q2|P_2|=|Q_2|.
      Therefore, P21Q2(a)=P2+Q2+1=2k+1|P_{2}^{-1}Q_2(a)|=|P_2|+|Q_2|+1=2k+1, where kNk\in \mathbb{N} is an odd cycle, which contradict our assumption that GG has no odd cycle.