Show the worked solutionIf a simple graph on \(n\) vertices is disconnected, split it into a component with \(k\) vertices and the rest with \(n-k\) vertices (\(1\le k\le n-1\)); there are no edges between them, so\[|E|\le\binom k2+\binom{n-k}2\le\binom{n-1}2=\frac{(n-1)(n-2)}{2}.\]Hence a simple graph with more than \(\frac{(n-1)(n-2)}2\) edges must be connected. Exactly that many edges is not enough: \(K_{n-1}\) plus an isolated vertex is disconnected.Answer: B
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com