20240311: Graphs Flashcards

Learn the notations and definitions from the first part of the lecture.

1
Q

Graph

Definition

Unidrected Graph

A

A graph G is an ordered pair (V, E) consisting of a set of vertices and a set of edges, disjoint from V, together with an incidence function Ψ that associates with each edge an unoredered pair of not necessarily distinct vertices in V.

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

Order and size of a graph G

Terminology; notation

Undirected Graph

A
  • Order: the number of vertices in graph G (denoted by n or v(G))
  • Size: the number of edges in graph G (denoted by m or e(G))
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or false:

Adjacency happens between an edge and a vertex.

A

False.
Adjacency happens between two edges (sharing a vertex) or between two vertices (sharing an edge).

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

True or false:

Incidence happens between two vertices or two edges.

A

False.
Incidence happens between an edge and its ends, or between a vertex and its edges.

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

Neighbours of a vertex v

Terminology; notation

Undirected Graph

A

N_G(v): a set of neighbours of a vertex v in graph G.

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

Loop; parallel edge

Terminology

A

Loop: an edge with identical ends.
Parallel edge: multiple edges with the same ends.

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

Finite graph; null graph; trivial graph; simple graph

Terminology

A
  • Finite graph: has finite sets of vertices and edges
  • Null graph: no vertices
  • Trivial graph: only one vertex
  • Simple graph: no loops or parallel edges
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Complete graph; empty graph; bipartite graph

Terminology

A
  • Complete graph: simple graph in which any two vertices are adjacent
  • Empty graph: an empty edge set
  • Bipartite graph: vertex set split in two, each edge connects a vertex from one part with a vertex in the other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or false:

A graph is complete bipartite if it is simple and every vertex from one part is connected to every vertex in the other part.

A

True. Example: Star, S_n

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

Complete graph

Notation; characteristics

A

Complete graph: denoted by K_n
- number of vertices: n; number of edges: n over 2

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

Bipartite graph

Notation; characteristics

A
  • Bipartition denoted by (X, Y)
  • Bipartite graph denoted by G[X, Y]
  • Number of edges: 2^n
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Path

Terminology; notation

A

A simple graph whose vertices are arranged in a linear sequence so that two vertices are adjacent if they are consecutive in the sequence, and not otherwise.
- denoted by P_n
- number of vertices: n; number of edges: n-1 -> length

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

Cycle

Terminology; notation

A

A simple graph on two or more vertices that can be arranged in a cyclic sequence, so that the rule for the path holds.
- denoted by C_n
- number of vertices/edges: n -> length

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

True or false:

In a path or a cycle, parity is determined by the length.

A

True. The number of edges being odd or even determines the parity of the path or a cycle.

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

When is a graph (dis)connected?

A
  • Not connected: if the vertex set can be split in two parts such that there are no edges connecting vertices in different parts. Otherwise, connected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True or false:

Is every connected graph bipartite?

A

False. Every bipartite graph is connected, by the definition of connectedness. It does not hold in the other direction.

17
Q

Vertex degree

Terminology; notation

Undirected Graph

A

Vertex degree: number of neighbours (adjacent vertices); denoted by d(v)
- isolated vertex: d(v) = 0
- minimum degree: min. value of degrees in a graph; denoted by δ(G)
- maximum degree: max. value of degrees in a graph; denoted by Δ(G)
- average degree: d(G) = 1/2 sum d(v), sum over v in V

18
Q

True or false:

Every vertex degree of a regular graph is the same.

A

True. It is also called a k-regular graph, for some k = d(v), for all vertices.

19
Q

Isomorphism

Definition

A

Two graphs G and H are isomorphic if there is a bijection Θ: V(G) -> V(H), such that uv in E <=> Θ(u)Θ(v). They have the same n, m and degree sequence.

20
Q

True or false:

An unlabelled graph is a representative of an equivalence class of isomorphic graphs.

A

True

21
Q

Line graph

Definition; notation

A

A representation of G where the vertex set of a line graph is the edge set of G, and two edges are adjacent if they have an end in common; denoted by L(G).