Skip to content
Official PYQ · 2014

GATE CS 2014 Set 2 Q3 — Graphs: Connectivity, Matching, Colouring

Explain with AI
The maximum number of edges in a bipartite graph on 1212 vertices is____
View worked solution

Answer: 36

A bipartite graph G=(V,E)G = (V, E) is a graph whose vertices can be divided into two disjoint and independent sets V1V_1 and V2V_2 such that every edge connects a vertex in V1V_1 to one in V2V_2.

Let the number of vertices in V1V_1 be n1n_1 and in V2V_2 be n2n_2. We are given the total number of vertices:

n1+n2=12n_1 + n_2 = 12

The maximum number of edges in a bipartite graph with partitions of size n1n_1 and n2n_2 occurs when the graph is a complete bipartite graph Kn1,n2K_{n_1, n_2}. The number of edges in Kn1,n2K_{n_1, n_2} is given by:

E=n1×n2E = n_1 \times n_2

To maximize the product n1×n2n_1 \times n_2 subject to the constraint n1+n2=12n_1 + n_2 = 12, the two parts should be as equal in size as possible:

n1=n2=122=6n_1 = n_2 = \frac{12}{2} = 6

Therefore, the maximum number of edges is:

Emax=6×6=36E_{\text{max}} = 6 \times 6 = 36

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Graphs: Connectivity, Matching, Colouring questions