GateAI
Minimum Spanning Trees

GATE CSE 2021 Set 2 · Q1

MCQ1 markMedium

Time

Let GG be a connected undirected weighted graph. Consider the following two statements. S1S_1 : There exists a minimum weight edge in GG which is present in every minimum spanning tree of GG. S2S_2 : If every edge in GG has distinct weight, then GG has a unique minimum spanning tree. Which one of the following options is correct?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) S1 is false and S2 is true.

Minimum Spanning Trees

Let us analyze both statements:

  1. Statement S1S_1: *"There exists a minimum weight edge in GG which is present in every minimum spanning tree of GG."*

    • Consider a cycle graph C3C_3 with 3 vertices u,v,wu, v, w and edges (u,v),(v,w),(w,u)(u,v), (v,w), (w,u), all having the same minimum weight 11.

    • Any spanning tree of this graph consists of any 2 of the 3 edges, yielding (32)=3\binom{3}{2} = 3 distinct Minimum Spanning Trees (MSTs): T1={(u,v),(v,w)}T_1 = \{(u,v), (v,w)\}, T2={(v,w),(w,u)}T_2 = \{(v,w), (w,u)\}, and T3={(u,v),(w,u)}T_3 = \{(u,v), (w,u)\}.

    • No single edge is present in all three MSTs. Hence, S1S_1 is false [cite: 1].

  2. Statement S2S_2: *"If every edge in GG has distinct weight, then GG has a unique minimum spanning tree."*

    • By standard graph theory (the Cut and Cycle properties), if all edge weights in a connected undirected graph are strictly distinct, the minimum spanning tree is unique [cite: 1]. Hence, S2S_2 is true [cite: 1].

Therefore, S1S_1 is false and S2S_2 is true, making (C) the correct option.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Minimum Spanning Trees previous year question is Q1 of the GATE CSE 2021 Set 2 paper. Find more GATE CSE PYQs on Minimum Spanning Trees in Algorithms, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Minimum Spanning Trees PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Minimum Spanning Trees in GATE CSE

Minimum Spanning Trees has 13 GATE CSE PYQs across 9 papers from 2011 to 2026. 2 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2021 Set 2.

How GATE tests Minimum Spanning Trees

More from GATE CSE 2021 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2021 Set 2 · Q1 · MCQ

Let G be a connected undirected weighted graph. Consider the following two statements. S1 : There exists a minimum weight edge in G which is present in every minimum spanning tree of G. S2 : If every edge in G has distinct weight, then G has a unique minimum spanning tree. Which one of the following options is correct?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.