Tree Characterizations - Proof
Trees admit multiple equivalent characterizations. We prove that six natural conditions are equivalent, each providing different insights and proof techniques for tree properties.
For a graph with vertices, the following are equivalent:
- is connected and acyclic
- is connected and has edges
- is acyclic and has edges
- is minimally connected
- is maximally acyclic
- Every pair of vertices has a unique path
We prove the cycle and .
(1) (2): We prove by induction on that a connected acyclic graph with vertices has edges.
Base case: gives 0 edges. ✓
Inductive step: Let be connected and acyclic with vertices. Since is connected, every vertex has degree at least 1. By the handshaking lemma, where is the number of edges. If all degrees were at least 2, we'd have , so .
But a connected graph with vertices and at least edges must contain a cycle (by pigeonhole on any spanning tree). This contradicts acyclicity. Therefore, some vertex has degree 1.
Removing and its incident edge yields , which is connected and acyclic with vertices. By induction, has edges. Thus has edges.
(2) (3): Suppose is connected with edges. If contained a cycle , removing any edge from would leave connected (can route around the cycle). This contradicts minimality: a connected graph requires at least edges. Thus is acyclic.
(3) (1): Let be acyclic with vertices and edges. Suppose has connected components, each a tree. If component has vertices, it has edges (by (1)(2) applied to each component). Summing: Thus , so is connected.
(1) (4): Suppose is connected and acyclic. Removing any edge disconnects : otherwise, there would be a path avoiding between 's endpoints, creating a cycle. Thus is minimally connected.
(4) (5): Let be minimally connected. Then is acyclic (else removing an edge from a cycle maintains connectivity). Adding any edge creates exactly one cycle: the existing path from to plus the new edge. Thus is maximally acyclic.
(5) (6): If some pair had no path, adding edge wouldn't create a cycle, contradicting maximality. If some pair had two distinct paths, these paths form a cycle, contradicting acyclicity. Thus every pair has exactly one path.
(6) (1): Unique paths imply connectivity. If a cycle existed, its vertices would have two distinct paths (clockwise and counterclockwise around the cycle), contradicting uniqueness. Thus is connected and acyclic.
These characterizations are fundamental tools. Property (2) gives edge counting arguments, (4) shows trees are critical for connectivity, (5) shows they're extremal for acyclicity, and (6) provides uniqueness for shortest paths and routing algorithms.