Tree equivalences
All equivalences below use finite simple graphs with at least one vertex. Keep connectedness or acyclicity when applying the edge count
- Tree convention A tree is a nonempty finite connected acyclic simple graph. The one-vertex zero-edge graph is a tree
- Edge count A tree on n vertices has n−1 edges; this is a theorem, not the definition
- Forest count A forest with n vertices and c components has n−c edges. Each component is a tree
- Unique path A graph is a tree exactly when each pair of distinct vertices has exactly one simple path between them
- Count equivalences For a nonempty finite simple graph: connected plus n−1 edges, or acyclic plus n−1 edges, is equivalent to being a tree. The edge count alone is insufficient
- Spanning tree A spanning tree is a tree subgraph containing every parent vertex. Here only unweighted recognition is taught; optimisation and weighted length are later tasks
Worked example
An acyclic simple graph has nine vertices and six edges. How many components does it have, and is it a tree?
- \(\displaystyle e=n-c\)The acyclic hypothesis makes the graph a forest, so the proved component formula applies
- \(\displaystyle 6=9-c,\quad c=3\)There are three components
- \(\displaystyle c\ne1\)It is not connected, so it is not a tree
Common mistakes
Difficulty levels
Questions about this topic
Why does a longest path end at a leaf in a tree?+
An extra endpoint neighbour either extends the path or closes a cycle. Maximal length and acyclicity rule out both possibilities
Does a forest have n−1 edges?+
Only when it has one component. In general its edge count is n−c, where c includes isolated-vertex components
Is the one-vertex graph a tree?+
Yes under the stated nonempty connected acyclic convention. Its edge count is zero
Does a correct tree choice demonstrate proof attainment?+
No. Candidate recognition and numeric checks are distinct from the complete written proof, which is ungraded
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, Specialist Mathematics, chapter 2: Graph theory