Consider a grid graph with r rows and c columns; the total number n of vertices is r*c. For instance, in the illustration, r = 5, c = 8, and n = 40. If r is odd, there is a single central row, and otherwise there are two rows equally close to the center; similarly, if c is odd, there is a single central column, and otherwise there are two columns equally close to the center. Choosing S to be any of these central rows or columns, and removing S from the graph, partitions the graph into two smaller connected subgraphs A and B, each of which has at most n/2 vertices. If r ≤ c, then choosing a central column will give a separator S with r ≤ √n vertices, and similarly if c ≤ r then choosing a central row will give a separator with at most √n vertices. Thus, every grid graph has a separator S of size at most √n, the removal of which partitions it into two connected components, each of size at most n/2. To give another class of examples, every free treeT has a separator Sconsisting of a single vertex, the removal of which partitions T into two or more connected components, each of size at most n/2. More precisely, there is always exactly one or exactly two vertices, which amount to such a separator, depending on whether the tree is centered or bicentered. As opposed to these examples, not all vertex separators are balanced, but that property is most useful for applications in computer science, such as the planar separator theorem.
Minimal separators
Let S be an '-separator, that is, a vertex subset that separates two nonadjacent vertices a and b. Then S is a minimal -separator if no proper subset of S separates a and b. More generally, S is called a minimal separator if it is a minimal separator for some pair' of nonadjacent vertices. Notice that this is different from minimal separating set which says that no proper subset of S is a minimal '-separator for any pair of vertices . The following is a well-known result characterizing the minimal separators: Lemma. A vertex separator S in G is minimal if and only if the graph, obtained by removing S from G, has two connected components and such that each vertex in S is both adjacent to some vertex in and to some vertex in. The minimal ""-separators also form an algebraic structure: For two fixed vertices a and b of a given graph G, an '-separator S can be regarded as a predecessor of another -separator T, if every path from a to b meets S before it meets T. More rigorously, the predecessor relation is defined as follows: Let S and T be two '-separators in 'G'. Then S is a predecessor of T, in symbols, if for each, every path connectingx to b meets T. It follows from the definition that the predecessor relation yields a preorder on the set of all '-separators. Furthermore, proved that the predecessor relation gives rise to a complete lattice when restricted to the set of minimal -separators in G.