All Exams Test series for 1 year @ ₹349 only
Question

The number of different spanning trees in complete graph, $K_4$ and bipartite graph, $K_{2, 2}$ have ______ and _______ respectively.

The correct answer is
16, 4

K4 Spanning Trees Calculation

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.

K2,2 Bipartite Graph 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.

Graph Spanning Trees Summary

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.

Was this answer helpful?

Important Questions from Graph Theory

  1. A principal node is a

  2. 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.

  3. 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?

  4. Let $G$ be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant $\alpha$ is added to the weight of every edge.
    Which ONE of the following statements is TRUE about the minimum spanning trees (MSTs) and shortest paths (SPs) in $G$ before and after the edge weight update?
  5. Maintaining a graph in memory by means of its adjacency matrix is known as
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App