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 ?
View worked solution
Answer: D
Let be any spanning tree of . By the given condition, its weight must be even.
For any cycle in , we can find a spanning tree that contains all edges of except for one edge . For any other edge (where ), the subgraph is also a spanning tree of , meaning its weight must also be even.
The relationship between the weights of these two spanning trees is: Since both and are even, their difference must also be even: Since this holds for any choice of , all edges in the cycle must have the same parity. Thus, either all edges in have even weight, or all edges in have odd weight. This makes Option D correct.
Counterexamples for other options:
- A & B: Let be a tree with edge weights . The only spanning tree is itself with an even weight of . Here, some edges are odd and some are even, disproving both A and B.
- C: Let be a cycle of length 3 with edge weights . Every spanning tree has weight (even), but the cycle contains odd-weighted edges, disproving C.
Free practice · Your answers on this page are not saved.
