58 votes 58 votes What is the size of the smallest $\textsf{MIS}$ (Maximal Independent Set) of a chain of nine nodes? $5$ $4$ $3$ $2$ Graph Theory gateit-2008 normal graph-connectivity + – Ishrat Jahan asked Oct 27, 2014 • edited Dec 29, 2017 by kenzou Ishrat Jahan 59.2k views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Show 6 previous comments Nandkishor3939 commented Sep 28, 2019 reply Follow Share no 0 votes 0 votes val_pro20 commented Jan 16, 2021 reply Follow Share you cant take 4,8 as maximal becoz adding 1 or 6 will still provide a maximal independent set 0 votes 0 votes neel19 commented Feb 2, 2021 reply Follow Share These questions should be in graph theory and not in DS. 2 votes 2 votes Please log in or register to add a comment.
Best answer 52 votes 52 votes 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. Rajarshi Sarkar answered Apr 16, 2015 • edited Dec 29, 2017 by kenzou Rajarshi Sarkar comment Share Follow See all 16 Comments See all 16 16 Comments reply Show 13 previous comments shashankrustagi commented Oct 31, 2020 reply Follow Share She is the best in Graph theory 0 votes 0 votes Vinay singh commented Dec 19, 2020 reply Follow Share They have asked for chain …, otherwise we can also go with 2 nodes only …? please exaplined .. 0 votes 0 votes shashankrustagi commented Dec 20, 2020 reply Follow Share Think the best, forget the rest 0 votes 0 votes Please log in or register to add a comment.
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 skrahul answered Dec 30, 2015 skrahul comment Share Follow See all 14 Comments See all 14 14 Comments reply Brij Mohan Gupta commented Jul 25, 2017 reply Follow Share Thanks @skrahul. 0 votes 0 votes Tuhin Dutta commented Aug 15, 2017 reply Follow Share Nice and clear. 0 votes 0 votes pramodborana112 commented Dec 31, 2017 reply Follow Share @skrahul MIS of size 3 : 3 6 9 is also valid or not. if not please explain. 0 votes 0 votes HiteshRishi commented Jan 8, 2018 reply Follow Share @pramodborana112 Not valid as node 1 can be added making it size as 4.(as we are looking for maximal such that no node can break property of MIS) 0 votes 0 votes Kuljeet Shan commented Jan 16, 2019 reply Follow Share @skrahul why MIS of size 2 is not possible ? Like, MIS of size 2 : 4,8 please explain. 0 votes 0 votes Sambhrant Maurya commented Jan 31, 2019 reply Follow Share @Kuljeet Shan Because on adding 2,6 to this we get 2,4,6,8 which is MIS of size 4 and "MIS is independent set in which If we add any other node (outside MIS) to the set then it will be no more MIS." 3 votes 3 votes Kuljeet Shan commented Mar 4, 2019 reply Follow Share Thank you @Sambhrant Maurya ! 1 votes 1 votes soham04 commented Apr 2, 2021 reply Follow Share Best Answer💯 This is the right answer not the above ticked mark one. 1 votes 1 votes kirtipurohit commented Aug 5, 2021 reply Follow Share MIS is independent set in which If we add any other node (outside MIS) to the set then it will be no more MIS. Wow, what a definition. 0 votes 0 votes MANSI_SOMANI commented Nov 16, 2022 reply Follow Share Best explanation 👏 0 votes 0 votes P C commented Jan 27, 2023 reply Follow Share { 1,4,7 } can also be the maximal independent set ? means i guess instead of only 2,5,8 there may exist some more also??please confirm @ijnuhb @MANSI_SOMANI 0 votes 0 votes MANSI_SOMANI commented Jan 27, 2023 reply Follow Share @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 votes 0 votes P C commented Jan 27, 2023 reply Follow Share If you have somemore question related to this or resources please add . @MANSI_SOMANI got it 👍 thanks! 1 votes 1 votes Chaitanya Sai commented Sep 12, 2023 reply Follow Share How set {1,9} will not be a MIS for the above sequence? 0 votes 0 votes Please log in or register to add a comment.
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 Pranabesh Ghosh 1 answered Nov 10, 2016 • edited Apr 19, 2017 by Pranabesh Ghosh 1 Pranabesh Ghosh 1 comment Share Follow See all 3 Comments See all 3 3 Comments reply Pawan Kumar 2 commented Sep 19, 2017 reply Follow Share why cant we take only 2 vertices only... i mean just 2 and 7 or 2 and 9 ...? 0 votes 0 votes smsubham commented Dec 23, 2017 reply Follow Share @pawan Because then we can include other vertices, so it's not MIS. 1 votes 1 votes navalkishoreb commented Nov 21, 2019 reply Follow Share wrong in {1,4,7} we can add 9 to make it mis. 1 votes 1 votes Please log in or register to add a comment.
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 Madhab answered Jan 20, 2017 Madhab comment Share Follow See all 4 Comments See all 4 4 Comments reply Pawan Kumar 2 commented Sep 19, 2017 reply Follow Share why cant we take only 2 vertices only... i mean just 2 and 7 or 2 and 9 ...? 1 votes 1 votes Kaluti commented Oct 15, 2017 reply Follow Share 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 votes 2 votes Madhab commented Nov 4, 2017 reply Follow Share 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 votes 1 votes prithvish111 commented Mar 5, 2021 reply Follow Share 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 votes 0 votes Please log in or register to add a comment.