734 views
0 votes
0 votes
An Undirected graph G with only one simple path between each pair of vertices has two vertices of degree 4, one vertex of degree 3 and two vertices of degree 2. Number of vertices of degree 1 are _____________ ?

1 Answer

Best answer
5 votes
5 votes

In the question, it is given that: 

An Undirected graph G with only one simple path between each pair of vertices

 This implies that the graph is a tree.

Now,

  • 2 vertices have degree 4.
  • 1 vertex has degree 3.
  • 2 vertices have degree 2.

Let number of vertices of degree 1 be x.

According to Handshaking Lemma,

$\sum_{v\epsilon V}^{}$deg(v) = 2|E|

So, (2*4) + (1*3) + (2*2) + (x*1) = 2[(2+1+2+x)-1] {The graph is a tree, so for 'n' vertices, we have 'n-1' edges}

Solving, we get x=7.

So, 7 vertices have degree 1.

selected by

Related questions

0 votes
0 votes
1 answer
1
Shankar Kakde asked Jan 25, 2019
338 views
The number of labelled subgraph possible for the graph given below are ________.
1 votes
1 votes
1 answer
2
targate2018 asked Apr 7, 2018
1,229 views
The maximum number of edges in a n-node undirected graph WITH self-loops is?
2 votes
2 votes
1 answer
3
GäteMann asked Nov 5, 2017
1,737 views
What are the relevant chapters for GATE from the Graph Theory book by Narsingh Deo?