1 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? $P=5, Q=2$ $P=4, Q=2$ $P=3, Q=2$ $P=5, Q=3$ Graph Theory tbb-mockgate-4 discrete-mathematics graph-theory graph-connectivity + – Bikram 1.3k views answer comment Share Follow Print See all 5 Comments 5 5 Comments reply Show 2 previous comments akash.dinkar12 commented Aug 5, 2017 i edited by akash.dinkar12 Aug 5, 2017 reply Follow flag @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 replyShare Bikram commented Aug 7, 2017 reply Follow flag @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 replyShare akash.dinkar12 commented Aug 7, 2017 reply Follow flag @Bikram sir always welcome!!!! 0 0 replyShare Please log in or register to add a comment.
Best answer 4 4 votes Min number of components =2 Max number of components =3 akash.dinkar12 answered Aug 5, 2017 • selected Aug 7, 2017 by Bikram akash.dinkar12 comment Share Follow 0 reply Please log in or register to add a comment.
1 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 Bikram answered May 14, 2017 • edited Aug 7, 2017 by Bikram Bikram comment Share Follow 0 reply Please log in or register to add a comment.