The number of spanning trees in a complete graph of 4 vertices labelled and is _________.
GATE CSE 2024Graph Theory › Graph Connectivity & Degree SequencesVerified
GATE CSE 2024 PYQ: The number of spanning trees in a complete graph of 4 4 4 vertices labelled A, B, C, \text{A, B, C,} A, B,…
Answer
16
Approach
The given graph is a complete labeled graph on 4 vertices, i.e. $K_4$. The number of spanning trees of a complete labeled graph $K_n$ is given by Cayley's formula $n^{n-2}$. Substituting $n=4$ gives $4^{4-2}=4^2=16$.
A complete graph with 4 labeled vertices has exactly $4^{4-2}=16$ spanning trees by Cayley's formula. All community answers agree on 16, and there is no contradictory evidence.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.