寫一些課本和課堂的扣扣、圖待增。持續更新中…
1. Graphs
Define a graph
A pair of sets such that
Some notations
- : vertix set
elements of are called vertices / nodes / points
e.g. - : edge set
elements of are called edges / arcs / lines
e.g. - Incident: is incident with if
The set of all edges incident with a vertex is denoted by - Adjacent / Neighbouring: are adjacent if
- Indepedent / Stable set: are independent if
Types of graphs
- : empty graph
- Trivial graph: graph of order 0 or 1
Subgraphs
- Induced subgraph: subgraph of with some vertices removed, and all edges between them removed as well.
- Spanning subgraph: subgraph of with all vertices of
- Line graph: subgraph of with all edges of
- Improper subgraph: subgraph of with all edges of , otherwise proper subgraph.
Properties of graphs
- Complete: every pair of distinct vertices are adjacent, denoted by
Homorphisms
Let be graphs.
A homomorphism from to is a function such that
Isomorphic
If is a bijection and its inverse image is a homomorphism, then is an isomorphism and is isomorphic to , written as
Degree of a vertex
Let be a non-empty graph.
- : The set of neighbours of a vertex
- or : The degree or valency of a vertex
- isolated vertex: A vertex of degree 0 is called an
- : The maximum degree of
- : The minimum degree of
- k-regular / regular: All vertices of have the same degree
Some Formula
- Average degree of :
Prop. 2.1
As is an integer, is even
Prop. 2.2
Every graph with at least one edge has a subgraph with
Paths and cycles
Paths
Non-empty graph
A sequence of vertices such that for
- walk: A sequence of vertices such that for
- 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 contains a path of length and a cycle of length at least
Prop. 1.4
A graph of radius at most and maximum degree at most has fewer than vertices
Thm. 1.5
Let be a graph.
If and , then
Cor. 1.6
If then
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 .
Every graph with has a -connected subgraph with
Trees and forests
- Forest: A graph with no cycles
- Tree: A connected forest
- Leaf: A vertex of degree 1
- Root: A vertex of degree , such tree is called a rooted tree
- Chain: The down-closure of every vertex
Thm.
The following assertions are equivalent for a graph :
- is a tree
- Any two vertices of are linked by a unique path in
- is minimally connected, i.e. is connected but is disconnected for any
- is maximally acyclic, i.e. contains no cycle but does for any two non-adjacent vertices
Bipartite graphs
A graph is r-bipartite : 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
- star:
- 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