Graph Theory Flashcards

1
Q

What is the complement of a graph?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the FT of GT?

A

Sum of the degrees of vertices is equal to twice the number of edges
Sum from i=1 to p, deg(vi) = 2q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the handshaking lemma?

A

Every graph contains an even number of odd vertices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the degree of an undirected graph and what other aspect is it equal to?

A

Number of vertices that a vertex is adjacent to.
Equal to the cardinality of its Neighbourhood

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the minimum degree of a vertex?

A

sigma(G) = min(1 <= i <= p){degG(vi)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the maximum degree of a vertex?

A

delta(G) = max(1 <= i <= p){degG(vi)}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the degree of directed graphs?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the cardinality of a set?

A

Number of elements in a set
Denoted by |S(a)|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the neighbourhood of an undirected graph?

A

Neighbourhood of v in V is set containing all vertices u such that uv is an element of the graph’s edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between open neighbourhood and closed neighbourhood, and what other measure is influenced by these?

A

out when vertex being evaluated is not included in the set (then it is equal to the degree)
in when evaluated vertex is included

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the notation of the open and closed neighbourhood sets?

A

Check notes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the out-neighbouthood of a directed graph?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the in-neighbourhood of a directed graph?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the adjacency matrix of an undirected graph?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the sum of all the elements in an adjacency matrix of an undirected graph?

A

Sum from j=1 to p for:
a_ij or a_ji = degree of vertex vi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the adjacency matrix of an undirected graph?

A

A(D) is a p x p asymmetric binary matrix where aij = 1 iff the arc vi vj exists in the edge set, otherwise it is zero

17
Q

How are out-neighbourhoods calculated using the adjacency matrix?

A

od = sum(from k=1 to p) of a_(ik)

therefore sum of column elements in row i

18
Q

How are in-neighbourhoods calculated using the adjacency matrix?

A

id = sum(from k=1 to p of a_(ki)

therefore sum of row elements in column i

19
Q

What is the weighted matrix?

A

pxp matrix where a = 0 if i =j
if edge between two vertices exist, then aij = weight
infinity if the edge between two vertices dont exist

20
Q

How do you perform vertex deletion?

A

Delete vertex and all edges associated with it

G - {v4}

21
Q

How do you perform edge deletion / edge insertion?

A

Delete edges given by set G - {v3v4, v5v6}

22
Q

What is the FT of DG?

A

Sum of out-degrees = sum of in-degrees = edges in graph