Question
The maximum number of edges in a bipartite graph on 12 vertices is _____.
Official answer and solution
- Official answer
- 36
- From
- Official GATE 2014 answer key
Solution
Maximize the product of the partition sizes in a bipartite graph on 12 vertices.
-
Let and be the two disjoint independent sets of vertices in the bipartite graph, with and .
-
Given total vertices .
-
The maximum possible number of edges occurs in the complete bipartite graph , where every vertex in is connected to every vertex in :
-
For a fixed sum , the product is maximized when the two parts are as equal as possible:
-
The maximum number of edges is:
36
Using the complete graph edge formula 12 * 11 / 2 = 66, ignoring the bipartite restriction.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 2
- Question
- 13 of 65, printed as CS Q.3
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.