Tree characterizations and structural checks
A tree is an undirected graph that is connected and acyclic. If a tree has n vertices, it has exactly n−1 edges. There is a unique simple path between every pair of vertices: two distinct simple paths would combine to form a cycle.
A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.
These characterizations are useful checks. A connected graph with n−1 edges is a tree, and an acyclic graph with n−1 edges is also a tree.
Removing any edge from a tree disconnects it; adding any new edge between existing vertices creates exactly one cycle. Rooting or traversing a tree is an additional convention, not part of the basic unrooted definition.
A connected undirected graph has 12 vertices and 11 edges. What follows?
A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
An undirected acyclic graph has 9 vertices and 3 connected components. How many edges does it have? Explain the rule used.
A five-vertex example of an undirected tree; the labels identify vertices only and are not answer keys.