Cayley's formula provides the number of spanning trees for a complete graph $K_n$. The formula is $n^{n-2}$.
For the given complete graph $K_4$, we have $n=4$. Applying Cayley's formula:
$ \text{Number of spanning trees} = 4^{4-2} = 4^2 = 16 $
Thus, $K_4$ has 16 spanning trees.
The number of spanning trees in a complete bipartite graph $K_{m,n}$ can be calculated using the formula $m^{n-1} n^{m-1}$.
For the given complete bipartite graph $K_{2,2}$, we have $m=2$ and $n=2$. Applying the formula:
$ \text{Number of spanning trees} = 2^{2-1} \times 2^{2-1} = 2^1 \times 2^1 = 2 \times 2 = 4 $
Alternatively, note that $K_{2,2}$ is the same as the cycle graph $C_4$. A cycle graph $C_n$ has $n$ spanning trees. For $C_4$, this means 4 spanning trees.
The calculation shows that $K_4$ has 16 spanning trees and $K_{2,2}$ has 4 spanning trees.
Therefore, the counts are 16 and 4, respectively.
A principal node is a
Which of the following statement(s) is/are correct regarding about the undirected graph?
I. Number of odd degree vertices is even.
II. Sum of degrees of all vertices is even.
Let $G(V, E)$ be an undirected and unweighted graph with 100 vertices. Let $d(u, v)$ denote the number of edges in a shortest path between vertices $u$ and $v$ in $V$. Let the maximum value of $d(u, v)$, $u, v \in V$ such that $u \neq v$, be 30. Let T be any breadth-first-search tree of G. Which ONE of the given options is CORRECT for every such graph G?