Skip to main content

GATE CSE 2024Graph Theory › Graph Connectivity & Degree SequencesVerified

GATE CSE 2024 PYQ: Let G \text{G} G be an undirected connected graph in which every edge has a positive integer weight. Suppose…

Let G\text{G} be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in G\text{G} has even weight. Which of the following statements is/are TRUE for every such graph G\text{G}?

  1. A
    All edges in G\text{G} have even weight
  2. B
    All edges in G\text{G} have even weight OR\mathbf{O R} all edges in G\text{G} have odd weight
  3. C
    In each cycle C\text{C} in G\text{G}, all edges in C\text{C} have even weight
  4. D
    In each cycle C\text{C} in G\text{G}, either all edges in C\text{C} have even weight OR\text{OR} all edges in C\text{C} have odd weight
    Correct answer

Answer

(D) In each cycle C \text{C} C in G \text{G} G , either all edges in C \text{C} C have even weight OR \text{OR} OR all edges in C \text{C} C have odd weight

Approach

Work modulo 2. If every spanning tree has even weight, then the parity of an edge can only change if some cycle contains a parity mismatch. A standard spanning-tree exchange argument shows all edges on any cycle must have the same parity.

Only statement D holds. The spanning-tree exchange argument forces every cycle to be parity-uniform, while mixed graphs can still satisfy the condition globally, as shown by two parity-uniform triangles sharing a vertex.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.