A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Connectivity and Connected Components

Graduate Depth 78 in the knowledge graph ☐ I know this ☆ Set as goal
2topics build on this
356prerequisites beneath it
See this on the map →
Connected ComponentsGraphs: Basic Concepts and Terminology→→Trees and Forest Structures
connectivity components bridges articulation-points

Core Idea

A graph is connected if a path exists between any two vertices. Connected components partition vertices into maximal connected subgraphs. Bridges are edges whose removal increases the number of components; articulation points are vertices with this property.

How It's Best Learned

Use depth-first search (DFS) or breadth-first search (BFS) to find connected components. Identify bridges and articulation points algorithmically. Recognize that a connected graph on n vertices has at least n−1 edges (a tree).

Common Misconceptions

Being connected is not the same as being complete. A tree is minimally connected (n vertices, n−1 edges). A single isolated vertex is its own component.

Explainer

From your work with graph fundamentals, you know that a graph is a collection of vertices and edges. Not every graph is "all in one piece." A graph is connected if you can travel between any two vertices by following edges — there is always a path. If some vertices are unreachable from others, the graph is disconnected, and it breaks into connected components: the maximal subsets of vertices that are mutually reachable. Every graph has at least one component; a single isolated vertex with no edges counts as its own component.

You already know how to traverse a graph using depth-first search (DFS) or breadth-first search (BFS). Finding connected components is a direct application: start DFS or BFS from any unvisited vertex, mark everything reachable as one component, then restart from the next unvisited vertex to find the next component. Repeat until all vertices are visited. The number of restarts plus one equals the number of components.

Within a connected graph, some structural elements are especially important. A bridge is an edge whose removal would disconnect the graph — it is a single point of failure for connectivity. Similarly, an articulation point (or cut vertex) is a vertex whose removal would increase the number of components. You can think of bridges and articulation points as the fragile connections in a network: they keep the graph together, but only barely. Identifying them is essential for network reliability analysis.

A key threshold to remember: a connected graph on n vertices has at least n−1 edges. Exactly n−1 edges with no cycles means the graph is a tree — the most minimal form of connectivity. Add any edge to a tree and you create a cycle; remove any edge and you disconnect it. Connectivity is therefore not about having many edges, but about whether the edges you have form a path between every pair of vertices.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → De Morgan's Laws → Negation of Quantified Statements → Proof by Contradiction → Topological Spaces: Definition and Examples → Open Sets in Topological Spaces → Neighborhoods and Open Sets → Open Sets in Topological Spaces → Closed Sets in Topological Spaces → Connectedness: Definition and Examples → Connected Components → Connectivity and Connected Components

Longest path: 79 steps · 356 total prerequisite topics

Prerequisites (2)

Leads To (1)