Graph Theory Flashcards
What is the complement of a graph?
Graph on the same vertices on the original such that two distinct vertices are adjacent iff they are not adjacent to the original
(LEARN NOTATION)
What is the FT of GT?
Sum of the degrees of vertices is equal to twice the number of edges
Sum from i=1 to p, deg(vi) = 2q
What is the handshaking lemma?
Every graph contains an even number of odd vertices
What is the degree of an undirected graph and what other aspect is it equal to?
Number of vertices that a vertex is adjacent to.
Equal to the cardinality of its Neighbourhood
What is the minimum degree of a vertex?
sigma(G) = min(1 <= i <= p){degG(vi)}
What is the maximum degree of a vertex?
delta(G) = max(1 <= i <= p){degG(vi)}
What is the degree of directed graphs?
Out-degree: cardinality of out neighbourhood of vertex
(odD(v) = |N+D(v))
In-degree: cardinality of in-neighbourhood of vertex
(idD(v) = |N-D(v))
therefore degD(v) = id + od
What is the cardinality of a set?
Number of elements in a set
Denoted by |S(a)|
What is the neighbourhood of an undirected graph?
Neighbourhood of v in V is set containing all vertices u such that uv is an element of the graph’s edges.
What is the difference between open neighbourhood and closed neighbourhood, and what other measure is influenced by these?
out when vertex being evaluated is not included in the set (then it is equal to the degree)
in when evaluated vertex is included
What is the notation of the open and closed neighbourhood sets?
Check notes
What is the out-neighbouthood of a directed graph?
Set of its out-neighbours, which is a vertex that has an edge from a vertex.
Set of all vertices u in V, such that arc vu is an element of V(D)
What is the in-neighbourhood of a directed graph?
Set of its in-neighbours, which is a vertex that has an edge to a vertex
Set of all vertices u in V(D), such that the arc uv is an element of V(D)
What is the adjacency matrix of an undirected graph?
A(G) is symmetric binary matrix with a_ij = 1 iff v_i is adjacent to v_j in G (and i dne j), otherwise a =0
What is the sum of all the elements in an adjacency matrix of an undirected graph?
Sum from j=1 to p for:
a_ij or a_ji = degree of vertex vi