Discrete Definitons Flashcards

1
Q

Given a graph G(V, E), define a walk in a graph

A

A sequence of edges (e1, e2,…,eL) is a walk if there exists a corresponding sequence of vertices (v0, v1,…,vL) such that ej = (vj-1, vj ). Note that the vertices don’t have to be distinct. If v0 = vL, it is a closed walk

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

Given a graph G(V, E), define a trail in a graph

A

A trail is a walk in which all the edges ej are distinct

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

Given a graph G(V, E), define a path in a graph

A

A path is a trail in which all the vertices are distinct

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

Given a graph G(V, E), what is meant by saying G is a connected graph?

A

Two vertices are said to be connected if there is a walk between them, and a graph in which each pair of vertices is connected is a connected graph.

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

Given a graph G(V, E), what is meant by the degree of a vertex v?

A

The degree of a vertex v is the number of edges that include the vertex

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

Explain what is meant by the degree sequence of a graph

A

The degree sequence of graph is 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
7
Q

Explain what is meant by saying a graph is a tree

A

A tree is a connected, acyclic graph

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

Explain what is meant by saying a vertex v in a graph is a leaf

A

A vertex v in a tree is called a leaf if deg(v)=1

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

Explain what is meant by saying two graphs G1(V1,E1) and G2(V2,E2) are isomorphic

A

Two graphs G1(V1, E1) and G2(V2, E2) are said to be isomorphic if there exists a bijection α : V1 → V2 such that the edge (α(a), α(b)) ∈ E2 iff (a, b) ∈ E1.

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

Explain what is meant by saying a graph is bipartite

A

A graph G(V,E) is said to be a bipartite graph if
• it has a non empty edge set E ≠ ∅; and
• its vertex set V can be decomposed into two non empty, disjoint subsets
V = V1 U V2 with V1 ∩ V2 = ∅; and V1 ≠ ∅ ; and V2 ≠ ∅ ;
in such a way that all the edges in E connect a member of V1 with a member of V2

(u, v) ∈ E ⇒{ u ∈ V1 and v ∈ V2
{ or u ∈ V2 and v ∈ V1.

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

What is a k colouring of a graph G?

A

A k-colouring of G is a function Φ : V → {1,…,k} that assigns distinct values (called colours) to adjacent vertices

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

What is the chromatic number, χ(G), of G?

A

The chromatic number χ(G) is the smallest number k such that G is k-colourable

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

What is the adjacency matrix of a graph G?

A

First numbering the vertices, so that the vertex set becomes V = {1, 2,…,n} for a graph on n vertices. The adjacency matrix A is an nxn matrix whose entries are given by:
Aij = {1 if (i, j) ∈ E
{0 otherwise

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

Given a connected graph G(V, E) explain what is meant by saying G is Hamiltonian?

A

A graph that contains a Hamiltonian tour (a cycle that contains every vertex) is said to be a Hamiltonian graph

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

Given a connected graph G(V, E) explain what is meant by saying G has an Eulerian Tour?

A

An Eulerian tour in a multigraph G(V,E) is a trail that includes each of the graph’s edges exactly once and starts and finishes at the same vertex.

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

Given a connected graph G(V, E) explain what is meant by saying G is planar?

A

A graph G is said to be planar if it is possible to draw it in such a way that the edges intersect only at their vertices

17
Q

Given a connected graph G(V, E) explain what is meant by saying G has girth g?

A

If a graph G(V, E) contains one or more cycles then the girth of G is the length of a shortest cycle.

18
Q

What is meant by saying a graph is acyclic?

A

A graph is acyclic if it doesn’t include any cycles

19
Q

Explain what is meant by saying 2 vertices in a directed graph are strongly connected

A

Two vertices a and b in a directed graph are strongly connected if b is accessible from a and a is accessible from b. Additionally, we regard a vertex as strongly connected to itself.

20
Q

Explain what is meant by a relation ~ on a vertex set V is an equivalence relation

A

A relation ~ on a set S is an equivalence relation if it is:

reflexive: a ~ a for all a ∈ S;
symmetric: a ~ b ⇒ b ~ a for all a, b ∈ S;
transitive: a ~ b and b ~ c ⇒ a ~ c for all a, b, c ∈ S.

21
Q

What does it mean for two graphs to be homeomorphic?

A

Two graphs G(V, E) and G’(V’, E’) are said to be homeomorphic if they are isomorphic to subdivisions of the same graph.

22
Q

What is a spanning tree in an undirected graph G(V,E)?

A

A subgraph of G(V,E) is a spanning tree if it is a tree that contains every vertex in V

23
Q

What is a spanning arborescence rooted at v in a digraph G(V,E)?

A

A subgraph T(V,E’) of a digraph G(V,E) is a spanning arborescence if T is an arborescence that contains all the vertices of G.

24
Q

What is a a single predecessor graph (spreg) rooted at v in a digraph G(V,E)?

A

A spreg with distinguished vertex v is a directed graph G(V,E) in which each vertex other than the distinguished
vertex v has exactly one predecessor while v itself has no predecessors

25
Q

Explain what it means for a graph G(V,E) to have a planar diagram

A

If the graph is planar, the way it can be drawn such that the edges intersect only at their vertices is called a planar diagram

26
Q

Explain what it means for a graph H(V’, E’) to be a subdivision of another graph G(V,E)

A

A subdivision of a graph G(V, E) is a graph H(V, E0) formed by (perhaps repeatedly) removing an edge e = (a, b) ∈ E from G and replacing it with a path {(a, v1), (v1, v2), . . . ,(vk, b)}
containing of some number k > 0 of new vertices {v1, . . . , vk}, each of which has degree 2

27
Q

How many spots has Faz got?

A

28
Q

Define a forest

A

A forest is a graph whose connected components are trees

29
Q

Given a connected graph G(V, E) explain what is meant by saying G is Eulerian

A

A multigraph that contains an Eulerian tour is said to be an Eulerian multigraph.

30
Q

Explain what is meant by a cyclic graph

A

A cyclic graph is a graph containing at least one cycle

31
Q

What’s greasier? Jim’s hair or a chip shops deep fat fryer?

A

Jim’s hair

32
Q

A graph G(V,E) is a directed tree or arborescence if?

A

(i) G contains a root
(ii) The graph |G| that one obtains by ignoring the directedness of the edges is a
tree

33
Q

In a directed graph G(V,E) a vertex b is said to be accessible if?

A

vertex a if G contains a walk from a to b. Additionally,

we’ll say that all vertices are accessible (or reachable) from themselves.

34
Q

What is a root you mugs

A

A vertex v in a directed graph G(V,E) is a root if every other
vertex is accessible from v.