Module 11 Vocab Flashcards

1
Q

Undirected Graph (notation)

11.1

A

G = (V, E)

V = vertices/nodes and E = edges

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

Undirected Graph (words)

11.1

A

A pair of finite sets
first set represents vertices/nodes
second set represents edges

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

Vertices/Nodes

11.1

A

V: finite, non-empty set of vertices/nodes

.

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

Edges (notation)

11.1

A

E ⊆ 2^v

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

Edges (definition)

11.1

A

set of nodes of cardinality 2

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

Edges (words)

11.1

A

finite (possibly empty) set of edges consisting only of subsets of cardinality 2

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

Edges and Incident

11.1

A

Each edge is incident to exactly two vertices

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

If V = {1, 2, 3} how many possible edges can graph G have?

11.1

A

3 edges:
{1, 2} {1, 3} {2, 3}

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

u - v or v-u

11.1

A

represents the edge for {u, v}
tells us that u and v are linked by an edge

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

Vertices and u and v are — by —

11.1

A

linked
an edge

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

Incident

11.1

A

the edge is incident to its endpoints (vertices)
“the edge u-v is incident to u and v”

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

Adjacent/Neighbors

11.1

A

two vertices that share an edge

Ex: u-v are adjacent

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

Degree

11.1

A

degree of a vertex:
the number of neighbors of a vertex

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

Degree (notation)

11.1

A

deg(u)
the number of vertices adjacent to u

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

Isolated

11.1

A

a vertex of degree 0
no neighbors

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

Handshaking Lemma

11.1

A

the sum of the degrees of all nodes in a graph is twice the number of edges

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

Handshaking Lemma (notation)

11.1

A

Σ{v∈V} deg(v) = 2|E|

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

add up the degrees of all the nodes and it’s equal to 2 times the number of edges

11.1

A

Handshake Lemma

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

In the handshake lemma, what does every part of the metaphor represent?

11.1

A

people: nodes/vertices
number of people each person shakes hands with: degrees
handshake: edge

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

Handshake Lemma (proof)

11.1

A

since each edge is incident to exactly two vertices, each edge contributes two to the sum of degrees of the vertices

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

Number of vertices of odd degree proposition

11.1

A

in any graph there are an EVEN number of vertices of odd degree

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

Even number of vertices with odd degree proof

11.1

A

Σ{v∈V} deg(v) = Σ{v∈V_e} deg(v) + Σ{v∈V_o} deg(v)

LHS: handshaking RHS: rule of thumb

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

In the graph G = (V, E) all vertices have degree 1. How many vertices can G have?

11.1

A

since every vertex has 1 degree,
sum of all degrees = |V|
handshake says: |V| = 2|E|
so must have even number of vertices

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

What are two ways you can calculate the sum of degrees?

11.1

A

way 1: add degrees of all vertices
way 2: count edges and multiply by 2

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

G = (V, E) and all vertices have an even degree. Can G have as many vertices as we wish?

11.1

A

Yes with an endless graph where each of the n vertices has 0 edges (and thus 0 degree) since 0 is even

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

Edgeless Graphs

11.2

A

some vertices and no edges
|V| ≥ 1
E = ∅ and |E| = 0

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

Complete Graphs (notation)

11.2

A

K_n = (V, E) where |V| = n
and E = {{u,v} | u,v ∈ V u≠v}

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

Complete Graphs

11.2

