Skip to content
Official PYQ · 2004

GATE CS 2004 Q79 — Graphs: Connectivity, Matching, Colouring

Explain with AI

How many graphs on nn labeled vertices exist which have at least (n2−3n)2\frac{(n^2 - 3n)}{ 2} edges ?

Choose one option
View worked solution

Answer: D

To find the number of simple graphs on nn labeled vertices with at least n2−3n2\frac{n^2 - 3n}{2} edges, we can analyze the total possible edges and the number of "missing" edges.

Step 1: Find the maximum number of edges
The maximum number of edges in a simple graph with nn labeled vertices is given by: M=(n2)=n(n−1)2=n2−n2M = \binom{n}{2} = \frac{n(n-1)}{2} = \frac{n^2 - n}{2}

Step 2: Determine the condition on the number of edges
We want the number of edges, ee, to satisfy: e≥n2−3n2e \ge \frac{n^2 - 3n}{2} Since ee cannot exceed the maximum possible edges MM, the range of ee is: n2−3n2≤e≤n2−n2\frac{n^2 - 3n}{2} \le e \le \frac{n^2 - n}{2}

Step 3: Calculate the number of such graphs
The number of ways to choose ee edges out of MM possible edges is (Me)\binom{M}{e}. Summing this over the valid range of ee gives the total number of graphs: Total Graphs=∑e=n2−3n2n2−n2(n2−n2e)\text{Total Graphs} = \sum_{e = \frac{n^2 - 3n}{2}}^{\frac{n^2 - n}{2}} \binom{\frac{n^2 - n}{2}}{e}

Step 4: Simplify using binomial symmetry
Using the identity (Nr)=(NN−r)\binom{N}{r} = \binom{N}{N-r}, we can substitute k=M−ek = M - e, which represents the number of missing edges. Let's find the limits for kk:

  • When e=n2−n2e = \frac{n^2 - n}{2} (maximum edges), the number of missing edges is: k=n2−n2−n2−n2=0k = \frac{n^2 - n}{2} - \frac{n^2 - n}{2} = 0
  • When e=n2−3n2e = \frac{n^2 - 3n}{2} (minimum edges), the number of missing edges is: k=n2−n2−n2−3n2=2n2=nk = \frac{n^2 - n}{2} - \frac{n^2 - 3n}{2} = \frac{2n}{2} = n
Thus, as ee ranges from n2−3n2\frac{n^2 - 3n}{2} to n2−n2\frac{n^2 - n}{2}, the number of missing edges kk ranges from 00 to nn.

Rewriting the summation in terms of kk: Total Graphs=∑k=0n(n2−n2k)\text{Total Graphs} = \sum_{k=0}^{n} \binom{\frac{n^2 - n}{2}}{k}

This matches Option D.

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

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