Skip to main content

CS application: Large cuts

For graph GG, we say that a set of vertices is non-trivial if it is non-empty and not equal to V(G)V(G). A cut is a non-trivial set SV(G)S\subseteq V(G), and the size of this cut is the number of edges with exactly one endpoint in SS. Denote by δG(S)\delta_G(S) the set of edges with exactly one endpoint in SS (these are the edges in the cut SS).

Theorem 42

For every graph GG, there exists a cut of size at least half of the number of edges of GG.

Denote by mm and nn the number of edges and vertices of GG respectively. For simplicity, V(G)=[n]V(G) = [n] (so that we have vertices as numbers). To prove this theorem, we present a randomized algorithm that finds such a large cut. We start from S=S = \emptyset. For each vertex i[n]i \in [n], toss an unbiased coin and if the result is head, we put ii in set SS; otherwise, ii is not in SS.

This algorithm defines a probability space which is the same as tossing our coin nn times, i.e., Ω={0,1}n\Omega = \{0,1\}^n and uniform distribution. Each atomic event corresponds to a cut S[n]S \subseteq [n] (i.e., SS is the set of indices ii where the ii-th toss is head). Let XX be the number of edges in δG(S)\delta_G(S) (this is a random variable since it is a function of SΩS \in \Omega). So we can write X=eE(G)XeX = \sum_{e \in E(G)} X_e where XeX_e indicates whether an edge ee is in δG(S)\delta_G(S).

We argue that E[Xe]=1/2{\mathbb E}[X_e] = 1/2. Let e={i,j}e = \{i,j\}.

P[{i,j}δG(S)]=P[iS,j∉S]+P[i∉S,jS]=(1/2)(1/2)+(1/2)(1/2)=1/2{\mathbb P}[\{i,j\} \in \delta_G(S)] = {\mathbb P}[i \in S, j \not\in S] + {\mathbb P}[i \not \in S, j \in S] = (1/2)(1/2) + (1/2)(1/2) = 1/2

Therefore, we have E[X]=m/2{\mathbb E}[X] = m/2. Overall, this gives us a randomized algorithm that finds a cut of expected size m/2m/2 in graph GG.

Exercise 117

In a probability space (Ω,P)(\Omega, {\mathbb P}), let XX be a random variable. If E[X]c{\mathbb E}[X] \geq c, then X(ω)cX(\omega) \geq c for some ωΩ\omega \in \Omega.

Using the implication from Exercise 117, there exists a sequence of coin tossings corresponding to a cut SS of size at least m/2m/2. This type of result belongs to a broad class of techniques, called probabilistic methods, in which one defines a randomized algorithm that finds a certain object. The success of such randomized algorithm implies the existence of the object we are looking for.

Exercise 118

In this exercise, you will see how to get a slightly larger cut when nn is even (i.e., n=2kn=2k for some kNk \in {\mathbb N}). We define the following probability space (Ω,P)(\Omega, {\mathbb P}) where Ω=(V(G)k)\Omega = {V(G) \choose k} and P{\mathbb P} is uniform. That is, each atomic event corresponds to a cut SV(G):S=n/2S \subseteq V(G): |S| = n/2.

Let XX be a random variable denoting the size of the cut. That is, for each atomic element SΩS \in \Omega, we have X(S)=δG(S)X(S) = |\delta_G(S)|. Our goal is to show that E[X]>m/2{\mathbb E}[X] > m/2.

  • Define X=eE(G)XeX = \sum_{e \in E(G)} X_e where XeX_e is the indicator of whether eδG(S)e \in \delta_G(S). Prove that E[Xe]>1/2{\mathbb E}[X_e] > 1/2.
  • Derive that there exists a cut of size larger than m/2m/2.