Question

Consider a complete graph KnK_n with nn vertices (n>4n > 4). Note that multiple spanning trees can be constructed over KnK_n. Each of these spanning trees is represented as a set of edges. The Jaccard coefficient between any two sets is defined as the ratio of the size of the intersection of the two sets to the size of the union of the two sets.

Which one of the following options gives the lowest possible value for the Jaccard coefficient between any two spanning trees of KnK_n?

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2026 answer key

Solution

Check whether KnK_n (n>4n > 4) contains two edge-disjoint spanning trees.

Every spanning tree of KnK_n has n−1n - 1 edges. For any n≥4n \ge 4, the complete graph KnK_n has (n2)=n(n−1)2≥2(n−1)\binom{n}{2} = \frac{n(n-1)}{2} \ge 2(n-1) edges and can be decomposed into ⌊n/2⌋≥2\lfloor n/2 \rfloor \ge 2 edge-disjoint spanning paths (Hamiltonian paths). Since two edge-disjoint spanning trees T1T_1 and T2T_2 exist in KnK_n for all n>4n > 4, their intersection is empty (∣T1∩T2∣=0|T_1 \cap T_2| = 0). Thus the minimum Jaccard coefficient is:

∣T1∩T2∣∣T1∪T2∣=02n−2=0\frac{|T_1 \cap T_2|}{|T_1 \cup T_2|} = \frac{0}{2n - 2} = 0
Final answer

Option (C)

Common trap

Assuming any two spanning trees of KnK_n must share at least one edge.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
Question
36 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.