Connected_component_(graph_theory) Connected_component_(graph_theory)

Connected component (graph theory) - Definition and Overview

Related Words: Allied, Bound, Clear, Cognate, Coherent, Collateral

In an undirected graph, a connected component or component is a maximal connected subgraph. Two vertices are in the same connected component if and only if there exists a path between them. In a drawing of a graph, the connected components can each be drawn separately with empty space between them. A nonempty connected graph has one connected component.

In an undirected graph, the existence of a path between two vertices u and v is an equivalence relation, since:

  • There is a trivial path of length zero from any vertex to itself. (reflexivity)
  • If there is a path from u to v, it also a path from v to u. (symmetry)
  • If there is a path from u to v and a path from v to w, we can attach them together to form a path from u to w. (transitivity)

The connected components are then the equivalence classes of this relation.

Connected components are useful because often algorithms or theorems can be applied to each connected component individually, taking advantage of it being a connected graph, and combine these solutions to obtain a solution for the entire graph. For example, if we find a minimum spanning tree or a maximum matching for each connected component, their union is a minimum spanning forest or maximum matching for the entire graph.

Many computational problems related to connected components are complete for the complexity class SL, such as:

  • Are two vertices in the same connected component? Different connected components?
  • Is a graph connected? Not connected?
  • Do two graphs have the same number of connected components? Different number of components?
  • Is the number of connected components even? Is it odd?

Since SL=L, these problems all lie in L and so can be solved with a deterministic machine in O(log n) space.

Example Usage of Connected

girlskout: @jmarsuperstar o Rose! Thats my middle name from old family. I now feel Connected. Happy holidays Rose!
yaroch: @KBAnderson that's a pretty depressing hashtag sent out to 6500 people Connected by knowing who Kurt Anderson is.
OMGitsDDW: How come my Internet works on my iPod and not my computer??? It's even Connected to our network! Grrr
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.