Prove that a graph G is a tree if and only if for every pair

Prove that a graph G is a tree if and only if for every pair of vertices u, v,
there is exactly one path from u to v.

Solution

G is a graph, in which for every pair of vertices u,v, there is a unique path from u to v.

To prove: G is a tree.

For this, we have to prove:

1. G is connected

and

2. G has no cycle.

Proof of 1: Since for every pair of vertices u and v, there is a path from u to v and (1) is proved.

Proof of 2:

Suppose there is a cycle in G with vertices v1, v2,.., vk and edges v1v2, v2v3,..., vkv1.

Then, there are two paths between v1 and vk: viz., v1, vk and v1,v2,..., vk. This is a contradiction to the statement that between every two vertices there is a unique path connecting them. So, G contains no cycles.

This provesthe theorem.

Prove that a graph G is a tree if and only if for every pair of vertices u, v, there is exactly one path from u to v.SolutionG is a graph, in which for every pa

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site