Let be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in has even weight. Which of the following statements is/are TRUE for every such graph ?
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…
- AAll edges in have even weight
- BAll edges in have even weight all edges in have odd weight
- CIn each cycle in , all edges in have even weight
- DIn each cycle in , either all edges in have even weight all edges in have odd weightCorrect 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.