355 views
1 votes
1 votes

What is order means here and how to solve this?

1 Answer

Best answer
4 votes
4 votes

Order means number of vertices in a graph and size means number of edges in a graph.

So we have number of vertices  =   n

Let number of vertices of degree 3  = x

  So number of vertices of degree 1  =  n - x

Also as the graph given is a tree and we know :

In tree , number of edges = number of vertices - 1

Now applying handshaking lemma , we have :

         Sum of degree of vertices   =   2 * Number of edges

 ==>  3x + (n - x)                         =   2 * (n - 1)   =   2 n - 2

 ==>  2x + n                                =   2n - 2

 ==>  x                                        =   (n-2) / 2

 Hence number of vertices of degree 3  =  x   =   (n-2) / 2

selected by

Related questions

2 votes
2 votes
0 answers
1
Niharika 1 asked Jan 25, 2018
219 views
how they are drawing DAG.Can someone explain?
0 votes
0 votes
0 answers
2
Niharika 1 asked Oct 29, 2017
206 views
I checked with handshaking lemma I got 3 are not trees. I added all the degree sequence and equalized with 2* no of vertices -1 because if it is tree no of edges = no of ...
0 votes
0 votes
1 answer
3
Niharika 1 asked Oct 29, 2017
460 views
Answer is c right and it is bipartite graph?
1 votes
1 votes
1 answer
4
Niharika 1 asked Oct 28, 2017
591 views
If they asked maximum independent set of complement bipartite graph then answer will be 2 right?? And for bipartite graph it will be max(m,n)