ArticleslgStudy

computer science

Maximal independent set

Maximal independent set is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Maximal independent set rather than just read about it. In short: In graph theory, a maximal independent set (MIS) or maximal stable set is an independent set that is not a subset of any other independent set. In other words, there is no vertex outside the independent set that may join it because it is maximal with respect to the independent set property.

Maximal independent set — main illustration
Maximal independent set — illustration

Key takeaways

  • Maximal independent set belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Maximal independent set to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Maximal independent set from memory before moving on to harder problems.

Reference excerpt

In graph theory, a maximal independent set (MIS) or maximal stable set is an independent set that is not a subset of any other independent set. In other words, there is no vertex outside the independent set that may join it because it is maximal with respect to the independent set property. For example, in the graph P3, a path with three vertices a, b, and c, and two edges ab and bc, the sets {b} and {a, c} are both maximal independent. The set {a} is independent, but is not maximal independent, because it is a subset of the larger independent set {a, c}. In this same graph, the maximal cliques are the sets {a, b} and {b, c}. A MIS is also a dominating set in the graph, and every dominating set that is independent must be maximal independent, so MISs are also called independent dominating sets.

A graph may have many MISs of widely varying sizes; the largest, or possibly several equally large, MISs of a graph is called a maximum independent set. The graphs in which all maximal independent sets have the same size are called well-covered graphs. The phrase "maximal independent set" is also used to describe maximal subsets of independent elements in mathematical structures other than graphs, and in particular in vector spaces and matroids.

Two algorithmic problems are associated with MISs: finding a single MIS in a given graph and listing all MISs in a given graph.

Definition For a graph G = ( V , E ) {\displaystyle G=(V,E)} , an independent set S {\displaystyle S} is a maximal independent set if for v ∈ V {\displaystyle v\in V} , one of the following is true:

v ∈ S {\displaystyle v\in S}

N ( v ) ∩ S ≠ ∅ {\displaystyle N(v)\cap S\neq \emptyset } where N ( v ) {\displaystyle N(v)} denotes the neighbors of v {\displaystyle v}

The above can be restated as a vertex either belongs to the independent set or has at least one neighbor vertex that belongs to the independent set. As a result, every edge of the graph has at least one endpoint not in S {\displaystyle S} . However, it is not true that every edge of the graph has at least one, or even one endpoint in S {\displaystyle S}

Any neighbor to a vertex in the independent set S {\displaystyle S} cannot be in S {\displaystyle S} because these vertices are disjoint by the independent set definition.

Related vertex sets If S is a maximal independent set in some graph, it is a maximal clique or maximal complete subgraph in the complementary graph. A maximal clique is a set of vertices that induces a complete subgraph, and that is not a subset of the vertices of any larger complete subgraph. That is, it is a set S such that every pair of vertices in S is connected by an edge and every vertex not in S is missing an edge to at least one vertex in S. A graph may have many maximal cliques, of varying sizes; finding the largest of these is the maximum clique problem. Some authors include maximality as part of the definition of a clique, and refer to maximal cliques simply as cliques.

The complement of a maximal independent set, that is, the set of vertices not belonging to the independent set, forms a minimal vertex cover. That is, the complement is a vertex cover, a set of vertices that includes at least one endpoint of each edge, and is minimal in the sense that none of its vertices can be removed while preserving the property that it is a cover. Minimal vertex covers have been studied in statistical mechanics in connection with the hard-sphere lattice gas model, a mathematical abstraction of fluid-solid state transitions. Every maximal independent set is a dominating set, a set of vertices such that every vertex in the graph either belongs to the set or is adjacent to the set. A set of vertices is a maximal independent set if and only if it is an independent dominating set.

Graph family characterizations Certain graph families have also been characterized in terms of their maximal cliques or maximal independent sets. Examples include the maximal-clique irreducible and hereditary maximal-clique irreducible graphs. A graph is said to be maximal-clique irreducible if every maximal clique has an edge that belongs to no other maximal clique, and hereditary maximal-clique irreducible if the same property is true for every induced subgraph. Hereditary maximal-clique irreducible graphs include triangle-free graphs, bipartite graphs, and interval graphs. Cographs can be characterized as graphs in which every maximal clique intersects every maximal independent set, and in which the same property is true in all induced subgraphs.

Bounding the number of sets Moon & Moser (1965) showed that any graph with n vertices has at most 3n/3 maximal cliques. Complementarily, any graph with n vertices also has at most 3n/3 maximal independent sets. A graph with exactly 3n/3 maximal independent sets is easy to construct: simply take the disjoint union of n/3 triangle graphs. Any maximal independent set in this graph is formed by choosing one vertex from each triangle. The complementary graph, with exactly 3n/3 maximal cliques, is a special type of Turán graph; because of their connection with Moon and Moser's bound, these graphs are also sometimes called Moon-Moser graphs. Tighter bounds are possible if one limits the size of the maximal independent sets: the number of maximal independent sets of size k in any n-vertex graph is at most

… excerpt ends here. Continue reading the full article.

Illustrations

Maximal independent set: The graph of the cube has six different independent sets, shown as the red vertices. Only two of these, the ones with four vertices, are maximum independent sets.
The graph of the cube has six different independent sets, shown as the red vertices. Only two of these, the ones with four vertices, are maximum independent sets.
Maximal independent set: The top two P3 graphs are maximal independent sets while the bottom two are independent sets, but not maximal. The maximum independent set is represented by the top left.
The top two P3 graphs are maximal independent sets while the bottom two are independent sets, but not maximal. The maximum independent set is represented by the top left.
Maximal independent set: Two independent sets for the star graph S8 show how vastly different in size two maximal independent sets (the right being maximum) can be.
Two independent sets for the star graph S8 show how vastly different in size two maximal independent sets (the right being maximum) can be.
Maximal independent set: Left is a maximal independent set. Middle is a clique, 
  
    
      
        
          K
          
            3
          
        
      
    
    {\displaystyle K_{3}}
  
, on the graph complement. Right is a vertex cover on the maximal independent set complement.
Left is a maximal independent set. Middle is a clique, K 3 {\displaystyle K_{3}} , on the graph complement. Right is a vertex cover on the maximal independent set complement.

Worked examples

Example 1 — a first encounter with Maximal independent set

Start with the simplest possible case. Write down what Maximal independent set claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Maximal independent set before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Maximal independent set ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Maximal independent set

In research
Maximal independent set appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Maximal independent set in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Maximal independent set is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational problems in graph theory, Graph theory objects, so understanding it makes those chapters shorter.
In everyday life
Look for Maximal independent set outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Maximal independent set in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Maximal independent set means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Maximal independent set out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Maximal independent set in simple terms?

In graph theory, a maximal independent set (MIS) or maximal stable set is an independent set that is not a subset of any other independent set. In other words, there is no vertex outside the independent set that may join it because it is maximal with respect to the independent set property.

Why does Maximal independent set matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Maximal independent set?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Maximal independent set.

Tags

  • Computational problems in graph theory
  • Graph theory objects

Keep exploring