GATE / CS ARCHIVE

GATE CSE 2004 / QUESTION 76

Bound a matching by a row-column cover

Discrete Mathematics · Graph Theory · Full GATE CSE 2004 paper

GATE 2004, Q76 2 marks · MCQ
Report issue

Graph Theory

Question 76, GATE 2004: All nonzero entries of an M×N matrix are covered by the union of a specified a rows and b columns. What universal upper bound holds on the number of nonzero entries that can be selected with no two in the same row or column?
Options:
(A) ≤a+b
(B) ≤max(a,b)
(C) ≤min(M−a,N−b)
(D) ≤min(a,b)
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Treat each nonzero entry as an edge from its row vertex to its column vertex. The stated a rows together with b columns cover all such edges.

2. Any selection with no two entries in the same row or column is a matching. Each chosen entry must use at least one of the a+b covering vertices, and no covering vertex can serve two chosen entries.

3. Consequently the selection has at most a+b entries, A. The bound can be attained with edges using distinct other endpoints; it need not equal the actual maximum.

4. Teaching check: The covering rows and columns form a vertex cover in a bipartite graph. A matching cannot reuse any covering vertex, so its size is at most the cover size. This does not require invoking the stronger theorem equating maximum matching and minimum cover.

Original paper, page 11