Module 11 Vocab Flashcards

(72 cards)

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
G = (V, E) and all vertices have an even degree. Can G have as many vertices as we wish? | 11.1
Yes with an endless graph where each of the n vertices has 0 edges (and thus 0 degree) since 0 is even
26
Edgeless Graphs | 11.2
some vertices and no edges |V| ≥ 1 E = ∅ and |E| = 0
27
Complete Graphs (notation) | 11.2
K_n = (V, E) where |V| = n and E = {{u,v} | u,v ∈ V u≠v}
28
Complete Graphs | 11.2
1. has edges between any two vertices 2. has the maximum number of edges 3. no isolated vertices
29
Complete Graphs (# of edges) | 11.2
(n choose 2)
30
Path Graphs (notation) | 11.2
P_n where there are n≥1 vertices
31
Path Graphs (# of edges) | 11.2
n-1
32
Path Graphs | 11.2
vertices are arranged "in a row" for n≥2, 2 vertices have degree 1 (endpoints) and all other vertices have degree 2
33
Cycle Graphs (notation) | 11.2
C_n where n≥1 vertices
34
Cycle Graphs (# of edges) | 11.2
n = # of vertices = # of edges
35
Cycle Graphs | 11.2
vertices are arranged "in a circle" all vertices have degree 2 | Note: C_1 and C_2 are not defined
36
Grid Graphs (notation) | 11.2
m x n m = # of rows n = # of vertices m,n ≥ 1
37
Grid Graphs (number of edges) | 11.2
2mn - m - n
38
Grid Graphs | 11.2
each vertex is linked by an edge to the vertices "closest" to it
39
Grid Graphs (# of vertices) | 11.2
mn vertices
40
If all vertices in a graph G have degree 2, must G be a cycle graph? | 11.2
No! but it's essentially made up of two (or more) cycles
41
Walks | 11.3
a non-empty sequence of vertices consecutively linked by edges
42
Walks (notation) | 11.3
u0 — u1— ··· — uk
43
Endpoints | 11.3
u0 and uk of the walk u0 — u1— ··· — uk
44
Connected | 11.3
u0 and uk are connected by the walk u0 — ··· — uk
45
Length | 11.3
number of edges of the wal(k)
46
Paths | 11.3
a walk with distinct vertices walks of length 0 or 1 are also paths ## Footnote ex: 1- 2 - 4 NON-ex: 1 - 2 - 3 - 4 - 2 - 5
47
Well-Ordering Principle | 11.3
every non-empty set of natural numbers has a least element (smallest element)
48
Walk-Path Proposition I | 11.3
for any walk, length n≥3 with distinct endpoints, there is a path with length ≤ n
49
Walk-Path Proposition I Implies | 11.3
the shortest walk connecting u0 to un must be a path
50
Why is the shortest walk a path? | 11.3
cut off the cycle from the walk and replace it with a node (walk length 0)
51
Walk-Path Proposition II | 11.3
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 ## Footnote *subsequence preserves order but doesn't have to be consecutive
52
What's the maximum length of a path in Cn? In Kn? | 11.3
Cn = cycle = n-1 Kn = complete = n-1
53
If u∈C1 and v∈C2 and u— ··· — v and C2 is maximally connected, why must u∈C2? | 11.4
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
Connected (notation) | 11.4
u — ··· — v
55
Connected (definition) | 11.4
two vertices, u and v, are connected if there exists some walk/path with endpoints u and v
56
Connectivity Relaion | 11.4
— ··· —
57
Reflexive (notation) | 11.4
u — ··· — u
58
Reflexive (words) | 11.4
a vertex is connected to itself by a walk/path of length 0
59
Symmetric (notation) | 11.4
if u— ··· —v, then v— ··· —u
60
Symmetric (words) | 11.4
if u is connected to v, then v is connected to u
61
Transitive (notation) | 11.4
if u— ··· —v and v— ··· —w, then u— ··· —w
62
Transitive (words) | 11.4
if u is connected to v and v is connected to w, then u is connected to w ## Footnote think: concatenate
63
Concatenating walks and paths | 11.4
the concatenation of walks is also a walk BUT the concatenation of paths need not be a path
64
Can A⟂A? | 11.4
nope, impossible justification: A∩A ≠ A x A
65
Connected Component | 11.4
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
Maximally Connected | 11.4
set that contains all the vertices that are connected (no other set contains more of the connected vertices) ## Footnote ex: {1,2,4} vs. {1, 2, 3, 4}
67
Partition Proposition | 11.4
any two distinct connected components are disjoint (even if its just by itself)
68
Connected Graph | 11.4
has exactly one connected component ex: complete, path, cycle, mxn
69
Disconnected Graph | 11.4
has two or more connected components ex: edgeless (more than 1)
70
Distance | 11.4
the length of the shortest path between two vertices
71
"Degree of separation" | 11.4
(in social networks) the number of intermediate nodes on the shortest path ## Footnote ex: 6 degrees of separation = graph distance 7
72
Shortest Path | Self
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