• retagged by
1,172 views
2 2 votes

Let $G$ be a simple graph on $n$ vertices.

  1. Prove that if $G$ has more than $\binom{n-1}{2}$ edges then $G$ is connected.
  2. For every $n>2$, find a graph $G_{n}$ which has exactly $n$ vertices and $\binom{n-1}{2}$ edges, and is not connected.

2 Answers

2 2 votes
Part (a)

Let's assume the graph has $n$ vertices.

We take $n-1$ vertices and form a complete graph with it .

So the situation can be imagined as only one vertex is not touched by any edge and other $n-1$ vertices are connected in the best possible way .

If we add one more edge , this edge cannot be within the chosen $n-1$ vertices otherwise the graph won't be simple anymore , and adding an edge to the isolated vertex will connect it.

Thus we get a connected connected graph here.

 

Part (b)

We take $n=3$

A-B C and we get a disconnected graph here.
Position:
Show:

Related questions

1 1 vote
1 1 answer
777
777 views
gatecse asked Sep 13, 2019
777 views
Let $G=(V,E)$ be an undirected graph and $V=\{1,2,\cdots,n\}.$ The input graph is given to you by a $0-1$ matrix $A$ of size $n\times n$ as follows. For any $1\leq i,j\...
2 2 votes
1 1 answer
1.3k
1.3k views
gatecse asked Sep 13, 2019
1,276 views
Your college has sent a contingent to take part in a cultural festival at a neighbouring institution. Several team events are part of the programme. Each event takes plac...
7 7 votes
3 3 answers
1.4k
1.4k views
gatecse asked Sep 13, 2019
1,354 views
Let $G=(V, E)$ be an undirected simple graph, and $s$ be a designated vertex in $G.$ For each $v\in V,$ let $d(v)$ be the length of a shortest path between $s$ and $v.$ ...
1 1 vote
2 2 answers
1.0k
1.0k views
gatecse asked Sep 13, 2019
1,037 views
Consider the following non-deterministic finite automata(NFA) $A_{1}$ and $A_{2}:$Give an example of a word which is accepted by both $A_{1}$ and $A_{2}.$Give an example ...