Block 1 Graphs Flashcards
Order (n)
number of vertices |V|
Size (m):
number of edges |E|
Isolated vertex
Degree 0
Sum of degrees /2
Number of edges
Eulerian cycle:
Exists if and only if the graph is connected and each vertex is incident to a even number of edges.
Neighbourhood
is the set of vertices adjacent to it
Close Neighbourhood
is the Neighbourhood and the vertex in question
Kn
Complete graph, n vertices
On
Empty graph, n vertices
Cn
Simple Cycle. n>3
Pn
Simple Path. n>2. The same as a Cn but one edge missing. Simple Path. n>2. The same as a Cn but one edge missing.
k-regular
: all vertices (k) are of the same degree.
Wn
wheels
Bipartite graph
When there exists a partion of vertice in two parts (A and B) such that there is no edges in each partion, just between them. The sets A and B may be empty.
Complete bipartite graph
a vertex in one partition group is adjacent to all vertices in the other partition group.
Equal graphs
Must have the same labels. V(G) = V(H) and E(G) = E(H).
Isomorphic graphs (≅):
Two graphs are isomorphic if there is a bijection and adjacency/ non adjacency is preserved. Bijection: Surjective (all vertices in the codomain are used) and Injective (1 to 1 – can’t have 1 vertex mapped to two). Top Tip: Pay attention at the structure: Degree of vertices, if there exists a triangle inside? Cycle?
Proper subgraph
H⊆G but H≠G
Spanning subgraph
Vertice set is equal. V(S)=V(G)
Improper subgraph
Every graph is a subset of itself