Tree1_E11
Tree1_E11
Module IV
Trees, Fundamental circuits and Cut sets
Trees, Properties of Trees, Distance and Centers in Tree, Rooted and Binary Trees, Spanning Tree, Spanning
Trees in a Weighted Graph. Cut Sets, Properties of Cut Set, Fundamental Circuits and Cut Sets
_____________________________________________________
Trees, Properties of Trees, Rooted Tree
Definition 1. (Tree)
A tree is a connected undirected graph with no simple circuit.
A graph, in which each connected component is a tree, is called a forest.
A vertex of degree one in a tree is called a leaf, or a terminal vertex.
A vertex of degree greater than one in a tree is called an interior vertex.
Because a tree cannot have a simple circuit, a tree cannot contain multiple edges or
loops. Therefore any tree must be a simple graph.
Property 1. An undirected graph is a tree if and only if there is a unique simple path between
any two of its vertices.
(⇐) Let a unique simple path exists between any two vertices of in the graph 𝑇.
Then, graph 𝑇 is connected.
If possible, let 𝑇 contains a circuit. That means there is a pair of vertices 𝑣𝑖 and 𝑣𝑗
between which two distinct path exist, which is against the data.
Hence, graph 𝑇 cannot have a circuit, and so 𝑇 is a tree. ∎
Proof. The property is true for 𝑛 = 1, 2, 3 as seen from the figure below:
Let us now use mathematical induction to prove the property completely. Accordingly, let the
property be true for all trees with less than 𝑛 vertices.
Let us consider a tree 𝑇 with 𝑛 vertices. Let 𝑒𝑘 be the edge connecting the vertices 𝑣𝑖 and 𝑣𝑗 .
Then, by property (1), 𝑒𝑘 is the only path between 𝑣𝑖 and 𝑣𝑗 .
If we delete the edge 𝑒𝑘 from 𝑇, then 𝑇 becomes disconnected and (𝑇 − 𝑒𝑘 ) consists of exactly
two components, say 𝑇1 and 𝑇2 which are connected.
Since T did not contain any circuit, 𝑇1 and 𝑇2 also would not have circuits.
So, both 𝑇1 and 𝑇2 are trees, each one having less than 𝑛 vertices, say 𝑟 and (𝑛 − 𝑟) respectively.
∴ By induction assumption, 𝑇1 has (𝑟 − 1) edges, and 𝑇2 has (𝑛 − 𝑟 − 1) edges.
⇒ Number of edges in tree T
= Number of edges in 𝑇1 + Number of edges in 𝑇2 + Nubmer of deleted edges
= (𝑟 − 1) + (𝑛 − 𝑟 − 1) + 1
=𝑛−1
Hence, a tree with 𝑛 vertices has (𝑛 − 1) edges. ∎
Solution.
The parent of c is b. The children of g are h, i, and j . The siblings of h are i and j . The ancestors
of e are c, b, and a. The descendants of b are c, d, and e. The internal vertices are a, b, c, g, h, and
j . The leaves are d, e, f , i, k, l, and m. The subtree rooted at g is shown below.
2. Show that a simple graph is a tree if and only if it is connected but the deletion of any of
its edges produces a graph that is not connected.
3. Let G be a simple graph with n vertices. Show that G is a tree if and only if it is connected
and has (n – 1) edges.
4. Let G be a simple graph with n vertices. Show that G is a tree if and only if G has no simple
circuits and has (n – 1) edges.
5. Answer these questions about the rooted tree illustrated.
***