Worksheet Preview Activity
To get a feel for graphs and the types of questions we want to ask about them, letβs explore four examples of graphs.
The graph is presented as an adjacency list where each vertex gets a list of which other vertices it is adjacent to. The graph is presented as an adjacency matrix where the rows and columns correspond to the vertices and the entries are 1 if the vertices are adjacent and 0 otherwise. Before answering the questions below, it might be helpful to draw a more traditional representation of these graphs.
2.
We call the number of edges incident to a particular vertex (i.e., the number of edges βcoming out ofβ the vertex) the degree of the vertex. A list of the degrees of all the vertices in non-increasing order is called a degree sequence for the graph. Find the degree sequence for each graph.
3.
We often care about paths between vertices in a graph. A graph is connected if there is a path between every pair of vertices. Sometimes there is a path that starts at a vertex and eventually comes back to itself, which is called a cycle.
(a)
Which of the graphs are connected?
(b)
Which of the graphs contain cycles?
(c)
Graphs that are connected and contain no cycles are called trees. For each graph, how many edges must you remove to turn it into a tree? (If it is already a tree, the answer would be 0.)
4.
5.
Suppose we color each vertex of a graph so that adjacent vertices always have different colors. The smallest number of colors needed to do this is called the chromatic number of the graph. Find the chromatic number for each graph.
Note: If the graphs represented friendships between people, then the chromatic number would tell us the minimum number of groups we would need if we wanted to divide up everyone into groups of people who were not yet friends.