20240312: Graphs cont. Flashcards
The second part of the first lecture unit
(Disjoint) Union
Definition; notation
- Union of two simple graphs G and H: G∪H = ((V(G)∪V(H)), (E(G)∪E(H)))
- Disjoint union of two graphs with no common vertices: the number of connected components; disjoint union denoted by: G+H, connected components denoted by: c(G)
Cartesian product
Definition; notation; characteristics
Cartesian product of two simple graphs G and H: G□H
- vertex set: V(G)×V(H)
- edge set: all pairs (u_1, v_1)(u_2, v_2), such that: u_1u_2 is in E(G) and v_1 = v_2 or v_1v_2 is in E(H) and u_1 = u_2
Digraph
Definition
A directed graph D is an ordered pair (V, A) consisting of a set of vertices and a set of directed edges (arcs), disjoint from V, together with an incidence function Ψ that associates with each arc an ordered pair of not necessarily distinct vertices in V.
Neighbourhood
Notation
Digraph
- number of arcs: a(D)
- in-neighbourhood: N-(v); all arcs pointing to v
- out-neighbourhood: N+(v); all arcs pointing from v
True or false:
Digraph D has an underlying graph G with the edge set corresponding to the arcs in D.
True.
Denoted by G(D)
Orientation and tournament
Definition
An orientation of a graph G is a digraph D whose arc set corresponds to the edge set of G.
A tournament is an orientation of a complete graph.
True or false:
An indegree of a vertex v: the number of the arcs going away from v.
An outdegree of a vertex v: the number of the arcs coming into v.
Digraph
False.
It’s the other way around. Indegree shows how many arcs are coming into a vertex, and outdegree shows how many arcs are going away from v.
In and outdegree; minimum and maximum in and outdegree
Notation
Digraph
- indegree of v: d-(v)
- outdegree of v: d+(v)
- min. indegree of D: δ-(D); min. outdegree of D: δ+(D)
- max. indegree of D: Δ-(D); max. outdegree of D: Δ+(D)
True or false:
A directed path(cycle) is a path(cycle) with an orientation in which each vertex dominates its successor in the sequence.
True.
Edge deletion; vertex deletion
Terminology; notation
- edge deletion: obtaining a graph with m-1 edges by deleting an edge e, but leaving the incident vertices and adjacent edges intact; denoted by G\e
- vertex deletion: obtaining a graph with n-1 vertices by deleting a vertex v, and all of its incident edges; denoted by G-v
Subgraph
Definition; characteristics
- a subgraph F of G: V(F), E(F) are subsets of V(G), E(G)
- incidence function Ψ is a restriction on E(F)
- it can be obtained by repeated edge and vertex deletion
- null graph is a subgraph of all graphs
- and every graph is a subgraph and a supergraph of itself
True or false:
A maximal path is the longest path in the graph.
Explain
False.
- a maximum path is the longest one in the graph (can be extended in a way it doesn’t violate the constraints of a path)
- a maximal path is a path that cannot be extended from either end.
Circumference; girth
Terminology
- circumference: the length of the longest cycle in G
- girth: the length of the shortest cycle in G
True or false:
A spanning subgraph is obtained by edge and vertex deletion.
False.
A spanning subgraph: V(SS) = V(G), E(SS) is a subset of E(G) -> a spanning subgraph is obtained only by edge deletions.
Hamilton path and cycle
Terminology
- Hamilton path: spanning path
- Hamilton cycle: spanning cycle