retagged by
482 views
1 votes
1 votes

An undirected graph has $5$ nodes and $3$ edges. Let $P$ and $Q$, respectively, be the maximum and minimum number of connected components of the graph.

If the graph has no self-loops and there is at most one edge between any pair of nodes, then which of the following conditions is always TRUE?

  1.  $P=5, Q=2$
  2.  $P=4, Q=2$
  3.  $P=3, Q=2$
  4.  $P=5, Q=3$
retagged by

2 Answers

1 votes
1 votes
A Graph G Containing n vertices and k edges, G will contain atleast n-k components. [ minimum ]
Graph containing n vertices and 0 edges will contain n components.Each time adding an edge will reduce the component by 1.Thus k edge will contain n-k component. This is the minimum number. Just check with by putting n = 3 , k = 1 . There are 2 components , minimum .

and n-i+1 = maximum components ( i must be > 2 )

where i = minimum number of connected component

Reference :
https://math.stackexchange.com/questions/2073995/maximum-number-of-components-in-a-graph-containing-n-vertices-and-k-edges?rq=1
edited by
Answer:

Related questions

1 votes
1 votes
1 answer
2
dd asked Nov 22, 2016
3,182 views
For which values of n are these graphs regular?1. $K_n$2. $C_n$3. $W_n$4. $Q_n$
1 votes
1 votes
1 answer
3
Bikram asked May 14, 2017
276 views
Consider the proposition given below:$\text{Hate} (a, b)$ denotes $a$ hates $b$.What is the correct translation of the below mentioned First Order Logic statement?$\foral...
1 votes
1 votes
1 answer
4
Bikram asked May 14, 2017
453 views
$\left ( G, . \right )$ is a group such that $\left ( x,y \right )^{-1} = x^{-1}y^{-1}, \forall \left ( x,y \right ) \in G$.Here, $G$ is a: Monoid Commutative semi group ...