Processing math: 100%
Rational Solver
+1 vote
18.3k views
Suppose the maximum degree of a tree T is 4. Let ni(T) denote the number of vertices having degree i. If n1(T)=20 and n2(T)=n3(T)=n4(T), find the number of vertices of T.
in Discrete Mathematics by Professor
retagged by | 18.3k views

1 Answer

0 votes
Best answer

Recall: We know that sum of all degree of vertices in a simple graph G is twice its number of edge. Let E(G) be the edge set of G and V(G) be the vertex set of G. Then

vGd(v)=2|E(G)|



Let T be a tree on n vertices. By the property of tree, we know that number of edge in T is n1.  It follows that

n1(T)×1+n2(T)×2+n3(T)×3+n4(T)×4=2|E(T)|=2(n1)

Further note that

n1(T)+n2(T)+n3(T)+n4(T)=n

By considering n2(T)=n3(T)=n4(T)=k and simplifying  the above two equation yields us

20+2k+3k+4k=2(n1)20+9k=2(20+3k1)k=6

Therefore, total number of vertices in the tree is

n1(T)+n2(T)+n3(T)+n4(T)=20+3k=38.

by Professor
Welcome to Rational Solver, where you can ask questions and receive answers from other members of the community.
76 questions
33 answers
2 comments
1,801 users