The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
62 views
Prove that every graph with n vertices and k components has atleast n-k edges.
in Graph Theory by Loyal (5.5k points)
recategorized by | 62 views
0

 

from 13minutes onwards

1 Answer

+1 vote
Best answer

let there are 'n' nodes and k connected components.

let component1 have n1 vertices, and component2 have n2 vertices, and ...componentk have nk vertices

∴ n1+n2+...nk = n

we know that, minimum no.of edges requires to a connected graph with n vertices = n-1

if component1 have n1 vertices ( and note that each component is connected. ) then minimum edges possible  = n1-1

if component2 have n2 vertices then minimum edges possible  = n2-1

.

.

.

if componentk have nk vertices then minimum edges possible  = nk-1

 

total edges in the graph ( minimum ) = $\sum_{i=1}^{k} Edges\: in\: Component_{i}$ = (n1-1) + (n2-1) + .... +(nk-1) = (n1+n2+...+nk) - (1+1+....+1) = n - k

by Veteran (63.4k points)
selected by
0
@shaikh sir, i edited the question now ,

Nice explained

Related questions

0 votes
1 answer
1
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
50,362 questions
55,788 answers
192,413 comments
90,923 users