Tree (graph theory)

Revision as of 21:15, 4 July 2024 by Johnxyz1 (talk | contribs) (tag as stub; add fact)

A tree is an undirected graph which is both connected and acyclic. Equivalently, a tree is a graph $G=(V,E)$ such that for any two vertices $u, v \in V$ with $u \neq v$, there is exactly one path connecting $u$ and $v$ in $G$. Every tree that has $|V|=n$ vertices has exactly $n-1$ edges.

The converse is also true: an undirected and connected graph with $n$ vertices and $n-1$ edges is a tree.

This article is a stub. Help us out by expanding it.