Definitions/Propositions Flashcards

1
Q

What is a graph?

A

A graph G(V,E) is finite, with a non-empty set V (the vertex set) along with a second set E (edge set) whose elements e ∈ E are pairs (a,b) with a,b ∈ V

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

What is an undirected graph?

A

A graph G(V,E) whose edges are not ordered pairs

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

What is a diagraph?

A

A diagraph or directed graph G(V,E) is a graph whose edge set consists of ordered pairs

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

What are adjacent vertices?

A

Two vertices a,b ∈ V in an undirected graph G(V,E) are said to be adjacent or neighbours IFF (a,b) ∈ E

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

Predecessor/Successor of a vertex?

A

If the directed edge e(u,v) appears in a diagraph then u is a predecessor to v and v is a successor to u. u is the tail vertex of e and v is the tip vertex of e.

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

Properties of the adjacency matrix?

A
  • A is not unique, depends on the numbering scheme for the vertices. If renumbered, rows & columns will change accordingly
  • If G(V,E) is undirected then A is symmetric
  • If the graph has no loops then A_jj = 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an adjacency list?

A

In an undirected graph G(V,E) the adjacency list associated with a vertex v is the set A_v = { u | u ∈ V and (u,v) ∈ E}

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

What is the predecessor list?

A

In a directed graph G(V,E), the predecessor list of vertex v is the set P_v = { u | u ∈ V and (u,v) ∈ E}

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

What is the successor list?

A

In a directed graph G(V,E), the successor list of vertex v is the set P_v = { u | u ∈ V and (v,u) ∈ E}

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

What is it to say two graphs are isomorphic?

A

G1 and G2 are isomorphic if there exists a bijection a: V1 –> V2 such that (a(x),a(y)) ∈ E2 if (x,y) ∈ E1

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

Two graphs isomorphic implies what about cardinality?

A

If G1 and G2 are isomorphic then |V1| = |V2| and |E1| = |E2|

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

If G1 and G2 are isomorphic then what does this imply about their degree?

A

deg(v) = deg(a(v)) for all v ∈ V1 and deg(u) = deg(a^-1(u)) for all u ∈ V2

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

What is the degree sequence of undirected graph?

A

A list of the degrees of the vertices (arranged in ascending order)

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

What is the degree of a vertex?

A

The number of edges that include the vertex

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

If G1 and G2 are isomorphic then this implies what about their degree sequence?

A

They have the same degree sequence

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

What is a a subgraph of a graph G(V,E)?

A

A graph G’(V’,E’) where V’⊆V and E’⊆E

17
Q

Given a graph G(V,E) and a subset V’⊆V, what is the subgraph induced by V’?

A

Subgraph G’(V’,E’) where E’ = { (u,v) | u,v ∈ V’ and (u,v) ∈ E}

18
Q

What is a k-colouring?

A

Map phi: V –> {1,2,…,K} with the property that adjacent vertices are assigned distinct “colours”. i.e. (u,v) ∈ E implies phi(u) does not equal phi(v)

19
Q

What is the chromatic number?

A

chi(G) is the smallest k for which G has a K-colouring

20
Q

A graph G is bipartite IFF?

A

chi(G) = 2

21
Q

If H is a subgraph of G then? (chromatic number)

A

chi(H) ≤ chi(G)

22
Q

If H is a subgraph of G and G is k-colourable then?

A

so is H

23
Q

“Floor of x”?

A

max{k ∈ integers | k ≤ x}

24
Q

“Ceiling of x”?

A

min{k ∈ integers | k ≥ x}

25
Q

If n is composite it has a factor of b then?

A

b ≤ sqrt(n)

26
Q

What is a walk?

A

A sequence of edges (e1e2e3….el) is a walk if there exists a sequence of vertices (v0v1….vl) such that e_j = (e(j-1),e(j))

27
Q

What is a closed walk?

A

A walk in which vo=vl

28
Q

What is a trail?

A

A walk in which all edges are distinct

29
Q

What is a path?

A

A trail in which all vertices are distinct

30
Q

What is a cycle?

A

A cycle is a subgraph isomorphic to one of the cycle graphs

31
Q

What is the length of the walk?

A

The number of edges in the sequence

32
Q

What is it to say that two vertices are connected?

A

a & b are said to be connected if there is a walk such that v0 = a and vl = b

33
Q

What is a connected graph?

A

A graph in which each pair of vertices is connected is a connected graph

34
Q

What are the equivalence classes of G called?

A

Connected components of G

35
Q

What is it to say a vertex in a diagraph G is accessible or reachable?

A

A vertex b is accessible/reachable from a vertex a if there exists a walk from a to b (not the other way round necessarily)

36
Q

Strongly connected vertices?

A

If u is reachable from v and v is reachable from u in a diagraph

37
Q

Weakly connected diagraph?

A

A diagraph G(V,E) is weakly connected when it becomes a connected graph when you ignore the directions of the edges

38
Q

In a graph G(V,E), if there is a walk from u to v then?

A

There is also a path