Let, G = (V, E) be a graph. Define ξ(G)=∑did×d,whereid is the number of vertices of degree d in G. If S and T are two different trees with ξ(S)=ξ(T),then
A
|S| = 2|T|
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
|S| = |T| - 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
|S| = |T|
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
|S| = |T| + 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C |S| = |T| Given, ξ(G)=∑did×d= Sum of degrees
By handshaking theorem, ξ(G)=2|EG|where,|EG| is the number of edges in G.
If Sand T are two trees with ξ(S)=ξ(T).
⇒2|ES|=2|ET|
⇒|ES|=|ET|
In a tree, |ES|=|S|−1and|ET|=|T|−1
Where |S|is number of vertices of tree S and |T| is number of veritces of tree T.