Tree Graph
Definition 1
A tree is a connected graph that does not contain any cycles.
Description
The concept of trees is commonly seen in areas such as data structures in computer science. For those in STEM fields who have even a cursory involvement with computers, they may have heard of heap sorting. The heap mentioned here is indeed a type of tree. The union of trees is intuitively called a Forest. In the case of a directed graph, a node with an input degree of is called the Root, and a node with an output degree of is called the Leaf. Trees may seem like a familiar and easily applicable concept, however, in pure mathematics, they reveal their complex true selves.
Theorem
The following are equivalent conditions for a graph to be a tree.
Let be a graph with vertices. The following statements are equivalent:
- (i): is a tree.
- (ii): does not have cycles and has edges.
- (iii): is a connected graph and has edges.
- (iv): Every edge in is a bridge.
- (v): There is only one path connecting any two vertices in .
- (vi): does not have cycles but adding an edge would result in exactly one cycle forming.
- An edge is called a bridge if its removal would disconnect the graph.
Proof
Since does not contain any cycles, removing any edge results in two trees. Inductively repeating this process shows that each tree will have exactly one fewer edge than the number of vertices. Conversely, the tree must have edges.
Suppose is not connected. Each component of does not have cycles and has fewer edges than vertices. However, this contradicts the premise that there are edges, thus must be connected.
Edges of a disconnected graph: Let a simple graph have vertices. If has vertices, then the number of edges satisfies the following:
Removing any edge from leaves the number of vertices as and the number of edges as , thus , indicating that the number of components increases with the removal of any edge, meaning all edges in are bridges.
As is a connected graph, any pair of vertices belong to at least one path. If a pair of vertices belongs to two paths, this would form a cycle, contradicting the premise that all edges are bridges.
If already included a cycle, then any two vertices on that cycle would belong to at least two paths, contradicting the premise. If an edge is added to , the vertices connected by are already connected, thus forming a cycle. Therefore, adding an edge to results in exactly one cycle forming.
If is not a connected graph, adding edges to connect each component would not produce a cycle. However, this contradicts the premise, so must be connected and, given it does not contain cycles, is a tree.
■
Wilson. (1970). Introduction to Graph Theory: p43. ↩︎