• retagged by
2,441 views
18 18 votes

For which of the following does there exist a simple undirected graph $\text{G = (V, E)}$ satisfying the specified conditions?

  1. A tree with $9$ vertices and the sum of the degrees of all the vertices is $18.$
  2. A graph with $5$ components, $12$ vertices and $7$ edges.
  3. A graph with $5$ components, $30$ vertices and $24$ edges.
  4. A graph with $9$ vertices, $9$ edges, and no cycles.

3 Answers

14 14 votes
A: Not Possible
A tree with $n$ vertices has $n-1$ edges, hence, the sum of the degrees of all the vertices is $2(n-1).$
https://youtu.be/JFoMdTRNr3w?t=751

B: Possible
Make a forest with $5$ components (Any forest will work)

C: Not possible
The minimum number of edges in a simple graph with $n$ vertices and $k$ connected components is $n-k.$
https://youtu.be/JFoMdTRNr3w?t=3842  

D: Not possible
https://youtu.be/JFoMdTRNr3w?t=875
The maximum number of edges in a simple graph with $n$ vertices and $k$ connected components is $n-1.$
https://youtu.be/JFoMdTRNr3w?t=310
• edited by
5 5 votes

You can verify all the options using this theorem

Theorem: A simple graph with n vertices and k components can have 

n-k <= no.of edges <= ( n-k)(n-k+1)/2

Answer:
Position:
Show:

Related questions

23 23 votes
4 4 answers
2.3k
2.3k views
GO Classes asked Jan 19, 2023
2,254 views
Suppose that you are at a party. Any two people either have met (they are acquaintances) or have never met (they are strangers). Which of the following must be true at a ...
10 10 votes
3 3 answers
2.0k
2.0k views
gatecse asked Feb 23
1,966 views
Let $G(V, E)$ be a simple, undirected graph. A vertex cover of $G$ is a subset $V^{\prime} \subseteq V$ such that for every $(u, v) \in E, u \in V^{\prime}$ or $v \in V^{...