ArticleslgStudy

science

Modular decomposition

Modular decomposition is a 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 Modular decomposition rather than just read about it. In short: In graph theory, the modular decomposition is a decomposition of a graph into subsets of vertices called modules. A module is a generalization of a connected component of a graph.

Modular decomposition — main illustration
Modular decomposition — illustration

Key takeaways

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

Reference excerpt

In graph theory, the modular decomposition is a decomposition of a graph into subsets of vertices called modules. A module is a generalization of a connected component of a graph. Unlike connected components, however, one module can be a proper subset of another. Modules therefore lead to a recursive (hierarchical) decomposition of the graph, instead of just a partition. There are variants of modular decomposition for undirected graphs and directed graphs. For each undirected graph, this decomposition is unique. This notion can be generalized to other structures (for example directed graphs) and is useful to design efficient algorithms for the recognition of some graph classes, for finding transitive orientations of comparability graphs, for optimization problems on graphs, and for graph drawing.

Modules As the notion of modules has been rediscovered in many areas, modules have also been called autonomous sets, homogeneous sets, stable sets, clumps, committees, externally related sets, intervals, nonsimplifiable subnetworks, and partitive sets (Brandstädt, Le & Spinrad 1999). Perhaps the earliest reference to them, and the first description of modular quotients and the graph decomposition they give rise to appeared in (Gallai 1967). A module of a graph is a generalization of a connected component. A connected component has the property that it is a set X of vertices such that every member of X is a non-neighbor of every vertex not in X. (It is a union of connected components if and only if it has this property.) More generally, X is a module if, for each vertex v∉X, either every member of X is a non-neighbor of v or every member of X is a neighbor of v. Equivalently, X is a module if all members of X have the same set of neighbors among vertices not in X. Contrary to the connected components, the modules of a graph are the same as the modules of its complement, and modules can be "nested": one module can be a proper subset of another. Note that the set V of vertices of a graph is a module, as are its one-element subsets and the empty set; these are called the trivial modules. A graph may or may not have other modules. A graph is called prime if all of its modules are trivial. Despite these differences, modules preserve a desirable property of connected components, which is that many properties of the subgraph G[X] induced by a connected component X are independent of the rest of the graph. A similar phenomenon also applies to the subgraphs induced by modules. The modules of a graph are therefore of great algorithmic interest. A set of nested modules, of which the modular decomposition is an example, can be used to guide the recursive solution of many combinatorial problems on graphs, such as recognizing and transitively orienting comparability graphs, recognizing and finding permutation representations of permutation graphs, recognizing whether a graph is a cograph and finding a certificate of the answer to the question, recognizing interval graphs and finding interval representations for them, defining distance-hereditary graphs (Spinrad, 2003) and for graph drawing (Papadopoulos, 2006). They play an important role in Lovász's celebrated proof of the perfect graph theorem (Golumbic, 1980). For recognizing distance-hereditary graphs and circle graphs, a further generalization of modular decomposition, called the split decomposition, is especially useful (Spinrad, 2003). To avoid the possibility of ambiguity in the above definitions, we give the following formal definitions of modules. Let G=(V,E) be a graph. A set M⊆V is a module of G if the vertices of M cannot be distinguished by any vertex in V∖M, i.e., ∀u,v∈M,∀x∈V∖M, either x is adjacent to both u and v or x is neither adjacent to u nor to v. This condition can be succinctly written as N(u)∖M=N(v)∖M for all u,v∈M. Here, N(u) denotes the set of neighbours of u∈V. For example, ∅︀, V and all the singletons {v} for v∈V are modules. They are called trivial modules. A graph is prime if all its modules are trivial. Connected components of a graph G, or of its complement graph are also modules of G. M is a strong module of a graph G if it does not overlap any other module of G: ∀M′ module of G, either M∩M′=∅︀ or M⊆M′ or M′⊆M.

… excerpt ends here. Continue reading the full article.

Illustrations

Modular decomposition: An 𝒪(n) representation of the modular decomposition
An 𝒪(n) representation of the modular decomposition
Modular decomposition: The modular decomposition, augmented with a quotient on the children of each internal node, gives a complete representation of G.
The modular decomposition, augmented with a quotient on the children of each internal node, gives a complete representation of G.

Worked examples

Example 1 — a first encounter with Modular decomposition

Start with the simplest possible case. Write down what Modular decomposition claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Modular decomposition 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 Modular decomposition 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 Modular decomposition

In research
Modular decomposition appears in 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 Modular decomposition 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
Modular decomposition is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph theory objects, so understanding it makes those chapters shorter.
In everyday life
Look for Modular decomposition 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Modular decomposition” →

How to study Modular decomposition in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Modular decomposition 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 Modular decomposition out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Modular decomposition in simple terms?

In graph theory, the modular decomposition is a decomposition of a graph into subsets of vertices called modules. A module is a generalization of a connected component of a graph.

Why does Modular decomposition matter?

Because it connects several 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 Modular decomposition?

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 Modular decomposition.

Tags

  • Graph theory objects

Keep exploring