Discrete Shortcut ways to do things Flashcards

1
Q

Check your degrees/order/valency are correct

A

Add up degrees and if sum is even then you’re good

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

How to check if graph is isomorphic

A
  • Need same number vertices
  • Need same number of edges
  • Check degree of each vertex
  • Match up vertices: label each vertex with unique degrees first then match up and label the others
  • Check that the edges are the same
  • Isomorphic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to check if graph is Hamiltonian (sequence of edges with no repeated edges or vertices that visits every vertex once then returns to start vertex)

A

Number of vertices = number of edges

n-1 edges needed to connect all vertices then one extra edge needed to return to start

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

Which graph can you never find Hamiltonian cycle (sequence of edges with no repeated vertices or edges that visits every vertex once then returns to start vertex) for?

A
Tree (connected graph with no cycles- sequences of edges not repeating vertices or edges that can return back to start vertex)
Disconnected graph (where it's split up)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can you explain why the complete graph K4 has 3 Hamiltonian cycles?

A

Starting vertex is A
then 3 choices for second vertex
then 2 choices for third vertex (2 left to visit)
then 1 choice for fourth vertex
3x2x1=6
Each cycle listed in 2 orders (forwards and backwards)

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