Basic Graphs Flashcards

1
Q

Handshaking lemma:

  1. Formula
  2. Parity
A

The sum of degrees of all nodes is 2x the number of edges.

The number of nodes with odd degree must be even.

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

Complete graph

Notation

Formula edges

A

K_n

|v| = n

|E| n choose 2

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

Path graph

Notation

Edges

A

P

N-1 edges

A tree with 2 leaves!

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

Cycle graph

Formula edges

Degrees

A

C

|v| = |e|

All nodes degree 2

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

Grid graph

Formula vertices

Property degrees and formula

A

G_m,n

M x N vertices

Corners deg 2, all others 3 or 4

Total degrees: 2mn-m-n

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

Walk

A

A sequence of nodes linked by edges

LENGTH IS NUMBER OF EDGES

can have repeat nodes

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

Path

A

A walk where all nodes are distinct

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

Well ordering principle

A

Every non empty set of numbers has a least element

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

Connectivity

A

Nodes are connected if there is a walk between them

Reflexive-node connects to self

Transitive - x-y and y-z then x-z

Symmetric: x and y connect to each other

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

Connected component

A

A subset of nodes that are MAXIMALLY connected and cannot form a bigger group

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

Connected graph

Counting formula

A

At least one connection.

Number of CCs at MINIMUM nodes-edges

Edges >= nodes-CCs, must be less than nodes choose 2

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

Disconnected graph

A

More than one CC or edgeless

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

Distance

A

Shortest path between any 2 nodes

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