Connectivity and Connected Components

Graduate Depth 53 in the knowledge graph I know this Set as goal
Unlocks 2 downstream topics
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

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryGraphs: Basic Concepts and TerminologyConnectivity and Connected Components

Longest path: 54 steps · 245 total prerequisite topics

Prerequisites (2)

Leads To (1)