• edited by
2,507 views
1 1 vote

An undirected graph is $\text{connected}$ if, for any two vertices $\{u, v\}$ of the graph, there is a path in the graph starting at $u$ and ending at $v$. A tree is a connected, undirected graph that contains no cycle.

  1. A $\text{leaf}$ in a tree is a vertex that has degree $1$. Prove that if $G$ is a tree with at least two vertices then $G$ contains at least two leaves.
  2. A $\text{bipartite graph}$ is one in which the vertex set $V$ can be partitioned into two disjoint sets $V_1$ and $V_2$ so that for every edge $\{u, v\}$, $u$ and $v$ lie in different partitions—that is, $u \in V_1$ and v$ \in V_2$ or vice versa. Prove that if $G$ is a tree with at least two vertices, then $G$ is bipartite.

3 Answers

1 1 vote

$(a)$ Let us assume that G is a tree vertices $\geq$ 2

Trying to prove by contradiction we will assume that G does not contain atleast 2 leaves. Hence in G there are no leaves or 1 leaf.

Then, degree sum of graph $\geq$ $2(n-1) + 1$

or, $\sum_{v = 1}^{n} deg(v) \geq 2n - 1$

By handshaking lemma, 

Number of edges $\geq \large \frac{2n - 1}{2}$

or, 

Number of edges $\geq \large n - \frac{1}{2}$

But we know that maximum edges in a tree with n nodes can be $n-1$.

This means our assumption of of G containing less than 2 leaf nodes is incorrect.


$(b)$ Assuming G is a tree with n vertices with $n \geq 2$

We know that every vertex of a bipartite graph can be partitioned into two disjoint sets $V_{1}$ and $V_{2}$ so that every vertex of $V_{1}$ can be colored with same color and also every vertex of $V_{2}$ can be colored with another color.

Select any vertex $v$ from G. Place the vertices that are an odd distance from $v$ in $V_{1}$ and those that are an even distance from v in $V_{2}$. Clearly any two distinct vertices from $V_{1}$ are not adjacent by an edge, and likewise for $V_{1}$, because trees have no circuits; moreover, $V_{1}$ $V_{2}$ clearly partition the vertex set of the graph into two disjoint subsets. Thus, any tree is bipartite.

• edited by
Position:
Show:

Related questions

2 2 votes
2 2 answers
2.1k
2.1k views
Tesla! asked Feb 4, 2018
2,090 views
Let $G$ be an arbitrary graph on $n$ vertices with $4n − 16$ edges. Consider the following statements:There is a vertex of degree smaller than $8$ in $G$.There is a verte...
2 2 votes
3 3 answers
2.1k
2.1k views
Tesla! asked Feb 5, 2018
2,137 views
In a party there are $2n$ participants, where $n$ is a positive integer. Some participants shake hands with other participants. It is known that there are no three partic...
0 0 votes
2 2 answers
1.5k
1.5k views
Tesla! asked Feb 4, 2018
1,542 views
City authorities are concerned about traffic accidents on major roads. They would like to have ambulances stationed at road intersections to quickly reach the scene of an...
1 1 vote
1 1 answer
1.7k
1.7k views
akash.dinkar12 asked Apr 8, 2019
1,691 views
Show that if the edge set of the graph $G(V,E)$ with $n$ nodes can be partitioned into $2$ trees, then there is at least one vertex of degree less than $4$ in $G$.