Read this lesson as text
Characterizations of Trees
Graph Theory · Axiom Academy
LESSON Characterizations of Trees Exploring six equivalent definitions of trees in graph theory 1. Standard Definition: Connected and Acyclic The classical definition of a tree is a graph that is both connected (there exists a path between any two vertices) and acyclic (contains no cycles). 2. Connected with Exactly n-1 Edges A connected graph on n vertices is a tree if and only if it has exactly n-1 edges. This is the minimum number of edges needed to keep n vertices connected. Why this works: If we have fewer than n-1 edges, the graph cannot be connected. If we have more than n-1 edges, we must have a cycle. 3. Acyclic with Exactly n-1 Edges An acyclic graph on n vertices is a tree if and only if it has exactly n-1 edges. This ensures the graph is not only cycle-free but also connected. Key insight: A forest (acyclic graph) with k connected components and n vertices has n-k edges. When k=1 (connected), we get exactly n-1 edges. 4. Unique Path Between Every Pair of Vertices A graph is a tree if and only if there exists a unique path between every pair of vertices. This combines connectivity (at least one path) with acyclicity (at most one path). Proof sketch: If there were two different paths from u to v, their union would contain a cycle. If there were no path, the graph wouldn't be connected. A graph is a tree if and only if it is connected, but removing any edge disconnects it. This characterizes trees as graphs that are "just barely" connected.
This is the written version of the interactive lesson above. See the full Graph Theory course.