GATE / CS ARCHIVE

GATE CSE 2004 / QUESTION 79

Count dense labelled simple graphs

Discrete Mathematics · Graph Theory · Full GATE CSE 2004 paper

GATE 2004, Q79 2 marks · MCQ
Report issue

Graph Theory

Question 79, GATE 2004: How many simple undirected graphs on n labelled vertices have at least (n²−3n)/2 edges? Write N=(n²−n)/2 and C(N,k)=binomial(N,k).
Options:
(A) C(N,N−n)
(B) Σ_(k=0)^(N−n) C(N,k)
(C) C(N,n)
(D) Σ_(k=0)^n C(N,k)
Question 79, GATE 2004: How many simple undirected graphs on n labelled vertices have at least (n²−3n)/2 edges? Write N=(n²−n)/2 and C(N,k)=binomial(N,k).
Options:
(A) C(N,N−n)
(B) Σ_(k=0)^(N−n) C(N,k)
(C) C(N,n)
(D) Σ_(k=0)^n C(N,k)
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. A simple undirected graph on n labelled vertices has N=binomial(n,2) possible edges. The threshold (n²−3n)/2 is N−n.

2. Having at least N−n edges is equivalent to omitting at most n edges. Choose the missing edges: the count is sum from k=0 to n of binomial(N,k), option D, with binomial(N,k)=0 for k>N.

3. This is also sum from j=max(0,N−n) to N of binomial(N,j).

4. Teaching check: Complementing the edge set turns a dense-graph count into a sparse missing-edge count. “At least” requires a sum over several edge counts, whereas one binomial coefficient counts graphs with exactly one edge count. Use zero for binomial terms with impossible k.

Original paper, page 11