in Graph Theory retagged by
474 views
1 vote
1 vote

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$
in Graph Theory retagged by
by
474 views

4 Comments

edited by
@Bikram sir

I agree with ur proof but plz try to understand what I said. If I want to make a complete graph of 3 Edges then at least I need three vertices because i can not make a complete graph of 3 edges in 1 or 2 vertices, right!!

But if i take 3 vertices in order to make complete graph then this will act as one component and remaining two vertices will act as isolated vertices so overall maximum components must be 3, how 4 are coming????
1
1
@akash

yes, i understand, your assumption is correct.

overall maximum components must be 3 , it can not be 4 as to become 4 components we need to fit 3 edges in between 2 nodes , that can not be possible ...

Thanks for this correction.
0
0
@Bikram sir

always welcome!!!!
0
0

2 Answers

3 votes
3 votes
Best answer

Min number of components =2

Max number of components =3

selected by
1 vote
1 vote
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

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true