A tree is a nonempty connected graph with no graph cycle. A leaf of a tree is a vertex of vertex degree one. As usual in this finite graph theory problem, trees are finite; the assertion would fail for a doubly infinite graph path.
Take a longest path in a tree with at least two vertices. Connectedness gives . If had a neighbour outside this graph path, the path could be extended, contradicting maximal length. If it had a neighbour with , that edge together with the segment would make a graph cycle. Thus its only neighbour is , and it is a leaf of a tree. The same argument at the other end makes a second, distinct leaf of a tree. Hence
Articles by others on the same topic
There are currently no matching articles.