ArticleslgStudy

science

Biconnected component

Biconnected component 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 Biconnected component rather than just read about it. In short: In graph theory, a biconnected component or block (sometimes known as a 2-connected component) is a maximal biconnected subgraph. Any connected graph decomposes into a tree of biconnected components called the block-cut tree of the graph.

Biconnected component — main illustration
Biconnected component — illustration

Key takeaways

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

Reference excerpt

In graph theory, a biconnected component or block (sometimes known as a 2-connected component) is a maximal biconnected subgraph. Any connected graph decomposes into a tree of biconnected components called the block-cut tree of the graph. The blocks are attached to each other at shared vertices called cut vertices or separating vertices or articulation points. Specifically, a cut vertex is any vertex whose removal increases the number of connected components. A block containing at most one cut vertex is called a leaf block, it corresponds to a leaf vertex in the block-cut tree.

Algorithms

Linear time depth-first search The classic sequential algorithm for computing biconnected components in a connected undirected graph is due to John Hopcroft and Robert Tarjan (1973). It runs in linear time, and is based on depth-first search. This algorithm is also outlined as Problem 22-2 of Introduction to Algorithms (both 2nd and 3rd editions). The idea is to run a depth-first search while maintaining the following information:

the depth of each vertex in the depth-first-search tree (once it gets visited), and for each vertex v, the lowest depth of neighbors of all descendants of v (including v itself) in the depth-first-search tree, called the lowpoint. The depth is standard to maintain during a depth-first search. The lowpoint of v can be computed after visiting all descendants of v (i.e., just before v gets popped off the depth-first-search stack) as the minimum of the depth of v, the depth of all neighbors of v (other than the parent of v in the depth-first-search tree) and the lowpoint of all children of v in the depth-first-search tree. The key fact is that a nonroot vertex v is a cut vertex (or articulation point) separating two biconnected components if and only if there is a child y of v such that lowpoint(y) ≥ depth(v). This property can be tested once the depth-first search returned from every child of v (i.e., just before v gets popped off the depth-first-search stack), and if true, v separates the graph into different biconnected components. This can be represented by computing one biconnected component out of every such y (a component which contains y will contain the subtree of y, plus v), and then erasing the subtree of y from the tree. The root vertex must be handled separately: it is a cut vertex if and only if it has at least two children in the DFS tree. Thus, it suffices to simply build one component out of each child subtree of the root (including the root).

Pseudocode GetArticulationPoints(i) visited[i] := true current_time := current_time+1 visit_time[i] := current_time low[i] := current_time childCount := 0 isArticulation := false

for each j in Neighborhood(i) do if not visited[j] then parent[j] := i GetArticulationPoints(j) childCount := childCount + 1 if low[j] ≥ visit_time[i] then isArticulation := true low[i] := Min (low[i], low[j]) else if j ≠ parent[i] then low[i] := Min (low[i], visit_time[j]) if (parent[i] ≠ null and isArticulation) or (parent[i] = null and childCount > 1) then Output i as articulation point

Main current_time := 0 // global variable parent[r] := null GetArticulationPoints(r) // r is an arbitrary root

Note that the terms child and parent denote the relations in the DFS tree, not the original graph.

Other algorithms A simple alternative to the above algorithm uses chain decompositions, which are special ear decompositions depending on DFS-trees. Chain decompositions can be computed in linear time by this traversing rule. Let C be a chain decomposition of G. Then G is 2-vertex-connected if and only if G has minimum degree 2 and C1 is the only cycle in C. This gives immediately a linear-time 2-connectivity test and can be extended to list all cut vertices of G in linear time using the following statement: A vertex v in a connected graph G (with minimum degree 2) is a cut vertex if and only if v is incident to a bridge or v is the first vertex of a cycle in C – C1. The list of cut vertices can be used to create the block-cut tree of G in linear time. In the online version of the problem, vertices and edges are added (but not removed) dynamically, and a data structure must maintain the biconnected components. Jeffery Westbrook and Robert Tarjan (1992) developed an efficient data structure for this problem based on disjoint-set data structures. Specifically, it processes n vertex additions and m edge additions in O(m α(m, n)) total time, where α is the inverse Ackermann function. This time bound is proved to be optimal. Uzi Vishkin and Robert Tarjan (1985) designed a parallel algorithm on CRCW PRAM that runs in O(log n) time with n + m processors. Another algorithm has been provided by Harold Gabow, in his paper "Path-based depth-first search for strong and biconnected components" (2000).

Related structures

Equivalence relation One can define a binary relation on the edges of an arbitrary undirected graph, according to which two edges e and f are related if and only if either e = f or the graph contains a simple cycle through both e and f. Every edge is related to itself, and an edge e is related to another edge f if and only if f is related in the same way to e. Less obviously, this is a transitive relation: if there exists a simple cycle containing edges e and f, and another simple cycle containing edges f and g, then one can combine these two cycles to find a simple cycle through e and g. Therefore, this is an equivalence relation, and it can be used to partition the edges into equivalence classes, subsets of edges with the property that two edges are related to each other if and only if they belong to the same equivalence class. The subgraphs formed by the edges in each equivalence class are the biconnected components of the given graph. Thus, the biconnected components partition the edges of the graph; however, they may share vertices with each other.

Block graph The block graph of a given graph G is the intersection graph of its blocks. Thus, it has one vertex for each block of G, and an edge between two vertices whenever the corresponding two blocks share a vertex. A graph H is the block graph of another graph G exactly when all the blocks of H are complete subgraphs. The graphs H with this property are known as the block graphs.

… excerpt ends here. Continue reading the full article.

Illustrations

Biconnected component: Each color corresponds to a biconnected component. Multi-colored vertices are cut vertices, and thus belong to multiple biconnected components.
Each color corresponds to a biconnected component. Multi-colored vertices are cut vertices, and thus belong to multiple biconnected components.
Biconnected component: A demo of Tarjan's algorithm to find cut vertices. D denotes depth and L denotes lowpoint.
A demo of Tarjan's algorithm to find cut vertices. D denotes depth and L denotes lowpoint.
Biconnected component: A graph, and its block-cut tree.Blocks: 
b1 = [1,2] 
b2 = [2,3,4] 
b3 = [2,5,6,7] 
b4 = [7,8,9,10,11] 
b5 = [8,12,13,14,15] 
b6 = [10,16] 
b7 = [10,17,18]  Cutpoints: 
c1 = 2 
c2 = 7 
c3 = 8 
c4 = 10
A graph, and its block-cut tree.Blocks: b1 = [1,2] b2 = [2,3,4] b3 = [2,5,6,7] b4 = [7,8,9,10,11] b5 = [8,12,13,14,15] b6 = [10,16] b7 = [10,17,18] Cutpoints: c1 = 2 c2 = 7 c3 = 8 c4 = 10

Worked examples

Example 1 — a first encounter with Biconnected component

Start with the simplest possible case. Write down what Biconnected component 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 Biconnected component 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 Biconnected component 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 Biconnected component

In research
Biconnected component 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 Biconnected component 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
Biconnected component is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph connectivity, so understanding it makes those chapters shorter.
In everyday life
Look for Biconnected component 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 “Biconnected component” →

How to study Biconnected component in 20 minutes

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

Frequently asked questions

What is Biconnected component in simple terms?

In graph theory, a biconnected component or block (sometimes known as a 2-connected component) is a maximal biconnected subgraph. Any connected graph decomposes into a tree of biconnected components called the block-cut tree of the graph.

Why does Biconnected component 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 Biconnected component?

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 Biconnected component.

Tags

  • Graph connectivity

Keep exploring