Discrete Shortcut ways to do things Flashcards
Check your degrees/order/valency are correct
Add up degrees and if sum is even then you’re good
How to check if graph is isomorphic
- 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 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)
Number of vertices = number of edges
n-1 edges needed to connect all vertices then one extra edge needed to return to start
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?
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)
Can you explain why the complete graph K4 has 3 Hamiltonian cycles?
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)