A
  1. has edges between any two vertices
  2. has the maximum number of edges
  3. no isolated vertices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Complete Graphs (# of edges)

11.2

A

(n choose 2)

30
Q

Path Graphs (notation)

11.2

A

P_n where there are n≥1 vertices

31
Q

Path Graphs (# of edges)

11.2

A

n-1

32
Q

Path Graphs

11.2

A

vertices are arranged “in a row”

for n≥2, 2 vertices have degree 1 (endpoints) and all other vertices have degree 2

33
Q

Cycle Graphs (notation)

11.2

A

C_n where n≥1 vertices

34
Q

Cycle Graphs (# of edges)

11.2

A

n = # of vertices = # of edges

35
Q

Cycle Graphs

11.2

A

vertices are arranged “in a circle”
all vertices have degree 2

Note: C_1 and C_2 are not defined

36
Q

Grid Graphs (notation)

11.2

A

m x n
m = # of rows
n = # of vertices
m,n ≥ 1

37
Q

Grid Graphs (number of edges)

11.2

A

2mn - m - n

38
Q

Grid Graphs

11.2

A

each vertex is linked by an edge to the vertices “closest” to it

39
Q

Grid Graphs (# of vertices)

11.2

A

mn vertices

40
Q

If all vertices in a graph G have degree 2, must G be a cycle graph?

11.2

A

No!
but it’s essentially made up of two (or more) cycles

41
Q

Walks

11.3

A

a non-empty sequence of vertices consecutively linked by edges

42
Q

Walks (notation)

11.3

A

u0 — u1— ··· — uk

43
Q

Endpoints

11.3

A

u0 and uk of the walk
u0 — u1— ··· — uk

44
Q

Connected

11.3

A

u0 and uk are connected by the walk
u0 — ··· — uk

45
Q

Length

11.3

A

number of edges of the wal(k)

46
Q

Paths

11.3

A

a walk with distinct vertices
walks of length 0 or 1 are also paths

ex: 1- 2 - 4 NON-ex: 1 - 2 - 3 - 4 - 2 - 5

47
Q

Well-Ordering Principle

11.3

A

every non-empty set of natural numbers has a least element (smallest element)

48
Q

Walk-Path Proposition I

11.3

A

for any walk, length n≥3 with distinct endpoints, there is a path with length ≤ n

49
Q

Walk-Path Proposition I Implies

11.3

A

the shortest walk connecting u0 to un must be a path

50
Q

Why is the shortest walk a path?

11.3

A

cut off the cycle from the walk and replace it with a node (walk length 0)

51
Q

Walk-Path Proposition II

11.3

A

if there is a walk, with length n≥3 and distinct endpoints, there is a path whose sequence of nodes and edges is a subsequence of the sequence of nodes and edges of the walk

*subsequence preserves order but doesn’t have to be consecutive

52
Q

What’s the maximum length of a path in Cn? In Kn?

11.3

A

Cn = cycle = n-1
Kn = complete = n-1

53
Q

If u∈C1 and v∈C2 and u— ··· — v and C2 is maximally connected, why must u∈C2?

11.4

A

Since u is connected to v, C2 must incldue vertex u. If u wasn’t in C2, then there would be a bigger set of vertices C’ (C2 plus the element u) for which any two vertices are connected and thus C2 wouldn’t be maximally connected.

54
Q

Connected (notation)

11.4

A

u — ··· — v

55
Q

Connected (definition)

11.4

A

two vertices, u and v, are connected if there exists some walk/path with endpoints u and v

56
Q

Connectivity Relaion

11.4

A

— ··· —

57
Q

Reflexive (notation)

11.4

A

u — ··· — u

58
Q

Reflexive (words)

11.4

A

a vertex is connected to itself by a walk/path of length 0

59
Q

Symmetric (notation)

11.4

A

if u— ··· —v, then v— ··· —u

60
Q

Symmetric (words)

11.4

A

if u is connected to v, then v is connected to u

61
Q

Transitive (notation)

11.4

A

if u— ··· —v and v— ··· —w, then u— ··· —w

62
Q

Transitive (words)

11.4

A

if u is connected to v and v is connected to w, then u is connected to w

think: concatenate

63
Q

Concatenating walks and paths

11.4

A

the concatenation of walks is also a walk BUT the concatenation of paths need not be a path

64
Q

Can A⟂A?

11.4

A

nope, impossible
justification: A∩A ≠ A x A

65
Q

Connected Component

11.4

A

a set of vertices C∈V
1) any two vertices in C are connected
2) there is no strictly bigger set of vertices such that any two vertices of C’ are connected

66
Q

Maximally Connected

11.4

A

set that contains all the vertices that are connected
(no other set contains more of the connected vertices)

ex: {1,2,4} vs. {1, 2, 3, 4}

67
Q

Partition Proposition

11.4

A

any two distinct connected components are disjoint
(even if its just by itself)

68
Q

Connected Graph

11.4

A

has exactly one connected component
ex: complete, path, cycle, mxn

69
Q

Disconnected Graph

11.4

A

has two or more connected components
ex: edgeless (more than 1)

70
Q

Distance

11.4

A

the length of the shortest path between two vertices

71
Q

“Degree of separation”

11.4

A

(in social networks)
the number of intermediate nodes on the shortest path

ex: 6 degrees of separation = graph distance 7

72
Q

Shortest Path

Self

A

in an mxn grid graph, every path of mininum length from (0,0) to (n-1, m-1) has length m+n-2 and traverses edges only upwards or rightwards