\(\DeclarePairedDelimiterX{\Set}[2]{\{}{\}}{#1 \nonscript\;\delimsize\vert\nonscript\; #2}\) \( \DeclarePairedDelimiter{\set}{\{}{\}}\) \( \DeclarePairedDelimiter{\parens}{\left(}{\right)}\) \(\DeclarePairedDelimiterX{\innerproduct}[1]{\langle}{\rangle}{#1}\) \(\newcommand{\ip}[1]{\innerproduct{#1}}\) \(\newcommand{\bmat}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\barray}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\mat}[1]{\begin{matrix}#1\end{matrix}}\) \(\newcommand{\pmat}[1]{\begin{pmatrix}#1\end{pmatrix}}\) \(\newcommand{\mathword}[1]{\mathop{\textup{#1}}}\)
Needs:
Undirected Paths
Needed by:
Chordal Graphs
Rooted Trees
Spanning Trees
Links:
Sheet PDF
Graph PDF

Trees

Definition

An undirected graph is a tree if it is connected and acyclic. An undirected graph is a forest if it is acyclic. Each connected component of a forest is a tree, motivating the definition.

Properties

There is a unique path between any two vertices of a tree.
Such a path exists because the tree is connected. Such a path is unique because the existence of two separate paths would create a cycle.

Distance

The distance between two vertices $v$ and $w$ in a tree is the length of the unique path connnecting $v$ and $w$. Recall that the length of a path is the number of edges, or one fewer than the number of vertices. If $v$ and $w$ are adjacent in the tree, then there distance is 1.

Copyright © 2023 The Bourbaki Authors — All rights reserved — Version 13a6779cc About Show the old page view