in Graph Theory edited by
41,817 views
58 votes
58 votes

What is the size of the smallest $\textsf{MIS}$ (Maximal Independent Set) of a chain of nine nodes?

  1. $5$
  2. $4$
  3. $3$
  4. $2$
in Graph Theory edited by
41.8k views

4 Comments

no
0
0
you cant take 4,8 as maximal becoz adding 1 or 6 will still provide a maximal independent set
0
0
These questions should be in graph theory and not in DS.
2
2

7 Answers

52 votes
52 votes
Best answer

Answer: C

$1-2-3-4-5-6-7-8-9$

$(2,5,8)$ is the maximal independent set for a chain of $9$ nodes. If we add any other node to the set then it will not be MIS.

edited by

4 Comments

She is the best in Graph theory
0
0
They have asked for chain …,  otherwise we can also go with 2 nodes only …?                                               please exaplined ..
0
0
Think the best, forget the rest
0
0
80 votes
80 votes

1--2--3--4--5--6--7--8--9

MIS of size 5 : 1,3,5,7,9

MIS os size 4 : 2,4,6,8

MIS of size 3 : 2,5,8

MIS is independent set in which If we add any other node (outside MIS) to the set then it will  be no more MIS.

so smallest size of MIS is 3   Option C

4 Comments

@AKASH G more can exist 

but here example which u have given, can't take that, as we can include here 9 too,  so size will become 4 not 3

0
0

If you have somemore question related to this or resources please add . 

@MANSI_SOMANI got it 👍 thanks! 

1
1
How set {1,9} will not be a MIS for the above sequence?
0
0
10 votes
10 votes

If we try to add any vertext in set {2,5,8} then that vertex will be adjacent to 2 or 5 or 8 like if we want to add 4 that will be adjacent to 5 so independent set property will be lost.We cant take 2 vertices as Maximal property will not hold, we have to make it mamximum in such a way that the no of vertices will be minimum to make it MIS.1,4,7 is also a MIS

so C) is the ans

edited by

3 Comments

why cant we take only 2 vertices only... i mean just 2 and 7 or 2 and 9 ...?
0
0
@pawan Because then we can include other vertices, so it's not MIS.
1
1
wrong in {1,4,7} we can add 9 to make it mis.
1
1
7 votes
7 votes

A set of vertices is called independent set such that no two vertices in the set are adjacent. A maximal independent set (MIS) is an independent set which is not subset of any other independent set.

The question is about smallest MIS. We can see in below diagram, the three highlighted vertices (2nd, 5th and 8th) form a maximal independent set (not subset of any other MIS) and smallest MIS.

0----0----0----0----0----0----0----0----0

4 Comments

why cant we take only 2 vertices only... i mean just 2 and 7 or 2 and 9 ...?
1
1
here maximal independent set referes to smallest independent set if you add any other vertex to it it would no longer be independent set
2
2
here we cant add (2,7) or (2,9) because in case of (2,7) we can add 9 which is not adjacent so it will not become MIS anymore and in case of (2,9( also we can add 5 or 7 so it will not be MIS.
1
1
I got the answer after thinking about this point, MIS means if you add any(single) node, it should be no longer independent set(IS) (should break IS rule), but in case of 2 vertices, by adding a node IS rule is not breaking.
0
0
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